Skip to content

Instantly share code, notes, and snippets.

@arax
Created January 3, 2013 11:40
Show Gist options
  • Save arax/4442902 to your computer and use it in GitHub Desktop.
Save arax/4442902 to your computer and use it in GitHub Desktop.
rOCCI-server 0.5.2 -- Create Compute -- log
D, [2013-01-03T12:19:26.894193 #6645] DEBUG -- : ### Client Accept: ["text/uri-list"]
D, [2013-01-03T12:19:26.894599 #6645] DEBUG -- : ### Client Request method: POST
D, [2013-01-03T12:19:26.894722 #6645] DEBUG -- : ### Client Request Media Type: application/occi+json
D, [2013-01-03T12:19:26.894989 #6645] DEBUG -- : ### Client Request header: {"HTTPS"=>"on", "HTTP_ACCEPT"=>"text/uri-list", "HTTP_CONNECTION"=>"close", "HTTP_HOST"=>"localhost"}
D, [2013-01-03T12:19:26.895720 #6645] DEBUG -- : ### Client Request body: {"resources":[{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","mixins":["https://occi.localhost/occi/infrastructure/resource_tpl#medium"]}],"links":[{"kind":"http://schemas.ogf.org/occi/infrastructure#storagelink","rel":"http://schemas.ogf.org/occi/infrastructure#storage","target":"https://localhost/storage/e60aa2b8-0c86-5973-b93e-30c5c46d6eac"},{"kind":"http://schemas.ogf.org/occi/infrastructure#networkinterface","rel":"http://schemas.ogf.org/occi/core#resource","target":"https://localhost/network/d71df087-9a55-5228-822b-1f1a57107851"}]}
D, [2013-01-03T12:19:26.911867 #6645] DEBUG -- : ### Prepare response ###
D, [2013-01-03T12:19:26.912004 #6645] DEBUG -- : ### Initialize response OCCI collection ###
D, [2013-01-03T12:19:26.912214 #6645] DEBUG -- : ### Reset OCCI model ###
D, [2013-01-03T12:19:26.912391 #6645] DEBUG -- : ### Parse request
D, [2013-01-03T12:19:26.912584 #6645] DEBUG -- : ### Parsing request data to OCCI data structure ###
D, [2013-01-03T12:19:26.913823 #6645] DEBUG -- : Locations: []
D, [2013-01-03T12:19:26.915903 #6645] DEBUG -- : Collection: {"resources":[{"kind":"http://schemas.ogf.org/occi/infrastructure#compute","mixins":["https://occi.localhost/occi/infrastructure/resource_tpl#medium"],"attributes":{"occi":{"core":{"id":"bb112d45-8cf1-4b4d-892c-849c957c0f90"}}}}],"links":[{"kind":"http://schemas.ogf.org/occi/infrastructure#storagelink","attributes":{"occi":{"core":{"id":"8780d8eb-d3b4-4b65-9983-34391229064c"}}}},{"kind":"http://schemas.ogf.org/occi/infrastructure#networkinterface","attributes":{"occi":{"core":{"id":"99f5b762-2a9f-4e33-ac6f-62576d61136b"}}}}]}
D, [2013-01-03T12:19:26.916025 #6645] DEBUG -- : ### Fill OCCI model with entities from backend ###
D, [2013-01-03T12:19:26.922311 #6645] DEBUG -- : ### Registering category https://occi.localhost/occi/infrastructure/os_tpl#monitoring
D, [2013-01-03T12:19:26.922928 #6645] DEBUG -- : ### Registering category https://occi.localhost/occi/infrastructure/os_tpl#debianvm
D, [2013-01-03T12:19:26.935702 #6645] DEBUG -- : current VM state is: LCM_INIT
D, [2013-01-03T12:19:26.947954 #6645] DEBUG -- : Category with id http://schemas.ogf.org/occi/infrastructure#ipnetwork not found
D, [2013-01-03T12:19:26.982746 #6645] DEBUG -- : Category with id http://schemas.ogf.org/occi/infrastructure#ipnetwork not found
D, [2013-01-03T12:19:26.991257 #6645] DEBUG -- : Category with id http://schemas.ogf.org/occi/infrastructure#ipnetwork not found
D, [2013-01-03T12:19:27.006016 #6645] DEBUG -- : current Image state is: READY
D, [2013-01-03T12:19:27.009927 #6645] DEBUG -- : current Image state is: READY
D, [2013-01-03T12:19:27.018822 #6645] DEBUG -- : ### Finished response initialization starting with processing the request ...
D, [2013-01-03T12:19:27.018961 #6645] DEBUG -- : ### POST request processing ...
D, [2013-01-03T12:19:27.019650 #6645] DEBUG -- : Deploying resource with title in backend OCCI::Backend::OpenNebula
D, [2013-01-03T12:19:27.020413 #6645] DEBUG -- : Deploying {
"kind": "http://schemas.ogf.org/occi/infrastructure#compute",
"mixins": [
"https://occi.localhost/occi/infrastructure/resource_tpl#medium"
],
"attributes": {
"occi": {
"core": {
"id": "bb112d45-8cf1-4b4d-892c-849c957c0f90"
},
"compute": {
"architecture": "x86",
"cores": 2,
"speed": 1,
"memory": 3.75,
"state": "inactive"
}
},
"org": {
"opennebula": {
"compute": {
}
}
}
}
}
D, [2013-01-03T12:19:27.020476 #6645] DEBUG -- : Compute deploy found mixin: https://occi.localhost/occi/infrastructure/resource_tpl#medium
D, [2013-01-03T12:19:27.020547 #6645] DEBUG -- : Category with id not found
D, [2013-01-03T12:19:27.020604 #6645] DEBUG -- : Compute deploy OS template: No template found!
D, [2013-01-03T12:19:27.050811 #6645] DEBUG -- : Parsed template
OCCI_ID = "bb112d45-8cf1-4b4d-892c-849c957c0f90"
OCCI_MIXIN = "https://occi.localhost/occi/infrastructure/resource_tpl#medium"
NAME = "rOCCI VM"
DESCRIPTION = "VM instantiated using rOCCI-server"
MEMORY = "3750"
VCPU = "2"
CPU = "1"
RAW = [TYPE = xen]
OS = [
ARCH = "i686"
,BOOTLOADER = "pygrub"
]
FEATURES = [ acpi="yes" ]
D, [2013-01-03T12:19:27.059301 #6645] DEBUG -- : current VM state is: LCM_INIT
D, [2013-01-03T12:19:27.059441 #6645] DEBUG -- : OpenNebula automatically triggers action start for Virtual Machines
D, [2013-01-03T12:19:27.059509 #6645] DEBUG -- : Changing state to started
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment