This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK: [keep-api | Install Logstash] ******************************************* | |
failed: [apiright-n01.stg.ord.cloudkeep.io] => {"changed": false, "failed": true, "rc": 0, "results": []} | |
msg: No Package matching 'logstash' found available, installed or updated | |
failed: [apiright-n02.stg.ord.cloudkeep.io] => {"changed": false, "failed": true, "rc": 0, "results": []} | |
msg: No Package matching 'logstash' found available, installed or updated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- http://wiki.openrepose.org/display/REPOSE/Keystone+v2+Filter --> | |
<keystone-v2 xmlns="http://docs.openrepose.org/repose/keystone-v2/v1.0"> | |
<identity-service username="<user here>" password="<pw here>" uri="https://identity.api.rackspacecloud.com/v2.0/"> | |
<!--<client-mapping id-regex=".*\?.*USERNAME_QUERY_PARAM=(.+)&?.*"/>--> | |
<!--<client-mapping id-regex=".*/v1/([-|\w]+)/?.*"/>--> | |
</identity-service> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -k X POST -H 'X-Roles:admin' -H 'X-Project-Id:12345' -H 'X-User-Id:6789' -H 'content-type:application/json' \ | |
-d '{"payload": "my-secret-here", "payload_content_type": "text/plain"}' \ | |
$KEEP_ENDPOINT/v1/secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jan 25 22:15:46 localhost docker/repose[18496]: 2016-01-25 22:15:46,961 ERROR [qtp698393765-71] powerfilter.PowerFilterRouterImpl (PowerFilterRouterImpl.java:189) - Connection Refused to http://barbican:9311//v1/secrets | |
Jan 25 22:15:46 localhost docker/repose[18496]: java.net.ConnectException: Connection refused | |
Jan 25 22:15:46 localhost docker/repose[18496]: at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.7.0_91] | |
Jan 25 22:15:46 localhost docker/repose[18496]: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[?:1.7.0_91] | |
Jan 25 22:15:46 localhost docker/repose[18496]: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ~[?:1.7.0_91] | |
Jan 25 22:15:46 localhost docker/repose[18496]: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ~[?:1.7.0_91] | |
Jan 25 22:15:46 localhost docker/repose[18496]: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.7.0_91] | |
Jan 25 22:15:46 localhost docker/rep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TaskWorkflow(object): | |
"""Task workflow manager. | |
Proposal: | |
Manages the processing flow for a :class:`BaseTask` implementation. | |
This would replace the @transactional decorator, and provide full | |
rollback support to the task's handle_processing() call, and still | |
allow for marking the order as being in the ERROR state properly. | |
Note that since multiple workers are active at once, and because | |
clients could be modifying orders at the same time an order is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
container_type = json_data.get('type') | |
secret_refs = json_data.get('secret_refs') | |
if not secret_refs: | |
return json_data | |
secret_refs_names = set(secret_ref.get('name', '') | |
for secret_ref in secret_refs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This schema would replace the current order schema below. | |
Schema for generating an 'asymmetric' type, which includes RSA key-pair generation. | |
POST v1/{tenant_id}/orders | |
{ | |
"type": "asymmetric", | |
"meta": { | |
"name": "container-name", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uuid ( RO) : 70c5fd69-0af4-f125-12eb-514613c617b3 | |
name-label ( RW): gs-intern-deb | |
name-description ( RW): Windows Server 2008 R2 image created by Rackspace and Gazzang <details munched>. | |
user-version ( RW): 1 | |
is-a-template ( RW): false | |
is-a-snapshot ( RO): false | |
snapshot-of ( RO): <not in database> | |
snapshots ( RO): 9d26fc95-efcc-a805-b7f2-8538d5507c65 | |
snapshot-time ( RO): 19700101T00:00:00Z | |
snapshot-info ( RO): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Create tar file per Rackspace configs: | |
TAR_FILE=gs-intern-deb-rackspace-configs.tar.gz | |
VHD_FILE=be8d2659-a995-42a4-a270-b08e4c7986f1.vhd | |
OVF_FILE=gs-intern-deb-rackspace-configs.ovf | |
#tar czvf $TAR_FILE $VHD_FILE $OVF_FILE | |
# Use this to get the API token: | |
# curl -X POST -d @auth.xml -H "Content-Type: application/xml" -H "Accept: application/xml" https://auth.api.rackspacecloud.com/v1.1/auth |