On Tue, Jun 24, 2014 at 06:59:17PM -0400, Rob Crittenden wrote: > Before I get punted onto the operators list, I post this here because > this is the default config and I'd expect the defaults to just work. > > Running devstack inside a VM with a single NIC configured and this in > localrc: > > disable_service n-net > enable_service q-svc > enable_service q-agt > enable_service q-dhcp > enable_service q-l3 > enable_service q-meta > enable_service neutron > Q_USE_DEBUG_COMMAND=True > > Results in a successful install but no DHCP address assigned to hosts I > launch and other oddities like no CIDR in nova net-list output. > > Is this still the default way to set things up for single node? It is > according to https://wiki.openstack.org/wiki/NeutronDevstack
I've used something simliar in my local.conf[1] w/ today's git. I get a successfull install too[2]. However, booting an instance is just perpetually stuck in SCHEDULING state: $ nova list +--------------------------------------+--------+--------+------------+-------------+----------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+--------+--------+------------+-------------+----------+ | 425a12e8-0b7e-4ad1-97db-20a912dea7df | f20vm2 | BUILD | scheduling | NOSTATE | | +--------------------------------------+--------+--------+------------+-------------+----------+ I don't see anything interesting in Scheduler/CPU logs: $ grep ERROR ../data/new/screen-logs/screen-n-cpu.log $ grep ERROR ../data/new/screen-logs/screen-n-sch.log 2014-06-25 02:37:37.674 DEBUG nova.openstack.common.db.sqlalchemy.session [req-62d4dfe1-55f4-46fd-94c6-e1b270eca5e4 None None] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION _mysql_check_effective_sql_mode /opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py:562 Examining my install log[2], I only see 3 ERRORs that looked legitimate: (1) A fatal error about 'yaml.h' header file not found: ------------------- [. . .] 2014-06-25 06:22:38.963 | gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o 2014-06-25 06:22:38.976 | build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory 2014-06-25 06:22:38.977 | #include <yaml.h> 2014-06-25 06:22:38.977 | ^ 2014-06-25 06:22:38.978 | compilation terminated. 2014-06-25 06:22:38.995 | 2014-06-25 06:22:38.996 | libyaml is not found or a compiler error: forcing --without-libyaml 2014-06-25 06:22:38.996 | (if libyaml is installed correctly, you may need to 2014-06-25 06:22:38.997 | specify the option --include-dirs or uncomment and 2014-06-25 06:22:38.997 | modify the parameter include_dirs in setup.cfg) 2014-06-25 06:22:39.044 | [. . .] ------------------- (2) For some reason, it couldn't connect to Libvirt Hypervisor, as it couldn't find the Libvirt socket file. ------------------- [. . .] 2014-06-25 06:32:08.942 | error: failed to connect to the hypervisor 2014-06-25 06:32:08.943 | error: no valid connection 2014-06-25 06:32:08.943 | error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory 2014-06-25 06:32:08.948 | + instances= [. . .] ------------------- However, the file _does_ exist: $ file /var/run/libvirt/libvirt-sock /var/run/libvirt/libvirt-sock: socket (3) A Neutron complaint that it couldn't find a certain qprobe network namespace: ------------------- [. . .] 2014-06-25 06:37:21.009 | + neutron-debug --os-tenant-name admin --os-username admin --os-password fedora probe-create --device-owner compute 7624586e-120d-45dd-a918-716b942407ff 2014-06-25 06:37:23.435 | 2014-06-25 02:37:23.434 9698 ERROR neutron.agent.linux.utils [-] 2014-06-25 06:37:23.436 | Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qprobe-19193c58-a12d-4910-b38d-cd638714b1df', 'ip', '-o', 'link', 'show', 'tap19193c58-a1'] 2014-06-25 06:37:23.436 | Exit code: 1 2014-06-25 06:37:23.437 | Stdout: '' 2014-06-25 06:37:23.437 | Stderr: 'Cannot open network namespace "qprobe-19193c58-a12d-4910-b38d-cd638714b1df": No such file or directory\n' [. . .] ------------------- Howver, running `ip netns` _does_ enumerate the above qprobe network namespace. Other info ---------- That's the DevStack commit I'm at: $ git log | head -6 commit c6dc3deb2571f08b224c9a11eac975da2ef59f5a Merge: 0b8b18d e66da49 Author: Jenkins <jenk...@review.openstack.org> Date: Tue Jun 24 18:00:41 2014 +0000 More debugging in progress. [1] http://kashyapc.fedorapeople.org/virt/openstack/local.conf [2] http://kashyapc.fedorapeople.org/temp/devstacklog-25JUN2014.txt -- /kashyap _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev