Ask Your Question

Ocata nova CLI outputs ugly warning - can it be suppressed?

asked 2017-03-07 21:11:29 -0500

There are a few Nova commands that the openstack client doesn't have, for example the live-migration management commands like nova server-migration-show or nova live-migration-force-complete.

Whenever I run a nova CLI command on Ocata, I get this message:

/usr/lib/python2.7/site-packages/novaclient/ UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.

My shell environment contains nothing that contains "tenant" or "TENANT".

Is this message deliberate? Should I submit a bug?


When will the openstack client reach parity with the nova client so that the nova CLI can be retired?

edit retag flag offensive close merge delete



Have the same question - really annoying to be honest.

Kind regards, Michal.

Michal gravatar imageMichal ( 2017-03-15 02:18:25 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-06-02 03:39:31 -0500

cshen gravatar image

updated 2017-06-02 03:39:41 -0500

in Shell, I just used redirect standard out to standard err, then filter warning string out.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2017-03-07 21:11:29 -0500

Seen: 770 times

Last updated: Jun 02 '17