validate application name

Bug #1578338 reported by Vijendar Komalla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
Undecided
Vijendar Komalla
python-solumclient
Fix Released
Undecided
Vijendar Komalla

Bug Description

Using uppercase letters in application name would result in error because appname is used as part of app DU name and docker does not allow upper case letters in image name. So donot allow uppercase letters in the app name.

Make sure application name contains only lower case letters, 0-9 and _,-

summary: - validate app file name
+ validate application name
description: updated
description: updated
Changed in solum:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
Changed in python-solumclient:
assignee: nobody → Vijendar Komalla (vijendar-komalla)
Changed in python-solumclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-solumclient (master)

Reviewed: https://review.openstack.org/312686
Committed: https://git.openstack.org/cgit/openstack/python-solumclient/commit/?id=593a1675967173cb5dbcf7c8b869cb0075cc1ab0
Submitter: Jenkins
Branch: master

commit 593a1675967173cb5dbcf7c8b869cb0075cc1ab0
Author: Vijendar Komalla <email address hidden>
Date: Wed May 4 13:41:41 2016 -0500

    Do not allow uppercase letters in app name

    Using uppercase letters in application name would result
    in error because app name is used as part of app DU name
    and docker does not allow uppercase letters in image name.
    So do not allow uppercase letters in the app name.

    Change-Id: Icb0077a45408bc2d30f6de32b3a88ac5805d99bf
    Closes-Bug: #1578338

Changed in python-solumclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/312708
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=4abb642d924ce321b335fce6c159164ec86ca4bf
Submitter: Jenkins
Branch: master

commit 4abb642d924ce321b335fce6c159164ec86ca4bf
Author: Vijendar Komalla <email address hidden>
Date: Wed May 4 14:19:04 2016 -0500

    Make sure app name contains valid characters

    Change-Id: I0c2d41208505b5e23272a668beca6a8d08677906
    Closes-Bug: #1578338

Changed in solum:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-solumclient 2.1.0

This issue was fixed in the openstack/python-solumclient 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/solum 5.0.0

This issue was fixed in the openstack/solum 5.0.0 release.

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.