← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1257661] Re: should handle boolean string parameters through migrate_live API

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  should handle boolean string parameters through migrate_live API

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If specifying false string ("False") as "block_migration" parameter of
  migrate_live API like the following, nova considers it as True.

  $ curl -i 'http://10.21.42.81:8774/v2/[..]/servers/[..]/action' -X
  POST [..] -d '{"os-migrateLive": {"disk_over_commit": "False",
  "block_migration": "False", "host": "localhost"}}'

  On the other hand, nova can consider false string as false in the case of "on_shared_storage" parameter of evacuate API.
  That behavior seems API inconsistency.

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


References