Debian iso fails in ansible bootstrap when using an authenticated registry

Bug #1980391 reported by Jerry Sun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Jerry Sun

Bug Description

Brief Description
-----------------
Debian iso fails in ansible bootstrap when using an authenticated registry.
The same issue is not seen with the CentOS iso.

Two failures are seen:
- Error in retrieving credentials
- Error pulling images

Severity
--------
Medium - very specific config which is not widely used

Steps to Reproduce
------------------
install Debian with authenticated registry

Expected Behavior
------------------
ansible config success

Actual Behavior
----------------
ansible config failed

Reproducibility
---------------
Reproducible

System Configuration
--------------------
One node system
IPv4

Branch/Pull Time/Commit
-----------------------
2022-06-30

Last Pass
---------

Timestamp/Logs
--------------

Jerry Sun (jerry-sun-u)
Changed in starlingx:
assignee: nobody → Jerry Sun (jerry-sun-u)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ansible-playbooks (master)
Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
tags: added: stx.7.0 stx.config
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (master)

Reviewed: https://review.opendev.org/c/starlingx/ansible-playbooks/+/848315
Committed: https://opendev.org/starlingx/ansible-playbooks/commit/4ec4a8379f2847b2c39647d035ee601cec67e46d
Submitter: "Zuul (22348)"
Branch: master

commit 4ec4a8379f2847b2c39647d035ee601cec67e46d
Author: Jerry Sun <email address hidden>
Date: Thu Jun 30 12:33:09 2022 -0400

    Fix registry credentials retrieval for Debian

    Code that retrieves the registry credentials does not work properly
    with Python3. This commit fixes that.

    Test Plan:
      - Verify successful bootstrap for both CentOS and Debian
        using authenticated registry

    Change-Id: I7a9295782a52424d3d3e386fb4ca092516e0c2b2
    Closes-bug: 1980391
    Signed-off-by: Jerry Sun <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.debian
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/848328

Ghada Khalil (gkhalil)
summary: - Install Debian iso with AWS-ECR registry, ansible failed to get AWS ECR
- credentials
+ Debian iso fails in ansible bootstrap when using an authenticated
+ registry
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/848328
Committed: https://opendev.org/starlingx/config/commit/1cf6f891bc4dacdc81249e9c97e2eb75eb191442
Submitter: "Zuul (22348)"
Branch: master

commit 1cf6f891bc4dacdc81249e9c97e2eb75eb191442
Author: Jerry Sun <email address hidden>
Date: Thu Jun 30 14:31:15 2022 -0400

    Fix registry credentials retrieval for Debian

    Code that retrieves the registry credentials does not work properly
    with Python3. This commit fixes that.

    Test Plan:
      - Verify successful bootstrap for both CentOS and Debian
        using authenticated registry
    Partial-bug: 1980391

    Change-Id: I71cac14d8bdd63501fc804086cb8af429135bd92
    Signed-off-by: Jerry Sun <email address hidden>

Ghada Khalil (gkhalil)
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.