You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Gerolamo Valcamonica <cl...@overweb.it> on 2015/07/07 16:20:24 UTC

Change network offering without changing CIDR

Hi everybody,
i'm using Cloudstack 4.3 with KVM

I'd like to change network offering on a client network.
So i created a new Network offering based on 
DefaultIsolatedNetworkOfferingWithSourceNatService
Now i can go to my client network -> edit -> select 
DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply

A popup alerts me:
"Do you want to keep the current guest network CIDR unchanged?"

If i select "NO" i got this error: "All user vm of network of specified 
id should be stopped before changing CIDR!"

If i select "YES" i got this error: "Cannot specify this nework offering 
change and guestVmCidr at same time. Specify only one."

CIDR is: 10.10.1.0/24

So the question is:
can I change a network offering without changing CIDR and / or rebooting 
VMs?

As alternative question: how can change max bandwith only on a specific 
user network already using my infrastructure?

Thanks!

-- 
Gerolamo Valcamonica


RE: Change network offering without changing CIDR

Posted by Patrick Chevalley <pa...@b-i.com>.
Here's an example, just adapt your IDs:
update network id=9ae34cc1-ad2c-470e-b41a-17ddd80576ce networkofferingid=a7424978-f5a4-43df-ad77-4ae3cd54b391


-----Original Message-----
From: Gerolamo Valcamonica [mailto:cloudstack@overweb.it] 
Sent: vendredi 10 juillet 2015 13:11
To: users@cloudstack.apache.org
Subject: Re: Change network offering without changing CIDR

Thank you.

Sorry, but i cannot find the right command in cloudmonkey to change network offering

can you give me a suggestion?

Cloudmonkey commands on my installation are (with double tab):

assign
cancel
create
detach
mark
register
restart
shell
sync
activate
associate
change
delete
disable
extract
ldap
migrate
reboot
remove
restore
start
update
add
attach
configure
deploy
disassociate
generate
list
prepare
reconnect
reset
revoke
stop
upload
api
authorize
copy
destroy
enable
get
lock
query
recover
resize
set
suspend

Thank you

Gerolamo Valcamonica

Il 10/07/2015 09:16, Patrick Chevalley ha scritto:
> I've seen this before and as a workaround I've changed it with CloudMonkey who handles this better.
> Try from CM to see if you can change it.
>
> Rgds
> Patrick
>
> -----Original Message-----
> From: Sanjeev N [mailto:sanjeev@apache.org]
> Sent: vendredi 10 juillet 2015 07:58
> To: users@cloudstack.apache.org
> Subject: Re: Change network offering without changing CIDR
>
> We should be able to change the network offering without changing cidr and without stopping vms. If it is not then it is a bug.
>
> On Fri, Jul 10, 2015 at 1:13 AM, Nux! <nu...@li.nux.ro> wrote:
>
>> Well, it looks like it requires all VMs to be in stopped state.
>> Isn't it possible to change the current working network to fit 
>> whatever needs you are after?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>>> From: "Gerolamo Valcamonica" <cl...@overweb.it>
>>> To: users@cloudstack.apache.org
>>> Sent: Tuesday, 7 July, 2015 15:20:24
>>> Subject: Change network offering without changing CIDR Hi everybody, 
>>> i'm using Cloudstack 4.3 with KVM
>>>
>>> I'd like to change network offering on a client network.
>>> So i created a new Network offering based on 
>>> DefaultIsolatedNetworkOfferingWithSourceNatService
>>> Now i can go to my client network -> edit -> select
>>> DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply
>>>
>>> A popup alerts me:
>>> "Do you want to keep the current guest network CIDR unchanged?"
>>>
>>> If i select "NO" i got this error: "All user vm of network of 
>>> specified id should be stopped before changing CIDR!"
>>>
>>> If i select "YES" i got this error: "Cannot specify this nework 
>>> offering change and guestVmCidr at same time. Specify only one."
>>>
>>> CIDR is: 10.10.1.0/24
>>>
>>> So the question is:
>>> can I change a network offering without changing CIDR and / or 
>>> rebooting VMs?
>>>
>>> As alternative question: how can change max bandwith only on a 
>>> specific user network already using my infrastructure?
>>>
>>> Thanks!
>>>
>>> --
>>> Gerolamo Valcamonica


--
Gerolamo Valcamonica


Re: Change network offering without changing CIDR

Posted by Gerolamo Valcamonica <cl...@overweb.it>.
Thank you.

Sorry, but i cannot find the right command in cloudmonkey to change 
network offering

can you give me a suggestion?

Cloudmonkey commands on my installation are (with double tab):

assign
cancel
create
detach
mark
register
restart
shell
sync
activate
associate
change
delete
disable
extract
ldap
migrate
reboot
remove
restore
start
update
add
attach
configure
deploy
disassociate
generate
list
prepare
reconnect
reset
revoke
stop
upload
api
authorize
copy
destroy
enable
get
lock
query
recover
resize
set
suspend

Thank you

Gerolamo Valcamonica

Il 10/07/2015 09:16, Patrick Chevalley ha scritto:
> I've seen this before and as a workaround I've changed it with CloudMonkey who handles this better.
> Try from CM to see if you can change it.
>
> Rgds
> Patrick
>
> -----Original Message-----
> From: Sanjeev N [mailto:sanjeev@apache.org]
> Sent: vendredi 10 juillet 2015 07:58
> To: users@cloudstack.apache.org
> Subject: Re: Change network offering without changing CIDR
>
> We should be able to change the network offering without changing cidr and without stopping vms. If it is not then it is a bug.
>
> On Fri, Jul 10, 2015 at 1:13 AM, Nux! <nu...@li.nux.ro> wrote:
>
>> Well, it looks like it requires all VMs to be in stopped state.
>> Isn't it possible to change the current working network to fit
>> whatever needs you are after?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>>> From: "Gerolamo Valcamonica" <cl...@overweb.it>
>>> To: users@cloudstack.apache.org
>>> Sent: Tuesday, 7 July, 2015 15:20:24
>>> Subject: Change network offering without changing CIDR
>>> Hi everybody,
>>> i'm using Cloudstack 4.3 with KVM
>>>
>>> I'd like to change network offering on a client network.
>>> So i created a new Network offering based on
>>> DefaultIsolatedNetworkOfferingWithSourceNatService
>>> Now i can go to my client network -> edit -> select
>>> DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply
>>>
>>> A popup alerts me:
>>> "Do you want to keep the current guest network CIDR unchanged?"
>>>
>>> If i select "NO" i got this error: "All user vm of network of
>>> specified id should be stopped before changing CIDR!"
>>>
>>> If i select "YES" i got this error: "Cannot specify this nework
>>> offering change and guestVmCidr at same time. Specify only one."
>>>
>>> CIDR is: 10.10.1.0/24
>>>
>>> So the question is:
>>> can I change a network offering without changing CIDR and / or
>>> rebooting VMs?
>>>
>>> As alternative question: how can change max bandwith only on a
>>> specific user network already using my infrastructure?
>>>
>>> Thanks!
>>>
>>> --
>>> Gerolamo Valcamonica


-- 
Gerolamo Valcamonica


RE: Change network offering without changing CIDR

Posted by Patrick Chevalley <pa...@b-i.com>.
I've seen this before and as a workaround I've changed it with CloudMonkey who handles this better.
Try from CM to see if you can change it.

Rgds
Patrick

-----Original Message-----
From: Sanjeev N [mailto:sanjeev@apache.org] 
Sent: vendredi 10 juillet 2015 07:58
To: users@cloudstack.apache.org
Subject: Re: Change network offering without changing CIDR

We should be able to change the network offering without changing cidr and without stopping vms. If it is not then it is a bug.

On Fri, Jul 10, 2015 at 1:13 AM, Nux! <nu...@li.nux.ro> wrote:

> Well, it looks like it requires all VMs to be in stopped state.
> Isn't it possible to change the current working network to fit 
> whatever needs you are after?
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Gerolamo Valcamonica" <cl...@overweb.it>
> > To: users@cloudstack.apache.org
> > Sent: Tuesday, 7 July, 2015 15:20:24
> > Subject: Change network offering without changing CIDR
>
> > Hi everybody,
> > i'm using Cloudstack 4.3 with KVM
> >
> > I'd like to change network offering on a client network.
> > So i created a new Network offering based on 
> > DefaultIsolatedNetworkOfferingWithSourceNatService
> > Now i can go to my client network -> edit -> select
> > DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply
> >
> > A popup alerts me:
> > "Do you want to keep the current guest network CIDR unchanged?"
> >
> > If i select "NO" i got this error: "All user vm of network of 
> > specified id should be stopped before changing CIDR!"
> >
> > If i select "YES" i got this error: "Cannot specify this nework 
> > offering change and guestVmCidr at same time. Specify only one."
> >
> > CIDR is: 10.10.1.0/24
> >
> > So the question is:
> > can I change a network offering without changing CIDR and / or 
> > rebooting VMs?
> >
> > As alternative question: how can change max bandwith only on a 
> > specific user network already using my infrastructure?
> >
> > Thanks!
> >
> > --
> > Gerolamo Valcamonica
>

Re: Change network offering without changing CIDR

Posted by Sanjeev N <sa...@apache.org>.
We should be able to change the network offering without changing cidr and
without stopping vms. If it is not then it is a bug.

On Fri, Jul 10, 2015 at 1:13 AM, Nux! <nu...@li.nux.ro> wrote:

> Well, it looks like it requires all VMs to be in stopped state.
> Isn't it possible to change the current working network to fit whatever
> needs you are after?
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Gerolamo Valcamonica" <cl...@overweb.it>
> > To: users@cloudstack.apache.org
> > Sent: Tuesday, 7 July, 2015 15:20:24
> > Subject: Change network offering without changing CIDR
>
> > Hi everybody,
> > i'm using Cloudstack 4.3 with KVM
> >
> > I'd like to change network offering on a client network.
> > So i created a new Network offering based on
> > DefaultIsolatedNetworkOfferingWithSourceNatService
> > Now i can go to my client network -> edit -> select
> > DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply
> >
> > A popup alerts me:
> > "Do you want to keep the current guest network CIDR unchanged?"
> >
> > If i select "NO" i got this error: "All user vm of network of specified
> > id should be stopped before changing CIDR!"
> >
> > If i select "YES" i got this error: "Cannot specify this nework offering
> > change and guestVmCidr at same time. Specify only one."
> >
> > CIDR is: 10.10.1.0/24
> >
> > So the question is:
> > can I change a network offering without changing CIDR and / or rebooting
> > VMs?
> >
> > As alternative question: how can change max bandwith only on a specific
> > user network already using my infrastructure?
> >
> > Thanks!
> >
> > --
> > Gerolamo Valcamonica
>

Re: Change network offering without changing CIDR

Posted by Nux! <nu...@li.nux.ro>.
Well, it looks like it requires all VMs to be in stopped state.
Isn't it possible to change the current working network to fit whatever needs you are after?

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Gerolamo Valcamonica" <cl...@overweb.it>
> To: users@cloudstack.apache.org
> Sent: Tuesday, 7 July, 2015 15:20:24
> Subject: Change network offering without changing CIDR

> Hi everybody,
> i'm using Cloudstack 4.3 with KVM
> 
> I'd like to change network offering on a client network.
> So i created a new Network offering based on
> DefaultIsolatedNetworkOfferingWithSourceNatService
> Now i can go to my client network -> edit -> select
> DefaultIsolatedNetworkOfferingWithSourceNatService2 -> apply
> 
> A popup alerts me:
> "Do you want to keep the current guest network CIDR unchanged?"
> 
> If i select "NO" i got this error: "All user vm of network of specified
> id should be stopped before changing CIDR!"
> 
> If i select "YES" i got this error: "Cannot specify this nework offering
> change and guestVmCidr at same time. Specify only one."
> 
> CIDR is: 10.10.1.0/24
> 
> So the question is:
> can I change a network offering without changing CIDR and / or rebooting
> VMs?
> 
> As alternative question: how can change max bandwith only on a specific
> user network already using my infrastructure?
> 
> Thanks!
> 
> --
> Gerolamo Valcamonica