My Oracle Support Banner

Oracle Openstack 4.0.1: AttributeError: 'Service' object has no attribute '_parentnames' if "# yum update openstack-kolla-preinstall" (Doc ID 2351190.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

After "# yum update openstack*", some kollacli commands fail, for instance:

Error:
=====
$ kollacli deploy
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/deploy.py", line 78, in take_action
verbose_level)
File "/usr/lib/python2.7/site-packages/kollacli/api/control_plane.py", line 54, in deploy
serial_flag, verbose_level, servicenames)
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/actions.py", line 75, in deploy
job = playbook.run()
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/playbook.py", line 63, in run
raise Exception(traceback.format_exc())
Exception: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/playbook.py", line 51, in run
inventory_path = self._make_temp_inventory()
File "/usr/lib/python2.7/site-packages/kollacli/common/ansible/playbook.py", line 153, in _make_temp_inventory
self.inventory.create_json_gen_file(inventory_filter)
File "/usr/lib/python2.7/site-packages/kollacli/common/inventory.py", line 602, in create_json_gen_file
json_out = self.get_ansible_json(inventory_filter)
File "/usr/lib/python2.7/site-packages/kollacli/common/inventory.py", line 562, in get_ansible_json
groups_and_parents.extend(service.get_parentnames())
File "/usr/lib/python2.7/site-packages/kollacli/common/service.py", line 42, in get_parentnames
return copy(self._parentnames)
AttributeError: 'Service' object has no attribute '_parentnames'

 

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.