Activity log for bug #1712531

Date Who What changed Old value New value Message
2017-08-23 10:25:07 wangwei bug added bug
2017-08-23 10:25:13 wangwei kolla-ansible: assignee wangwei (wangwei-david)
2017-08-24 05:49:23 wangwei description This is my configuration in the globals.yml ``` enable_ceph: "yes" enable_ceph_rgw: "no" ``` This is my configuration in the multinode-inventory ``` [storage-mon] ceph01 ansible_user=irteam network_interface=em1 api_interface=em1 ceph02 ansible_user=irteam network_interface=em1 api_interface=em1 [storage-osd] ceph01 ansible_user=irteam network_interface=em1 api_interface=em1 ceph02 ansible_user=irteam network_interface=em1 api_interface=em1 [storage] dev01 ansible_user=root storage_interface=eth0 cluster_interface=eth0 dev02 ansible_user=root storage_interface=eth0 cluster_interface=eth0 ``` This is my deployment command: ``` kolla-ansible/tools/kolla-ansible deploy --configdir /xxx -i /xxx/multinode-inventory --passwords /xxx/passwords.yml --tags ceph -e openstack_release=prod-xxxxx ``` The deployment will produce an error, but the deployment process doesn't stop. ``` TASK [ceph : Copying over config.json files for services] ***************************************************************** failed: [dev02] (item=ceph-mon) => {"failed": true, "item": "ceph-mon", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev01] (item=ceph-mon) => {"failed": true, "item": "ceph-mon", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev02] (item=ceph-osd) => {"failed": true, "item": "ceph-osd", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev01] (item=ceph-osd) => {"failed": true, "item": "ceph-osd", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} ``` The reason for the error is that the ceph-rgw node will generate the ceph-mon configuration file. In the ceph installation process, there is no distinction between mon, osd and rgw nodes, but in all nodes are generated mon, osd and rgw configuration file, so that the rgw node to generate a mon container configuration file(config.json) will report above error. This is my configuration in the globals.yml ``` enable_ceph: "yes" enable_ceph_rgw: "no" ``` This is my configuration in the multinode-inventory ``` [storage-mon] ceph01 ansible_user=irteam network_interface=em1 api_interface=em1 ceph02 ansible_user=irteam network_interface=em1 api_interface=em1 [storage-osd] ceph01 ansible_user=irteam network_interface=em1 api_interface=em1 ceph02 ansible_user=irteam network_interface=em1 api_interface=em1 [storage] dev01 ansible_user=root storage_interface=eth0 cluster_interface=eth0 dev02 ansible_user=root storage_interface=eth0 cluster_interface=eth0 [ceph-mon:children] storage-mon [ceph-rgw:children] storage [ceph-osd:children] storage-osd ``` This is my deployment command: ``` kolla-ansible/tools/kolla-ansible deploy --configdir /xxx -i /xxx/multinode-inventory --passwords /xxx/passwords.yml --tags ceph -e openstack_release=prod-xxxxx ``` The deployment will produce an error, but the deployment process doesn't stop. ``` TASK [ceph : Copying over config.json files for services] ***************************************************************** failed: [dev02] (item=ceph-mon) => {"failed": true, "item": "ceph-mon", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev01] (item=ceph-mon) => {"failed": true, "item": "ceph-mon", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev02] (item=ceph-osd) => {"failed": true, "item": "ceph-osd", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} failed: [dev01] (item=ceph-osd) => {"failed": true, "item": "ceph-osd", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute u'ansible_em1'"} ``` The reason for the error is that the ceph-rgw node will generate the ceph-mon configuration file. In the ceph installation process, there is no distinction between mon, osd and rgw nodes, but in all nodes are generated mon, osd and rgw configuration file, so that the rgw node to generate a mon container configuration file(config.json) will report above error.
2018-03-22 05:48:35 OpenStack Infra kolla-ansible: status New In Progress
2018-09-28 11:10:08 Eduardo Gonzalez kolla-ansible: status In Progress Incomplete
2018-10-09 06:11:54 OpenStack Infra kolla-ansible: status Incomplete In Progress
2020-09-03 15:35:57 Mark Goddard kolla-ansible: status In Progress Won't Fix