Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

@Bemd Bausch Thanks for responding. All the files in requires.txt I checked for the string issubclass. Only the above contain them. And those are the newest versions in Rocky. There is a newer python-openstackclient but it doesn't have the string issubclass. All other python packages are the newest because I migrated to Py3.7 with newest versions
$ openstack server list
$ openstack image list
Are part of the verify process and are working. Only
$ openstack network etc
are causing problems. I have no experience with venv. I expect the same result. Is it best to try it?

@Bemd Bausch Thanks issubclass() arg 1 must be a class Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for responding. All the files in requires.txt I checked s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for the string issubclass. Only the above contain them. And those are the newest versions in Rocky. There is s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) TypeError: issubclass() arg 1 must be a newer python-openstackclient but it doesn't have the string issubclass. All other python packages are the newest because I migrated to Py3.7 with newest versions
$ openstack server list
$ openstack image list
Are part of the verify process and are working. Only
$ openstack network etc
are causing problems. I have no experience with venv. I expect the same result. Is it best to try it?
class clean_up ListNetworkAgent: issubclass() arg 1 must be a class Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder) File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) TypeError: issubclass() arg 1 must be a class

END return value: 1

issubclass() arg 1 must be a class Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv) File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder) File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass) TypeError: issubclass() arg 1 must be a class

 END return value: 1

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class class
Traceback (most recent call last): last):
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data) data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ _____subclasscheck_____ return _abc_subclasscheck(cls, subclass) subclass)
TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class class
Traceback (most recent call last): last):
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv) self).run(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder) self.run_subcommand(remainder)
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv) self).run_subcommand(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args) cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args) self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data) data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args, parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data) data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter) next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data)) data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn): cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ _____subclasscheck_____ return _abc_subclasscheck(cls, subclass) subclass)
TypeError: issubclass() arg 1 must be a class


END return value: 1
1

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in _____subclasscheck_____ __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder)
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in _____subclasscheck_____ __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
END return value: 1

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder)
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
END return value: 1
cliff-2.14.0
osc-lib-1.11.1

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder)
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
END return value: 1
cliff-2.14.0
osc-lib-1.11.1
Python-3.7.1

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder)
File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)
File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class
END return value: 1
cliff-2.14.0
osc-lib-1.11.1
Python-3.7.1

I see a patch on git.openstack.org. Testing it tomorrow

"Preformatted text" doesn't work :-(

issubclass() arg 1 must be a class
class<br /> Traceback (most recent call last):
last):<br /> File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
cmd.run(parsed_args)<br /> File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
self).run(parsed_args)<br /> File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
data)<br /> File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
parsed_args,<br /> File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
data)<br /> File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
next(data_iter)<br /> File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
data))<br /> File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list self.add_rows(x, column_names, data)
data)<br /> File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
next(data_iter)<br /> File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
data))<br /> File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
cliff_columns.FormattableColumn):<br /> File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
subclass)<br /> TypeError: issubclass() arg 1 must be a class clean_up ListNetworkAgent: issubclass() arg 1 must be a class
class<br /> Traceback (most recent call last):
last):<br /> File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run ret_val = super(OpenStackShell, self).run(argv)
self).run(argv)<br /> File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run result = self.run_subcommand(remainder)
self.run_subcommand(remainder)<br /> File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand ret_value = super(OpenStackShell, self).run_subcommand(argv)
self).run_subcommand(argv)<br /> File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand result = cmd.run(parsed_args)
cmd.run(parsed_args)<br /> File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run return super(Command, self).run(parsed_args)
self).run(parsed_args)<br /> File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run self.produce_output(parsed_args, column_names, data)
data)<br /> File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output parsed_args,
parsed_args,<br /> File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list self.add_rows(x, column_names, data)
data)<br /> File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows first_row = next(data_iter)
next(data_iter)<br /> File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr> ) for s in data))
data))<br /> File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties if issubclass(formatter, cliff_columns.FormattableColumn):
cliff_columns.FormattableColumn):<br /> File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__ return _abc_subclasscheck(cls, subclass)
subclass)<br /> TypeError: issubclass() arg 1 must be a class
class<br /> END return value: 1
cliff-2.14.0
osc-lib-1.11.1
Python-3.7.1

1<br /> cliff-2.14.0<br /> osc-lib-1.11.1<br /> Python-3.7.1

I see a patch on git.openstack.org. Testing it tomorrow

"Preformatted text" doesn't work :-(solved by osc-lib patch from https://git.openstack.org/cgit/openstack/osc-lib
I guess problem occurs only in Py3.7

issubclass() arg 1 must be a class<br />
            Traceback (most recent call last):<br />
              File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand
                result = cmd.run(parsed_args)<br />
              File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run
                return super(Command, self).run(parsed_args)<br />
              File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run
                self.produce_output(parsed_args, column_names, data)<br />
              File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output
                parsed_args,<br />
              File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list
                self.add_rows(x, column_names, data)<br />
              File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows
                first_row = next(data_iter)<br />
              File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr>
                ) for s in data))<br />
              File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in emit_list
            self.add_rows(x, column_names, data)<br />
          File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows
            first_row = next(data_iter)<br />
          File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr>
            ) for s in data))<br />
          File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties
            if issubclass(formatter, cliff_columns.FormattableColumn):<br />
          File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__
            return _abc_subclasscheck(cls, subclass)<br />
        TypeError: issubclass() arg 1 must be a class
        clean_up ListNetworkAgent: issubclass() arg 1 must be a class<br />
        Traceback (most recent call last):<br />
          File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 135, in run
            ret_val = super(OpenStackShell, self).run(argv)<br />
          File "/usr/lib/python3.7/site-packages/cliff/app.py", line 281, in run
            result = self.run_subcommand(remainder)<br />
          File "/usr/lib/python3.7/site-packages/osc_lib/shell.py", line 175, in run_subcommand
            ret_value = super(OpenStackShell, self).run_subcommand(argv)<br />
          File "/usr/lib/python3.7/site-packages/cliff/app.py", line 401, in run_subcommand
            result = cmd.run(parsed_args)<br />
          File "/usr/lib/python3.7/site-packages/osc_lib/command/command.py", line 41, in run
            return super(Command, self).run(parsed_args)<br />
          File "/usr/lib/python3.7/site-packages/cliff/display.py", line 119, in run
            self.produce_output(parsed_args, column_names, data)<br />
          File "/usr/lib/python3.7/site-packages/cliff/lister.py", line 82, in produce_output
            parsed_args,<br />
          File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 101, in emit_list
            self.add_rows(x, column_names, data)<br />
          File "/usr/lib/python3.7/site-packages/cliff/formatters/table.py", line 80, in add_rows
            first_row = next(data_iter)<br />
          File "/usr/lib/python3.7/site-packages/openstackclient/network/v2/network_agent.py", line 252, in <genexpr>
            ) for s in data))<br />
          File "/usr/lib/python3.7/site-packages/osc_lib/utils/__init__.py", line 495, in get_item_properties
            if issubclass(formatter, cliff_columns.FormattableColumn):<br />
          File "/usr/lib/python3.7/abc.py", line 143, in __subclasscheck__
            return _abc_subclasscheck(cls, subclass)<br />
        TypeError: issubclass() arg 1 must be a class<br />
        END return value: 1<br />
cliff-2.14.0<br />
osc-lib-1.11.1<br />
Python-3.7.1

I see a patch on git.openstack.org. Testing it tomorrow