Wind River Support Network

HomeDefectsOPS-88
Fixed

OPS-88 : Creating a Heat stack with trailing whitespace for UUID fields can fail

Created: Jun 9, 2014   
Resolved Date: Jun 24, 2014
Found In Version: Havana 2013.2
Fix Version: Havana 2013.2 RCPL 5.0.1.16
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: OpenStack

Description

If you accidentally copy a UUID and include trailing whitespace in the GUI for that field while creating a HEAT stack in openstack horizon, the error will complain that 

Create Failed
Resource Create Failed: Error: Resource Create Failed: Neutronclientexception: Invalid Input For Network Id. Reason: '49184104-9ceb-46ce-Ace6-36f771fbe4e0 ' Is Not A Valid Uuid.

This error is extra difficult to decipher since that is a valid UUID, but the extra space at the end is what is confusing  the UUID validator.

Steps to Reproduce

Include trailing whitespace in the UUID field when creating a heat stack in horizon.
Live chat
Online