Bug 1748911 - [ceph-ansible]playbook fails at pull registry image task
Summary: [ceph-ansible]playbook fails at pull registry image task
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 4.0
Assignee: Guillaume Abrioux
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-04 12:39 UTC by Yogesh Mane
Modified: 2020-01-31 12:47 UTC (History)
15 users (show)

Fixed In Version: ceph-ansible-4.0.0-0.1.rc16.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-31 12:47:06 UTC
Embargoed:


Attachments (Terms of Use)
ansible.log (539.92 KB, text/plain)
2019-09-04 12:39 UTC, Yogesh Mane
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 4444 0 'None' closed container: Allow to use registry authentication 2020-12-17 22:45:50 UTC
Red Hat Product Errata RHBA-2020:0312 0 None None None 2020-01-31 12:47:27 UTC

Description Yogesh Mane 2019-09-04 12:39:37 UTC
Created attachment 1611486 [details]
ansible.log

Description of problem:
When installing ceph 4.0 beta on container , playbook fails at TASK [ceph-container-common : pulling registry.redhat.io/rhceph-beta/rhceph-4-rhel8:latest image].


Version-Release number of selected component (if applicable):
ceph-ansible-4.0.0-0.1.rc14.el8cp.noarch

How reproducible:
3/3

Steps to Reproduce:
1.Performed pre-installation steps
2.Run site-docker.yml


Actual results:

 stderr: |-
    Trying to pull registry.redhat.io/rhceph-beta/rhceph-4-rhel8:latest...Failed
    error pulling image "registry.redhat.io/rhceph-beta/rhceph-4-rhel8:latest": unable to pull registry.redhat.io/rhceph-beta/rhceph-4-rhel8:latest: unable to pull image: Error determining manifest MIME type for docker://registry.redhat.io/rhceph-beta/rhceph-4-rhel8:latest: unable to retrieve auth token: invalid username/password


Expected results:

Ceph-ansible should handle this issue


Additional info:

all.yml:
---
dummy:
fetch_directory: ~/ceph-ansible-keys
ceph_origin: repository
ceph_repository: rhcs
ceph_rhcs_version: 4
monitor_interface: eno1
public_network: 10.8.128.0/21
ceph_docker_image: "rhceph-beta/rhceph-4-rhel8"
ceph_docker_registry: "registry.redhat.io"
containerized_deployment: true

inventory file:

[mons]
magna056
[mgrs]
magna056
[osds]
magna058 lvm_volumes="[{'data':'/dev/sdb'},{'data':'/dev/sdc'},{'data':'/dev/sdd'}]" osd_scenario="lvm" osd_objectstore="bluestore"
[grafana-server]
magna059.ceph.redhat.com

Comment 4 Federico Lucifredi 2019-09-10 15:06:37 UTC
folks, this is now blocking downstream activities right now. Can we please reach a (quick) resolution here?

Comment 6 Federico Lucifredi 2019-09-11 17:19:19 UTC
This is the explanation:

> Our container image is in registry.redhat.io which strategically is where Redhat is moving to across 
> products - and it's an authenticated registry - see https://access.redhat.com/RegistryAuthentication - 
> which means our pulls must provide creds!

Which makes this bug a blocker.

Comment 12 Ameena Suhani S H 2019-12-20 06:36:36 UTC
Hi @Guillaume Abrioux,

Are we considering Paul Cuzner suggestion in comment #3?

Comment 14 Ameena Suhani S H 2020-01-03 18:54:03 UTC
Verified using

ceph version 14.2.4-31.el7cp
ansible-2.8.7-1.el7ae.noarch
ceph-ansible-4.0.6-1.el7cp.noarch

Moving the bz to "VERIFIED" state. As a separate bz has been filed to track other changes.

Comment 16 errata-xmlrpc 2020-01-31 12:47:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0312


Note You need to log in before you can comment on or make changes to this bug.