Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1481

Allow Nova adminServerApi to auto-select destination host (via Nova scheduler) in Live Migration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.1.1
    • None
    • jclouds-labs-openstack
    • None

    Description

      The current liveMigration function under Nova's adminServerApi doesn't support auto-select of destination host (via Nova scheduler), unlike OpenStack API where we do so by passing a null for the host value:

      curl -g -i -X POST https://{identity-endpoint}/v2.1/servers/{UUID}/action
             -H "Accept: application/json"
             -H "Content-Type: application/json"
             -H "OpenStack-API-Version: compute 2.53"
             -H "User-Agent: python-novaclient"
             -H "X-OpenStack-Nova-API-Version: 2.53"
             -d '{"os-migrateLive": {"block_migration": true, "host": null}}'
             -H "X-Auth-Token: {TOKEN}"
      

       

      Currently the function throws a NPE if we pass null, can this be fixed/updated?

      Attachments

        Activity

          People

            Unassigned Unassigned
            mudblood Somnath Shekhar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: