[openstack-dev] [Nova] Different tenants can assign the same hostname to different machines without an error

2014-06-04 Thread samuel

Hi everyone,

Concerning the bug described at [1], where n different machines may have 
the same hostname and then n different DNS entries with that hostname 
are written; some points have to be discussed with the nova community.


On the bug review [2], Andrew Laski pointed out that we should discuss 
about having users getting errors due to the display name they choose. 
He thinks that name should be used purely for aesthetic purposes so I 
think a better approach to this problem would be to decouple display 
name and DNS entries. And display name has never needed to be globally 
unique before.


The patch [2] proposes changing the default DNS driver from 
'nova.network.noop_dns_driver.NoopDNSDriver' to other that verifies if 
DNS entries already exists before adding them, such as the 
'nova.network.minidns.MiniDNS'.


What are your thoughts up there?

Sincerely,
Samuel Queiroz

[1] https://bugs.launchpad.net/nova/+bug/1283538
[2] https://review.openstack.org/#/c/94252/

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Nova] Different tenants can assign the same hostname to different machines without an error

2014-06-04 Thread Day, Phil

 The patch [2] proposes changing the default DNS driver from
 'nova.network.noop_dns_driver.NoopDNSDriver' to other that verifies if
 DNS entries already exists before adding them, such as the
 'nova.network.minidns.MiniDNS'.

Changing a default setting in a way that isn't backwards compatible when the 
cloud admin can already make that config change if they want it doesn't seem 
like the right thing to do. I think you need to do this in two stages:
1) In Juno deprecate the existing default value first (i.e add a waning for one 
cycle that says that the default will change) 
2) In K change the default

 

 -Original Message-
 From: samuel [mailto:sam...@lsd.ufcg.edu.br]
 Sent: 04 June 2014 15:01
 To: openstack-dev@lists.openstack.org
 Subject: [openstack-dev] [Nova] Different tenants can assign the same
 hostname to different machines without an error
 
 Hi everyone,
 
 Concerning the bug described at [1], where n different machines may have
 the same hostname and then n different DNS entries with that hostname are
 written; some points have to be discussed with the nova community.
 
 On the bug review [2], Andrew Laski pointed out that we should discuss
 about having users getting errors due to the display name they choose.
 He thinks that name should be used purely for aesthetic purposes so I think a
 better approach to this problem would be to decouple display name and DNS
 entries. And display name has never needed to be globally unique before.
 
 The patch [2] proposes changing the default DNS driver from
 'nova.network.noop_dns_driver.NoopDNSDriver' to other that verifies if
 DNS entries already exists before adding them, such as the
 'nova.network.minidns.MiniDNS'.
 
 What are your thoughts up there?
 
 Sincerely,
 Samuel Queiroz
 
 [1] https://bugs.launchpad.net/nova/+bug/1283538
 [2] https://review.openstack.org/#/c/94252/
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev