← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1262223] Re: Wrap call to extension_supported on Launch Instance with try/except

 

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

** Changed in: horizon/havana
       Status: New => Fix Committed

** Changed in: horizon/havana
    Milestone: None => 2013.2.2

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

Title:
  Wrap call to extension_supported on Launch Instance with try/except

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) havana series:
  Fix Committed

Bug description:
  
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py#L142

          if api.nova.extension_supported("BlockDeviceMappingV2Boot",
                                          request):
              source_type_choices.append(("volume_image_id",
                      _("Boot from image (creates a new volume).")))
          source_type_choices.append(("volume_snapshot_id",

  
  extension_supported call can fail, we need to wrap this with try-except

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


References