strange. This is working in my clean author branch on Mac. Did I fix it by accident? Looks like the flag is defined somewhere wrong?
On Jul 22, 2010 11:10 AM, "Jay Pipes" <[email protected]> wrote: Hmm, something to do with gflags is broken it seems: jpi...@serialcoder:~/repos/nova/bug608772$ python run_tests.py nova.tests.network_unittest.NetworkTestCase.test_allocate_deallocate_ip INFO:root:Flushing redis datastore nova.tests.network_unittest NetworkTestCase test_allocate_deallocate_ip ... [FAIL] =============================================================================== [FAIL]: nova.tests.... File "/home/jpipes/repos/nova/bug608772/nova/tests/network_unittest.py", line 79, in test_allocate_deallocate_ip self.assertEqual(False, is_in_project(address, "project0")) twisted.trial.unittest.FailTest: not... ------------------------------------------------------------------------------- Ran 1 tests in 0.756s FAILED (failures=1) $> cat run_tests.err.log DEBUG:root:Allocating IP 10.0.0.3 to project0 DEBUG:root:FAKE NET: ifconfig vlan100 DEBUG:root:FAKE NET: ifconfig br100 DEBUG:root:Starting dnsmasq server for network with vlan 100 DEBUG:root:FAKE NET: sudo dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/home/jpipes/repos/nova/bug608772/networks/nova-100.pid --listen-address=10.0.0.1 --except-interface=lo --dhcp-range=10.0.0.3,static,600s --dhcp-hostsfile=/home/jpipes/repos/nova/bug608772/networks/nova-100.conf --dhcp-script=/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge --leasefile-ro DEBUG:root:FAKE NET: sudo iptables --delete FORWARD -d 10.0.0.2 -p udp --dport 1194 -j ACCEPT DEBUG:root:FAKE NET: sudo iptables -I FORWARD -d 10.0.0.2 -p udp --dport 1194 -j ACCEPT DEBUG:root:FAKE NET: sudo iptables --delete PREROUTING -t nat -d 127.0.0.1 -p udp --dport 1149 -j DNAT --to 10.0.0.2:1194 DEBUG:root:FAKE NET: sudo iptables -I PREROUTING -t nat -d 127.0.0.1 -p udp --dport 1149 -j DNAT --to 10.0.0.2:1194 DEBUG:root:Was allocated 10.0.0.3 DEBUG:root:Result was 1 DEBUG:root:ISSUE_IP: warning: no vendor libraries included , Traceback (most recent call last): File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 94, in <module> sys.exit(main()) File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 71, in main flagfile = os.environ.get('FLAGFILE', FLAGS.dhcpbridge_flagfile) File "/usr/lib/python2.6/dist-packages/gflags.py", line 810, in __getattr__ raise AttributeError(name) AttributeError: dhcpbridge_flagfile DEBUG:root:Get Network By Address: 10.0.0.3 DEBUG:root:Found 10.0.0.3 in project0 DEBUG:root:Result was 1 DEBUG:root:RELEASE_IP: warning: no vendor libraries included , Traceback (most recent call last): File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 94, in <module> sys.exit(main()) File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 71, in main flagfile = os.environ.get('FLAGFILE', FLAGS.dhcpbridge_flagfile) File "/usr/lib/python2.6/dist-packages/gflags.py", line 810, in __getattr__ raise AttributeError(name) AttributeError: dhcpbridge_flagfile I've tried renaming the flagfile variable, moving it to different locations, etc. No luck... -- Failure in NetworkTestCase for range_allocation and https://bugs.launchpad.net/bugs/608772 Yo... -- Failure in NetworkTestCase for range_allocation and https://bugs.launchpad.net/bugs/608772 You received this bug notification because you are a member of Registry Administrators, which is subscribed to OpenStack. _______________________________________________ Mailing list: https://launchpad.net/~registry Post to : [email protected] Unsubscribe : https://launchpad.net/~registry More help : https://help.launchpad.net/ListHelp

