cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From heince kurniawan <hei...@gmail.com>
Subject Re: change / replace public ip range
Date Mon, 13 Aug 2012 12:42:59 GMT
@ChunFeng,

I didn't have vms in 'expunge' state and system vms are destroyed immediately.

@Mice
I did the DB change and system vms can apply new ip, thanks for the tips, but public ip capacity
still showing previous value thus produce wrong total ip,
do you know how to trigger / run the updates ?

Regards,
Heince


On 13-Aug-2012, at 6:20 PM, Chunzi Oks wrote:

> For this error msg :
> 
> "Can't delete the network, not all user vms are expunged. Vm
> VM[User|i-2-7-VM] is in Stopped state"
> 
> I am not sure this take effects against systemVM , but you can try by
> changing VM expunge interval seconds in global config :
> expunge.delay =1 (sec)
> expunge.interval=1(sec)
> 
> After change the interval value , such as 1 secs , the destroyed VM will
> immediately go into expunge status .
> 
> 
> Regards,
> 
> Tian ChunFeng
> 
> 
> 
> On Mon, Aug 13, 2012 at 4:16 PM, Mice Xia <mice_xia@tcloudcomputing.com>wrote:
> 
>> In database there is a table 'user_ip_address' for public IP address
>> allocation, maybe you can try changing its address and restart network on
>> UI.
>> There is also a table 'vlan', and you may want to change its description
>> to reflect your new IP range in UI.
>> 
>> It seems to work for trunk, not sure if it's applicable for 3.0.2.
>> 
>> Caution:
>> Don’t forget to backup your database (or everything) before you try this
>> workaround.
>> 
>> Regards
>> Mice
>> 
>> -----Original Message-----
>> From: heince kurniawan [mailto:heince@gmail.com]
>> Sent: Monday, August 13, 2012 12:28 PM
>> To: cloudstack-users@incubator.apache.org
>> Subject: change / replace public ip range
>> 
>> Hi,
>> 
>> I'm using CS 3.0.2 advanced networking , just changed our ISP with new IP
>> ranges, and I'm trying to change the previous ip assignment.
>> 
>> This is what i've done:
>> - stop all vms
>> - maintenance all hosts
>> - destroy router and system vms
>> - disable zone
>> 
>> but i still can't delete the public ip, status : "The IP range can't be
>> deleted because it has allocated public IP addresses."
>> 
>> Even though i have destroyed router, the guest network mapping to public
>> ip is still on state 'allocated', i can't delete the guest network :
>> "Can't delete the network, not all user vms are expunged. Vm
>> VM[User|i-2-7-VM] is in Stopped state"
>> 
>> And i don't want to destroy all the vms, any workaround ?
>> 
>> Bottom line: i just need to change the public ip range without destroying
>> any user's vm.
>> 
>> Regards,
>> Heince
>> 


Mime
View raw message