Wrong error when creating different instances with the same hostname into the same DNS domain

Bug #1321774 reported by Samuel de Medeiros Queiroz
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

The bug related to creating different instances with the same hostname into the same DNS domain was reported on launchpad (https://bugs.launchpad.net/nova/+bug/1283538) and is being solved with its review (https://review.openstack.org/#/c/94252/).

However, the error is thrown when the instance is being built and it says "Error: No valid host was found.". It should say something like "Error: An instance already exists with the hostname <instance name>".

Internally, an error with message "The DNS entry %(name)s already exists in domain %(domain)s." is being thrown, but it is not shown to the caller interface, such as Horizon.

Tags: network
Changed in nova:
assignee: nobody → Samuel de Medeiros Queiroz (samuel-z)
Tracy Jones (tjones-i)
tags: added: network
Sean Dague (sdague)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
assignee: Samuel de Medeiros Queiroz (samuel-z) → nobody
status: Confirmed → Triaged
Revision history for this message
Sean Dague (sdague) wrote :

https://github.com/openstack/nova/blob/master/nova/network/floating_ips.py#L628-L630 is where this is leaking up, it would be tracing up from there to figure out why this isn't getting exposed on the surface.

tags: added: low
tags: added: low-hanging-fruit
removed: low
Changed in nova:
assignee: nobody → Abhishek Talwar (abhishek-talwar)
Changed in nova:
assignee: Abhishek Talwar (abhishek-talwar) → nobody
Changed in nova:
assignee: nobody → Ankur Gupta (ankur-gupta-v)
Revision history for this message
Shashwat Srivastava (shashwat-srivastava) wrote :

Hey Ankur,

Are you working on this bug or shall I start working...?

Sean Dague (sdague)
Changed in nova:
assignee: Ankur Gupta (ankur-gupta-v) → nobody
status: Triaged → Confirmed
Nha Pham (phqnha)
Changed in nova:
assignee: nobody → Nha Pham (phqnha)
Niket Raj (niketraj45)
Changed in nova:
status: Confirmed → New
status: New → Confirmed
Rathan Naik (rathan4all)
Changed in nova:
assignee: Nha Pham (phqnha) → Rathan Naik (rathan4all)
assignee: Rathan Naik (rathan4all) → nobody
Revision history for this message
Eduardo Otubo (otubo) wrote :

Anyone can confirm is this issue has been solved?

Revision history for this message
Anup (anup-d-navare) wrote :

Is this bug solved?

Changed in nova:
assignee: nobody → Bhavna Saini (imbhavnasaini)
Changed in nova:
assignee: Bhavna Saini (imbhavnasaini) → nobody
Revision history for this message
Niket Raj (niketraj45) wrote :

we have solved this bug as asked...

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

The age and number of assignee changes suggest that this isn't really
a low-hanging-fruit. I'm removing the tag to not confuse new folks who
are searching for that tag.

tags: removed: low-hanging-fruit
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (LIBERTY, MITAKA, OCATA, NEWTON).
  Valid example: CONFIRMED FOR: LIBERTY

Changed in nova:
importance: Low → Undecided
status: Confirmed → Expired
Rathan Naik (rathan4all)
Changed in nova:
assignee: nobody → Rathan Naik (rathan4all)
status: Expired → In Progress
Revision history for this message
Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in nova:
status: In Progress → Expired
assignee: Rathan Naik (rathan4all) → nobody
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.