cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Kimlaychuk <Vadim.Kimlayc...@Elion.ee>
Subject RE: root resize support in the UI
Date Mon, 01 Dec 2014 07:48:10 GMT
It is interesting how, in genereal, this works for XenServer (for exmaple)?  I do understand,
that entire logic of CS is built around hypervisor capabilities. It does not do more than
each specific hypervisor can offer. KVM do have "virt-resize" tool that can resize Linux partitions,
but it will probably not work for Windows hosts anyway.  So, to be honest, this UI feature
should only be visible for Linux guests. 

I don't know whether different approach to build and resize root partitions for all hypervisors
exist?  If it is not possible to do on hypervisor level, how does CS do this?

Vadim.

-----Original Message-----
From: Nux! [mailto:nux@li.nux.ro] 
Sent: Sunday, November 30, 2014 2:03 PM
To: dev@cloudstack.apache.org
Subject: Re: root resize support in the UI

It's very possible Citrix customised that installation, what they do for their own customers
is their own business. It was certainly possible to do it with 4.3, Marcus wrote some patches
at some point to enable this functionality (KVM only, again).

The UI has always been considered more of a proof of concept, though it's a very much needed
part of ACS, as such everyone is encouraged to use the API and build their own interfaces.
I missed some important options and customers because I thought 

GreenQloud, Exoscale etc will give you some credit as a new customer so you can check out
their UI. They don't have as many options as the ACS one, but I found this to be a feature,
customers shouldn't be exposed to too many options, they'll just get their noses caught in
them. :)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Vadim Kimlaychuk" <Vadim.Kimlaychuk@Elion.ee>
> To: dev@cloudstack.apache.org
> Sent: Sunday, 30 November, 2014 10:53:56
> Subject: RE: root resize support in the UI

> Lucian,
> 
>	I have seen CS 4.3 installation made by Citrix at our parnter and they have the
>	same feature enabled for XenServer and VmWare.  I wonder how does it work ?
>	They have their own team of developers to make some extra features they need
>	(like plugin for statistics and billing), but did they implement particularly
>	this feature or Citrix did it  -  I don't know. It seems this part of code is
>	not contributed back to community anyway. It would be nice to have it,
>	especially together with "slieders" which are quite popular right now as I
>	understood.
> 
> Vadim.
> 
> -----Original Message-----
> From: Nux! [mailto:nux@li.nux.ro]
> Sent: Saturday, November 29, 2014 9:48 PM
> To: dev@cloudstack.apache.org
> Subject: Re: root resize support in the UI
> 
> Vadim,
> 
> 1. Only KVM for now, due to lack of interest I guess 2. The root disk 
> value needs to be equal or larger than that of the template, otherwise 
> you end up with a broken disk, obviously. So go for minimal (say under 
> 10G) templates that can resize themselves, such as the ones at 
> http://dl.openvm.eu ;) 3. The backend API has been supporting this 
> since 4.4.0, it's the UI that is lagging behind More details here 
> https://issues.apache.org/jira/browse/CLOUDSTACK-6181
> 
> Lucian
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> ----- Original Message -----
>> From: "Vadim Kimlaychuk" <Vadim.Kimlaychuk@Elion.ee>
>> To: dev@cloudstack.apache.org
>> Sent: Saturday, 29 November, 2014 15:17:16
>> Subject: RE: root resize support in the UI
> 
>> Nux,
>> 
>>         Can you give more information about this functionality? I am particularly
>>         interesting to show to the user this field, but don't know how it will work.
>>         Particularly is interesting:
>> 1. Does it work for all hypervisors or just KVM?
>> 2. Does it depend on the template root partition (i.e. I have 10G 
>> root at template and put 5G to desired. Will it work?) 3. This is 
>> just UI patch, shouldn't it be activated at the backend as well ?
>> 
>> Thanks,
>> Vadim
>> ________________________________________
>> From: Nux! [nux@li.nux.ro]
>> Sent: Saturday, November 29, 2014 12:37
>> To: dev@cloudstack.apache.org
>> Cc: Brian Federle
>> Subject: Re: root resize support in the UI
>> 
>> BTW, the code needed to enable custom root size during instance 
>> creation is very small, functionality is already there.
>> This patch is needed
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=8
>> f ec09ba481fbd3b8c2a9e4d31ef06f113b037cb
>> , I tested it and it works fine.
>> 
>> And this is the result: https://i.imgur.com/xrs0mu4.png
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> ----- Original Message -----
>>> From: "Nux!" <nux@li.nux.ro>
>>> To: dev@cloudstack.apache.org
>>> Cc: "Brian Federle" <Brian.Federle@citrix.com>
>>> Sent: Saturday, 29 November, 2014 00:57:37
>>> Subject: Re: root resize support in the UI
>> 
>>> Yes, you have a point.
>>>
>>> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7992
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> ----- Original Message -----
>>>> From: "Mike Tutkowski" <mike.tutkowski@solidfire.com>
>>>> To: dev@cloudstack.apache.org
>>>> Cc: "Brian Federle" <Brian.Federle@citrix.com>
>>>> Sent: Saturday, 29 November, 2014 00:48:03
>>>> Subject: Re: root resize support in the UI
>>>
>>>> Well...I don't know...we kind of have features all over the place 
>>>> that work for one hypervisor and not for another.
>>>>
>>>> If we're cool with that approach, this would be just one more area 
>>>> where we have this kind of hypervisor-specific behavior (perhaps 
>>>> all hypervisors support such an action in the future).
>>>>
>>>> On Fri, Nov 28, 2014 at 5:41 PM, Nux! <nux@li.nux.ro> wrote:
>>>>
>>>>> Was thinking to just patch my local installation. Devs might not 
>>>>> go too crazy over this idea since root resize is not supported 
>>>>> across all hypervisors (KVM only atm).
>>>>>
>>>>> But if you think this has a chance to go official, I will open an issue.
>>>>>
>>>>> Thanks,
>>>>> Lucian
>>>>>
>>>>> --
>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>
>>>>> Nux!
>>>>> www.nux.ro
>>>>>
>>>>> ----- Original Message -----
>>>>> > From: "Mike Tutkowski" <mike.tutkowski@solidfire.com>
>>>>> > To: dev@cloudstack.apache.org, "Brian Federle"
>>>>> > <Brian.Federle@citrix.com
>>>>> >
>>>>> > Sent: Saturday, 29 November, 2014 00:27:14
>>>>> > Subject: Re: root resize support in the UI
>>>>>
>>>>> > Have you logged a JIRA ticket for this?
>>>>> >
>>>>> > Maybe Brian or one of the GUI people could pick up on it.
>>>>> >
>>>>> > On Fri, Nov 28, 2014 at 4:32 PM, Nux! <nux@li.nux.ro> wrote:
>>>>> >
>>>>> >> Yeah, I was thinking of that, if it works for DATA, it should

>>>>> >> work for ROOT. But I am not a dev.
>>>>> >>
>>>>> >> Thoughts?
>>>>> >>
>>>>> >> --
>>>>> >> Sent from the Delta quadrant using Borg technology!
>>>>> >>
>>>>> >> Nux!
>>>>> >> www.nux.ro
>>>>> >>
>>>>> >> ----- Original Message -----
>>>>> >> > From: "Mike Tutkowski" <mike.tutkowski@solidfire.com>
>>>>> >> > To: dev@cloudstack.apache.org
>>>>> >> > Sent: Friday, 28 November, 2014 19:57:27
>>>>> >> > Subject: Re: root resize support in the UI
>>>>> >>
>>>>> >> > For root disks, is it possible to just follow the existing

>>>>> >> > resize
>>>>> pattern
>>>>> >> > we have established in the UI for data disks?
>>>>> >> >
>>>>> >> > On Friday, November 28, 2014, Nux! <nux@li.nux.ro>
wrote:
>>>>> >> >
>>>>> >> >> Hello,
>>>>> >> >>
>>>>> >> >> Wonder if someone can help me with the $subject.
>>>>> >> >>
>>>>> >> >> I remember at some point (4.2?) a new feature showed
up 
>>>>> >> >> accidentally
>>>>> in
>>>>> >> >> the UI instance creation dialogues, it was concerning
"root 
>>>>> >> >> size",
>>>>> had a
>>>>> >> >> small box where the number in GB would be introduced.
>>>>> >> >> I'd like to take advantage of that now that this feature

>>>>> >> >> actually
>>>>> works,
>>>>> >> >> even if only in KVM. I'd love it if someone could point
me 
>>>>> >> >> to that
>>>>> >> piece of
>>>>> >> >> code (prolly just javascript).
>>>>> >> >>
>>>>> >> >> In addition to that, now that root resize works, can
any one 
>>>>> >> >> suggest
>>>>> >> how I
>>>>> >> >> might put a "resize" button in the Volumes section
for the 
>>>>> >> >> ROOT
>>>>> disks?
>>>>> >> >>
>>>>> >> >> Lucian
>>>>> >> >>
>>>>> >> >> --
>>>>> >> >> Sent from the Delta quadrant using Borg technology!
>>>>> >> >>
>>>>> >> >> Nux!
>>>>> >> >> www.nux.ro
>>>>> >> >>
>>>>> >> >
>>>>> >> >
>>>>> >> > --
>>>>> >> > *Mike Tutkowski*
>>>>> >> > *Senior CloudStack Developer, SolidFire Inc.*
>>>>> >> > e: mike.tutkowski@solidfire.com
>>>>> >> > o: 303.746.7302
>>>>> >> > Advancing the way the world uses the cloud
>>>>> >> > <http://solidfire.com/solution/overview/?video=play>*™*
>>>>> >>
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > *Mike Tutkowski*
>>>>> > *Senior CloudStack Developer, SolidFire Inc.*
>>>>> > e: mike.tutkowski@solidfire.com
>>>>> > o: 303.746.7302
>>>>> > Advancing the way the world uses the cloud
>>>>> > <http://solidfire.com/solution/overview/?video=play>*™*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Mike Tutkowski*
>>>> *Senior CloudStack Developer, SolidFire Inc.*
>>>> e: mike.tutkowski@solidfire.com
>>>> o: 303.746.7302
>>>> Advancing the way the world uses the cloud
> > > > <http://solidfire.com/solution/overview/?video=play>*™*
Mime
View raw message