RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1230265 - [rdo-manager-cli][unified-cli]: openstack unified-cli commands display - Warning Module novaclient.v1_1 is deprecated.
Summary: [rdo-manager-cli][unified-cli]: openstack unified-cli commands display - War...
Keywords:
Status: CLOSED EOL
Alias: None
Product: RDO
Classification: Community
Component: rdo-manager-cli
Version: unspecified
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
: Kilo
Assignee: Dougal Matthews
QA Contact: Shai Revivo
URL:
Whiteboard:
Depends On:
Blocks: 1236138
TreeView+ depends on / blocked
 
Reported: 2015-06-10 14:03 UTC by Omri Hochman
Modified: 2018-07-09 12:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1236138 (view as bug list)
Environment:
Last Closed: 2016-05-19 15:49:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Omri Hochman 2015-06-10 14:03:24 UTC
[rdo-manager-cli][unified-cli]:  openstack unified-cli commands display - Warning Module novaclient.v1_1 is deprecated. 


Environment:
------------
python-rdomanager-oscplugin-0.0.7-dev45.el7.centos.noarc
instack-0.0.6-post6.el7.centos.noarch
instack-undercloud-2.1.1-dev43.el7.centos.noarch
python-tuskarclient-0.1.17-post15.el7.centos.noarch
openstack-tuskar-2013.2.0-dev2.el7.centos.noarch
openstack-tuskar-ui-2013.2-dev253.el7.centos.noarch
openstack-tuskar-ui-extras-2014.1-dev22.el7.centos.noarch
openstack-puppet-modules-2015.1.2-1.el7.noarch
openstack-tripleo-puppet-elements-0.0.1-dev63.el7.centos.noarch
puppet-3.6.2-3.el7.noarch

Steps: 
------
(1) Install undercloud according the rdo-manager docs .  
(2) work with the unified-cli guide in order to deploy the overcloud . 
https://repos.fedorapeople.org/repos/openstack-m/jenkins/instack-undercloud-docs/234545-4/html/basic_deployment/basic_deployment.html



Results  (Example of the Warning display ) :
-----------------------------------------------

[stack@instack ~]$ openstack baremetal import --json instackenv.json
/usr/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30: UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
  warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
[stack@instack ~]$ ironic node-list

[stack@instack ~]$ openstack baremetal configure boot
/usr/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30: UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
  warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
ERROR: openstack 'module' object has no attribute 'NoUniqueMatch'


[stack@instack ~]$ openstack baremetal introspection bulk start
/usr/lib/python2.7/site-packages/novaclient/v1_1/__init__.py:30: UserWarning: Module novaclient.v1_1 is deprecated (taken as a basis for novaclient.v2). The preferable way to get client class or object you can find in novaclient.client module.
  warnings.warn("Module novaclient.v1_1 is deprecated (taken as a basis for "
Waiting for discovery to finish

Comment 1 Omri Hochman 2015-06-10 14:04:59 UTC
The functionality of the commands still worked as expected after the Warning  displayed,

Comment 3 Dougal Matthews 2015-06-18 14:31:50 UTC
Change submitted upstream. https://review.openstack.org/#/c/193154/

Comment 4 Mike McCune 2016-03-28 22:30:10 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 6 Chandan Kumar 2016-05-19 15:49:29 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.


Note You need to log in before you can comment on or make changes to this bug.