Smlite: Provisioning hangs

Bug #1695503 reported by Ignatious Johnson Christopher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Medium
Ramprakash R
Trunk
Fix Committed
Medium
Ramprakash R

Bug Description

Smlite provisioning hangs,

"return_msg": "Server add/Modify Success"
}
----> Provisioning the cluster
----> Waiting for containers to get loaded

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

(Slack)Ramprakash R:

This was a strange issue: The docker python API does not seem to like upper case letters for the tags (we use image_id and version as part of the tag). Upper case causes the python tag function to hang (never returns and also does not throw an exception). Please use lower case for image_id and version strings in the image.json. Will try to see if we can catch some kind of exception or validate the id/version strings. Please raise a bug for this…

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

(slack)Ramprakash R:

This is the error the docker CLI throws up. I guess same validation is not done for the python API:

root@a5s166:~/smlite/testbed_a5166_a5s193_to_a5s196# docker tag 10.84.32.8:5100/R4_0_17-contrail-analytics:R4_0 62b92f1528b5
Error response from daemon: Error parsing reference: "10.84.32.8:5100/R4_0_17-contrail-analytics:R4_0" is not a valid repository/tag: repository name must be lowercase

Changed in juniperopenstack:
assignee: nobody → Abhay Joshi (abhayj)
importance: Undecided → Medium
Changed in juniperopenstack:
assignee: Abhay Joshi (abhayj) → Ramprakash R (ramprakash)
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Release-Notes:

In Server-manager while adding images to the repository the Image name should be entered with all lowercase characters.

tags: added: server-manager
tags: added: releasenote
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/32434
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/32434
Committed: http://github.com/Juniper/contrail-server-manager/commit/07f1f1eb988755afc4993720f13790f303d0d0c7
Submitter: Zuul (<email address hidden>)
Branch: master

commit 07f1f1eb988755afc4993720f13790f303d0d0c7
Author: Ramprakash <email address hidden>
Date: Fri Jun 2 15:24:46 2017 -0700

Closes-bug: #1695503 - Try-catch exception for the tag_container docker API. Without this, "add image" operation hangs indefinitely if image_id contains any uppercase character.

Change-Id: I3fb1256a72d5ee5d6299884deff670e777a8a8ca

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

Review in progress for https://review.opencontrail.org/32840
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/32840
Committed: http://github.com/Juniper/contrail-server-manager/commit/818a4e4f08d990df1231f14402a6ae83039f2a09
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 818a4e4f08d990df1231f14402a6ae83039f2a09
Author: Ramprakash <email address hidden>
Date: Fri Jun 2 15:24:46 2017 -0700

Closes-bug: #1695503 - Try-catch exception for the tag_container docker API. Without this, "add image" operation hangs indefinitely if image_id contains any uppercase character.

Change-Id: I3fb1256a72d5ee5d6299884deff670e777a8a8ca
(cherry picked from commit 07f1f1eb988755afc4993720f13790f303d0d0c7)

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.