← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1677913] [NEW] percent must be escaped in live_migration_uri

 

Public bug reported:

The libvirt uris allow extra parameters to be specified in the query
sting. More info here https://libvirt.org/guide/html
/Application_Development_Guide-Architecture-Remote_URIs.html

However nova interprets live_migration_uri using python string
formatting -
https://github.com/openstack/nova/blob/83256b7c789700ce837f4d136bc6ab8811f2d505/nova/virt/libvirt/driver.py#L675

This can result in a "TypeError: not enough arguments for format string"
as the query string will be url escaped (lot of % chars).

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: live-migration

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1677913

Title:
  percent must be escaped in live_migration_uri

Status in OpenStack Compute (nova):
  New

Bug description:
  The libvirt uris allow extra parameters to be specified in the query
  sting. More info here https://libvirt.org/guide/html
  /Application_Development_Guide-Architecture-Remote_URIs.html

  However nova interprets live_migration_uri using python string
  formatting -
  https://github.com/openstack/nova/blob/83256b7c789700ce837f4d136bc6ab8811f2d505/nova/virt/libvirt/driver.py#L675

  This can result in a "TypeError: not enough arguments for format
  string" as the query string will be url escaped (lot of % chars).

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