You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Pranav Saxena <pr...@citrix.com> on 2013/03/28 09:58:53 UTC

[master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Hi ,

There seems to be a problem with the latest master branch code though I did not happen to see any exception being thrown.

The system VM's don't come up and the primary storage added as part of the zone creation wizard does not show up on the host in the XenCenter UI .

Anyone else happened to see this issue ?

Thanks,
Pranav

RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Srikanteswararao Talluri <sr...@citrix.com>.
We might need to disable scope field for non -KVM zones to avoid such mistakes.

Thanks,
~Talluri

> -----Original Message-----
> From: Suresh Sadhu [mailto:Suresh.Sadhu@citrix.com]
> Sent: Thursday, March 28, 2013 2:35 PM
> To: dev@cloudstack.apache.org
> Subject: RE: [master branch issue ]Problem with SystemVMs and Primary Storage
> in latest Master
> 
> Pranav,
> 
> While creating primary ,did you select  scope as zone or cluster.
> 
> By default its setting the scope as  zone.it won't work. There is no support (zone
> wide primary storage)t for xen ,at this moment supported hypervisor is kvm .
> 
> so select the scope as cluster.
> 
> 
> Regards
> Sadhu
> 
> 
> -----Original Message-----
> From: Pranav Saxena [mailto:pranav.saxena@citrix.com]
> Sent: 28 March 2013 14:29
> To: dev@cloudstack.apache.org
> Subject: [master branch issue ]Problem with SystemVMs and Primary Storage in
> latest Master
> 
> Hi ,
> 
> There seems to be a problem with the latest master branch code though I did
> not happen to see any exception being thrown.
> 
> The system VM's don't come up and the primary storage added as part of the
> zone creation wizard does not show up on the host in the XenCenter UI .
> 
> Anyone else happened to see this issue ?
> 
> Thanks,
> Pranav

RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Suresh Sadhu <Su...@citrix.com>.
Pranav,

While creating primary ,did you select  scope as zone or cluster.

By default its setting the scope as  zone.it won't work. There is no support (zone wide primary storage)t for xen ,at this moment supported hypervisor is kvm .

so select the scope as cluster.


Regards
Sadhu


-----Original Message-----
From: Pranav Saxena [mailto:pranav.saxena@citrix.com] 
Sent: 28 March 2013 14:29
To: dev@cloudstack.apache.org
Subject: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Hi ,

There seems to be a problem with the latest master branch code though I did not happen to see any exception being thrown.

The system VM's don't come up and the primary storage added as part of the zone creation wizard does not show up on the host in the XenCenter UI .

Anyone else happened to see this issue ?

Thanks,
Pranav

RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Pranav Saxena <pr...@citrix.com>.
I have made the UI changes to support  zone wide primary storage only for KVM as the hypervisor . For all other hypervisors , we 'll have "cluster wide primary storage" as the default option . The fix has been pushed to asf/master.

Thanks,
Pranav

-----Original Message-----
From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com] 
Sent: Friday, March 29, 2013 12:23 PM
To: dev@cloudstack.apache.org
Subject: Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Besides UI changes suggested below, I also think that we shouldn't allow adding Zone wide storage in XS/Vmware if the capability doesn't exist.
There should be an explicit error thrown rather than waiting for system vms not starting.

On 29/03/13 12:16 AM, "Edison Su" <Ed...@citrix.com> wrote:

>
>
>> -----Original Message-----
>> From: Srikanteswararao Talluri
>>[mailto:srikanteswararao.talluri@citrix.com]
>> Sent: Thursday, March 28, 2013 5:02 AM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [master branch issue ]Problem with SystemVMs and Primary  
>>Storage in latest Master
>> 
>> 
>> 
>> > -----Original Message-----
>> > From: Chip Childers [mailto:chip.childers@sungard.com]
>> > Sent: Thursday, March 28, 2013 5:24 PM
>> > To: <de...@cloudstack.apache.org>
>> > Subject: Re: [master branch issue ]Problem with SystemVMs and 
>> > Primary Storage in latest Master
>> >
>> > On Mar 28, 2013, at 6:00 AM, Pranav Saxena 
>> > <pr...@citrix.com>
>> > wrote:
>> >
>> > > Ok , Suresh was right in pointing that out that we need to select 
>> > > "cluster " right
>> > now as the scope for primary storage with xenserver as the 
>> > hypervisor
>>.
>> >
>> > Sounds like we should actually have the default behavior match the 
>> > previous versions, and make cluster the default.
>> 
>> +1
>
>+1, The UI should use "cluster" wide storage as the default, that's the
>default behavior of createstoragepool API: if no scope is specified, it 
>implies "cluster" scope.


+1 to this.

>
>> 
>> >
>> >
>> > > With "Zone-wide" , we see this error . Perhaps I can introduce a 
>> > > check in the UI
>> > for the scope depending upon the hypervisor type (xen/KVM) since we 
>> > don't support zone-wide primary storage for Xenserver as of now.
>> >
>> > +1
>> >
>> > >
>> > > My set up is working fine now.
>> > >
>> > > Thanks,
>> > > Pranav
>> > >
>> > > -----Original Message-----
>> > > From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
>> > > Sent: Thursday, March 28, 2013 3:17 PM
>> > > To: dev@cloudstack.apache.org
>> > > Cc: Abhinandan Prateek
>> > > Subject: Re: [master branch issue ]Problem with SystemVMs and 
>> > > Primary Storage in latest Master
>> > >
>> > > Yes, I saw the same issue yesterday evening.
>> > >
>> > > On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com>
>> wrote:
>> > >
>> > >> Hi ,
>> > >>
>> > >> There seems to be a problem with the latest master branch code 
>> > >> though I did not happen to see any exception being thrown.
>> > >>
>> > >> The system VM's don't come up and the primary storage added as 
>> > >> part of the zone creation wizard does not show up on the host in 
>> > >> the XenCenter UI .
>> > >>
>> > >> Anyone else happened to see this issue ?
>> > >>
>> > >> Thanks,
>> > >> Pranav
>> > >
>> > >


RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Pranav Saxena <pr...@citrix.com>.
+1 . Always a better thing to have exception handling at the API later but this would be applicable only if somebody uses the API's to create the zones , assuming we have those UI checks in place.


-----Original Message-----
From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com] 
Sent: Friday, March 29, 2013 12:23 PM
To: dev@cloudstack.apache.org
Subject: Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Besides UI changes suggested below, I also think that we shouldn't allow adding Zone wide storage in XS/Vmware if the capability doesn't exist.
There should be an explicit error thrown rather than waiting for system vms not starting.

On 29/03/13 12:16 AM, "Edison Su" <Ed...@citrix.com> wrote:

>
>
>> -----Original Message-----
>> From: Srikanteswararao Talluri
>>[mailto:srikanteswararao.talluri@citrix.com]
>> Sent: Thursday, March 28, 2013 5:02 AM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [master branch issue ]Problem with SystemVMs and Primary  
>>Storage in latest Master
>> 
>> 
>> 
>> > -----Original Message-----
>> > From: Chip Childers [mailto:chip.childers@sungard.com]
>> > Sent: Thursday, March 28, 2013 5:24 PM
>> > To: <de...@cloudstack.apache.org>
>> > Subject: Re: [master branch issue ]Problem with SystemVMs and 
>> > Primary Storage in latest Master
>> >
>> > On Mar 28, 2013, at 6:00 AM, Pranav Saxena 
>> > <pr...@citrix.com>
>> > wrote:
>> >
>> > > Ok , Suresh was right in pointing that out that we need to select 
>> > > "cluster " right
>> > now as the scope for primary storage with xenserver as the 
>> > hypervisor
>>.
>> >
>> > Sounds like we should actually have the default behavior match the 
>> > previous versions, and make cluster the default.
>> 
>> +1
>
>+1, The UI should use "cluster" wide storage as the default, that's the
>default behavior of createstoragepool API: if no scope is specified, it 
>implies "cluster" scope.


+1 to this.

>
>> 
>> >
>> >
>> > > With "Zone-wide" , we see this error . Perhaps I can introduce a 
>> > > check in the UI
>> > for the scope depending upon the hypervisor type (xen/KVM) since we 
>> > don't support zone-wide primary storage for Xenserver as of now.
>> >
>> > +1
>> >
>> > >
>> > > My set up is working fine now.
>> > >
>> > > Thanks,
>> > > Pranav
>> > >
>> > > -----Original Message-----
>> > > From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
>> > > Sent: Thursday, March 28, 2013 3:17 PM
>> > > To: dev@cloudstack.apache.org
>> > > Cc: Abhinandan Prateek
>> > > Subject: Re: [master branch issue ]Problem with SystemVMs and 
>> > > Primary Storage in latest Master
>> > >
>> > > Yes, I saw the same issue yesterday evening.
>> > >
>> > > On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com>
>> wrote:
>> > >
>> > >> Hi ,
>> > >>
>> > >> There seems to be a problem with the latest master branch code 
>> > >> though I did not happen to see any exception being thrown.
>> > >>
>> > >> The system VM's don't come up and the primary storage added as 
>> > >> part of the zone creation wizard does not show up on the host in 
>> > >> the XenCenter UI .
>> > >>
>> > >> Anyone else happened to see this issue ?
>> > >>
>> > >> Thanks,
>> > >> Pranav
>> > >
>> > >


Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Nitin Mehta <Ni...@citrix.com>.
Besides UI changes suggested below, I also think that we shouldn't allow
adding Zone wide storage in XS/Vmware if the capability doesn't exist.
There should be an explicit error thrown rather than waiting for system
vms not starting.

On 29/03/13 12:16 AM, "Edison Su" <Ed...@citrix.com> wrote:

>
>
>> -----Original Message-----
>> From: Srikanteswararao Talluri
>>[mailto:srikanteswararao.talluri@citrix.com]
>> Sent: Thursday, March 28, 2013 5:02 AM
>> To: dev@cloudstack.apache.org
>> Subject: RE: [master branch issue ]Problem with SystemVMs and Primary
>> Storage in latest Master
>> 
>> 
>> 
>> > -----Original Message-----
>> > From: Chip Childers [mailto:chip.childers@sungard.com]
>> > Sent: Thursday, March 28, 2013 5:24 PM
>> > To: <de...@cloudstack.apache.org>
>> > Subject: Re: [master branch issue ]Problem with SystemVMs and Primary
>> > Storage in latest Master
>> >
>> > On Mar 28, 2013, at 6:00 AM, Pranav Saxena <pr...@citrix.com>
>> > wrote:
>> >
>> > > Ok , Suresh was right in pointing that out that we need to select
>> > > "cluster " right
>> > now as the scope for primary storage with xenserver as the hypervisor
>>.
>> >
>> > Sounds like we should actually have the default behavior match the
>> > previous versions, and make cluster the default.
>> 
>> +1
>
>+1, The UI should use "cluster" wide storage as the default, that's the
>default behavior of createstoragepool API: if no scope is specified, it
>implies "cluster" scope.


+1 to this.

>
>> 
>> >
>> >
>> > > With "Zone-wide" , we see this error . Perhaps I can introduce a
>> > > check in the UI
>> > for the scope depending upon the hypervisor type (xen/KVM) since we
>> > don't support zone-wide primary storage for Xenserver as of now.
>> >
>> > +1
>> >
>> > >
>> > > My set up is working fine now.
>> > >
>> > > Thanks,
>> > > Pranav
>> > >
>> > > -----Original Message-----
>> > > From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
>> > > Sent: Thursday, March 28, 2013 3:17 PM
>> > > To: dev@cloudstack.apache.org
>> > > Cc: Abhinandan Prateek
>> > > Subject: Re: [master branch issue ]Problem with SystemVMs and
>> > > Primary Storage in latest Master
>> > >
>> > > Yes, I saw the same issue yesterday evening.
>> > >
>> > > On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com>
>> wrote:
>> > >
>> > >> Hi ,
>> > >>
>> > >> There seems to be a problem with the latest master branch code
>> > >> though I did not happen to see any exception being thrown.
>> > >>
>> > >> The system VM's don't come up and the primary storage added as part
>> > >> of the zone creation wizard does not show up on the host in the
>> > >> XenCenter UI .
>> > >>
>> > >> Anyone else happened to see this issue ?
>> > >>
>> > >> Thanks,
>> > >> Pranav
>> > >
>> > >


RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Edison Su <Ed...@citrix.com>.

> -----Original Message-----
> From: Srikanteswararao Talluri [mailto:srikanteswararao.talluri@citrix.com]
> Sent: Thursday, March 28, 2013 5:02 AM
> To: dev@cloudstack.apache.org
> Subject: RE: [master branch issue ]Problem with SystemVMs and Primary
> Storage in latest Master
> 
> 
> 
> > -----Original Message-----
> > From: Chip Childers [mailto:chip.childers@sungard.com]
> > Sent: Thursday, March 28, 2013 5:24 PM
> > To: <de...@cloudstack.apache.org>
> > Subject: Re: [master branch issue ]Problem with SystemVMs and Primary
> > Storage in latest Master
> >
> > On Mar 28, 2013, at 6:00 AM, Pranav Saxena <pr...@citrix.com>
> > wrote:
> >
> > > Ok , Suresh was right in pointing that out that we need to select
> > > "cluster " right
> > now as the scope for primary storage with xenserver as the hypervisor .
> >
> > Sounds like we should actually have the default behavior match the
> > previous versions, and make cluster the default.
> 
> +1

+1, The UI should use "cluster" wide storage as the default, that's the default behavior of createstoragepool API: if no scope is specified, it implies "cluster" scope.

> 
> >
> >
> > > With "Zone-wide" , we see this error . Perhaps I can introduce a
> > > check in the UI
> > for the scope depending upon the hypervisor type (xen/KVM) since we
> > don't support zone-wide primary storage for Xenserver as of now.
> >
> > +1
> >
> > >
> > > My set up is working fine now.
> > >
> > > Thanks,
> > > Pranav
> > >
> > > -----Original Message-----
> > > From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
> > > Sent: Thursday, March 28, 2013 3:17 PM
> > > To: dev@cloudstack.apache.org
> > > Cc: Abhinandan Prateek
> > > Subject: Re: [master branch issue ]Problem with SystemVMs and
> > > Primary Storage in latest Master
> > >
> > > Yes, I saw the same issue yesterday evening.
> > >
> > > On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com>
> wrote:
> > >
> > >> Hi ,
> > >>
> > >> There seems to be a problem with the latest master branch code
> > >> though I did not happen to see any exception being thrown.
> > >>
> > >> The system VM's don't come up and the primary storage added as part
> > >> of the zone creation wizard does not show up on the host in the
> > >> XenCenter UI .
> > >>
> > >> Anyone else happened to see this issue ?
> > >>
> > >> Thanks,
> > >> Pranav
> > >
> > >

RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Srikanteswararao Talluri <sr...@citrix.com>.

> -----Original Message-----
> From: Chip Childers [mailto:chip.childers@sungard.com]
> Sent: Thursday, March 28, 2013 5:24 PM
> To: <de...@cloudstack.apache.org>
> Subject: Re: [master branch issue ]Problem with SystemVMs and Primary Storage
> in latest Master
> 
> On Mar 28, 2013, at 6:00 AM, Pranav Saxena <pr...@citrix.com>
> wrote:
> 
> > Ok , Suresh was right in pointing that out that we need to select "cluster " right
> now as the scope for primary storage with xenserver as the hypervisor .
> 
> Sounds like we should actually have the default behavior match the previous
> versions, and make cluster the default.

+1

> 
> 
> > With "Zone-wide" , we see this error . Perhaps I can introduce a check in the UI
> for the scope depending upon the hypervisor type (xen/KVM) since we don't
> support zone-wide primary storage for Xenserver as of now.
> 
> +1
> 
> >
> > My set up is working fine now.
> >
> > Thanks,
> > Pranav
> >
> > -----Original Message-----
> > From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
> > Sent: Thursday, March 28, 2013 3:17 PM
> > To: dev@cloudstack.apache.org
> > Cc: Abhinandan Prateek
> > Subject: Re: [master branch issue ]Problem with SystemVMs and Primary
> > Storage in latest Master
> >
> > Yes, I saw the same issue yesterday evening.
> >
> > On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com> wrote:
> >
> >> Hi ,
> >>
> >> There seems to be a problem with the latest master branch code though
> >> I did not happen to see any exception being thrown.
> >>
> >> The system VM's don't come up and the primary storage added as part
> >> of the zone creation wizard does not show up on the host in the
> >> XenCenter UI .
> >>
> >> Anyone else happened to see this issue ?
> >>
> >> Thanks,
> >> Pranav
> >
> >

Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Chip Childers <ch...@sungard.com>.
On Mar 28, 2013, at 6:00 AM, Pranav Saxena <pr...@citrix.com> wrote:

> Ok , Suresh was right in pointing that out that we need to select "cluster " right now as the scope for primary storage with xenserver as the hypervisor .

Sounds like we should actually have the default behavior match the
previous versions, and make cluster the default.


> With "Zone-wide" , we see this error . Perhaps I can introduce a check in the UI for the scope depending upon the hypervisor type (xen/KVM) since we don't support zone-wide primary storage for Xenserver as of now.

+1

>
> My set up is working fine now.
>
> Thanks,
> Pranav
>
> -----Original Message-----
> From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
> Sent: Thursday, March 28, 2013 3:17 PM
> To: dev@cloudstack.apache.org
> Cc: Abhinandan Prateek
> Subject: Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master
>
> Yes, I saw the same issue yesterday evening.
>
> On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com> wrote:
>
>> Hi ,
>>
>> There seems to be a problem with the latest master branch code though I
>> did not happen to see any exception being thrown.
>>
>> The system VM's don't come up and the primary storage added as part of
>> the zone creation wizard does not show up on the host in the XenCenter
>> UI .
>>
>> Anyone else happened to see this issue ?
>>
>> Thanks,
>> Pranav
>
>

RE: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Pranav Saxena <pr...@citrix.com>.
Ok , Suresh was right in pointing that out that we need to select "cluster " right now as the scope for primary storage with xenserver as the hypervisor . With "Zone-wide" , we see this error . Perhaps I can introduce a check in the UI for the scope depending upon the hypervisor type (xen/KVM) since we don't support zone-wide primary storage for Xenserver as of now.

My set up is working fine now.

Thanks,
Pranav

-----Original Message-----
From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com] 
Sent: Thursday, March 28, 2013 3:17 PM
To: dev@cloudstack.apache.org
Cc: Abhinandan Prateek
Subject: Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Yes, I saw the same issue yesterday evening.

On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com> wrote:

>Hi ,
>
>There seems to be a problem with the latest master branch code though I 
>did not happen to see any exception being thrown.
>
>The system VM's don't come up and the primary storage added as part of 
>the zone creation wizard does not show up on the host in the XenCenter 
>UI .
>
>Anyone else happened to see this issue ?
>
>Thanks,
>Pranav


Re: [master branch issue ]Problem with SystemVMs and Primary Storage in latest Master

Posted by Nitin Mehta <Ni...@citrix.com>.
Yes, I saw the same issue yesterday evening.

On 28/03/13 2:29 PM, "Pranav Saxena" <pr...@citrix.com> wrote:

>Hi ,
>
>There seems to be a problem with the latest master branch code though I
>did not happen to see any exception being thrown.
>
>The system VM's don't come up and the primary storage added as part of
>the zone creation wizard does not show up on the host in the XenCenter UI
>.
>
>Anyone else happened to see this issue ?
>
>Thanks,
>Pranav