Contrail 4.X SM/SMLite: Usage of uppercase letters in hostname causes provisioning to fail

Bug #1695559 reported by Savithru Lokanath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Medium
Abhay Joshi
Trunk
Fix Committed
Medium
Abhay Joshi

Bug Description

When provisioning Contrail 4.X using SM/SMLite, using uppercase letters in target hostnames causes provisioning to fail. This issue was fixed in SM 3.X when provisioning was through puppet. Now with ansible, we face the same issue.

Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Release notes:

When provisioning a cluster using SM/SMlite, the target hostnames should be in lowercase.

tags: added: releasenote
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32689
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/32690
Submitter: Ramprakash R (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/32689
Committed: http://github.com/Juniper/contrail-server-manager/commit/676476392a436d6e2ad48eecf3351619d4de7996
Submitter: Zuul (<email address hidden>)
Branch: master

commit 676476392a436d6e2ad48eecf3351619d4de7996
Author: Contrail Builder <email address hidden>
Date: Thu Jun 8 22:57:09 2017 +0000

Closes-bug: #1695559 - Using hostname different than the server_id prevents ansible playbook from running during provisioning.

Fix is to always use server_id when querying the server database in the
manage_ansible_provision function.

Change-Id: I58da209aa442b71dc06eee9e853b4f0305c6a07e

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32690
Committed: http://github.com/Juniper/contrail-server-manager/commit/2fd00cd2f2d81d909ec9a0f7680a6e5e7780d8d1
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 2fd00cd2f2d81d909ec9a0f7680a6e5e7780d8d1
Author: Contrail Builder <email address hidden>
Date: Thu Jun 8 22:57:09 2017 +0000

Closes-bug: #1695559 - Using hostname different than the server_id prevents ansible playbook from running during provisioning.

Fix is to always use server_id when querying the server database in the
manage_ansible_provision function.

Change-Id: I58da209aa442b71dc06eee9e853b4f0305c6a07e

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.