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
[prad@ubuntu manifests{master}]$ irb | |
irb(main):001:0> require 'json' | |
LoadError: no such file to load -- json | |
from (irb):1:in `require' | |
from (irb):1 | |
from :0 | |
irb(main):002:0> | |
[prad@ubuntu manifests{master}]$ sudo apt-get install ruby-json |
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/bash | |
wget http://openstack-repo.cisco.com/openstack/APT-GPG-KEY-Cisco | |
cat APT-GPG-KEY-Cisco|apt-key add - | |
cat > /etc/apt/sources.list.d/cisco-openstack-mirror_icehouse.list<<EOF | |
# cisco-openstack-mirror_icehouse | |
deb http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main | |
deb-src http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main | |
EOF | |
apt-get update | |
apt-get install puppet -y |
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
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-unknown' returned 100: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
E: Unable to locate package postgresql-unknown | |
Error: /Stage[main]/Postgresql::Server/Package[postgresql-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-unknown' returned 100: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
E: Unable to locate package postgresql-unknown |
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
# ls -lart /etc/keystone/ssl/* | |
/etc/keystone/ssl/private: | |
total 16 | |
drwxrwxr-x 4 keystone keystone 4096 Mar 5 13:27 .. | |
-rw-r----- 1 keystone keystone 1679 Mar 5 13:27 signing_key.pem | |
drwxr-x--- 2 keystone keystone 4096 Mar 5 14:41 . | |
-rw-r----- 1 keystone keystone 887 Mar 5 14:41 keystonekey.pem | |
/etc/keystone/ssl/certs: | |
total 72 |
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
# The base endpoint URLs for keystone that are advertised to clients | |
# (NOTE: this does NOT affect how keystone listens for connections) | |
# public_endpoint = http://localhost:%(public_port)s/ | |
public_endpoint = https://192.168.255.207:5000/v2.0/ | |
# admin_endpoint = http://localhost:%(admin_port)s/ | |
admin_endpoint = https://192.168.255.207:35357/v2.0/ | |
[ssl] | |
enable = True | |
certfile = /etc/keystone/ssl/certs/keystone.pem |
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
$ keystone --debug role-list | |
REQ: curl -i -X POST https://192.168.255.207:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" | |
REQ BODY: {"auth": {"tenantName": "openstack", "passwordCredentials": {"username": "admin", "password": "Cisco123"}}} | |
Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to https://192.168.255.207:5000/v2.0/tokens) | |
$ keystone --debug --insecure role-list | |
REQ: curl -i -X POST https://192.168.255.207:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" | |
REQ BODY: {"auth": {"tenantName": "openstack", "passwordCredentials": {"username": "admin", "password": "Cisco123"}}} |
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
2014-03-05 09:17:59.096 62889 TRACE keystone.common.environment.eventlet_server | |
2014-03-05 09:18:00.938 63477 INFO keystone.common.environment [-] Environment configured as: eventlet | |
2014-03-05 09:18:02.717 63477 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin/keystone-all on 0.0.0.0:35357 | |
2014-03-05 09:18:02.723 63477 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin/keystone-all on 0.0.0.0:5000 | |
2014-03-05 09:18:59.094 63477 ERROR keystone.common.environment.eventlet_server [-] Server error | |
2014-03-05 09:18:59.094 63477 TRACE keystone.common.environment.eventlet_server Traceback (most recent call last): | |
2014-03-05 09:18:59.094 63477 TRACE keystone.common.environment.eventlet_server File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in _run | |
2014-03-05 09:18:59.094 63477 TRACE keystone.common.environment.eventlet_server log=logging.WritableLogger(log)) | |
2014-03-05 09:18:59.094 63477 TRACE keystone.common.environmen |
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
locate package ceilometer-alarm-evaluator | |
Error: /Stage[main]/Ceilometer::Alarm::Notifier/Package[ceilometer-alarm-evaluator]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ceilometer-alarm-evaluator' returned 100: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
E: Unable to locate package ceilometer-alarm-evaluator | |
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install ceilometer-alarm-notifier' returned 100: Reading package lists... | |
Building dependency tree... | |
Reading state information... |
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/bash | |
cd /tmp | |
wget http://openstack-repo.cisco.com/openstack/APT-GPG-KEY-Cisco | |
cat APT-GPG-KEY-Cisco|apt-key add - | |
cat > /etc/apt/sources.list.d/cisco-openstack-mirror_havana.list<<EOF | |
# cisco-openstack-mirror_havana | |
deb http://openstack-repo.cisco.com/openstack/cisco havana-proposed main | |
deb-src http://openstack-repo.cisco.com/openstack/cisco havana-proposed main | |
EOF | |
apt-get update |
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
# history |grep wget | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/g/graphite-web/graphite-web_0.9.12+debian-1_all.deb | |
wget http://ftp.us.debian.org/debian/pool/main/p/python-whisper/python-whisper_0.9.12-1_all.deb | |
wget http://security.ubuntu.com/ubuntu/pool/universe/p/python-django-tagging/python-django-tagging_0.3.1-3_all.deb | |
wget http://ftp.us.debian.org/debian/pool/main/f/flot/libjs-jquery-flot_0.8.1+dfsg-2_all.deb | |
wget http://ftp.us.debian.org/debian/pool/main/g/graphite-carbon/graphite-carbon_0.9.12-2_all.deb | |
wget http://ftp.us.debian.org/debian/pool/main/i/init-system-helpers/init-system-helpers_1.14_all.deb | |