← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 970893] Re: nova: dhcp_release command not found on RHEL6

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/970893

Title:
  nova: dhcp_release command not found on RHEL6

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  nova-network log has error on RHEL6.x where it tries to execute
  dhcp_release command and fails. Do we have any setting which has to be
  disabled which should have been done during installation? I think this
  works on Ubuntu so is there any replacement for this command on RHEL6?

  2012-03-30 08:56:16 ERROR nova.rpc.amqp [req-5a94ee87-fc3b-4d1b-a27c-e66991003f3a 6fc59f8248214624aec0d82556abe66f df42460ef5f74eb9bf5f12dedd6d08c1] Exception during message handling
  (nova.rpc.amqp): TRACE: Traceback (most recent call last):
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/rpc/amqp.py", line 252, in _process_data
  (nova.rpc.amqp): TRACE: rval = node_func(context=ctxt, **node_args)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 258, in wrapped
  (nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 372, in deallocate_for_instance
  (nova.rpc.amqp): TRACE: super(FloatingIP, self).deallocate_for_instance(context, **kwargs)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 258, in wrapped
  (nova.rpc.amqp): TRACE: return func(self, context, *args, **kwargs)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 927, in deallocate_for_instance
  (nova.rpc.amqp): TRACE: **kwargs)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 248, in deallocate_fixed_ip
  (nova.rpc.amqp): TRACE: address)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/manager.py", line 1218, in deallocate_fixed_ip
  (nova.rpc.amqp): TRACE: self.driver.release_dhcp(dev, address, vif['address'])
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/network/linux_net.py", line 634, in release_dhcp
  (nova.rpc.amqp): TRACE: utils.execute('dhcp_release', dev, address, mac_address, run_as_root=True)
  (nova.rpc.amqp): TRACE: File "/home/mymachine/openstack/nova/app/nova/utils.py", line 242, in execute
  (nova.rpc.amqp): TRACE: cmd=' '.join(cmd))
  (nova.rpc.amqp): TRACE: ProcessExecutionError: Unexpected error while running command.
  (nova.rpc.amqp): TRACE: Command: sudo dhcp_release br100 10.0.0.2 fa:16:3e:76:b8:89
  (nova.rpc.amqp): TRACE: Exit code: 1
  (nova.rpc.amqp): TRACE: Stdout: ''
  (nova.rpc.amqp): TRACE: Stderr: 'sudo: dhcp_release: command not found\n'
  (nova.rpc.amqp): TRACE:

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/970893/+subscriptions