Hello Fuelers,
I've figured out that there is a blueprint regarding node naming (
https://blueprints.launchpad.net/fuel/+spec/node-naming). It looks like
this this feature really has not been started. That being said all
necessary preparations in Nailgun code have been already done. The only
thing that is needed to be done is to enable this feature (in fact 4 lines
of code).
--- a/nailgun/nailgun/objects/node.py
+++ b/nailgun/nailgun/objects/node.py
@@ -654,7 +654,10 @@ class Node(NailgunObject):

     def make_slave_name(cls, instance):
-        return u"node-{node_id}".format(node_id=instance.id)
+        if instance.name.startswith("Untitled"):
+            return u"node-{node_id}".format(node_id=instance.id)
+        else:
+            return u"{node_id}".format(node_id=instance.name.lower())

     def make_slave_fqdn(cls, instance):

Should I consider this as a bug or this blueprint will be implemented in
the nearest future?

Kind regards
Dmitry Ukov
IT Engineer
Mirantis, Inc.
OpenStack-dev mailing list

Reply via email to