You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Somnath Shekhar (JIRA)" <ji...@apache.org> on 2019/01/04 01:25:00 UTC
[jira] [Updated] (JCLOUDS-1481) Allow Nova adminServerApi to
auto-select destination (via Nova scheduler)
[ https://issues.apache.org/jira/browse/JCLOUDS-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Somnath Shekhar updated JCLOUDS-1481:
-------------------------------------
Summary: Allow Nova adminServerApi to auto-select destination (via Nova scheduler) (was: Allow Nova adminServerApi to Auto-select destination (via Nova scheduler))
> Allow Nova adminServerApi to auto-select destination (via Nova scheduler)
> -------------------------------------------------------------------------
>
> Key: JCLOUDS-1481
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1481
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-labs-openstack
> Affects Versions: 2.1.1
> Reporter: Somnath Shekhar
> Priority: Minor
>
> 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:
> {code:java}
> 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}"
> {code}
>
> Currently the function throws a NPE if we pass *null*, can this be fixed/updated?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)