Comment 9 for bug 1810213

Revision history for this message
Eric Miller (erickmiller) wrote :

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.

Eric