Bug 1414165

Summary: Deleting an OSP node before registration starts results in an error
Product: Red Hat Quickstart Cloud Installer Reporter: Matt Reid <mreid>
Component: WebUIAssignee: cchase
Status: CLOSED WONTFIX QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: cchase, jmatthew, qci-bugzillas, tsanders
Target Milestone: ---Keywords: Triaged
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-15 13:33:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
OSP error none

Description Matt Reid 2017-01-17 22:52:10 UTC
Created attachment 1241977 [details]
OSP error

Description of problem:
It seems like there's a waiting period when you first select an OSP node to be registered (where it shows the warning triangle). If you delete the node in that state, when it does try and start the registration process, it results in an error:

Unable to register node. POST /fusor/api/openstack/deployments/4/nodes. 500 Internal Server Error: Expected([200, 204]) <=> Actual(404 Not Found) excon.error.response :body => "{\"error_message\": \"{\\\"debuginfo\\\": null, \\\"faultcode\\\": \\\"Client\\\", \\\"faultstring\\\": \\\"Node 00b51a21-9d51-4c5e-9bd7-f256ce6b2156 could not be found.\\\"}\"}" :headers => { "Content-Length" => "153" "Content-Type" => "application/json" "Date" => "Tue, 17 Jan 2017 22:47:21 GMT" "Openstack-Request-Id" => "req-76458d0a-137f-478e-a5b0-0ce7216d7ec0" "X-Openstack-Ironic-Api-Maximum-Version" => "1.22" "X-Openstack-Ironic-Api-Minimum-Version" => "1.1" "X-Openstack-Ironic-Api-Version" => "1.1" } :local_address => "192.168.235.10" :local_port => 45180 :reason_phrase => "Not Found" :remote_ip => "192.168.238.245" :status => 404 :status_line => "HTTP/1.1 404 Not Found\r\n" 

Would be nice if we handled that more cleanly.

Version-Release number of selected component (if applicable):
1.1


Additional info:

Comment 2 John Matthews 2017-01-20 20:28:46 UTC
Deferring to 1.2