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

Bug 1774610

Summary: Failed to deploy OSP9 failied on undercloud stage
Product: Red Hat OpenStack Reporter: Eran Kuris <ekuris>
Component: rhosp-directorAssignee: RHOS Maint <rhos-maint>
Status: CLOSED NOTABUG QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0 (Mitaka)CC: dbecker, fhubik, mburns, morazi, ramishra, sgolovat
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: 2019-12-16 14:13:32 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:
Bug Depends On:    
Bug Blocks: 1595230    

Description Eran Kuris 2019-11-20 14:45:45 UTC
Description of problem:

The job of deploy OSP9 is failing on undercloud stage with error:
TASK [rhos-release : repolist] *************************************************
task path: /tmp/ir-venv-mjcjUzz/lib/python2.7/site-packages/infrared/common/roles/rhos-release/tasks/main.yml:187
Wednesday 20 November 2019  13:56:48 +0000 (0:00:00.952)       0:00:47.536 **** 
fatal: [undercloud-0]: FAILED! => {
    "changed": true, 
    "cmd": [
        "yum", 
        "-d", 
        "7", 
        "repolist"
    ], 
    "delta": "0:00:00.236273", 
    "end": "2019-11-20 08:56:48.523622", 
    "rc": 1, 
    "start": "2019-11-20 08:56:48.287349"
}

STDOUT:

Not loading "rhnplugin" plugin, as it is disabled
Not loading "product-id" plugin, as it is disabled
Loading "search-disabled-repos" plugin
Not loading "subscription-manager" plugin, as it is disabled
Config time: 0.032
Yum version: 3.4.3
COMMAND: yum -d 7 repolist 
Installroot: /


STDERR:

http://rhos-qe-mirror-rdu2.usersys.redhat.com/rcm-guest/puddles/OpenStack/9.0-RHEL-7-director/7.7-latest/RH7-RHOS-9.0-director/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article 

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.



 One of the configured repositories failed (RHEL-OSP 9 director),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhelosp-9.0-director-puddle ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhelosp-9.0-director-puddle
        or
            subscription-manager repos --disable=rhelosp-9.0-director-puddle

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhelosp-9.0-director-puddle.skip_if_unavailable=true

failure: repodata/repomd.xml from rhelosp-9.0-director-puddle: [Errno 256] No more mirrors to try.
http://rhos-qe-mirror-rdu2.usersys.redhat.com/rcm-guest/puddles/OpenStack/9.0-RHEL-7-director/7.7-latest/RH7-RHOS-9.0-director/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found


MSG:

non-zero return code
Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: