Skip to content

Instantly share code, notes, and snippets.

View amuessig's full-sized avatar

Alexander H amuessig

  • Robert Bosch GmbH
  • Stuttgart
  • X @muehsi
View GitHub Profile
# localrc for the compute node
HOST_IP=172.16.34.10
SERVICE_HOST=172.16.34.11
ENABLED_SERVICES=n-cpu,n-novnc,neutron,rabbit
# the following 2 lines are probably not necessary as we configure ovs manually beforehand
Q_PLUGIN=bigswitch_floodlight
Q_HOST=$SERVICE_HOST
Q_USE_NAMESPACES=TRUE
# localrc for the controller node
MULTI_HOST=true
HOST_IP=172.16.34.11
# add n-novnc if you want to run nova-compute on the controller node too
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-sch,n-cauth,horizon,mysql,rabbit,sysstat,n-cond,n-novnc,n-xvnc,n-cpu
disable_service c-api c-sch c-vol cinder
enable_service n-vol
disable_service n-net
stack@controller:~/devstack$ ./stack.sh
Using mysql database backend
2013-12-19 18:28:13 stack.sh log /opt/stack/logs/stack.sh.log.2013-12-19-182813
2013-12-19 18:28:13 + echo_summary 'Installing package prerequisites'
2013-12-19 18:28:13 + [[ -t 3 ]]
2013-12-19 18:28:13 + [[ True != \T\r\u\e ]]
2013-12-19 18:28:13 + echo -e Installing package prerequisites
2013-12-19 18:28:13 Installing package prerequisites
2013-12-19 18:28:13 + source /home/stack/devstack/tools/install_prereqs.sh
2013-12-19 18:28:13 ++ [[ -n '' ]]
[Wed Dec 18 15:58:27 2013] [error] REQ: curl -i http://172.16.34.11:8774/v2/38971e59194041449076a6a89015baae/os-availability-zone/detail -X GET -H "X-Auth-Project-Id: 38971e59194041449076a6a89015baae" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: 955b34f8c9271295af5bb88a5f78a81e"
[Wed Dec 18 15:58:27 2013] [error]
[Wed Dec 18 15:58:27 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 172.16.34.11
[Wed Dec 18 15:58:27 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2/38971e59194041449076a6a89015baae/os-availability-zone/detail HTTP/1.1" 200 793
[Wed Dec 18 15:58:27 2013] [error] RESP: [200] {'date': 'Wed, 18 Dec 2013 15:58:27 GMT', 'content-length': '793', 'content-type': 'application/json', 'x-compute-request-id': 'req-63e0382a-e8b4-443b-ac51-42f1d394f032'}
[Wed Dec 18 15:58:27 2013] [error] RESP BODY: {"availabilityZoneInfo": [{"zoneState": {"available": true}, "hosts": {"server13": {"nova-conductor": {"available": true, "active": true, "update
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-54-virtual (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #82-Ubuntu SMP Tue Sep 10 20:31:18 UTC 2013 (Ubuntu 3.2.0-54.82-virtual 3.2.50)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-54-virtual root=LABEL=cloudimg-rootfs ro console=ttyS0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
HOST_IP=172.16.34.10
SERVICE_HOST=172.16.34.11
MULTI_HOST=True
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_TOKEN=23de8a6122bd3f9afdcf
SERVICE_PASSWORD=74857beec2462815f2a6
ADMIN_PASSWORD=secrete
#http://networkstatic.net/openstack-multi-node-devstack-nova-network-tutorial/
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_TOKEN=23de8a6122bd3f9afdcf
SERVICE_PASSWORD=74857beec2462815f2a6
ADMIN_PASSWORD=secrete
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
2013-12-18 16:27:26.059 DEBUG neutronclient.client [-] RESP:{'date': 'Wed, 18 Dec 2013 15:27:26 GMT', 'status': '200', 'content-length': '533', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://172.16.34.11:9696//v2.0/ports.json?network_id=4478be17-03ef-4ee3-8173-af86c2f3ea7a&fixed_ips=ip_address%3D10.0.0.4'} {"ports": [{"status": "ACTIVE", "name": "", "admin_state_up": true, "network_id": "4478be17-03ef-4ee3-8173-af86c2f3ea7a", "tenant_id": "38971e59194041449076a6a89015baae", "extra_dhcp_opts": [], "binding:vif_type": "ovs", "device_owner": "compute:nova", "binding:capabilities": {"port_filter": false}, "mac_address": "fa:16:3e:e7:1c:95", "fixed_ips": [{"subnet_id": "0f0b0099-dfa7-4a5b-96ac-57ec747ba6d5", "ip_address": "10.0.0.4"}], "id": "8cd25279-746f-4161-ab31-cdbe383d83e2", "device_id": "f38a4762-68e1-482d-bfde-6e8cf356c083"}]}
from (pid=10323) http_log_resp /opt/stack/python-neutronclient/neutronclient/common/utils.py:179
2013-12-18 16:27:26.063 ERROR neutron.agent.metadata
stack@server13:/opt/stack/horizon$ cd /opt/stack/neutron && python /usr/local/bin/neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini || echo "q-dhcp failed to start" | tee "/opt/stack/status/stack/q-dhcp.failure"
2013-12-18 16:19:49.524 INFO neutron.common.config [-] Logging enabled!
2013-12-18 16:19:49.525 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2013-12-18 16:19:49.635 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on localhost:5672
2013-12-18 16:19:49.636 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on localhost:5672
2013-12-18 16:19:49.654 INFO neutron.openstack.common.rpc.common [-] Connected to AMQP server on localhost:5672
2013-12-18 16:19:49.654 INFO neutron.agent.dhcp_agent [-] DHCP agent started
2013-12-18 16:19:49.662 WARNING neutron.agent.dhcp_agent [-] Neutron server does not support state report. State report for this agent will be disabled.
2013-12-18 16:19:49.662
@amuessig
amuessig / gist:8024600
Created December 18, 2013 15:48
Errors after getting IP.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-54-virtual (buildd@roseapple) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #82-Ubuntu SMP Tue Sep 10 20:31:18 UTC 2013 (Ubuntu 3.2.0-54.82-virtual 3.2.50)
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-54-virtual root=LABEL=cloudimg-rootfs ro console=ttyS0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)