Skip to content

Instantly share code, notes, and snippets.

View BeenzSyed's full-sized avatar
🤠

Sabeen Syed BeenzSyed

🤠
View GitHub Profile
ansible-tower
wordpress-single
ghost-single
minecraft
vestacp
chef-server
memcached
elasticsearch
ipynb
jenkins
@BeenzSyed
BeenzSyed / gist:913b2c92237b55c94391
Created January 19, 2016 17:23
dev-fusion templates
umbraco-single
gitlab
mysql-multi
owncloud
webpagetest
ipynb
vestacp
minecraft
graphite
cassandra
test_template_wait_after_update = {
'heat_template_version': '2013-05-23',
'description': 'Test template for canceling update.',
'resources': {
'test1': {
'type': 'OS::Heat::TestResource',
'properties': {
'value': 'TestOriginal',
'action_wait_secs': {'update': 60}
}
@BeenzSyed
BeenzSyed / gist:97ed3932bc2053fd32e0
Created January 4, 2016 21:31
Heat template with sleep
heat_template_version: 2014-10-16
description: |
Cloud init with a sleep
resources:
instance1:
type: OS::Nova::Server
properties:
image: 4b14a92e-84c8-4770-9245-91ecb8501cc2 # CentOS
heat_template_version: 2014-10-16
description: |
Cloud init with a sleep
resources:
instance1:
type: OS::Nova::Server
properties:
image: 4b14a92e-84c8-4770-9245-91ecb8501cc2 # CentOS
curl -i -X GET -H "X-Auth-Token: xxxxx" https://preferences.api.rackspacecloud.com/v2/981974
HTTP/1.1 404 Not Found
Date: Mon, 30 Nov 2015 22:46:00 GMT
Via: 1.1 Repose (Servermill Automation) (Repose/7.2.0.0)
Date: Mon, 30 Nov 2015 22:46:00 GMT
x-trans-id: eyJyZXF1ZXN0SWQiOiI0ZDYxMjI1OS02ZmJhLTQ0YmQtYWJhZC03MjliZWZiODU3MzYiLCJvcmlnaW4iOm51bGx9
Content-Type: text/html; charset=UTF-8
Content-Length: 2
Server: Jetty(9.2.z-SNAPSHOT)
curl -i -X GET -H "X-Auth-Token: xxxxxxx" http://preferences.api.rackspacecloud.com/v2/981974
HTTP/1.1 301 Moved Permanently
Content-Type: text/html
Date: Mon, 30 Nov 2015 22:38:58 GMT
Location: https://preferences.api.rackspacecloud.com/v2/981974
Content-Length: 0
Age: 0
Via: 1.1 540559-DFW1WWSG03.secops.rackspace.com
(vestacp)MKG247F1G3:vestacp sabe6191$ hot test
No handlers could be found for logger "keystoneclient.httpclient"
Launching: Default_Build_Test_1448389153_09
Timeout set to 1800 seconds.
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
Stack ce9a6319-d775-4aed-ae10-21c8516047af in progress, checking in 15 seconds..
curl -i -X GET -H 'X-Auth-Token: xxxxx' -H 'X-Auth-User: heatqe2' -H 'User-Agent: python-heatclient' -H 'Content-Type: application/json' -H 'Accept: application/json' https://api.qa.rs-heat.com/v1/883286/build_info -k
curl: (35) Unknown SSL protocol error in connection to api.qa.rs-heat.com:443
{
u'resource_changes': {
u'deleted': [
{
u'resource_name': u'test2',
u'resource_identity': {
u'stack_name': u'UpdatePreviewStackTest-1928908092',
u'stack_id': u'02dc3800-e0b6-453b-bcf0-17772d71e81a',
u'tenant': u'4644ce46e4d94553a9ee70c4e0b42b14',
u'path': u'/resources/test2'