Commit dc72a2c
committed
[devscripts] Restore pull-secret when PreMetal was used
On executing reproducer playbook which is triggering devscripts role,
if the var: mirror_images is not true, the pull secret restore is
skipped. In some cases, there is overwrite devscripts config vars
like:
cifmw_devscripts_config_overrides:
mirror_images: true
When the PreMetal (earlier ZIronic) is used, pull-secret restore
should be done each time to avoid potential issues, like:
- 'task path: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/kustomize_deploy/tasks/install_operators.yml:171'
- 'fatal: [localhost]: FAILED! => '
- ' changed: false'
- ' msg: |'
- ' Subscription resolution failed for openstack-operator!'
- ''
- ' Reason: ErrorPreventedResolution'
- ' Message: error using catalogsource openshift-marketplace/community-operators:
failed to list bundles: rpc error: code = Unavailable desc = connection error: desc
= "transport: Error while dialing: dial tcp 172.30.172.219:50051: connect: connection
refused"'
Signed-off-by: Daniel Pawlik <dpawlik@redhat.com>1 parent 8b3b055 commit dc72a2c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments