← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1220593] Re: the parameter of dns1 and dns2 are ignored when using nova-manage network create to create network

 

Folsom is no longer supported.

** Changed in: nova
       Status: New => Won't Fix

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

Title:
  the parameter of dns1 and dns2 are ignored when using nova-manage
  network create to create network

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  The version of openstack I use is Folsom,  I use KVM as the
  hypervisor, and I have setted the option
  "network_manager=nova.network.manager.VlanManager" in nova.conf to
  make the networking mode in the VLAN Network Mode.

  When I use command:
  #nova-manage network create --label=vlan40 --fixed_range_v4=10.75.40.0/24 --gateway=10.75.40.1 --dns1=10.75.27.10 --dns2=10.75.27.10 --vlan=40 --num_networks=1 --network_size=256 --bridge_interface=eth2

  to create the network, the network could be created successfully, but
  when I use command "#nova-manage network list" to show the networks,
  the parameter dns1 and dns2 of the network are None.

  # nova-manage network list
  id       IPv4                  IPv6               start address      DNS1               DNS2               VlanID             project            uuid          
  10       10.75.40.0/24         None               10.75.40.3         None               None               40                 None               9975e87e-8157-49fe-93f5-4ac0731e42ed

  Then I enter the database, I found that the fields dns1 and dns2 are
  "NULL".

  mysql> select cidr,cidr_v6,dhcp_start,dns1,dns2,vlan,uuid from networks where id=10;
  +---------------+---------+------------+------+------+------+--------------------------------------+
  | cidr          | cidr_v6 | dhcp_start | dns1 | dns2 | vlan | uuid                                 |
  +---------------+---------+------------+------+------+------+--------------------------------------+
  | 10.75.40.0/24 | NULL    | 10.75.40.3 | NULL | NULL |   40 | 9975e87e-8157-49fe-93f5-4ac0731e42ed |
  +---------------+---------+------------+------+------+------+--------------------------------------+

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