Renaming Instance Name doesn't change hostname on a Rebuild
Bug #1068154 reported by
Antony Messerli
This bug affects 18 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
Renaming an instance name via novaclient only changes the display_name, it doesn't actually update the hostname or display_description in the instances table.
This means if I want to change the name of an instance, and then rebuild it, it will utilize the original name as set in hostname.
Renaming an instance name should also update the other fields.
summary: |
- Renaming Instance Name doesn't change hostname + Renaming Instance Name doesn't change hostname on a Rebuild |
Changed in nova: | |
assignee: | nobody → Rongze Zhu (zrzhit) |
Changed in nova: | |
assignee: | Rongze Zhu (zrzhit) → nobody |
Changed in nova: | |
assignee: | nobody → Shuquan Huang (spring1201) |
assignee: | Shuquan Huang (spring1201) → nobody |
Changed in nova: | |
assignee: | nobody → Shuquan Huang (spring1201) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Shuquan Huang (spring1201) → Rohit Karajgi (rohitkarajgi) |
Changed in nova: | |
assignee: | Rohit Karajgi (rohitkarajgi) → nobody |
Changed in nova: | |
assignee: | nobody → sachi (sachi-gupta) |
Changed in nova: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Opinion |
status: | Opinion → Fix Committed |
Changed in nova: | |
assignee: | sachi (sachi-gupta) → nobody |
Changed in nova: | |
assignee: | nobody → Sumanth Nagadavalli (sumanth-nagadavalli) |
Changed in nova: | |
assignee: | Sumanth Nagadavalli (sumanth-nagadavalli) → Neill Cox (neillc) |
Changed in nova: | |
assignee: | nobody → Chris Gacsal (chris-gacsal) |
Changed in nova: | |
status: | Confirmed → In Progress |
description: | updated |
Changed in nova: | |
assignee: | Chris Gacsal (chris-gacsal) → Vinod (vinodm-mangalore27) |
assignee: | Vinod (vinodm-mangalore27) → nobody |
assignee: | nobody → Vinod (vinodm-mangalore27) |
Changed in nova: | |
assignee: | Vinod (vinodm-mangalore27) → nobody |
Changed in nova: | |
assignee: | nobody → SURAJ KUMAR G R (surajkumarr12) |
Changed in nova: | |
assignee: | nobody → ZhaoHangbo (497492840-9) |
assignee: | ZhaoHangbo (497492840-9) → nobody |
Changed in nova: | |
assignee: | nobody → kavya (aravapalli-kavya) |
Changed in nova: | |
assignee: | kavya (aravapalli-kavya) → nobody |
To post a comment you must log in.
display_description should stay as it can be updated separately, but updating name should update hostname using the same logic that creating a server does.
We may need to add a new codepath if we want the name changed in dnsmasq as well.