This file contains hidden or 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
[{ | |
"Args": [], | |
"Config": { | |
"AttachStderr": false, | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"Cmd": [ | |
"/start.sh" | |
], | |
"CpuShares": 0, |
This file contains hidden or 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
haproxy_hosts: | |
MY_LB_NAME: | |
IP: IP_ADDR |
This file contains hidden or 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: [openstack_common | Get package from git] ******************************* | |
ok: [control-server03_glance_container-4d865585] | |
ok: [control-server01_glance_container-d4ae1756] | |
ok: [control-server02_glance_container-2c5ed8b5] | |
ok: [control-server01_heat_engine_container-2ed3979e] | |
ok: [control-server01_keystone_container-38cae231] | |
ok: [control-server03_heat_apis_container-d9de6e87] | |
ok: [control-server02_keystone_container-2d7a8cdc] | |
ok: [control-server01_heat_apis_container-2a376520] | |
ok: [control-server02_heat_apis_container-bbf6ddde] |
This file contains hidden or 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
[root@kolla-node1 fig]# sudo pip install -e . | |
Obtaining file:///root/fig | |
Running setup.py (path:/root/fig/setup.py) egg_info for package from file:///root/fig | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.pyo' found anywhere in distribution | |
warning: no previously-included files matching '*.un~' found anywhere in distribution | |
Requirement already satisfied (use --upgrade to upgrade): docopt>=0.6.1,<0.7 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.10,<4 in /usr/lib64/python2.7/site-packages (from docker-compose==1.1.0) | |
Downloading/unpacking requests>=2.5.0,<2.6 (from docker-compose==1.1.0) |
This file contains hidden or 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
Successfully installed docker-compose | |
Cleaning up... | |
[root@kolla-node1 fig]# docker-compose | |
Traceback (most recent call last): | |
File "/bin/docker-compose", line 9, in <module> | |
load_entry_point('docker-compose==1.1.0', 'console_scripts', 'docker-compose')() | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 348, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point | |
return ep.load() |
This file contains hidden or 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
# cat compose/rabbitmq.yml | |
rabbitmq: | |
image: kollaglue/centos-rdo-rabbitmq | |
name: rabbitmq | |
restart: always | |
pid: host | |
net: host | |
env_file: | |
- ../openstack.env |
This file contains hidden or 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
# cat compose/nova-compute-network.yml | |
libvirt: | |
image: kollaglue/centos-rdo-nova-libvirt | |
name: libvirt | |
net: host | |
pid: host | |
privileged: true | |
restart: always | |
env_file: | |
- openstack.env |
This file contains hidden or 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
## On compute container: | |
# glance image-list | |
+--------------------------------------+--------+-------------+------------------+----------+--------+ | |
| ID | Name | Disk Format | Container Format | Size | Status | | |
+--------------------------------------+--------+-------------+------------------+----------+--------+ | |
| 5bbe94b2-a7ff-4fa4-a56d-ba0202575353 | cirros | qcow2 | bare | 13147648 | active | | |
+--------------------------------------+--------+-------------+------------------+----------+--------+ | |
# docker logs 8e7584423d87 | |
Starting nova-compute. |
This file contains hidden or 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
# docker inspect --format='{{.State.Pid}}' compose_glanceapi_1 | |
27156 | |
[root@kolla-node1 kolla]# nsenter -m -u -n -i -p -t 27156 /bin/bash | |
[root@kolla-node1 /]# cat openrc | |
export OS_AUTH_URL="http://10.0.0.2:5000/v2.0" | |
export OS_USERNAME="glance" | |
export OS_PASSWORD="glance" | |
export OS_TENANT_NAME="admin" | |
[root@kolla-node1 /]# source openrc | |
[root@kolla-node1 /]# keystone user-list |
This file contains hidden or 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
# pip show requests | |
--- | |
Name: requests | |
Version: 2.6.0 | |
Location: /usr/lib/python2.7/site-packages | |
Requires: | |
# cat requirements.txt | |
PyYAML==3.10 | |
-e git+https://github.com/docker/docker-py.git@70ce156e26d283d181e6ec10bd1309ddc1da1bbd#egg=docker-py |