VirtualBox, Devsatck, Encounter Error.

asked 2016-07-03 08:34:07 -0500

jgonkim@gmail.com gravatar image

I encounter "Error" - VirtualBox, Ubuntu 14.04, Virtuaal Box Image MEM 8GB / HDD 100GB

make local.conf [[local|localrc]] DEST=/opt/stack DATA_DIR=$DEST/data LOGFILE=$DATA_DIR/logs/stack.log SCREEN_LOGDIR=$DATA_DIR/logs VERBOSE=True MYSQL_PASSWORD=openstack RABBIT_PASSWORD=openstack SERVICE_TOKEN=openstack SERVICE_PASSWORD=openstack ADMIN_PASSWORD=openstack

disable_service n-net enable_service neutron enable_service q-svc enable_service q-meta enable_service q-agt enable_service q-dhcp enable_service q-l3

TODO: Set this host's IP HOST_IP=192.168.0.252

[[post-config|$NEUTRON_CONF]] [DEFAULT] router_distributed=True

[[post-config|/$Q_PLUGIN_CONF_FILE]] [ml2] type_drivers=flat,vlan,vxlan tenant_network_types=vxlan mechanism_drivers=openvswitch,l2population

[ml2_type_vxlan] vni_ranges=1001:2000

[ovs] local_ip=$HOST_IP

[agent] tunnel_types=vxlan l2_population=True enable_distributed_routing=True

[[post-config|$Q_L3_CONF_FILE]] [DEFAULT] agent_mode=dvr router_delete_namespaces=True

[[post-config|$Q_DHCP_CONF_FILE]] [DEFAULT] dhcp_delete_namespaces=True

run ./stack.sh

-> I encounter the error , descirbe below .... 2016-07-03 10:55:04.383 | + sudo -H -E python /home/stack/devstack/files/get-pip.py -c /home/stack/devstack/tools/cap-pip.txt 2016-07-03 10:55:05.021 | Traceback (most recent call last): 2016-07-03 10:55:05.021 | File "/home/stack/devstack/files/get-pip.py", line 19177, in <module> 2016-07-03 10:55:05.025 | main() 2016-07-03 10:55:05.025 | File "/home/stack/devstack/files/get-pip.py", line 194, in main 2016-07-03 10:55:05.025 | bootstrap(tmpdir=tmpdir) 2016-07-03 10:55:05.026 | File "/home/stack/devstack/files/get-pip.py", line 119, in bootstrap 2016-07-03 10:55:05.026 | import setuptools # noqa 2016-07-03 10:55:05.026 | File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 14, in <module> 2016-07-03 10:55:05.026 | from setuptools.extension import Extension 2016-07-03 10:55:05.026 | File "/usr/local/lib/python2.7/dist-packages/setuptools/extension.py", line 11, in <module> 2016-07-03 10:55:05.027 | from . import msvc 2016-07-03 10:55:05.027 | File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 244, in <module> 2016-07-03 10:55:05.027 | class PlatformInfo: 2016-07-03 10:55:05.027 | File "/usr/local/lib/python2.7/dist-packages/setuptools/msvc.py", line 253, in PlatformInfo 2016-07-03 10:55:05.027 | current_cpu = safe_env['processor_architecture'].lower() 2016-07-03 10:55:05.028 | File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ 2016-07-03 10:55:05.028 | raise KeyError(key) 2016-07-03 10:55:05.028 | KeyError: 'processor_architecture' 2016-07-03 10:55:05.048 | ++ err_trap 2016-07-03 10:55:05.048 | ++ local r=1 2016-07-03 10:55:05.049 | stack.sh failed: full log in /opt/stack/data/logs/stack.log. 2016-07-03-195455 2016-07-03 10:55:05.049 | Error on exit 2016-07-03 10:55:05.050 | ./stack.sh: line 463: generate-subunit: command not found stack@ControlNode:~/devstack$

I upgrade python pip.

But I still can't lunch devstack...

edit retag flag offensive close merge delete