Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacity variable is ignored on primary host #186

Open
mbrunnert opened this issue Jan 30, 2024 · 0 comments
Open

Capacity variable is ignored on primary host #186

mbrunnert opened this issue Jan 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mbrunnert
Copy link

The capacity variable is ignored on the primary host. This leads to the capacity always being set to the default (85%) on the primary host.

Compare:

  • - name: Execute the primary installation
    shell: /home/elastic/elastic-cloud-enterprise.sh
    install
    --availability-zone {{ availability_zone }}
    --cloud-enterprise-version {{ ece_version }}
    --docker-registry {{ ece_docker_registry }}
    --ece-docker-repository {{ ece_docker_repository }}
    --memory-settings '{{ memory_settings }}'
    --runner-id {{ ece_runner_id }}
    --host-storage-path {{ data_dir }}/elastic
    {{ extra_installer_args }}
    become: yes
    become_method: sudo
    become_user: elastic
  • - name: Execute installation
    shell: /home/elastic/elastic-cloud-enterprise.sh
    --coordinator-host {{ primary_hostname }}
    --roles-token '{{ roles_token.json.token }}'
    --roles '{{ ece_roles | join(',') }}'
    --availability-zone {{ availability_zone }}
    --cloud-enterprise-version {{ ece_version }}
    --docker-registry {{ ece_docker_registry }}
    --ece-docker-repository {{ ece_docker_repository }}
    --host-storage-path {{ data_dir }}/elastic
    --memory-settings '{{ memory_settings }}'
    --runner-id {{ ece_runner_id }}{% if capacity is defined %}
    --capacity {{ capacity }}{% endif %}
    {{ extra_installer_args }}
    become: yes
    become_method: sudo
    become_user: elastic
    register: installation
@mbrunnert mbrunnert added the bug Something isn't working label Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant