Browse Source

Merge "Retry container pull 3 times" into stable/train

changes/21/757121/2
Zuul 8 months ago
committed by Gerrit Code Review
parent
commit
b44862f145
10 changed files with 40 additions and 0 deletions
  1. +4
    -0
      deployment/cinder/cinder-backup-pacemaker-puppet.yaml
  2. +4
    -0
      deployment/cinder/cinder-volume-pacemaker-puppet.yaml
  3. +4
    -0
      deployment/database/mysql-pacemaker-puppet.yaml
  4. +4
    -0
      deployment/database/redis-pacemaker-puppet.yaml
  5. +4
    -0
      deployment/haproxy/haproxy-pacemaker-puppet.yaml
  6. +4
    -0
      deployment/manila/manila-share-pacemaker-puppet.yaml
  7. +4
    -0
      deployment/ovn/ovn-dbs-pacemaker-puppet.yaml
  8. +4
    -0
      deployment/rabbitmq/rabbitmq-messaging-notify-pacemaker-puppet.yaml
  9. +4
    -0
      deployment/rabbitmq/rabbitmq-messaging-pacemaker-puppet.yaml
  10. +4
    -0
      deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml

+ 4
- 0
deployment/cinder/cinder-backup-pacemaker-puppet.yaml View File

@ -254,6 +254,10 @@ outputs:
cinder_backup_image_latest: *cinder_backup_image_pcmklatest
- name: Pull latest cinder_backup images
command: "{{container_cli}} pull {{cinder_backup_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous cinder_backup image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{cinder_backup_image_latest}}"
register: old_cinder_backup_image_id


+ 4
- 0
deployment/cinder/cinder-volume-pacemaker-puppet.yaml View File

@ -235,6 +235,10 @@ outputs:
cinder_volume_image_latest: *cinder_volume_image_pcmklatest
- name: Pull latest cinder_volume images
command: "{{container_cli}} pull {{cinder_volume_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous cinder_volume image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{cinder_volume_image_latest}}"
register: old_cinder_volume_image_id


+ 4
- 0
deployment/database/mysql-pacemaker-puppet.yaml View File

@ -340,6 +340,10 @@ outputs:
galera_image_latest: *mysql_image_pcmklatest
- name: Pull latest galera images
command: "{{container_cli}} pull {{galera_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous galera image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{galera_image_latest}}"
register: old_galera_image_id


+ 4
- 0
deployment/database/redis-pacemaker-puppet.yaml View File

@ -324,6 +324,10 @@ outputs:
redis_image_latest: *redis_image_pcmklatest
- name: Pull latest redis images
command: "{{container_cli}} pull {{redis_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous redis image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{redis_image_latest}}"
register: old_redis_image_id


+ 4
- 0
deployment/haproxy/haproxy-pacemaker-puppet.yaml View File

@ -418,6 +418,10 @@ outputs:
haproxy_image_latest: *haproxy_image_pcmklatest
- name: Pull latest haproxy images
command: "{{container_cli}} pull {{haproxy_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous haproxy image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{haproxy_image_latest}}"
register: old_haproxy_image_id


+ 4
- 0
deployment/manila/manila-share-pacemaker-puppet.yaml View File

@ -226,6 +226,10 @@ outputs:
manila_share_image_latest: *manila_share_image_pcmklatest
- name: Pull latest manila_share images
command: "{{container_cli}} pull {{manila_share_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous manila_share image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{manila_share_image_latest}}"
register: old_manila_share_image_id


+ 4
- 0
deployment/ovn/ovn-dbs-pacemaker-puppet.yaml View File

@ -302,6 +302,10 @@ outputs:
block: &ovn_dbs_fetch_retag_container_tasks
- name: Pull latest ovn-dbs images
command: "{{container_cli}} pull {{ovn_dbs_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous ovn_dbs image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{ovn_dbs_image_latest}}"
register: old_ovn_dbs_image_id


+ 4
- 0
deployment/rabbitmq/rabbitmq-messaging-notify-pacemaker-puppet.yaml View File

@ -275,6 +275,10 @@ outputs:
rabbitmq_image_latest: *rabbitmq_image_pcmklatest
- name: Pull latest rabbitmq images
command: "{{container_cli}} pull {{rabbitmq_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous rabbitmq image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{rabbitmq_image_latest}}"
register: old_rabbitmq_image_id


+ 4
- 0
deployment/rabbitmq/rabbitmq-messaging-pacemaker-puppet.yaml View File

@ -275,6 +275,10 @@ outputs:
rabbitmq_image_latest: *rabbitmq_image_pcmklatest
- name: Pull latest rabbitmq images
command: "{{container_cli}} pull {{rabbitmq_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous rabbitmq image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{rabbitmq_image_latest}}"
register: old_rabbitmq_image_id


+ 4
- 0
deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml View File

@ -281,6 +281,10 @@ outputs:
rabbitmq_image_latest: *rabbitmq_image_pcmklatest
- name: Pull latest rabbitmq images
command: "{{container_cli}} pull {{rabbitmq_image}}"
register: result
retries: 3
delay: 3
until: result.rc == 0
- name: Get previous rabbitmq image id
shell: "{{container_cli}} inspect --format '{{'{{'}}.Id{{'}}'}}' {{rabbitmq_image_latest}}"
register: old_rabbitmq_image_id


Loading…
Cancel
Save