Parth Jagirdar created CLOUDSTACK-4092:
------------------------------------------

             Summary: UCS:UI: Upon failed profile association with 
exception,corresponding blade will not be listed on UI until refreshed
                 Key: CLOUDSTACK-4092
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4092
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: UCS, UI
    Affects Versions: 4.2.0
         Environment: Master with UCS
            Reporter: Parth Jagirdar
         Attachments: missing_blade.jpg

In following API association failed. Upon failure the blade that was used for 
association went missing from UI.

Re-navigating back to this page will re-list the blade.


http://10.223.195.113:8080/client/api?command=associateUcsProfileToBlade&response=json&sessionkey=WZ2FR7tDbitz8Qr7ig0g%2BBwSTlc%3D&ucsmanagerid=c3142e46-ccb4-4551-a424-119312255b1d&profiledn=org-root%2Fls-simpleProfile&bladeid=dcbd6229-2391-42a3-a3c4-6d2bb951dd3a&_=1375746164741

{ "associateucsprofiletobladeresponse" : 
{"jobid":"80930a09-89d3-4c68-b43d-aeba27640fa8"} }



http://10.223.195.113:8080/client/api?command=queryAsyncJobResult&jobId=80930a09-89d3-4c68-b43d-aeba27640fa8&response=json&sessionkey=WZ2FR7tDbitz8Qr7ig0g%2BBwSTlc%3D&_=1375746168087

{ "queryasyncjobresultresponse" : 
{"accountid":"94014f88-fc9d-11e2-8b4a-061c2a000710","userid":"9401c35a-fc9d-11e2-8b4a-061c2a000710","cmd":"org.apache.cloudstack.api.AssociateUcsProfileToBladeCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"ucs
 call failed:\nsubmitted doc:<lsClone 
cookie=\"1375746157/d4beeb3d-774b-44dd-9a65-ce6bd2cc67dd\" 
inHierarchical=\"false\" inServerName=\"profile-for-blade-1\" 
inTargetOrg=\"org-root\" dn=\"org-root/ls-simpleProfile\" />\nresponse: 
<lsClone dn=\"org-root/ls-simpleProfile\" 
cookie=\"1375746157/d4beeb3d-774b-44dd-9a65-ce6bd2cc67dd\" response=\"yes\" 
errorCode=\"103\" invocationResult=\"unidentified-fail\" errorDescr=\"Cannot 
create; object already exists.\"> 
</lsClone>\n"},"created":"2013-08-05T16:36:13-0700","jobid":"80930a09-89d3-4c68-b43d-aeba27640fa8"



Refer to screen as well.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to