Replace Basic Zone creation in UI by 'Easy Mode' (Advanced Zone)

2018-07-12 Thread Wido den Hollander
Hi,

I've brought this up before and even opened a PR [0] to disable Basic
Zone creation, but after some discussion and good feedback I think we
can do it differently.

In the UI we now have a wizard popping up when starting for the first
time where you can then create a new zone.

I think we can remove the Basic Zone here as it is right now and add a
'Easy Mode' where a Advanced Zone is created with vlan://untagged as
isolation with Security Grouping enabled just as it would be with a
Basic Zone.

Now, I'm not a UI nor JavaScript expert at all, so I wouldn't know how
to fix this, but is there somebody who wants to jump in and help with this?

Wido

[0]: https://github.com/apache/cloudstack/pull/2720


Re: [Proposal] new API for recover routers

2018-07-12 Thread Dag Sonstebo
Hi René,

I’ve seen both things happen – i.e. on rollback to old version (and with new 
VRs deleted) CloudStack management automatically started up new VRs, but also 
in other cases nothing happened and I had to do manual restarts.

So if I understand you correctly you would update 
http://cloudstack.apache.org/api/apidocs-4.9/apis/upgradeRouterTemplate.html to 
be more generic, i.e. do upgrade AND downgrade? I guess this could work.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 11/07/2018, 18:01, "Rene Moser"  wrote:

Hi Dag

On 07/11/2018 12:08 PM, Dag Sonstebo wrote:
> Hi Rene,
> 
> So if you have upgraded 4.5 to 4.11 (or any version upgrade where new 
system VM templates are in play) then your 4.5 VRs are by definition destroyed 
and you are running with 4.11 VRs. As a result there is nothing to recover – 
the rollback mechanism in this case is to roll back DB, destroy all 4.11 VRs 
(and anything else unknown to the original DB) – then start up the 4.5 
management servers. At this point CloudStack management will either 
automatically build “new” 4.5 VRs – or worst case you do a network restart 
which recreates the VR.

Yes we know the procedure of the downgrade. The nice thing of the
upgrade is that the VR names stay as is and we thought it would be nice
if this would also be possible while "downgrading" or more precisely,
state="your VR are not in a version the running ACS supports --> recover
them"

The thing is with "destroyed VR" hey are not coming back automatically,
do they? They are only be recreated on a e.g. network restart or an api
call related to a VR (user VM stop/start, etc.) right?

Regards
René




dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: Update default template from CentOS 5.5 to CentOS 7

2018-07-12 Thread Daan Hoogland
sorry, if I wasn't clear Dag. I meant to say let's add macchinina. My
preference for a heavy weight would be fedora btw, however macchinina suits
my needs in many cases. It is very small and is not hurting anyone if we
include it.

On Wed, Jul 11, 2018 at 8:14 AM, Dag Sonstebo 
wrote:

> +1 for updating to CentOS7
> -1 for Machinina – they are great for quickly spinning up a basic VM, but
> personally I find them too limited when I want to just get a VM up and
> quickly install some tools for a demo or test.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 10/07/2018, 21:08, "Daan Hoogland"  wrote:
>
> how about the macchinina images as build in? At least for development
> those
> are very convenient.
>
> On Tue, Jul 10, 2018 at 9:59 PM, Gabriel Beims Bräscher <
> gabrasc...@gmail.com> wrote:
>
> > You are right Rafael, I was not clear with the "*(KVM)*". The idea
> would be
> > to update others as well ;)
> >
> > 2018-07-10 16:34 GMT-03:00 Rafael Weingärtner <
> rafaelweingart...@gmail.com
> > >:
> >
> > > That looks a good idea, to at least, update the current default
> template
> > > that we ship in. However, we should update not only the KVM
> template, but
> > > also XenServer and VMware, right?
> > > Can we host image for these operating systems? The CentOS 5.5
> images are
> > > being hosted at http://download.cloudstack.org.
> > >
> > > On Tue, Jul 10, 2018 at 4:22 PM, Gabriel Beims Bräscher <
> > > gabrasc...@gmail.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > I would like to propose updating our current default VM template
> > "CentOS
> > > > 5.5(64-bit) no GUI (KVM)" to a newer version (e.g. CentOS 7). I
> also
> > > think
> > > > that we could benefit from a wider set of templates offering also
> > Debian,
> > > > Ubuntu, and Fedora.
> > > >
> > > > Cheers,
> > > > Gabriel.
> > > >
> > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> >
>
>
>
> --
> Daan
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Daan


Re: Update default template from CentOS 5.5 to CentOS 7

2018-07-12 Thread Dag Sonstebo
Hi Daan,

Appreciate this – but we have to take the use case and audience into account. 
If we are to include templates like we have done in the past then the purpose 
for those is to give end users a starting point for free and without having to 
spin up their own templates. We can and should have a discussion around this – 
but as a starting point I would say they need to be:

- A server OS 
- License free
- Ready to host light workloads with a few install steps – MySQL, Nginx, etc.

So – in my opinion this points to either a minimal CentOS or Ubuntu server 
template – and my vote would be for CentOS7. Machninia is great by all means – 
and it helps us techies and developers out - but it’s built to be a lightweight 
test bench and doesn’t really give the end user value.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/07/2018, 11:12, "Daan Hoogland"  wrote:

sorry, if I wasn't clear Dag. I meant to say let's add macchinina. My
preference for a heavy weight would be fedora btw, however macchinina suits
my needs in many cases. It is very small and is not hurting anyone if we
include it.

On Wed, Jul 11, 2018 at 8:14 AM, Dag Sonstebo 
wrote:

> +1 for updating to CentOS7
> -1 for Machinina – they are great for quickly spinning up a basic VM, but
> personally I find them too limited when I want to just get a VM up and
> quickly install some tools for a demo or test.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 10/07/2018, 21:08, "Daan Hoogland"  wrote:
>
> how about the macchinina images as build in? At least for development
> those
> are very convenient.
>
> On Tue, Jul 10, 2018 at 9:59 PM, Gabriel Beims Bräscher <
> gabrasc...@gmail.com> wrote:
>
> > You are right Rafael, I was not clear with the "*(KVM)*". The idea
> would be
> > to update others as well ;)
> >
> > 2018-07-10 16:34 GMT-03:00 Rafael Weingärtner <
> rafaelweingart...@gmail.com
> > >:
> >
> > > That looks a good idea, to at least, update the current default
> template
> > > that we ship in. However, we should update not only the KVM
> template, but
> > > also XenServer and VMware, right?
> > > Can we host image for these operating systems? The CentOS 5.5
> images are
> > > being hosted at http://download.cloudstack.org.
> > >
> > > On Tue, Jul 10, 2018 at 4:22 PM, Gabriel Beims Bräscher <
> > > gabrasc...@gmail.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > I would like to propose updating our current default VM template
> > "CentOS
> > > > 5.5(64-bit) no GUI (KVM)" to a newer version (e.g. CentOS 7). I
> also
> > > think
> > > > that we could benefit from a wider set of templates offering 
also
> > Debian,
> > > > Ubuntu, and Fedora.
> > > >
> > > > Cheers,
> > > > Gabriel.
> > > >
> > >
> > >
> > >
> > > --
> > > Rafael Weingärtner
> > >
> >
>
>
>
> --
> Daan
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Daan



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



Re: Update default template from CentOS 5.5 to CentOS 7

2018-07-12 Thread Andrija Panic
Not a dev here :) but from my point of view as a user - I would agree with
what Dag said - it is used mainly to validate ACS installation, otherwise
it is (will be) mostly useless for production - and that is anyway not the
goal of this template. - so again just to quickly spin a VM as proof of
successful install (or quickly spin apache/nginx for a demo of some network
function like port forwarding etc)

I would just advise on making sure that OS type (if you choose centos7) is
not Centos 7.0 since (at least in acs 4.8) this means IDE and intel NIC
(I'm on KVM).

Same was true with centos 6.0 OS type - all IDE/intel nic, while centos
6.1-6.5 OS types were properly VirtIO "hardware". I just assume in 4.11
there is also new centos 7.1-7.x as OS type with also VirtIO "hardware".

Hope that makes sense.

Cheers





On Thu, Jul 12, 2018, 14:14 Dag Sonstebo  wrote:

> Hi Daan,
>
> Appreciate this – but we have to take the use case and audience into
> account. If we are to include templates like we have done in the past then
> the purpose for those is to give end users a starting point for free and
> without having to spin up their own templates. We can and should have a
> discussion around this – but as a starting point I would say they need to
> be:
>
> - A server OS
> - License free
> - Ready to host light workloads with a few install steps – MySQL, Nginx,
> etc.
>
> So – in my opinion this points to either a minimal CentOS or Ubuntu server
> template – and my vote would be for CentOS7. Machninia is great by all
> means – and it helps us techies and developers out - but it’s built to be a
> lightweight test bench and doesn’t really give the end user value.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 12/07/2018, 11:12, "Daan Hoogland"  wrote:
>
> sorry, if I wasn't clear Dag. I meant to say let's add macchinina. My
> preference for a heavy weight would be fedora btw, however macchinina
> suits
> my needs in many cases. It is very small and is not hurting anyone if
> we
> include it.
>
> On Wed, Jul 11, 2018 at 8:14 AM, Dag Sonstebo <
> dag.sonst...@shapeblue.com>
> wrote:
>
> > +1 for updating to CentOS7
> > -1 for Machinina – they are great for quickly spinning up a basic
> VM, but
> > personally I find them too limited when I want to just get a VM up
> and
> > quickly install some tools for a demo or test.
> >
> > Regards,
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> > On 10/07/2018, 21:08, "Daan Hoogland" 
> wrote:
> >
> > how about the macchinina images as build in? At least for
> development
> > those
> > are very convenient.
> >
> > On Tue, Jul 10, 2018 at 9:59 PM, Gabriel Beims Bräscher <
> > gabrasc...@gmail.com> wrote:
> >
> > > You are right Rafael, I was not clear with the "*(KVM)*". The
> idea
> > would be
> > > to update others as well ;)
> > >
> > > 2018-07-10 16:34 GMT-03:00 Rafael Weingärtner <
> > rafaelweingart...@gmail.com
> > > >:
> > >
> > > > That looks a good idea, to at least, update the current
> default
> > template
> > > > that we ship in. However, we should update not only the KVM
> > template, but
> > > > also XenServer and VMware, right?
> > > > Can we host image for these operating systems? The CentOS 5.5
> > images are
> > > > being hosted at http://download.cloudstack.org.
> > > >
> > > > On Tue, Jul 10, 2018 at 4:22 PM, Gabriel Beims Bräscher <
> > > > gabrasc...@gmail.com> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I would like to propose updating our current default VM
> template
> > > "CentOS
> > > > > 5.5(64-bit) no GUI (KVM)" to a newer version (e.g. CentOS
> 7). I
> > also
> > > > think
> > > > > that we could benefit from a wider set of templates
> offering also
> > > Debian,
> > > > > Ubuntu, and Fedora.
> > > > >
> > > > > Cheers,
> > > > > Gabriel.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > >
> >
> >
> >
> > --
> > Daan
> >
> >
> >
> > dag.sonst...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
> >
>
>
> --
> Daan
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


RE: Update default template from CentOS 5.5 to CentOS 7

2018-07-12 Thread Paul Angus
Hi All,

I'd agree that we need something that people can really do stuff in.  I have 
been using the ubuntu cloud image lately (for testing config drive as it 
happens) because it has cloud init in it 😊 by default.  They are about 300MB to 
download.

https://cloud-images.ubuntu.com/xenial/current/



paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Andrija Panic  
Sent: 12 July 2018 13:42
To: dev 
Subject: Re: Update default template from CentOS 5.5 to CentOS 7

Not a dev here :) but from my point of view as a user - I would agree with what 
Dag said - it is used mainly to validate ACS installation, otherwise it is 
(will be) mostly useless for production - and that is anyway not the goal of 
this template. - so again just to quickly spin a VM as proof of successful 
install (or quickly spin apache/nginx for a demo of some network function like 
port forwarding etc)

I would just advise on making sure that OS type (if you choose centos7) is not 
Centos 7.0 since (at least in acs 4.8) this means IDE and intel NIC (I'm on 
KVM).

Same was true with centos 6.0 OS type - all IDE/intel nic, while centos
6.1-6.5 OS types were properly VirtIO "hardware". I just assume in 4.11 there 
is also new centos 7.1-7.x as OS type with also VirtIO "hardware".

Hope that makes sense.

Cheers





On Thu, Jul 12, 2018, 14:14 Dag Sonstebo  wrote:

> Hi Daan,
>
> Appreciate this – but we have to take the use case and audience into 
> account. If we are to include templates like we have done in the past 
> then the purpose for those is to give end users a starting point for 
> free and without having to spin up their own templates. We can and 
> should have a discussion around this – but as a starting point I would 
> say they need to
> be:
>
> - A server OS
> - License free
> - Ready to host light workloads with a few install steps – MySQL, 
> Nginx, etc.
>
> So – in my opinion this points to either a minimal CentOS or Ubuntu 
> server template – and my vote would be for CentOS7. Machninia is great 
> by all means – and it helps us techies and developers out - but it’s 
> built to be a lightweight test bench and doesn’t really give the end user 
> value.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 12/07/2018, 11:12, "Daan Hoogland"  wrote:
>
> sorry, if I wasn't clear Dag. I meant to say let's add macchinina. My
> preference for a heavy weight would be fedora btw, however 
> macchinina suits
> my needs in many cases. It is very small and is not hurting anyone 
> if we
> include it.
>
> On Wed, Jul 11, 2018 at 8:14 AM, Dag Sonstebo < 
> dag.sonst...@shapeblue.com>
> wrote:
>
> > +1 for updating to CentOS7
> > -1 for Machinina – they are great for quickly spinning up a 
> basic VM, but
> > personally I find them too limited when I want to just get a VM 
> up and
> > quickly install some tools for a demo or test.
> >
> > Regards,
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> > On 10/07/2018, 21:08, "Daan Hoogland" 
> wrote:
> >
> > how about the macchinina images as build in? At least for
> development
> > those
> > are very convenient.
> >
> > On Tue, Jul 10, 2018 at 9:59 PM, Gabriel Beims Bräscher <
> > gabrasc...@gmail.com> wrote:
> >
> > > You are right Rafael, I was not clear with the "*(KVM)*". The
> idea
> > would be
> > > to update others as well ;)
> > >
> > > 2018-07-10 16:34 GMT-03:00 Rafael Weingärtner <
> > rafaelweingart...@gmail.com
> > > >:
> > >
> > > > That looks a good idea, to at least, update the current
> default
> > template
> > > > that we ship in. However, we should update not only the KVM
> > template, but
> > > > also XenServer and VMware, right?
> > > > Can we host image for these operating systems? The CentOS 5.5
> > images are
> > > > being hosted at http://download.cloudstack.org.
> > > >
> > > > On Tue, Jul 10, 2018 at 4:22 PM, Gabriel Beims Bräscher <
> > > > gabrasc...@gmail.com> wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I would like to propose updating our current default VM
> template
> > > "CentOS
> > > > > 5.5(64-bit) no GUI (KVM)" to a newer version (e.g. CentOS
> 7). I
> > also
> > > > think
> > > > > that we could benefit from a wider set of templates
> offering also
> > > Debian,
> > > > > Ubuntu, and Fedora.
> > > > >
> > > > > Cheers,
> > > > > Gabriel.
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > >
> >
> >
> >
> > --
> > Daan
> >
> >
> >
> > dag.sonst...