yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38293
[Bug 1493576] Re: Incorrect usage of python-novaclient
** Also affects: mistral
Importance: Undecided
Status: New
** Changed in: mistral
Assignee: (unassigned) => Zhenguo Niu (niu-zglinux)
** Description changed:
All projects should use only `novaclient.client` as entry point. It designed with some version checks and backward compatibility.
Direct import of versioned client object(i.e. novaclient.v2.client) is a way to "shoot yourself in the foot".
Python-novaclient's doc: http://docs.openstack.org/developer/python-
novaclient/api.html
Horizon: https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31
Manila: https://github.com/openstack/manila/blob/473b46f6edc511deaba88b48392b62bfbb979787/manila/compute/nova.py#L23
Cinder: https://github.com/openstack/cinder/blob/de64f5ad716676b7180365798efc3ea69a4fef0e/cinder/compute/nova.py#L23
+ Mistral:
+ https://github.com/openstack/mistral/blob/master/mistral/actions/openstack/actions.py#L23
** Changed in: mistral
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1493576
Title:
Incorrect usage of python-novaclient
Status in Cinder:
New
Status in OpenStack Dashboard (Horizon):
Fix Committed
Status in Manila:
In Progress
Status in Mistral:
In Progress
Bug description:
All projects should use only `novaclient.client` as entry point. It designed with some version checks and backward compatibility.
Direct import of versioned client object(i.e. novaclient.v2.client) is a way to "shoot yourself in the foot".
Python-novaclient's doc: http://docs.openstack.org/developer/python-
novaclient/api.html
Horizon: https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31
Manila: https://github.com/openstack/manila/blob/473b46f6edc511deaba88b48392b62bfbb979787/manila/compute/nova.py#L23
Cinder: https://github.com/openstack/cinder/blob/de64f5ad716676b7180365798efc3ea69a4fef0e/cinder/compute/nova.py#L23
Mistral:
https://github.com/openstack/mistral/blob/master/mistral/actions/openstack/actions.py#L23
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1493576/+subscriptions
References