xenapi: rename hostname not working on windows

Bug #1203025 reported by Kashi Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Kashi Reddy

Bug Description

Repro steps:
- start windows server
- user changes hostname

Expected:
- new hostname persists across reboot

Actual:
- hostname reverts to original name

Reason for issue:
- PV tools read the hostname in xenstore on every reboot
- after first boot the xenstore key is never update or removed

Fix
- Remove the hostname in first boot after network reset

Tags: xenserver
Changed in nova:
assignee: nobody → Kashi Reddy (kashivreddy)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/37884

Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/37884
Committed: http://github.com/openstack/nova/commit/f10279662a0775e6884bd1b58933752e6f982ca6
Submitter: Jenkins
Branch: master

commit f10279662a0775e6884bd1b58933752e6f982ca6
Author: Kashi Reddy <email address hidden>
Date: Fri Jul 19 16:04:57 2013 +0530

    Remove hostname param from XenApi after first boot

    Removes hostname param from XenApi after first boot.
    Hostname being present is causing PV tools to pick
    old hostname and revert the hostname changes.

    Fixes: bug #1203025
    Change-Id: I48d8e43addb8d6cd84ad160cd52427d47a31ff69

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: havana-3 → 2013.2
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.