← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1694782] [NEW] Invalid params is passed to novaAPI.getFlavors call

 

Public bug reported:

Hi,

In

https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/static/dashboard/project/workflow
/launch-instance/launch-instance-model.service.js#L253

where novaAPI.getFlavors() is called with params that does not match the
Nova API in

https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core
/openstack-service-api/nova.service.js#L471

where a params object is expected.

My understanding is that the Nova API is expecting params object of form below from launch-instance-model call
{
 'params' : {
    'is_public' = 'true',
    'get_extras' = 'true',
  }
}

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1694782

Title:
  Invalid params is passed to novaAPI.getFlavors call

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Hi,

  In

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/static/dashboard/project/workflow
  /launch-instance/launch-instance-model.service.js#L253

  where novaAPI.getFlavors() is called with params that does not match
  the Nova API in

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/static/app/core
  /openstack-service-api/nova.service.js#L471

  where a params object is expected.

  My understanding is that the Nova API is expecting params object of form below from launch-instance-model call
  {
   'params' : {
      'is_public' = 'true',
      'get_extras' = 'true',
    }
  }

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