← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1493576] [NEW] Incorrect usage of python-novaclient

 

Public bug reported:

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".

Horizon:
https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31

** Affects: horizon
     Importance: Undecided
         Status: New

** Also affects: horizon
   Importance: Undecided
       Status: New

** 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".
+ 
+ Horizon:
+ https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31

-- 
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 OpenStack Dashboard (Horizon):
  New

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".

  Horizon:
  https://github.com/openstack/horizon/blob/69d6d50ef4a26e2629643ed35ebd661e82e10586/openstack_dashboard/api/nova.py#L31

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1493576/+subscriptions


Follow ups