I have verified segment list command is failing with below error after installing openstackclient of stable/queens branch. Can someone please confirm if you are getting same error becoz I'm trying all these changes on the current master branch (all dependencies lib versions is not stable/queens)?
"$openstack --debug segment list"
Service Descriptors cannot be set
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 116, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/osc/v1/segment.py", line 66, in take_action
masakari_client = self.app.client_manager.ha
File "/usr/local/lib/python2.7/dist-packages/osc_lib/clientmanager.py", line 60, in __get__
six.reraise(new_err.__class__, new_err, sys.exc_info()[2])
File "/usr/local/lib/python2.7/dist-packages/osc_lib/clientmanager.py", line 55, in __get__
self._handle = self.factory(instance)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/plugin.py", line 47, in make_client
return _make_client_new(instance)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/plugin.py", line 58, in _make_client_new
conn.add_service(desc)
File "/usr/local/lib/python2.7/dist-packages/openstack/connection.py", line 339, in add_service
setattr(self, attr_name.replace('-', '_'), service)
File "/usr/local/lib/python2.7/dist-packages/openstack/service_description.py", line 104, in __set__
raise AttributeError('Service Descriptors cannot be set')
PluginAttributeError: Service Descriptors cannot be set
clean_up ListSegment: Service Descriptors cannot be set
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 134, in run
ret_val = super(OpenStackShell, self).run(argv)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 281, in run
result = self.run_subcommand(remainder)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/shell.py", line 169, in run_subcommand
ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/local/lib/python2.7/dist-packages/cliff/app.py", line 402, in run_subcommand
result = cmd.run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/osc_lib/command/command.py", line 41, in run
return super(Command, self).run(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/cliff/display.py", line 116, in run
column_names, data = self.take_action(parsed_args)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/osc/v1/segment.py", line 66, in take_action
masakari_client = self.app.client_manager.ha
File "/usr/local/lib/python2.7/dist-packages/osc_lib/clientmanager.py", line 60, in __get__
six.reraise(new_err.__class__, new_err, sys.exc_info()[2])
File "/usr/local/lib/python2.7/dist-packages/osc_lib/clientmanager.py", line 55, in __get__
self._handle = self.factory(instance)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/plugin.py", line 47, in make_client
return _make_client_new(instance)
File "/usr/local/lib/python2.7/dist-packages/masakariclient/plugin.py", line 58, in _make_client_new
conn.add_service(desc)
File "/usr/local/lib/python2.7/dist-packages/openstack/connection.py", line 339, in add_service
setattr(self, attr_name.replace('-', '_'), service)
File "/usr/local/lib/python2.7/dist-packages/openstack/service_description.py", line 104, in __set__
raise AttributeError('Service Descriptors cannot be set')
PluginAttributeError: Service Descriptors cannot be set
I have verified segment list command is failing with below error after installing openstackclient of stable/queens branch. Can someone please confirm if you are getting same error becoz I'm trying all these changes on the current master branch (all dependencies lib versions is not stable/queens)?
"$openstack --debug segment list"
Service Descriptors cannot be set lib/python2. 7/dist- packages/ cliff/app. py", line 402, in run_subcommand parsed_ args) lib/python2. 7/dist- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) lib/python2. 7/dist- packages/ cliff/display. py", line 116, in run action( parsed_ args) lib/python2. 7/dist- packages/ masakariclient/ osc/v1/ segment. py", line 66, in take_action client_ manager. ha lib/python2. 7/dist- packages/ osc_lib/ clientmanager. py", line 60, in __get__ reraise( new_err. __class_ _, new_err, sys.exc_info()[2]) lib/python2. 7/dist- packages/ osc_lib/ clientmanager. py", line 55, in __get__ instance) lib/python2. 7/dist- packages/ masakariclient/ plugin. py", line 47, in make_client new(instance) lib/python2. 7/dist- packages/ masakariclient/ plugin. py", line 58, in _make_client_new add_service( desc) lib/python2. 7/dist- packages/ openstack/ connection. py", line 339, in add_service replace( '-', '_'), service) lib/python2. 7/dist- packages/ openstack/ service_ description. py", line 104, in __set__ 'Service Descriptors cannot be set') Error: Service Descriptors cannot be set lib/python2. 7/dist- packages/ osc_lib/ shell.py" , line 134, in run Shell, self).run(argv) lib/python2. 7/dist- packages/ cliff/app. py", line 281, in run subcommand( remainder) lib/python2. 7/dist- packages/ osc_lib/ shell.py" , line 169, in run_subcommand Shell, self).run_ subcommand( argv) lib/python2. 7/dist- packages/ cliff/app. py", line 402, in run_subcommand parsed_ args) lib/python2. 7/dist- packages/ osc_lib/ command/ command. py", line 41, in run parsed_ args) lib/python2. 7/dist- packages/ cliff/display. py", line 116, in run action( parsed_ args) lib/python2. 7/dist- packages/ masakariclient/ osc/v1/ segment. py", line 66, in take_action client_ manager. ha lib/python2. 7/dist- packages/ osc_lib/ clientmanager. py", line 60, in __get__ reraise( new_err. __class_ _, new_err, sys.exc_info()[2]) lib/python2. 7/dist- packages/ osc_lib/ clientmanager. py", line 55, in __get__ instance) lib/python2. 7/dist- packages/ masakariclient/ plugin. py", line 47, in make_client new(instance) lib/python2. 7/dist- packages/ masakariclient/ plugin. py", line 58, in _make_client_new add_service( desc) lib/python2. 7/dist- packages/ openstack/ connection. py", line 339, in add_service replace( '-', '_'), service) lib/python2. 7/dist- packages/ openstack/ service_ description. py", line 104, in __set__ 'Service Descriptors cannot be set') Error: Service Descriptors cannot be set
Traceback (most recent call last):
File "/usr/local/
result = cmd.run(
File "/usr/local/
return super(Command, self).run(
File "/usr/local/
column_names, data = self.take_
File "/usr/local/
masakari_client = self.app.
File "/usr/local/
six.
File "/usr/local/
self._handle = self.factory(
File "/usr/local/
return _make_client_
File "/usr/local/
conn.
File "/usr/local/
setattr(self, attr_name.
File "/usr/local/
raise AttributeError(
PluginAttribute
clean_up ListSegment: Service Descriptors cannot be set
Traceback (most recent call last):
File "/usr/local/
ret_val = super(OpenStack
File "/usr/local/
result = self.run_
File "/usr/local/
ret_value = super(OpenStack
File "/usr/local/
result = cmd.run(
File "/usr/local/
return super(Command, self).run(
File "/usr/local/
column_names, data = self.take_
File "/usr/local/
masakari_client = self.app.
File "/usr/local/
six.
File "/usr/local/
self._handle = self.factory(
File "/usr/local/
return _make_client_
File "/usr/local/
conn.
File "/usr/local/
setattr(self, attr_name.
File "/usr/local/
raise AttributeError(
PluginAttribute