[
https://issues.apache.org/jira/browse/CLOUDSTACK-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747732#comment-13747732
]
Jessica Wang commented on CLOUDSTACK-1365:
------------------------------------------
angeline,
Please provide API calls of your first attempt(first attempt, not second
attempt) to Add PXE server via UI.
like this:
http://localhost:8080/client/api?command=addBaremetalPxeKickStartServer&response=json&sessionkey=jppekHkIO0ziJQbrENyumhifItY%3D
{
"addexternalpxeresponse": {
"jobid": "8c62423d-27da-4f9b-921f-2e8ac016d8b9"
}
}
and the last queryAsyncJobResult API call whose jobId matches and returned
jobstatus is 0(success) or 2(fail), but not 1(not finished yet:
http://localhost:8080/client/api?command=queryAsyncJobResult&jobId=8c62423d-27da-4f9b-921f-2e8ac016d8b9&response=json&sessionkey=jppekHkIO0ziJQbrENyumhifItY%3D&_=1377193572477
{
"queryasyncjobresultresponse": {
"accountid": "f7462e2a-0aac-11e3-88a7-3c970e739c3e",
"userid": "f7465db4-0aac-11e3-88a7-3c970e739c3e",
"cmd": "org.apache.cloudstack.api.AddBaremetalKickStartPxeCmd",
"jobstatus": 2,
"jobprocstatus": 0,
"jobresultcode": 530,
"jobresulttype": "object",
"jobresult": {
"errorcode": 530,
"errortext": "No IP specified"
},
"created": "2013-08-22T10:46:09-0700",
"jobid": "8c62423d-27da-4f9b-921f-2e8ac016d8b9"
}
}
thank you.
Jessica
> UI support for baremetal PXE server
> -----------------------------------
>
> Key: CLOUDSTACK-1365
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1365
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: UI
> Affects Versions: 4.2.0
> Reporter: frank zhang
> Assignee: Jessica Wang
> Priority: Critical
> Fix For: 4.2.1
>
> Attachments: management-server.log.gz, Screenshot-CloudPlatform™ -
> Mozilla Firefox-1.png
>
>
> Baremetal PXE needs a page to add device
> the API is AddBaremetalKickStartPxeCmd
> please contact frank for details
--
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