Submitted by hescominsoon on Tue, 09/03/2019 - 08:34 Pro Licensee
I am importing a backup from another server of mine. The virt version is the same but it is coming from ubuntu 16.04 lts to ubuntu 18.04 lts. The issue i am seeing is it is trying to import onto an existing ipv6 address instead of the next available. ipv4 is a shared address ans is not throwing an error.
Adding IPv6 address 2604:4100:2:7:0:0:0:3 ..
.. IPv6 address failed! : Failed to add IPv6 address : SIOCSIFADDR: File exists
Here is another error inside of virt: No virtual servers containing 2604:4100:2:7:0:0:0:3 were found.
however that ip is assigned to: 2604:4100:0002:0007:0000:0000:0000:3 (Dedicated IP) aminerdetail.com
why is virt trying to stomp on an existing ipv6 address?
Status:
Closed (fixed)
Comments
Submitted by hescominsoon on Tue, 09/03/2019 - 09:07 Pro Licensee Comment #1
I went and manually removed all of the imported domains and i had to manually clear multiple .3 entries in the networking file. I then added .3 back to AMD and the others got allocated properly. So it borked itself the first time but worked properly the second.
Submitted by hescominsoon on Tue, 09/03/2019 - 10:23 Pro Licensee Comment #2
I tried importing one of the domains(it is a single 4.5 gig archive made by virt) and it incremented the ipv6 correctly. Only when i try to import all of them at once..the first one increments..then the rest attempt to stack on top of the same ip..even though i have the restore options set to assign an individual ipv6 address
Submitted by hescominsoon on Tue, 09/03/2019 - 11:01 Pro Licensee Comment #3
after i cleared things out now it is stuck on .5 Adding IPv6 address 2604:4100:2:7:0:0:0:5 .. .. IPv6 address failed! : Failed to add IPv6 address : SIOCSIFADDR: File exists
i have attached a couple of screenshots of what it is doing to the netplan and the restore settings i am using(and have used many times in the past). this is a freh install so any anomalies are most likely bugs.
Submitted by hescominsoon on Tue, 09/03/2019 - 11:04 Pro Licensee Comment #4
Submitted by hescominsoon on Tue, 09/03/2019 - 11:06 Pro Licensee Comment #5
here's some more errors: No virtual servers containing 2604:4100:2:7:0:0:0:5 were found.
except for this: 2604:4100:2:7:0:0:0:5 (Dedicated IP) 21 virtual servers
Submitted by hescominsoon on Tue, 09/03/2019 - 11:14 Pro Licensee Comment #6
the domains did not exist on the server before the import.
Submitted by hescominsoon on Tue, 09/03/2019 - 11:25 Pro Licensee Comment #7
i have also attached what the netplan looks like after removing hte imported domsins..which i will manually cleanup after this.
Submitted by hescominsoon on Tue, 09/03/2019 - 11:27 Pro Licensee Comment #8
Submitted by JamieCameron on Thu, 09/05/2019 - 00:42 Comment #9
Ah, so the real issue is that IP allocation isn't taking into account allocations made during the same restore?
Submitted by hescominsoon on Thu, 09/05/2019 - 19:46 Pro Licensee Comment #10
i wound up nuking the box because of other non-virt issues(web1). will report back if it reoccurs.