← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1479604] [NEW] load instance failed from other compute node(Nova-networking)

 

Public bug reported:

pre-condition:
   OS: ubuntu14.04;
   nova-networking mode, one controller node, three compute nodes(compute1, compute2, compute3), one block node; 
   only one NIC in every node;
Error description:
  I load some instances, at first, some instances are load correctly in compute1 node, when I load the fourth instance, it's create failed(HOST is compute2 and status is ERROR) ;  

the error logs(more information pls refer nova-compute.log as attachment):
ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
TRACE nova.compute.manager Traceback (most recent call last):
TRACE nova.compute.manager RemoteError: Remote error: ProcessExecutionError Unexpected error while running command.
TRACE nova.compute.manager Exit code: 2
TRACE nova.compute.manager Stdout: u''
Loading network driver \'nova.netwok.linux_net\'\\n\\ndnsmasq: failed to create listening socket for 192.168.122.1: Address already in use\\n"\n'].
TRACE nova.compute.manager 
ERROR nova.compute.manager  Instance failed to spawn
TRACE nova.compute.manager  RemoteError: Remote error: ProcessExecutionError Unexpected error while running command.
TRACE nova.compute.manager Exit code: 2


compute node nova.conf configuration(all compute node's configuration are same except IP address) ,
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = rabbit
rabbit_host = controller
rabbit_password = RABBIT_PASS
auth_strategy = keystone
my_ip = 10.71.255.206
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 10.71.255.206
novncproxy_base_url = http://controller:6080/vnc_auto.html
network_api_class = nova.network.api.API
security_group_api = nova
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_manager = nova.network.manager.FlatDHCPManager
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
flat_network_bridge = br100
flat_interface = eth0
public_interface = eth0
[keystone_authtoken]
auth_uri = http://controller:5000/v2.0
identity_uri = http://controller:35357
admin_tenant_name = service
admin_user = nova
admin_password = NOVA_PASS
[glance]
host = controller


Thanks.
Jazry

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "nova-compute.log"
   https://bugs.launchpad.net/bugs/1479604/+attachment/4436022/+files/nova-compute.log

-- 
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/1479604

Title:
  load instance failed from other compute node(Nova-networking)

Status in OpenStack Compute (nova):
  New

Bug description:
  pre-condition:
     OS: ubuntu14.04;
     nova-networking mode, one controller node, three compute nodes(compute1, compute2, compute3), one block node; 
     only one NIC in every node;
  Error description:
    I load some instances, at first, some instances are load correctly in compute1 node, when I load the fourth instance, it's create failed(HOST is compute2 and status is ERROR) ;  

  the error logs(more information pls refer nova-compute.log as attachment):
  ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
  TRACE nova.compute.manager Traceback (most recent call last):
  TRACE nova.compute.manager RemoteError: Remote error: ProcessExecutionError Unexpected error while running command.
  TRACE nova.compute.manager Exit code: 2
  TRACE nova.compute.manager Stdout: u''
  Loading network driver \'nova.netwok.linux_net\'\\n\\ndnsmasq: failed to create listening socket for 192.168.122.1: Address already in use\\n"\n'].
  TRACE nova.compute.manager 
  ERROR nova.compute.manager  Instance failed to spawn
  TRACE nova.compute.manager  RemoteError: Remote error: ProcessExecutionError Unexpected error while running command.
  TRACE nova.compute.manager Exit code: 2

  
  compute node nova.conf configuration(all compute node's configuration are same except IP address) ,
  [DEFAULT]
  dhcpbridge_flagfile=/etc/nova/nova.conf
  dhcpbridge=/usr/bin/nova-dhcpbridge
  logdir=/var/log/nova
  state_path=/var/lib/nova
  lock_path=/var/lock/nova
  force_dhcp_release=True
  iscsi_helper=tgtadm
  libvirt_use_virtio_for_bridges=True
  connection_type=libvirt
  root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  verbose=True
  ec2_private_dns_show_ip=True
  api_paste_config=/etc/nova/api-paste.ini
  volumes_path=/var/lib/nova/volumes
  enabled_apis=ec2,osapi_compute,metadata
  rpc_backend = rabbit
  rabbit_host = controller
  rabbit_password = RABBIT_PASS
  auth_strategy = keystone
  my_ip = 10.71.255.206
  vnc_enabled = True
  vncserver_listen = 0.0.0.0
  vncserver_proxyclient_address = 10.71.255.206
  novncproxy_base_url = http://controller:6080/vnc_auto.html
  network_api_class = nova.network.api.API
  security_group_api = nova
  firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
  network_manager = nova.network.manager.FlatDHCPManager
  network_size = 254
  allow_same_net_traffic = False
  multi_host = True
  send_arp_for_ha = True
  share_dhcp_address = True
  force_dhcp_release = True
  flat_network_bridge = br100
  flat_interface = eth0
  public_interface = eth0
  [keystone_authtoken]
  auth_uri = http://controller:5000/v2.0
  identity_uri = http://controller:35357
  admin_tenant_name = service
  admin_user = nova
  admin_password = NOVA_PASS
  [glance]
  host = controller

  
  Thanks.
  Jazry

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


Follow ups