2022-02-05 04:49:39 |
Ghada Khalil |
description |
Brief Description
-----------------
Unable to add a subcloud with mixed docker_registries configuration such as:
docker_registries:
k8s.gcr.io:
url: myaws.private.com/k8s.gcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
gcr.io:
url: myaws.private.registry.com/gcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
quay.io:
url: quay.io
docker.io:
url: docker.io
docker.elastic.co:
url: myaws.private.registry.com/docker.elastic.co
type: aws-ecr
username: test_registry_user
password: St8rlingX*
ghcr.io:
url: myaws.private.registry.com/ghcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
defaults:
type: docker
Severity
--------
Critical
Steps to Reproduce
------------------
Add a subcloud with mixed docker_registries configuration (authenticated and unauthenticated registry sources)
Expected Behavior
------------------
Actual Behavior
----------------
Subcloud bootstrap fails with the following ansible error
TASK [bootstrap/persist-config : Create Barbican secret for elastic registry if credentials exist] ***
Thursday 03 February 2022 20:23:10 +0000 (0:00:00.015) 0:01:27.138 *****
fatal: [subcloud1]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'username'
The error appears to have been in '/usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/persist-config/tasks/main.yml': line 184, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- block:
- name: Create Barbican secret for elastic registry if credentials exist
^ here
PLAY RECAP *********************************************************************
subcloud1 : ok=177 changed=45 unreachable=0 failed=1
Reproducibility
---------------
100% reproducible
System Configuration
--------------------
Distributed Cloud
Branch/Pull Time/Commit
-----------------------
Feb. 02, 2002 master build
Last Pass
---------
This configuration has never been verified before
Timestamp/Logs
--------------
See error log above
Test Activity
-------------
Feature Testing
Workaround
----------
None |
Brief Description
-----------------
Unable to add a subcloud with mixed docker_registries configuration such as:
docker_registries:
k8s.gcr.io:
url: myaws.private.com/k8s.gcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
gcr.io:
url: myaws.private.registry.com/gcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
quay.io:
url: quay.io
docker.io:
url: docker.io
docker.elastic.co:
url: myaws.private.registry.com/docker.elastic.co
type: aws-ecr
username: test_registry_user
password: St8rlingX*
ghcr.io:
url: myaws.private.registry.com/ghcr.io
type: aws-ecr
username: test_registry_user
password: St8rlingX*
defaults:
type: docker
Severity
--------
Critical
Steps to Reproduce
------------------
Add a subcloud with mixed docker_registries configuration (authenticated and unauthenticated registry sources)
Expected Behavior
------------------
Actual Behavior
----------------
Subcloud bootstrap fails with the following ansible error
TASK [bootstrap/persist-config : Create Barbican secret for elastic registry if credentials exist] ***
Thursday 03 February 2022 20:23:10 +0000 (0:00:00.015) 0:01:27.138 *****
fatal: [subcloud1]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'username'
The error appears to have been in '/usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/persist-config/tasks/main.yml': line 184, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- block:
- name: Create Barbican secret for elastic registry if credentials exist
^ here
PLAY RECAP *********************************************************************
subcloud1 : ok=177 changed=45 unreachable=0 failed=1
Reproducibility
---------------
100% reproducible
System Configuration
--------------------
Distributed Cloud
Branch/Pull Time/Commit
-----------------------
Feb. 02, 2022 master build
Last Pass
---------
This configuration has never been verified before
Timestamp/Logs
--------------
See error log above
Test Activity
-------------
Feature Testing
Workaround
----------
None |
|