[nova] Cannot use --fields in one of our headnodes

Lee Yarwood lyarwood at redhat.com
Wed Mar 24 15:25:04 UTC 2021

On Wed, 24 Mar 2021 at 15:17, Mauricio Tavares <raubvogel at gmail.com> wrote:
> Easy question of the day: One of our headnodes is barking when I use
> --fields with nova.
> nova list --all --fields=host,instance_name,status
> ERROR (TypeError): '<' not supported between instances of 'str' and 'NoneType'
> This works fine with the other headnodes, and all 3 are supposed to be
> the same (hardware, software). Would that indicate a bad installation
> or something else? Where should I be looking for answers?

Looks like a simple bug in the version of python-novaclient on this
host, can you try using --debug to get some more information and
comparing the version between a working and non-working host?

More information about the openstack-discuss mailing list