Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1873967

Summary: FFU 13-16.1. After FFU unable to authenticate to https://registry.redhat.io (error 401)
Product: Red Hat OpenStack Reporter: Roman Safronov <rsafrono>
Component: openstack-tripleo-commonAssignee: Adriano Petrich <apetrich>
Status: CLOSED DUPLICATE QA Contact: David Rosenfeld <drosenfe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: emacchi, mburns, slinaber
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-31 12:20:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Safronov 2020-08-31 08:36:59 UTC
Description of problem:
Attempt to perform migration from ML2OVS to ML2OVN after FFU 13-16.1 fails.
Overcloud update fail with the following:

 Unable to authenticate. This may indicate missing registry credentials or the provided container or namespace does not exist. 401 Client Error: Unauthorized for url: https://registry.redhat.io/auth/realms/rhcc/protocol/redhat-docker-v2/auth?service=docker-registry&scope=repository%3Arhosp-rhel8%2Fopenstack-cinder-api%3Apull

[stack@undercloud-0 ~]$ cat overcloud-deploy-ovn.sh
#!/bin/bash

openstack overcloud deploy \
  --timeout 100 \
  --templates /usr/share/openstack-tripleo-heat-templates \
  --libvirt-type kvm \
  --stack overcloud \
  -r /home/stack/composable_roles/roles/roles_data.yaml \
  -e /home/stack/composable_roles/roles/nodes.yaml \
-e /home/stack/composable_roles/config_lvm.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/composable_roles/network/network-environment.yaml \
-e /home/stack/composable_roles/inject-trust-anchor.yaml \
-e /home/stack/composable_roles/hostnames.yml \
-e /home/stack/composable_roles/debug.yaml \
-e /home/stack/composable_roles/nova-resize-on-the-same-host.yaml \
-e /home/stack/composable_roles/l3_fip_qos.yaml \
-e /home/stack/composable_roles/docker-images.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-dvr-ha.yaml \
-e /home/stack/ovn-extras.yaml


Version-Release number of selected component (if applicable):
RHOS-16.1-RHEL-8-20200821.n.0
openstack-tripleo-common-11.3.3-0.20200611110657.f7715be.el8ost.noarch
openstack-tripleo-heat-templates-11.3.2-0.20200616081539.396affd.el8ost.noarch


How reproducible:
Tried twice (2 deployments), happened in both cases

Steps to Reproduce:
1.Perform FFU from osp13 to osp16.1
2.Try to perform migration from ml2ovs to ml2ovn  (actually it performs overcloud update)

Actual results:
Overcloud update fails dues to authentication issue with  https://registry.redhat.io (error 401)

Expected results:
No authentication issue with https://registry.redhat.io
Overcloud update (or OVN migration) proceeds.

Additional info:

Comment 2 Emilien Macchi 2020-08-31 12:20:25 UTC

*** This bug has been marked as a duplicate of bug 1811490 ***