[NETVIRT-1165] Add port option for an Ipv6 server fails Created: 21/Mar/18  Updated: 19/May/18  Resolved: 19/May/18

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: yogalakshmi swetha Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The add port option for a server when used on an ipv6-instance fails.

The server gets an ip automatically although no-dhcp is enabled while configuring subnet.Then many a time the server gets both the ip's.

 To Reproduce:

a.Create Network
network create net2 --provider-network-type vxlan
b. Create subnet
subnet create --ip-version=6 --no-dhcp --network net6 --subnet-range 2006:db9:cafe:e::/64 sub6

c. Create port with ipv6-address
port create --fixed-ip subnet=sub6,ip-address=2006:db9:cafe:e::6 --network net6 port1

d. Create Server:
server create --image cirros --flavor cirros --nic net-id=net6 vm1

server add port vm1 port1

 

 

 

 

 

 

 

 



 Comments   
Comment by Vinh Nguyen [ 19/May/18 ]

When the subnet is configured with 'no-dhcp', the server created is still get an address. This is expected as indicated below:

https://bugzilla.redhat.com/show_bug.cgi?id=1357618

 

in step d) the server should get two ip addresses:

  • One allocated by neutron when the server is created
  • new fixed ip address when adding port to server

 

At any rate, I found these are pure neutron scenarios rather than netvirt, please log issues against openstack-neutron if necessary

 

Comment by Vinh Nguyen [ 19/May/18 ]

Please see last comment

Generated at Wed Feb 07 20:23:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.