Skip to content

Instantly share code, notes, and snippets.

@ffeldhaus
Created September 19, 2012 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ffeldhaus/3748656 to your computer and use it in GitHub Desktop.
Save ffeldhaus/3748656 to your computer and use it in GitHub Desktop.
Error in OpenStack OCCI when rendering discovery interface in text/occi
Florians-MacBook-Pro-3:rOCCI ffeldhaus$ curl -v --cert /Users/ffeldhaus/.cert/florianfeldhaus.pem --capath /Users/ffeldhaus/.cert/grid-security/ -X GET -H 'Accept: text/occi' https://occi.cloud.gwdg.de:5000/-/
* About to connect() to occi.cloud.gwdg.de port 5000 (#0)
* Trying 141.5.96.16...
* connected
* Connected to occi.cloud.gwdg.de (141.5.96.16) port 5000 (#0)
Enter PEM pass phrase:
* successfully set certificate verify locations:
* CAfile: /opt/local/share/curl/curl-ca-bundle.crt
CApath: /Users/ffeldhaus/.cert/grid-security/
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Request CERT (13):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS handshake, CERT verify (15):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
* subject: C=DE; O=GridGermany; OU=Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH; OU=AG-I; CN=occi.cloud.gwdg.de
* start date: 2012-03
* expire date: 2013-04
* subjectAltName: occi.cloud.gwdg.de matched
* issuer: C=DE; O
* SSL certificate verify ok.
> GET /-/ HTTP/1.1
> User-Agent: curl/7.27.0
> Host: occi.cloud.gwdg.de:5000
> Accept: text/occi
>
< HTTP/1.1 200 OK
< Date: Wed, 19 Sep 2012 09:20:00 GMT
< Server: pyssf OCCI/1.1
< Category: online; scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#"; class="action"; title="Bring storage online", ipnetworkinterface; scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#"; class="mixin"; title="L3/L4 capabilities for L2 Network Interface"; location="http://occi.cloud.gwdg.de:5000/network/interface/ip/"; attributes="occi.networkinterface.address occi.networkinterface.allocation occi.networkinterface.gateway", chg_pwd; scheme="http://schemas.openstack.org/instance/action#"; class="action"; title="Removes all data on the server and replacesit with the specified image (via Mixin)."; attributes="org.openstack.credentials.admin_pwd", m1.tiny; scheme="http://schemas.openstack.org/template/resource#"; class="mixin"; title="This is an openstack m1.tiny flavor."; rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl"; location="http://occi.cloud.gwdg.de:5000/m1.tiny/"; attributes="org.openstack.compute.storage.root{immutable} occi.compute.memory{immutable} org.openstack.compute.storage.ephemeral{immutable} org.openstack.compute.swap{immutable} occi.compute.cores{immutable}", offline; scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#"; class="action"; title="Bring storage offline", group; scheme="http://schemas.ogf.org/occi/infrastructure/security#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/group/", storage; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"; title="Storage Resource"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://occi.cloud.gwdg.de:5000/storage/"; attributes="occi.storage.state{immutable} occi.storage.size"; actions="http://schemas.ogf.org/occi/infrastructure/storage/action#online http://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backup http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize", network; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"; title="Network Resource"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://occi.cloud.gwdg.de:5000/network/"; attributes="occi.network.label occi.network.state{immutable} occi.network.vlan"; actions="http://schemas.ogf.org/occi/infrastructure/network/action#up http://schemas.ogf.org/occi/infrastructure/network/action#down", rule; scheme="http://schemas.openstack.org/occi/infrastructure/network/security#"; class="kind"; title="Network security rule kind"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://occi.cloud.gwdg.de:5000/network/security/rule/"; attributes="occi.network.security.protocol occi.network.security.to occi.network.security.range occi.network.security.from", start; scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#"; class="action"; title="Start a compute resource", default; scheme="http://schemas.openstack.org/infrastructure/security/group#"; class="mixin"; title="default"; rel="http://schemas.ogf.org/occi/infrastructure/security#group"; location="http://occi.cloud.gwdg.de:5000/security/default/", revert_resize; scheme="http://schemas.openstack.org/instance/action#"; class="action"; title="Revert the compute resize and roll back.", access_ip; scheme="http://schemas.openstack.org/instance/network#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/access_ip/"; attributes="org.openstack.network.access.ip org.openstack.network.access.version", create_image; scheme="http://schemas.openstack.org/instance/action#"; class="action"; title="Creates a new image for the given server."; attributes="org.openstack.snapshot.image_name", confirm_resize; scheme="http://schemas.openstack.org/instance/action#"; class="action"; title="Confirms the resize action.", admin_pwd; scheme="http://schemas.openstack.org/instance/credentials#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/admin_pwd/"; attributes="org.openstack.credentials.admin_pwd", ipnetwork; scheme="http://schemas.ogf.org/occi/infrastructure/network#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/ipnetwork/"; attributes="occi.network.address occi.network.allocation occi.network.gateway", suspend; scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#"; class="action"; title="Suspend a compute resource"; attributes="method", networkinterface; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"; title="A L2 Network Interface"; rel="http://schemas.ogf.org/occi/core#link"; location="http://occi.cloud.gwdg.de:5000/network/interface/"; attributes="occi.networkinterface.interface{immutable} occi.networkinterface.mac occi.networkinterface.state{immutable}", storagelink; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"; title="A link to a storage resource"; rel="http://schemas.ogf.org/occi/core#link"; location="http://occi.cloud.gwdg.de:5000/storage/link/"; attributes="occi.storagelink.state{immutable} occi.storagelink.mountpoint occi.storagelink.deviceid", m1.large; scheme="http://schemas.openstack.org/template/resource#"; class="mixin"; title="This is an openstack m1.large flavor."; rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl"; location="http://occi.cloud.gwdg.de:5000/m1.large/"; attributes="org.openstack.compute.storage.root{immutable} occi.compute.memory{immutable} org.openstack.compute.storage.ephemeral{immutable} org.openstack.compute.swap{immutable} occi.compute.cores{immutable}", public_key; scheme="http://schemas.openstack.org/instance/credentials#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/public_key/"; attributes="org.openstack.credentials.publickey.data org.openstack.credentials.publickey.name", nova; scheme="http://schemas.openstack.org/instance/network/pool/floating#"; class="mixin"; title="This is a floating IP pool"; location="http://occi.cloud.gwdg.de:5000/network/pool/floating/", up; scheme="http://schemas.ogf.org/occi/infrastructure/network/action#"; class="action"; title="Bring up a network resource", down; scheme="http://schemas.ogf.org/occi/infrastructure/network/action#"; class="action"; title="Bring down a network resource", snapshot; scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#"; class="action"; title="Make a snapshot of storage resource", resource_tpl; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="mixin"; location="http://occi.cloud.gwdg.de:5000/resource_tpl/", dealloc_float_ip; scheme="http://schemas.openstack.org/instance/action#"; class="action"; title="Deallocate a floating IP from the compute resource.", backup; scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#"; class="action"; title="Backup storage resource", vnc_console; scheme="http://schemas.openstack.org/occi/infrastructure/compute#"; class="kind"; title="VNC console kind"; location="http://occi.cloud.gwdg.de:5000/compute/console/vnc/"; attributes="org.openstack.compute.console.vnc", m1.small; scheme="http://schemas.openstack.org/template/resource#"; class="mixin"; title="This is an openstack m1.small flavor."; rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl"; location="http://occi.cloud.gwdg.de:5000/m1.small/"; attributes="org.openstack.compute.storage.root{immutable} occi.compute.memory{immutable} org.openstack.compute.storage.ephemeral{immutable} org.openstack.compute.swap{immutable} occi.compute.cores{immutable}", console; scheme="http://schemas.ogf.org/infrastructure/compute#"; class="kind"; title="This is a link to the VMs console"; rel="http://schemas.ogf.org/occi/core#link"; location="http://occi.cloud.gwdg.de:5000/compute/consolelink/", compute; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind"; title="Compute Resource"; rel="http://schemas.ogf.org/occi/core#resource"; location="http://occi.cloud.gwdg.de:5000/compute/"; attributes="occi.compute.architecture occi.compute.state{immutable} occi.compute.speed occi.
< Content-Length: 2
< Content-Type: text/occi
< Connection: close
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment