registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #08905
Re: [Bug 608772] Re: Failure in NetworkTestCase for range_allocation and
Vish, didn't you move the flag definition? And didn't I recently see a patch
that removed an "unused" import from dhcpleasor? That import was probably to
provide access to the flag.
Joshua
On Thu, Jul 22, 2010 at 8:43 AM, vishvananda <vishvananda@xxxxxxxxx>
wrote:
> Default flagfile with no params won't work. It needs the flagfile
> specified
>
> On Jul 22, 2010 11:31 AM, "Jay Pipes" <608772@xxxxxxxxxxxxxxxxxx> wrote:
>
> If I call default_flagfile() with no params (use defaults), I still get
> some weird name resolution errors:
>
>
> DEBUG:root:ISSUE_IP: warning: no vendor libraries included
> , DEBUG:root:Called add for mac 02:16:3e:0e:4e:f0 with ip 10.0.0.3 and
> hostname test-host on interface br100
>
> Traceback (most recent call last):
>
> File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 94, in
> <module>
> sys.exit(ma...
> File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 88, in
> main
> globals()[action+'_lease'](mac, ip, hostname, interface)
> File "/home/jpipes/repos/nova/bug608772/bin/nova-dhcpbridge", line 47, in
> add_lease
> network.lease_ip(ip)
> AttributeError: 'module' object has no attribute 'lease_ip'
>
>
> --
> 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 Nova
> Bugs, which is subscribed to OpenStack Compute (nova).
>
> Status in OpenStack Compute (Nova): New
>
> Bug description:
> On trunk, these have been appearing consistently:
>
>
> ===============================================================================
> [FAIL]:
> nova.tests.network_unittest.NetworkTestCase.test_allocate_deallocate_ip
>
> Traceback (most recent call last):
> File "/home/jpipes/repos/nova/working/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 equal:
> a = False
> b = True
>
>
> ===============================================================================
> [FAIL]: nova.tests.network_unittest.NetworkTestCase.test_range_allocation
>
> Traceback (most recent call last):
> File "/home/jpipes/repos/nova/working/nova/tests/network_unittest.py",
> line 103, in test_range_allocation
> self.assertEqual(False, is_in_project(address, "project0"))
> twisted.trial.unittest.FailTest: not equal:
> a = False
> b = True
>
>
> -------------------------------------------------------------------------------
> Ran 80 tests in 24.274s
>
> FAILED (failures=2, successes=78)
>
> Assigning to myself...I'll try and track down the fix...
>
>
>
--
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.
Follow ups
References