jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Somnath Shekhar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCLOUDS-1481) Allow Nova adminServerApi to auto-select destination (via Nova scheduler)
Date Fri, 04 Jan 2019 01:25:00 GMT

     [ 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)

Mime
View raw message