Bug 1894926 - overcloud deployment errors out at step2 while pulling redis image (tls-e)
Summary: overcloud deployment errors out at step2 while pulling redis image (tls-e)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: z14
: 13.0 (Queens)
Assignee: Michele Baldessari
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-05 12:53 UTC by Luca Miccini
Modified: 2020-12-16 13:55 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.4.1-74.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-16 13:55:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
paunch.log controller-0 (3.75 KB, text/plain)
2020-11-05 14:57 UTC, Luca Miccini
no flags Details
journal (615.77 KB, text/plain)
2020-11-05 14:57 UTC, Luca Miccini
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 761665 0 None MERGED [Queens-only] Fix redis pull error on tls-e 2020-12-07 17:38:16 UTC
Red Hat Product Errata RHBA-2020:5575 0 None None None 2020-12-16 13:55:18 UTC

Description Luca Miccini 2020-11-05 12:53:51 UTC
Description of problem:

python-paunch-2.5.3-9.el7ost.noarch (that includes https://review.opendev.org/#/c/753082/) breaks overcloud deployments because it tries to pull images tagged with the 'pcmklatest' tag and these do not exist on the registry but only on the controllers as they are tagged on the fly as needed:

2020-11-05 09:09:27Z [overcloud.AllNodesDeploySteps.ControllerOpenstackDeployment_Step2]: CREATE_FAILED  Resource CREATE failed: Error: resources[1]: Deployment to server fa
iled: deploy_status_code : Deployment exited with non-zero status code: 2

 Stack overcloud CREATE_FAILED 

overcloud.AllNodesDeploySteps.ControllerOpenstackDeployment_Step2.1:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: 4044bde9-8089-4e4d-8c1d-c1aec2222fce
  status: CREATE_FAILED
  status_reason: |
    Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
  deploy_stdout: |
    ...
            "Error: image rh-osbs/rhosp13-openstack-redis:pcmklatest not found", 
            "Error pulling 192.168.24.1:8787/rh-osbs/rhosp13-openstack-redis:pcmklatest. [1]", 
            "stderr: Error: image rh-osbs/rhosp13-openstack-redis:pcmklatest not found"
        ]
    }
        to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/315a708d-49d6-4091-ba44-f40e9f0e65e9_playbook.retry


we probably need to filter our these images/tags if we want to stick to 'pull by default'.

Comment 1 Alex Schultz 2020-11-05 14:50:17 UTC
The pcmk containers aren't managed by paunch so should not be in the paunch configuration. We did not see this upstream on the ovb jobs which utilize pacemaker. Please provide the system logs and paunch.log

Comment 2 Luca Miccini 2020-11-05 14:57:15 UTC
Created attachment 1726898 [details]
paunch.log controller-0

Comment 3 Luca Miccini 2020-11-05 14:57:55 UTC
Created attachment 1726899 [details]
journal

Comment 4 Alex Schultz 2020-11-05 15:05:16 UTC
Investigating, it looks like paunch should be managing redis but the tag was changed like it was managed under pacemaker. It seems to be specific to redis at the moment.  Can you also provide the templates used in the deployment?

Comment 6 Luca Miccini 2020-11-05 15:20:19 UTC
(In reply to Alex Schultz from comment #4)
> Investigating, it looks like paunch should be managing redis but the tag was
> changed like it was managed under pacemaker. It seems to be specific to
> redis at the moment.  Can you also provide the templates used in the
> deployment?

thanks Alex for the fast triage, this is indeed something in THT (redis with tls-e) that messes up things for pauch. We're having a look.

Comment 7 Luca Miccini 2020-11-05 16:33:47 UTC
[root@undercloud-0 database]# diff redis.yaml.old redis.yaml
271c271
<                     image: *redis_image_pcmklatest
---
>                     image: *redis_config_image

(using redis_config_image for the tls proxy seems to be enough).

Comment 23 errata-xmlrpc 2020-12-16 13:55:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 13.0 director bug fix advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:5575


Note You need to log in before you can comment on or make changes to this bug.