Bug 1619736 - 'dict object' has no attribute 'rgw_hostname'
Summary: 'dict object' has no attribute 'rgw_hostname'
Keywords:
Status: CLOSED DUPLICATE of bug 1618678
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ceph-ansible
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Sébastien Han
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks: 1553640
TreeView+ depends on / blocked
 
Reported: 2018-08-21 15:30 UTC by Filip Hubík
Modified: 2018-09-03 16:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-03 16:44:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/lib/mistral/xyz/ansible.log (6.40 MB, text/plain)
2018-08-21 15:30 UTC, Filip Hubík
no flags Details

Description Filip Hubík 2018-08-21 15:30:50 UTC
Created attachment 1477618 [details]
/var/lib/mistral/xyz/ansible.log

Description of problem:

Mistral deployment of ceph-ansible fails with error:

TASK [ceph-config : generate ceph configuration file: ceph.conf] ***************", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:12", "Tuesday 21 August 2018  10:45:21 -0400 (0:00:00.049)       0:01:02.145 ******** ", "skipping: [controller-2] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}", "", "TASK [ceph-config : create a local fetch directory if it does not exist] *******", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:38", "Tuesday 21 August 2018  10:45:21 -0400 (0:00:00.046)       0:01:02.192 ******** ", "ok: [controller-2 -> localhost] => {\"changed\": false, \"gid\": 42430, \"group\": \"mistral\", \"mode\": \"0755\", \"owner\": \"mistral\", \"path\": \"/var/lib/mistral/overcloud/ceph-ansible/fetch_dir\", \"size\": 6, \"state\": \"directory\", \"uid\": 42430}", "", "TASK [ceph-config : generate cluster uuid] *************************************", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:54", "Tuesday 21 August 2018  10:45:22 -0400 (0:00:00.176)       0:01:02.368 ******** ", "skipping: [controller-2] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}", "", "TASK [ceph-config : read cluster uuid if it already exists] ********************", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:64", "Tuesday 21 August 2018  10:45:22 -0400 (0:00:00.048)       0:01:02.417 ******** ", "skipping: [controller-2] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}", "", "TASK [ceph-config : ensure /etc/ceph exists] ***********************************", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:76", "Tuesday 21 August 2018  10:45:22 -0400 (0:00:00.050)       0:01:02.467 ******** ", "changed: [controller-2] => {\"changed\": true, \"gid\": 167, \"group\": \"167\", \"mode\": \"0755\", \"owner\": \"167\", \"path\": \"/etc/ceph\", \"secontext\": \"unconfined_u:object_r:etc_t:s0\", \"size\": 6, \"state\": \"directory\", \"uid\": 167}", "", "TASK [ceph-config : generate ceph.conf configuration file] *********************", "task path: /usr/share/ceph-ansible/roles/ceph-config/tasks/main.yml:84", "Tuesday 21 August 2018  10:45:22 -0400 (0:00:00.352)       0:01:02.820 ******** ", "fatal: [controller-2]: FAILED! => {\"msg\": \"'dict object' has no attribute 'rgw_hostname'\"}", "", "PLAY RECAP *********************************************************************", "ceph-0                     : ok=2    changed=0    unreachable=0    failed=0   ", "ceph-1                     : ok=2    changed=0    unreachable=0    failed=0   ", "ceph-2                     : ok=2    changed=0    unreachable=0    failed=0   ", "compute-0                  : ok=2    changed=0    unreachable=0    failed=0   ", "controller-0               : ok=2    changed=0    unreachable=0    failed=0   ", "controller-1               : ok=2    changed=0    unreachable=0    failed=0   ", "controller-2               : ok=43   changed=4    unreachable=0    failed=1   ", "", "", "INSTALLER STATUS ***************************************************************", "Install Ceph Monitor        : In Progress (0:00:33)", "\tThis phase can be restarted by running: roles/ceph-mon/tasks/main.yml", "", "Tuesday 21 August 2018  10:45:23 -0400 (0:00:01.122)       0:01:03.942 ******** ", "=============================================================================== "]}
2018-08-21 10:45:23,842 p=1038 u=mistral |  NO MORE HOSTS LEFT *************************************************************
2018-08-21 10:45:23,843 p=1038 u=mistral |  PLAY RECAP *********************************************************************
2018-08-21 10:45:23,843 p=1038 u=mistral |  ceph-0                     : ok=98   changed=46   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  ceph-1                     : ok=99   changed=46   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  ceph-2                     : ok=98   changed=46   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  compute-0                  : ok=117  changed=57   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  controller-0               : ok=151  changed=74   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  controller-1               : ok=149  changed=73   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  controller-2               : ok=149  changed=73   unreachable=0    failed=0   
2018-08-21 10:45:23,843 p=1038 u=mistral |  undercloud                 : ok=26   changed=13   unreachable=0    failed=1   
2018-08-21 10:45:23,845 p=1038 u=mistral |  Tuesday 21 August 2018  10:45:23 -0400 (0:01:07.803)       0:11:45.983 ******** 
2018-08-21 10:45:23,845 p=1038 u=mistral |  ===============================================================================

Version-Release number of selected component (if applicable):
2018-08-21.2 , OSP14, custom (Centos) package https://cbs.centos.org/repos/storage7-ceph-luminous-candidate/x86_64/os/Packages/ceph-ansible-3.1.0.0-0.rc19.1.el7.noarch.rpm
is installed before OC deployment.

Additional info:
ceph-ansible-3.1.0.0-0.rc19.1.el7.noarch.rpm

Comment 1 Giulio Fidente 2018-09-03 16:44:30 UTC

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


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