Skip to content

Commit

Permalink
add unavaible in the parcel status list
Browse files Browse the repository at this point in the history
Signed-off-by: Anis FATHALLAH <[email protected]>
  • Loading branch information
anisf committed Jan 2, 2024
1 parent 359d378 commit 81512da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/deployment/nodes_addition/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
nodes_addition_host_templates_prefix: nodes-addition-HostTemplate-
nodes_addition_hosts:
- cluster_name: Basic Cluster
hosts: "{{ groups.new_worker_nodes }}"
hosts: "{{ groups.new_worker_nodes }}"
2 changes: 1 addition & 1 deletion roles/deployment/nodes_addition/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
cloudera.cluster.cm_api:
endpoint: /clusters/{{ _cluster.name | urlencode() }}/parcels
register: parcels_response
until: parcels_response.json['items'] | rejectattr('stage', 'in', ["AVAILABLE_REMOTELY", "DOWNLOADED", "ACTIVATED"]) | list | length == 0
until: parcels_response.json['items'] | rejectattr('stage', 'in', ["AVAILABLE_REMOTELY", "DOWNLOADED", "ACTIVATED", "UNAVAILABLE"]) | list | length == 0
retries: "{{ parcel_poll_max_retries | default(30) }}"
delay: "{{ parcel_poll_duration | default(60) }}"
loop: "{{ definition.clusters }}"
Expand Down

0 comments on commit 81512da

Please sign in to comment.