Limit the name of the Instance names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Magnum |
Confirmed
|
Critical
|
kwozyman |
Bug Description
After patch: https:/
we name the cluster instaces like following:
<cluster-
In certain deployments like CERN's, _ are not allowed in the hostnames. This is deployment specific but we should find a solution that works for all users.
1. limit the name of cluster instances
2, replace _ with -
Spyros Trigazis (strigazi) wrote : | #1 |
Changed in magnum: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Madhuri Kumari (madhuri-rai07) wrote : | #2 |
We can remove the `<master-
What do you think?
Changed in magnum: | |
assignee: | nobody → Sayali Lunkad (sayalilunkad) |
Changed in magnum: | |
assignee: | Sayali Lunkad (sayalilunkad) → Costin Eugen Gament (kwozyman) |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 283c0931879acc8
Author: Costin Gamenț <email address hidden>
Date: Wed Oct 11 14:24:13 2017 +0200
Generate stack name as a valid hostname
Truncate cluster name to 30 characters, map ('_', '.') to '-' and remove non
alpha-numeric characters.
Change-Id: Ibb2bddc5b602a3
Close-Bug: #1718947
Fix proposed to branch: master
Review: https:/
kwozyman (kwozyman) wrote : | #6 |
Openstack (kubernetes) Cloud Provider does not accept a stack name with upper case letters, so we're transforming the generated stack name to all lower case.
Spyros Trigazis (strigazi) wrote : | #7 |
Unable to register node "rally-
This the error in question.
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 336404c861dfde6
Author: Costin Gamenț <email address hidden>
Date: Thu Nov 23 11:13:50 2017 +0100
Generate lower case stack name
If stack name contains upper case characters, Openstack Cloud Provider
will complain.
Change-Id: I482e7143fb772d
Close-Bug: #1718947
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 6a2d14d3276bb4f
Author: Costin Gamenț <email address hidden>
Date: Wed Oct 11 14:24:13 2017 +0200
Generate stack name as a valid hostname
Truncate cluster name to 30 characters, map ('_', '.') to '-' and remove non
alpha-numeric characters.
Change-Id: Ibb2bddc5b602a3
Close-Bug: #1718947
(cherry picked from commit 283c0931879acc8
tags: | added: in-stable-pike |
Fix proposed to branch: stable/pike
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit c58b727bec3561d
Author: Costin Gamenț <email address hidden>
Date: Thu Nov 23 11:13:50 2017 +0100
Generate lower case stack name
If stack name contains upper case characters, Openstack Cloud Provider
will complain.
Change-Id: I482e7143fb772d
Close-Bug: #1718947
(cherry picked from commit 336404c861dfde6
change needs to go here: git.openstack. org/cgit/ openstack/ magnum/ tree/magnum/ drivers/ heat/driver. py#n113
http://