openstack server migrate --live on Windows client not working

Bug #1703652 reported by Chris Hogarth
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

The server migrate --live does not appear to work on a Windows Openstack client.

Windows 10 - 10.0.14393 N/A Build 14393
Python 2.7.13
Openstack 3.11.0

Steps to reproduce:

1. Install Python
2. Download and run get-pip.py
3. pip install python-openstackclient
4. Deploy a server with shared storage (although the error can still be seen without this), then run the following to migrate:
openstack server migrate --live node02 vm01
Results in the following error:
live_migrate() takes exactly 5 arguments (4 given)

Tested using openstack.exe from Powershell and cmd with relevant environment variables. Other commands work fine, just not this one. The exact same command works fine on the same version of Openstack client on a Ubuntu machine.

Revision history for this message
Lee Harrison (madshark) wrote :

Confirmed I see the same issue from Windows Desktop with same versions.

Revision history for this message
Dean Troyer (dtroyer) wrote :

This is not nearly enough information to debug. --debug output would be helpful, as would comparing the output of 'openstack module list --all' between working and non-working installations.

Changed in python-openstackclient:
status: New → Incomplete
Revision history for this message
Chris Hogarth (chrishogarth) wrote :
Download full text (37.0 KiB)

Hi, here is the information you requested.

Live migrate with --debug switch:

PS C:\Users\chris.hogarth> openstack server migrate ch2 --live OS-TEST-01 --debug
START with options: [u'server', u'migrate', u'ch2', u'--live', u'OS-TEST-01', u'--debug']
options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='http://X.X.94.2:5000/v3', cacert=None, cert='', client_id='', client_secret='***', cloud='', code='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, interface='public', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='3', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', project_domain_id='', project_domain_name='', project_id='5cc42648bcec4124870e36fdc240d64c', project_name='Infrastructure', protocol='', redirect_uri='', region_name='RegionOne', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='MYDOMAIN', user_id='', username='myuser', verbose_level=3, verify=None)
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'http://X.X.94.2:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', 'username': 'myuser', u'container_infra_api_version': u'1', 'verbose_level': 3, 'region_name': 'RegionOne', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_id': '5cc42648bcec4124870e36fdc240d64c', 'user_domain_name': 'MYDOMAIN', 'project_name': 'Infrastructure', 'project_domain_id': 'default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '***', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': u'v1', u'workflow_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'debug': True, u'interface': 'public', u'disable_vendor_agent': {}}
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version...

Changed in python-openstackclient:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.