You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Jessica Wang <Je...@citrix.com> on 2013/09/05 23:48:52 UTC

RE: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers

Marcus,

> list internalloadbalancerelements
> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
> enable the InternalLbVM provider,

If you create an Advanced zone through cloudStack UI, you don't need to do anything above.
cloudstack UI will do them automatically.

To create an Advanced zone through cloudStack UI:

Infrastructure menu > zones > click "Add zone" button > Add zone wizard pops up > click "Advanced" >  ....


Jessica


-----Original Message-----
From: Marcus Sorensen [mailto:shadowsor@gmail.com] 
Sent: Thursday, September 05, 2013 2:15 PM
To: dev@cloudstack.apache.org
Cc: Animesh Chaturvedi
Subject: Re: Questions about 4.2 RC

More questions... I've been going down the rabbithole in figuring out
how to deploy VPCs. Part of this might be a missing marvin config in
my zone deploy, I still have no idea yet, but after reviewing
https://cwiki.apache.org/CLOUDSTACK/internal-load-balancing-between-vpc-tiers.html,
I found that I have to do this:

> list internalloadbalancerelements
> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf

Now I can go into the UI and enable the InternalLbVM provider, and
finally create a VPC. Is this how we expect users to do it, or is
there something I'm missing in the UI.

On Thu, Sep 5, 2013 at 2:37 PM, Edison Su <Ed...@citrix.com> wrote:
>
>
>> -----Original Message-----
>> From: sebgoa [mailto:runseb@gmail.com]
>> Sent: Thursday, September 05, 2013 1:22 AM
>> To: dev@cloudstack.apache.org; Animesh Chaturvedi
>> Subject: Questions about 4.2 RC
>>
>> Hi,
>>
>> I followed the testing procedure for the 4.2 RC, I am ready to vote +1 but I
>> have questions (hence the new thread, don't want to hijack the VOTE).
>>
>> 1. the CHANGES file points to the release notes, but where are the release
>> notes ? I know that no-one really stepped up on the RN but can't we at a
>> minimum do a JIRA query that lists the bugs fixed in 4.2 and the new
>> features ?
>>
>> 2. Under infrastructure when I view the DevCloud Zone, I get this in the log:
>> WARN  [cloud.api.ApiServer] (642225853@qtp-111037821-10:) Unknown API
>> command: listVmwareDcs This is not a deal breaker but why is our UI calling a
>> non-implemented API ? This sounds like introducing known issues. If it's not
>> implemented yet, remove it.
>
> The command is only available in non-oss build, but is still listed in command.properties, as there is no separate file for commands non-oss build.
>
>>
>> 3. Under instances, the new tooltip shows a 'vm snapshot' icon. When you
>> use it, it snapshots but the snapshot is not shown under storage>view
>> snapshots ? Instead you see the snapshot under the instance view.
>> Proceeding to destroy the instance will destroy the snapshot, or at a
>> minimum we don't have access to it via the UI. It seems to be the difference
>> between listVMSnapshot and listSnapshots.
>
> It's by design, the vm snapshot is listed under vm->vm snapshot view, while the volume snapshot listed under storage->snapshot view.
>
>>
>>
>> -Sebastien

Re: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Marcus Sorensen <sh...@gmail.com>.
I didn't have it. I ran across it this afternoon, but wasn't sure if
it did all of the proper setup or if it was the equivalent of enabling
the provider (which as mentioned wasn't enough when I tried manually).
Thanks for confirming, I'll commit it.

On Thu, Sep 5, 2013 at 10:45 PM, Prasanna Santhanam <ts...@apache.org> wrote:
> Yes, that is all that is required. This doesn't enable the internal lb
> provider for you?
>
> On Thu, Sep 05, 2013 at 10:41:02PM -0600, Marcus Sorensen wrote:
>> So this look right to you?
>>
>> diff --git a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
>> b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
>> index 45bdfce..8e77809 100644
>> --- a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
>> +++ b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
>> @@ -47,6 +47,10 @@
>>                          {
>>                              "broadcastdomainrange": "ZONE",
>>                              "name": "VpcVirtualRouter"
>> +                        },
>> +                        {
>> +                            "broadcastdomainrange": "ZONE",
>> +                            "name": "InternalLbVm"
>>                          }
>>                      ]
>>                  },
>>
>> On Thu, Sep 5, 2013 at 10:37 PM, Prasanna Santhanam <ts...@apache.org> wrote:
>> > On Thu, Sep 05, 2013 at 05:06:02PM -0600, Marcus Sorensen wrote:
>> >> Thanks. It must be the marvin deployment then that's causing me grief.
>> >> I haven't manually filled out the UI in awhile.
>> >
>> > Marvin handles internallbvm deployment as well. Your providers should
>> > now look like below.Then sync marvin and you should be ready to go.
>> >
>> > "providers": [
>> >                         {
>> >                             "broadcastdomainrange": "ZONE",
>> >                             "name": "VirtualRouter"
>> >                         },
>> >                         {
>> >                             "broadcastdomainrange": "ZONE",
>> >                             "name": "VpcVirtualRouter"
>> >                         },
>> >                         {
>> >                             "broadcastdomainrange": "ZONE",
>> >                             "name": "InternalLbVm"
>> >                         }
>> >                     ],
>> >
>> > see the setup/dev/advanced.cfg. I keep that updated usually.
>> >
>> > --
>> > Prasanna.,
>> >
>> > ------------------------
>> > Powered by BigRock.com
>> >
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com
>

Re: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Prasanna Santhanam <ts...@apache.org>.
Yes, that is all that is required. This doesn't enable the internal lb
provider for you?

On Thu, Sep 05, 2013 at 10:41:02PM -0600, Marcus Sorensen wrote:
> So this look right to you?
> 
> diff --git a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
> b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
> index 45bdfce..8e77809 100644
> --- a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
> +++ b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
> @@ -47,6 +47,10 @@
>                          {
>                              "broadcastdomainrange": "ZONE",
>                              "name": "VpcVirtualRouter"
> +                        },
> +                        {
> +                            "broadcastdomainrange": "ZONE",
> +                            "name": "InternalLbVm"
>                          }
>                      ]
>                  },
> 
> On Thu, Sep 5, 2013 at 10:37 PM, Prasanna Santhanam <ts...@apache.org> wrote:
> > On Thu, Sep 05, 2013 at 05:06:02PM -0600, Marcus Sorensen wrote:
> >> Thanks. It must be the marvin deployment then that's causing me grief.
> >> I haven't manually filled out the UI in awhile.
> >
> > Marvin handles internallbvm deployment as well. Your providers should
> > now look like below.Then sync marvin and you should be ready to go.
> >
> > "providers": [
> >                         {
> >                             "broadcastdomainrange": "ZONE",
> >                             "name": "VirtualRouter"
> >                         },
> >                         {
> >                             "broadcastdomainrange": "ZONE",
> >                             "name": "VpcVirtualRouter"
> >                         },
> >                         {
> >                             "broadcastdomainrange": "ZONE",
> >                             "name": "InternalLbVm"
> >                         }
> >                     ],
> >
> > see the setup/dev/advanced.cfg. I keep that updated usually.
> >
> > --
> > Prasanna.,
> >
> > ------------------------
> > Powered by BigRock.com
> >

-- 
Prasanna.,

------------------------
Powered by BigRock.com


Re: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Marcus Sorensen <sh...@gmail.com>.
So this look right to you?

diff --git a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
index 45bdfce..8e77809 100644
--- a/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
+++ b/tools/devcloud-kvm/devcloud-kvm-advanced.cfg
@@ -47,6 +47,10 @@
                         {
                             "broadcastdomainrange": "ZONE",
                             "name": "VpcVirtualRouter"
+                        },
+                        {
+                            "broadcastdomainrange": "ZONE",
+                            "name": "InternalLbVm"
                         }
                     ]
                 },

On Thu, Sep 5, 2013 at 10:37 PM, Prasanna Santhanam <ts...@apache.org> wrote:
> On Thu, Sep 05, 2013 at 05:06:02PM -0600, Marcus Sorensen wrote:
>> Thanks. It must be the marvin deployment then that's causing me grief.
>> I haven't manually filled out the UI in awhile.
>
> Marvin handles internallbvm deployment as well. Your providers should
> now look like below.Then sync marvin and you should be ready to go.
>
> "providers": [
>                         {
>                             "broadcastdomainrange": "ZONE",
>                             "name": "VirtualRouter"
>                         },
>                         {
>                             "broadcastdomainrange": "ZONE",
>                             "name": "VpcVirtualRouter"
>                         },
>                         {
>                             "broadcastdomainrange": "ZONE",
>                             "name": "InternalLbVm"
>                         }
>                     ],
>
> see the setup/dev/advanced.cfg. I keep that updated usually.
>
> --
> Prasanna.,
>
> ------------------------
> Powered by BigRock.com
>

Re: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Prasanna Santhanam <ts...@apache.org>.
On Thu, Sep 05, 2013 at 05:06:02PM -0600, Marcus Sorensen wrote:
> Thanks. It must be the marvin deployment then that's causing me grief.
> I haven't manually filled out the UI in awhile.

Marvin handles internallbvm deployment as well. Your providers should
now look like below.Then sync marvin and you should be ready to go.

"providers": [
                        {   
                            "broadcastdomainrange": "ZONE",
                            "name": "VirtualRouter"
                        },  
                        {   
                            "broadcastdomainrange": "ZONE",
                            "name": "VpcVirtualRouter"
                        },  
                        {   
                            "broadcastdomainrange": "ZONE",
                            "name": "InternalLbVm"
                        }   
                    ],  

see the setup/dev/advanced.cfg. I keep that updated usually.

-- 
Prasanna.,

------------------------
Powered by BigRock.com


Re: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Marcus Sorensen <sh...@gmail.com>.
Thanks. It must be the marvin deployment then that's causing me grief.
I haven't manually filled out the UI in awhile.

On Thu, Sep 5, 2013 at 4:01 PM, Jessica Wang <Je...@citrix.com> wrote:
> Marcus,
>
> Internal load balancing is NOT supported in Basic zone.
>
> Therefore, if you create a Basic zone through cloudstack UI, cloudstack UI will NOT do them automatically:
>
>> list internalloadbalancerelements
>> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
>> enable the InternalLbVM provider
>
> Jessica
>
> -----Original Message-----
> From: Jessica Wang [mailto:Jessica.Wang@citrix.com]
> Sent: Thursday, September 05, 2013 2:49 PM
> To: dev@cloudstack.apache.org
> Cc: Animesh Chaturvedi; Brian Federle
> Subject: RE: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers
>
> Marcus,
>
>> list internalloadbalancerelements
>> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
>> enable the InternalLbVM provider,
>
> If you create an Advanced zone through cloudStack UI, you don't need to do anything above.
> cloudstack UI will do them automatically.
>
> To create an Advanced zone through cloudStack UI:
>
> Infrastructure menu > zones > click "Add zone" button > Add zone wizard pops up > click "Advanced" >  ....
>
>
> Jessica
>
>
> -----Original Message-----
> From: Marcus Sorensen [mailto:shadowsor@gmail.com]
> Sent: Thursday, September 05, 2013 2:15 PM
> To: dev@cloudstack.apache.org
> Cc: Animesh Chaturvedi
> Subject: Re: Questions about 4.2 RC
>
> More questions... I've been going down the rabbithole in figuring out
> how to deploy VPCs. Part of this might be a missing marvin config in
> my zone deploy, I still have no idea yet, but after reviewing
> https://cwiki.apache.org/CLOUDSTACK/internal-load-balancing-between-vpc-tiers.html,
> I found that I have to do this:
>
>> list internalloadbalancerelements
>> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
>
> Now I can go into the UI and enable the InternalLbVM provider, and
> finally create a VPC. Is this how we expect users to do it, or is
> there something I'm missing in the UI.
>
> On Thu, Sep 5, 2013 at 2:37 PM, Edison Su <Ed...@citrix.com> wrote:
>>
>>
>>> -----Original Message-----
>>> From: sebgoa [mailto:runseb@gmail.com]
>>> Sent: Thursday, September 05, 2013 1:22 AM
>>> To: dev@cloudstack.apache.org; Animesh Chaturvedi
>>> Subject: Questions about 4.2 RC
>>>
>>> Hi,
>>>
>>> I followed the testing procedure for the 4.2 RC, I am ready to vote +1 but I
>>> have questions (hence the new thread, don't want to hijack the VOTE).
>>>
>>> 1. the CHANGES file points to the release notes, but where are the release
>>> notes ? I know that no-one really stepped up on the RN but can't we at a
>>> minimum do a JIRA query that lists the bugs fixed in 4.2 and the new
>>> features ?
>>>
>>> 2. Under infrastructure when I view the DevCloud Zone, I get this in the log:
>>> WARN  [cloud.api.ApiServer] (642225853@qtp-111037821-10:) Unknown API
>>> command: listVmwareDcs This is not a deal breaker but why is our UI calling a
>>> non-implemented API ? This sounds like introducing known issues. If it's not
>>> implemented yet, remove it.
>>
>> The command is only available in non-oss build, but is still listed in command.properties, as there is no separate file for commands non-oss build.
>>
>>>
>>> 3. Under instances, the new tooltip shows a 'vm snapshot' icon. When you
>>> use it, it snapshots but the snapshot is not shown under storage>view
>>> snapshots ? Instead you see the snapshot under the instance view.
>>> Proceeding to destroy the instance will destroy the snapshot, or at a
>>> minimum we don't have access to it via the UI. It seems to be the difference
>>> between listVMSnapshot and listSnapshots.
>>
>> It's by design, the vm snapshot is listed under vm->vm snapshot view, while the volume snapshot listed under storage->snapshot view.
>>
>>>
>>>
>>> -Sebastien

Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers (2)

Posted by Jessica Wang <Je...@citrix.com>.
Marcus,

Internal load balancing is NOT supported in Basic zone.

Therefore, if you create a Basic zone through cloudstack UI, cloudstack UI will NOT do them automatically:

> list internalloadbalancerelements
> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
> enable the InternalLbVM provider

Jessica

-----Original Message-----
From: Jessica Wang [mailto:Jessica.Wang@citrix.com] 
Sent: Thursday, September 05, 2013 2:49 PM
To: dev@cloudstack.apache.org
Cc: Animesh Chaturvedi; Brian Federle
Subject: RE: Questions about 4.2 RC - internal-load-balancing-between-vpc-tiers

Marcus,

> list internalloadbalancerelements
> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf
> enable the InternalLbVM provider,

If you create an Advanced zone through cloudStack UI, you don't need to do anything above.
cloudstack UI will do them automatically.

To create an Advanced zone through cloudStack UI:

Infrastructure menu > zones > click "Add zone" button > Add zone wizard pops up > click "Advanced" >  ....


Jessica


-----Original Message-----
From: Marcus Sorensen [mailto:shadowsor@gmail.com] 
Sent: Thursday, September 05, 2013 2:15 PM
To: dev@cloudstack.apache.org
Cc: Animesh Chaturvedi
Subject: Re: Questions about 4.2 RC

More questions... I've been going down the rabbithole in figuring out
how to deploy VPCs. Part of this might be a missing marvin config in
my zone deploy, I still have no idea yet, but after reviewing
https://cwiki.apache.org/CLOUDSTACK/internal-load-balancing-between-vpc-tiers.html,
I found that I have to do this:

> list internalloadbalancerelements
> configure internalloadbalancerelement enabled=true id=de5f3495-6a48-4451-bd2f-e9cb9a7f6fbf

Now I can go into the UI and enable the InternalLbVM provider, and
finally create a VPC. Is this how we expect users to do it, or is
there something I'm missing in the UI.

On Thu, Sep 5, 2013 at 2:37 PM, Edison Su <Ed...@citrix.com> wrote:
>
>
>> -----Original Message-----
>> From: sebgoa [mailto:runseb@gmail.com]
>> Sent: Thursday, September 05, 2013 1:22 AM
>> To: dev@cloudstack.apache.org; Animesh Chaturvedi
>> Subject: Questions about 4.2 RC
>>
>> Hi,
>>
>> I followed the testing procedure for the 4.2 RC, I am ready to vote +1 but I
>> have questions (hence the new thread, don't want to hijack the VOTE).
>>
>> 1. the CHANGES file points to the release notes, but where are the release
>> notes ? I know that no-one really stepped up on the RN but can't we at a
>> minimum do a JIRA query that lists the bugs fixed in 4.2 and the new
>> features ?
>>
>> 2. Under infrastructure when I view the DevCloud Zone, I get this in the log:
>> WARN  [cloud.api.ApiServer] (642225853@qtp-111037821-10:) Unknown API
>> command: listVmwareDcs This is not a deal breaker but why is our UI calling a
>> non-implemented API ? This sounds like introducing known issues. If it's not
>> implemented yet, remove it.
>
> The command is only available in non-oss build, but is still listed in command.properties, as there is no separate file for commands non-oss build.
>
>>
>> 3. Under instances, the new tooltip shows a 'vm snapshot' icon. When you
>> use it, it snapshots but the snapshot is not shown under storage>view
>> snapshots ? Instead you see the snapshot under the instance view.
>> Proceeding to destroy the instance will destroy the snapshot, or at a
>> minimum we don't have access to it via the UI. It seems to be the difference
>> between listVMSnapshot and listSnapshots.
>
> It's by design, the vm snapshot is listed under vm->vm snapshot view, while the volume snapshot listed under storage->snapshot view.
>
>>
>>
>> -Sebastien