openstack cluster profile type ops error

Bug #1777454 reported by chenyb4
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-senlinclient
Fix Released
Undecided
chenyb4

Bug Description

Senlin support "list profile type operation", use openstack cluster profile type ops os.nova.server-1.0 appear error, the error message:

Connection: <openstack.connection.Connection object at 0x3bfec50>
Clustering client initialized using OpenStackSDK: <openstack.clustering.v1._proxy.Proxy object at 0x3e95050>
'Proxy' object has no attribute 'list_profile_type_operations'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 113, in run
    column_names, data = self.take_action(parsed_args)
  File "/mnt/python-senlinclient/senlinclient/v1/profile_type.py", line 105, in take_action
    ops = senlin_client.list_profile_type_operations(
AttributeError: 'Proxy' object has no attribute 'list_profile_type_operations'
clean_up ProfileTypeOperations: 'Proxy' object has no attribute 'list_profile_type_operations'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 113, in run
    column_names, data = self.take_action(parsed_args)
  File "/mnt/python-senlinclient/senlinclient/v1/profile_type.py", line 105, in take_action
    ops = senlin_client.list_profile_type_operations(
AttributeError: 'Proxy' object has no attribute 'list_profile_type_operations'

The error reson is openstacksdk project not exist cluster 'list_profile_type_operations'.

Revision history for this message
chenyb4 (chenyb4) wrote :
Changed in python-senlinclient:
assignee: nobody → chenyb4 (chenyb4)
Revision history for this message
chenyb4 (chenyb4) wrote :

This bug was fix in openstacksdk project. The fix patch url: https://review.openstack.org/#/c/576377/

Changed in python-senlinclient:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstacksdk 0.15.0

This issue was fixed in the openstack/openstacksdk 0.15.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.