incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Cole (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-32) RAX stop action should not be present
Date Mon, 04 Apr 2011 06:50:05 GMT
RAX stop action should not be present
-------------------------------------

                 Key: DTACLOUD-32
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-32
             Project: DeltaCloud
          Issue Type: Bug
            Reporter: Adrian Cole
            Assignee: David Lutterkort


CloudServers does not support a stop operation.  The link for the stop action shouldn't be
visible, and it should also throw some sort of 400 code instead of accepting the request.


2011-04-03 23:33:02,679 DEBUG [jclouds.headers] (i/o thread 0) >> GET http://localhost:3001/api/instances/730170
HTTP/1.1
2011-04-03 23:33:02,679 DEBUG [jclouds.headers] (i/o thread 0) >> Accept: application/xml
2011-04-03 23:33:02,693 DEBUG [jclouds.headers] (i/o thread 0) >> Authorization: Basic
XXXXXXXXXXX==
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << HTTP/1.1 200 OK
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << X-Runtime: 1.605000
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Date: Mon, 04 Apr
2011 06:33:04 GMT
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Etag: "cd899ab1a307d9325fef036e6ebcf5f2"
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Connection: Keep-Alive
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Server: WEBrick/1.3.1
(Ruby/1.8.7/2011-03-15)
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Cache-Control: max-age=0,
private, must-revalidate
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Content-Type: application/xml;charset=utf-8
2011-04-03 23:33:04,304 DEBUG [jclouds.headers] (i/o thread 0) << Content-Length: 1162
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "<?xml version='1.0'
encoding='utf-8' ?>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "<instance href='http://localhost:3001/api/instances/730170'
id='730170'>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <name>adriancole.test</name>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <owner_id>adriancole</owner_id>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <image href='http://localhost:3001/api/images/71'
id='71'></image>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <realm href='http://localhost:3001/api/realms/us'
id='us'></realm>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <state>RUNNING</state>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <hardware_profile
href='http://localhost:3001/api/hardware_profiles/1' id='1'>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  </hardware_profile>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <actions>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/reboot'
method='post' rel='reboot' />[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/stop'
method='post' rel='stop' />[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/run;id=730170'
method='post' rel='run' />[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/images;instance_id=730170'
method='post' rel='create_image' />[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  </actions>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <public_addresses><address>50.56.111.99</address></public_addresses>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <private_addresses><address>10.181.44.204</address></private_addresses>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  <authentication
type='password'>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    <login>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "      <username>root</username>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "      <password></password>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "    </login>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "  </authentication>[\n]"
2011-04-03 23:33:04,304 DEBUG [jclouds.wire] (i/o thread 0) << "</instance>[\n]"



2011-04-03 23:33:04,314 DEBUG [jclouds.headers] (i/o thread 0) >> POST http://localhost:3001/api/instances/730170/stop
HTTP/1.1
2011-04-03 23:33:04,314 DEBUG [jclouds.headers] (i/o thread 0) >> Accept: application/xml
2011-04-03 23:33:04,314 DEBUG [jclouds.headers] (i/o thread 0) >> Authorization: Basic
XXXXXXXXXXX==
2011-04-03 23:33:10,626 DEBUG [jclouds.headers] (i/o thread 0) << HTTP/1.1 200 OK
2011-04-03 23:33:10,626 DEBUG [jclouds.headers] (i/o thread 0) << X-Runtime: 6.194000
2011-04-03 23:33:10,626 DEBUG [jclouds.headers] (i/o thread 0) << Date: Mon, 04 Apr
2011 06:33:10 GMT
2011-04-03 23:33:10,626 DEBUG [jclouds.headers] (i/o thread 0) << Etag: "cd899ab1a307d9325fef036e6ebcf5f2"
2011-04-03 23:33:10,627 DEBUG [jclouds.headers] (i/o thread 0) << Connection: Keep-Alive
2011-04-03 23:33:10,627 DEBUG [jclouds.headers] (i/o thread 0) << Server: WEBrick/1.3.1
(Ruby/1.8.7/2011-03-15)
2011-04-03 23:33:10,627 DEBUG [jclouds.headers] (i/o thread 0) << Cache-Control: max-age=0,
private, must-revalidate
2011-04-03 23:33:10,627 DEBUG [jclouds.headers] (i/o thread 0) << Content-Type: application/xml;charset=utf-8
2011-04-03 23:33:10,627 DEBUG [jclouds.headers] (i/o thread 0) << Content-Length: 1162
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "<?xml version='1.0'
encoding='utf-8' ?>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "<instance href='http://localhost:3001/api/instances/730170'
id='730170'>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <name>adriancole.test</name>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <owner_id>adriancole</owner_id>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <image href='http://localhost:3001/api/images/71'
id='71'></image>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <realm href='http://localhost:3001/api/realms/us'
id='us'></realm>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <state>RUNNING</state>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <hardware_profile
href='http://localhost:3001/api/hardware_profiles/1' id='1'>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  </hardware_profile>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <actions>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/reboot'
method='post' rel='reboot' />[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/stop'
method='post' rel='stop' />[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/instances/730170/run;id=730170'
method='post' rel='run' />[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "    <link href='http://localhost:3001/api/images;instance_id=730170'
method='post' rel='create_image' />[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  </actions>[\n]"
2011-04-03 23:33:10,635 DEBUG [jclouds.wire] (i/o thread 0) << "  <public_addresses><address>50.56.111.99</address></public_addresses>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "  <private_addresses><address>10.181.44.204</address></private_addresses>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "  <authentication
type='password'>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "    <login>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "      <username>root</username>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "      <password></password>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "    </login>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "  </authentication>[\n]"
2011-04-03 23:33:10,636 DEBUG [jclouds.wire] (i/o thread 0) << "</instance>[\n]"


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message