I have a VN that is no longer in use, but I cant run this command. How do I ‘release’ old IP’s that are not is use.
onevnet rmar br16-mak01 1
[one.vn.rm_ar] Address Range has leases in use
I have a VN that is no longer in use, but I cant run this command. How do I ‘release’ old IP’s that are not is use.
onevnet rmar br16-mak01 1
[one.vn.rm_ar] Address Range has leases in use
Hello @Aaron_Ruddick
You can check using the command onevnet show br16-mak01 -x
or using Sunstone, where are the leases being used and after that release the IPs in use.
Best,
Álex.
thank you so much for the reply!
They belowing to VM’s that no longer exist:
so when I try to remove them it says the State is invalid (None) or something. Is somethign out of sync with the database?
my xml didnt show sorry. Here is an example:
[CDATA[10.15.16.207]]
[CDATA[02:00:0a:0f:10:cf]]
[CDATA[31]]
[one]$ onevnet rmleases 1 10.15.16.207
No single IP Address Range found with IP 10.15.16.207
am I using the API wrong?
Hello @Aaron_Ruddick
You can use onedb fsck
to fix all the errors in the database and then try to remove the address range.
Best,
Álex.
that worked. Can you tell me how I am causing so many bad records? Is it terminate?
Hello @Aaron_Ruddick
Sometimes some address ranges can have some wrong leases, maybe an operation didn’t finish well and that causes the problem. For that we have onedb fsck
, to check the database consistency. I also recommend you to use onedb purge-done
and onedb purge-history
to have your database in a healthy state.
Best,
Álex.