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.kimlayc...@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! [n...@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=8fec09ba481fbd3b8c2a9e4d31ef06f113b037cb > , 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!" <n...@li.nux.ro> >> To: dev@cloudstack.apache.org >> Cc: "Brian Federle" <brian.fede...@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.tutkow...@solidfire.com> >>> To: dev@cloudstack.apache.org >>> Cc: "Brian Federle" <brian.fede...@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! <n...@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.tutkow...@solidfire.com> >>>> > To: dev@cloudstack.apache.org, "Brian Federle" <brian.fede...@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! <n...@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.tutkow...@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! <n...@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.tutkow...@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.tutkow...@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.tutkow...@solidfire.com >>> o: 303.746.7302 >>> Advancing the way the world uses the cloud > > > <http://solidfire.com/solution/overview/?video=play>*™*