It seems that this problem happens even with the patch mentioned in #8.
I have tried Python 2.7, 3.5, 3.6, and 3.7.3 with similar results when NOT using the patch, building the python-openstackclient package from source:
(openstack) flavor list
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/cmd2/cmd2.py", line 1804, in onecmd_plus_hooks
statement = self.precmd(statement)
File "/usr/lib/python3.5/site-packages/cliff/interactive.py", line 172, in precmd
statement.command = cmd_name
File "/usr/lib/python3.5/site-packages/attr/_make.py", line 428, in _frozen_setattrs
raise FrozenInstanceError()
attr.exceptions.FrozenInstanceError
EXCEPTION of type 'FrozenInstanceError' occurred with message: ''
When using the patch, the "flavor list" command above hangs, the CPU is pegged for the openstack process, and memory is slowly eaten until Linux kills the process.
I have yet to come up with a workaround by just trying a number of things without fully understanding how cliff and cmd2 work. Any ideas? The openstackclient is broken in interactive mode until we have a workaround.
It seems that this problem happens even with the patch mentioned in #8.
I have tried Python 2.7, 3.5, 3.6, and 3.7.3 with similar results when NOT using the patch, building the python- openstackclient package from source:
(openstack) flavor list python3. 5/site- packages/ cmd2/cmd2. py", line 1804, in onecmd_plus_hooks statement) python3. 5/site- packages/ cliff/interacti ve.py", line 172, in precmd command = cmd_name python3. 5/site- packages/ attr/_make. py", line 428, in _frozen_setattrs rror() .FrozenInstance Error Error' occurred with message: ''
Traceback (most recent call last):
File "/usr/lib/
statement = self.precmd(
File "/usr/lib/
statement.
File "/usr/lib/
raise FrozenInstanceE
attr.exceptions
EXCEPTION of type 'FrozenInstance
When using the patch, the "flavor list" command above hangs, the CPU is pegged for the openstack process, and memory is slowly eaten until Linux kills the process.
I have yet to come up with a workaround by just trying a number of things without fully understanding how cliff and cmd2 work. Any ideas? The openstackclient is broken in interactive mode until we have a workaround.
Eric