diff --git a/Authors b/Authors index 3a451dd2f240..a75a39a20ee0 100644 --- a/Authors +++ b/Authors @@ -196,6 +196,7 @@ Vasiliy Shlykov Vishvananda Ishaya Vivek Y S Vladimir Popovski +Vaddi kiran William Henry William Kelly William Wolf diff --git a/nova/api/openstack/compute/servers.py b/nova/api/openstack/compute/servers.py index ef7e29ac0fe3..6390e8b348c0 100644 --- a/nova/api/openstack/compute/servers.py +++ b/nova/api/openstack/compute/servers.py @@ -800,6 +800,10 @@ class Controller(wsgi.Controller): body['server']['auto_disk_config']) update_dict['auto_disk_config'] = auto_disk_config + if 'hostId' in body['server']: + msg = _("HostId cannot be updated.") + raise exc.HTTPBadRequest(explanation=msg) + try: instance = self.compute_api.get(ctxt, id) self.compute_api.update(ctxt, instance, **update_dict)

AltStyle によって変換されたページ (->オリジナル) /