Bug 649473
| Summary: | Instance: name too long throws PGError | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Dave Johnson <dajohnso> | ||||
| Component: | aeolus-conductor | Assignee: | Mo Morsi <mmorsi> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 0.3.1 | CC: | deltacloud-maint, mmorsi, ssachdev, sseago, whayutin | ||||
| Target Milestone: | alpha | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://10.16.120.182/deltacloud/instance/create | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | Type: | --- | |||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 651514 | ||||||
| Attachments: |
|
||||||
Because of this issue, there is a chance that the user can go beyond his quota. Basically I configured the user to have a quota of 2 and launched 3 instances, the third one didn't start as expected and stayed in the 'new' state. I then launched a instance with the extra long name (this bug write up) and the third instance started thus surpasing the user's quota. Patch fixing this sent to list https://fedorahosted.org/pipermail/deltacloud-devel/2010-November/003176.html This is actually caused by the instance.condor_job_id field being too short to handle the long name. We will have to make sure condor can handle these long ids / names. moving to on_qa for review In the New UI , we do not provide name for instance . release pending... release pending... perm close closing out old bugs |
Created attachment 457561 [details] ss Description of problem: When launching a instance and adding a extra long name, instead of throwing a pretty error message the user will see a PGError in the UI. Steps to Reproduce: 1. Login to deltacloud 2. Create a template if not already present 3. Build template 4. On the Instance Management tab, launch a instance 5. In the name field, enter in 256 characters 6. See PGError (screenshot attached) PGError: ERROR: value too long for type character varying(255);