live migration fails

Bug #1907711 reported by Narinder Gupta
This bug report is a duplicate of:  Bug #1848745: Nova Scheduler caches placement URL. Edit Remove
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Cloud Controller Charm
New
Undecided
Unassigned

Bug Description

Cloud: Ussuri on Focal
Charm: Latest 20.10 charms
Issue: While doing live migration of an instance from one server to another failed as nova conductor tried to use http://placement-internal.maas:8778 instead of https://placement-internal.hou-01.maas:8778

2020-12-10 19:25:07.273 144366 WARNING nova.scheduler.client.report Failed to save allocation for 980cb675-00b5-483e-9c64-b93735addeb1. Got HTTP 400: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
 Instead use the HTTPS scheme to access this URL, please.<br />
</p>
<hr>
<address>Apache/2.4.41 (Ubuntu) Server at placement-internal.hou-01.cloud.prod.cpanel.net Port 80</address>
</body></html>

2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager [req-5ed2f044-1b02-4f94-bb1d-66d8f5d964b9 4d05f72d83804bf6b53135e565cd74d0 60fca6ddb599447cbfc56efee09fc818 - dd73a096afdf48dfb290970d25794054 dd73a096afdf48dfb290970d25794054] Migration of instance 980cb675-00b5-483e-9c64-b93735addeb1 to host node07.maas unexpectedly failed.: simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager Traceback (most recent call last):
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/conductor/manager.py", line 472, in _live_migrate
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager task.execute()
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/conductor/tasks/base.py", line 27, in wrap
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager self.rollback(ex)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager self.force_reraise()
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager six.reraise(self.type_, self.value, self.tb)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/six.py", line 703, in reraise
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager raise value
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/conductor/tasks/base.py", line 24, in wrap
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return original(self)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/conductor/tasks/base.py", line 42, in execute
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return self._execute()
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/conductor/tasks/live_migrate.py", line 130, in _execute
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager scheduler_utils.claim_resources_on_destination(
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/scheduler/utils.py", line 767, in claim_resources_on_destination
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager if reportclient.claim_resources(
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 72, in wrapper
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return f(self, *a, **k)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 114, in wrapper
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return f(self, *a, **k)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/nova/scheduler/client/report.py", line 1612, in claim_resources
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager err = r.json()['errors'][0]
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/requests/models.py", line 897, in json
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return complexjson.loads(self.text, **kwargs)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 518, in loads
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return _default_decoder.decode(s)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager obj, end = self.raw_decode(s)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager return self.scan_once(s, idx=_w(s, idx).end())
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2020-12-10 19:25:07.897 144366 ERROR nova.conductor.manager
2020-12-10 19:25:07.903 144366 WARNING nova.scheduler.utils [req-5ed2f044-1b02-4f94-bb1d-66d8f5d964b9 4d05f72d83804bf6b53135e565cd74d0 60fca6ddb599447cbfc56efee09fc818 - dd73a096afdf48dfb290970d25794054 dd73a096afdf48dfb290970d25794054] Failed to compute_task_migrate_server: Expecting value: line 1 column 1 (char 0): simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

description: updated
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.