Re: VPC with Private Gateway leads to MASTER/MASTER

2019-06-11 Thread Rakesh v
Hello Richard

We were also facing master/master issue a lot off late. For that we we 
increased advert_int from 1 to 3, auth_type from AH to pass in keepalived 
config. We are monitoring it to see if it happens again in our platform.

Sent from my iPhone

> On 11-Jun-2019, at 8:50 PM, Richard Lawley  wrote:
> 
> I've deployed a fairly simple VPC (one tier, one VM) with a private
> gateway, but keep getting both VRs in MASTER state.  Upon
> investigating, I can see that the reason is that keepalived is being
> configured to use the private gateway interface (eth2).  Since private
> gateway interface shares a virtual IP, both VRs send advertisements
> from the VIP and therefore both think they're Master.  The resolution
> is to make keepalived use an actual guest interface rather than a
> private gateway.
> 
> I'm quite happy digging into the VR code to sort this out, but since
> this is a problem on 4.11.2 and I would've thought this is a fairly
> common scenario, I thought I'd bring it up here in case someone had
> already seen it and it wasn't as obvious as I first thought!
> 
> From the VR logs it seems that it does initially get configured on
> eth3 and then again on eth2.  This happens any time update_config.py
> is called.
> 
> 2019-06-11 17:58:31,671  CsRedundant.py _redundant_on:99 Wait for
> devices to be configured so we can start keepalived
> 2019-06-11 17:58:31,672  CsHelper.py execute:193 Executing: ip link
> show eth3 | grep 'state UP'
> 2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:105 Device eth3
> is present, let's start keepalive now.
> 2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:99 Wait for
> devices to be configured so we can start keepalived
> 2019-06-11 17:58:31,675  CsHelper.py execute:193 Executing: ip link
> show eth2 | grep 'state UP'
> 2019-06-11 17:58:31,678  CsRedundant.py _redundant_on:105 Device eth2
> is present, let's start keepalive now.
> 
> 
> Regards,
> 
> Richard


Cloudstack orchestration feature

2019-06-11 Thread ghadge . dhairya23
Hi all,
I have been exploring cloudstack cloud platform while comparing it with 
openstack cloud platform.
I am a little skeptical about which solution to use as our cloud platform 
between cloudstack and openstack.
Following are the difficulties I am facing which comparing these two solutions.

1.) Openstack has HEAT as the component for orchestration of application VM's 
deployed and the cloud setup services as well. Is there any orchestration 
feature in cloudstack which provides autoscaling feature for the application 
deployed in it?

2.) Openstack has TROVE for DBaaS which takes care of the entire lifecycle of 
the database service which includes deployment, configuration, replication, 
failover, backup, patching, restores.
Is there any similar service in cloudstack for providing DBaaS?





Re: Problem due to create network

2019-06-11 Thread Andrija Panic
Based on the "
https://github.com/apache/cloudstack/blob/1d05fead49f5c856257a741b07122f5633d2e359/framework/db/src/main/java/com/cloud/utils/db/Merovingian2.java#L121:L154;
I'm not quite sure it's a configurable thing. I don't see any parameter
with that value or i.e. half of that...

Perhaps someone else can advice


On Mon, 10 Jun 2019 at 22:16, Dmitry Berezhnoy 
wrote:

> Yep, we use CloudStack as testing platform for our product and we want to
> create VMs and networks ASAP via scripts, so we don't see any restriction
> for that from physical platform or hypervisor, why CloudStack can't do
> that? We want just find and increase 300 seconds parameters from this
> message "Timed out on acquiring lock account2 .  Waited for 300seconds",
> can you help us with it?
>
> пн, 10 июн. 2019 г. в 21:59, Andrija Panic :
>
> > In mgmt log you have 904 createNetwork API calls !!!
> > Don't you think it's a bit too much ???
> >
> > Check who is nailing your API, since your log looks really funny in that
> > regards - either some automation or denial of service thing or something
> > else (on client side) really wrong.
> >
> > Cheers
> >
> > On Mon, 10 Jun 2019 at 19:25, Dmitry Berezhnoy 
> > wrote:
> >
> > > Hi Andrija,
> > >
> > > https://yadi.sk/d/BNOQFeCN86szxw - agent.log
> > > https://yadi.sk/d/5UdQ4RExJ-VfmA - management-server.log
> > > It is fresh installation with using for some days.
> > >
> > > Dmitry
> > >
> > > пн, 10 июн. 2019 г. в 17:44, Andrija Panic :
> > >
> > > > Hi Dmitry,
> > > >
> > > > if not mistaken, this might have something to do with DB - can you
> > please
> > > > post whole log, on pastebin or similar ?
> > > >
> > > > Is this a fresh installation (test) or a running production for some
> > > time ?
> > > >
> > > > Andrija
> > > >
> > > > On Mon, 10 Jun 2019 at 14:55, Dmitry Berezhnoy <
> d.berezh...@emzior.ru>
> > > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > Just tried cloudstack 4.11.2 and got the error due to create
> network.
> > > In
> > > > > cloudstack logs we got the message: "Timed out on acquiring lock
> > > account2
> > > > > .  Waited for 300seconds" (please read the attachment for more
> > > details).
> > > > > Which parameter defines this 300 seconds, where we can increase it?
> > Any
> > > > > ideas?
> > > > >
> > > > > Thanks in advance for the help,
> > > > > Dmitry.
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>


-- 

Andrija Panić


Re: Enabling LB service on existing zone

2019-06-11 Thread Andrija Panic
migrate away all VMs to another host in that Basic zone - there is no way
to move VMs to a new Zone...

On Tue, 11 Jun 2019 at 23:26, Fariborz Navidan 
wrote:

> You mean I should delete and re-add VMs?
>
> On Wed, Jun 12, 2019 at 1:43 AM Andrija Panic 
> wrote:
>
> > You want to evacuate all VMs of that host, to reinstall it (possibly not
> > needed) and use it as an brand new host in the Advanced Zone.
> > This means putting the host into maintenance mode and finally removing
> it.
> > I would make sure to immediately stop cloudstack-agent service. Later you
> > can re-add this host to a new zone.
> >
> > As for the new zone - you could everything from scratch, including needed
> > offerings.
> >
> > On Tue, 11 Jun 2019 at 13:38, Fariborz Navidan 
> > wrote:
> >
> > > Also I have created a new network offering with LB service. Isn't it
> > > possible to change network offering of either basic zone or the guest
> > > network?
> > >
> > > On Tue, Jun 11, 2019 at 4:06 PM Fariborz Navidan <
> mdvlinqu...@gmail.com>
> > > wrote:
> > >
> > > > what will happen to VMs running on the host during this procedure?
> > > >
> > > > On Tue, Jun 11, 2019 at 3:56 PM Andrija Panic <
> andrija.pa...@gmail.com
> > >
> > > > wrote:
> > > >
> > > >> In short - no.
> > > >> You could remove some hosts from Basic zone, create a new advanced
> > zone
> > > >> and
> > > >> create things from scratch effectively.
> > > >>
> > > >> On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan <
> mdvlinqu...@gmail.com
> > >
> > > >> wrote:
> > > >>
> > > >> > Is it possible to create a new Advanced zone and move/assign other
> > > >> > infrastructure entities i.e. Pods, Clusters, Hosts, etc. from
> basic
> > > >> zone to
> > > >> > advanced one?
> > > >> >
> > > >> >
> > > >> >
> > > >> > On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic <
> > > andrija.pa...@gmail.com
> > > >> >
> > > >> > wrote:
> > > >> >
> > > >> > > In Basiz zone - no. VR is an entity existing only in Advanced
> > Zone.
> > > >> > > I.e. Advanced zone can have many, isolated by VLAN, shared
> > networks
> > > -
> > > >> > > a.k.a. many Basic Zones.
> > > >> > > i.e. at some point in time (perhaps some guture 5.x release) -
> > basic
> > > >> > zones
> > > >> > > will be removed completely.
> > > >> > > i.e if this is not production, if possible, move to Advanced
> Zone,
> > > >> since
> > > >> > > here you get all the goodies that ACS offers.
> > > >> > >
> > > >> > > cheers
> > > >> > >
> > > >> > > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan <
> > > mdvlinqu...@gmail.com
> > > >> >
> > > >> > > wrote:
> > > >> > >
> > > >> > > > Hello,
> > > >> > > >
> > > >> > > > I don'y have a NetScale device. Can I use VR as a LB? How do I
> > > >> > configure
> > > >> > > a
> > > >> > > > basic zone with DefaultSharedNetworkOffering to allow users
> have
> > > LB
> > > >> > > behind
> > > >> > > > their instances?
> > > >> > > >
> > > >> > > > Best Regards
> > > >> > > >
> > > >> > > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
> > > >> > andrija.pa...@gmail.com>
> > > >> > > > wrote:
> > > >> > > >
> > > >> > > > > Hi Fariborz,
> > > >> > > > >
> > > >> > > > > check here: go to Infrastcutre --> Zones, choose you Zone
> -->
> > go
> > > >> to
> > > >> > > > > Physical networks, choose your Physical network carrying
> Guest
> > > >> > traffic
> > > >> > > -
> > > >> > > > > and at the bottom od the page you will have "Network Service
> > > >> > > Providers".
> > > >> > > > >
> > > >> > > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
> > > >> > mdvlinqu...@gmail.com>
> > > >> > > > > wrote:
> > > >> > > > >
> > > >> > > > > > Hello,
> > > >> > > > > >
> > > >> > > > > > Is it possible to enabling LB service on an existing basic
> > > zone?
> > > >> > > > > >
> > > >> > > > > > Thanks
> > > >> > > > > >
> > > >> > > > >
> > > >> > > > >
> > > >> > > > > --
> > > >> > > > >
> > > >> > > > > Andrija Panić
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > >
> > > >> > > Andrija Panić
> > > >> > >
> > > >> >
> > > >>
> > > >>
> > > >> --
> > > >>
> > > >> Andrija Panić
> > > >>
> > > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>


-- 

Andrija Panić


Re: Enabling LB service on existing zone

2019-06-11 Thread Fariborz Navidan
You mean I should delete and re-add VMs?

On Wed, Jun 12, 2019 at 1:43 AM Andrija Panic 
wrote:

> You want to evacuate all VMs of that host, to reinstall it (possibly not
> needed) and use it as an brand new host in the Advanced Zone.
> This means putting the host into maintenance mode and finally removing it.
> I would make sure to immediately stop cloudstack-agent service. Later you
> can re-add this host to a new zone.
>
> As for the new zone - you could everything from scratch, including needed
> offerings.
>
> On Tue, 11 Jun 2019 at 13:38, Fariborz Navidan 
> wrote:
>
> > Also I have created a new network offering with LB service. Isn't it
> > possible to change network offering of either basic zone or the guest
> > network?
> >
> > On Tue, Jun 11, 2019 at 4:06 PM Fariborz Navidan 
> > wrote:
> >
> > > what will happen to VMs running on the host during this procedure?
> > >
> > > On Tue, Jun 11, 2019 at 3:56 PM Andrija Panic  >
> > > wrote:
> > >
> > >> In short - no.
> > >> You could remove some hosts from Basic zone, create a new advanced
> zone
> > >> and
> > >> create things from scratch effectively.
> > >>
> > >> On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan  >
> > >> wrote:
> > >>
> > >> > Is it possible to create a new Advanced zone and move/assign other
> > >> > infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic
> > >> zone to
> > >> > advanced one?
> > >> >
> > >> >
> > >> >
> > >> > On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic <
> > andrija.pa...@gmail.com
> > >> >
> > >> > wrote:
> > >> >
> > >> > > In Basiz zone - no. VR is an entity existing only in Advanced
> Zone.
> > >> > > I.e. Advanced zone can have many, isolated by VLAN, shared
> networks
> > -
> > >> > > a.k.a. many Basic Zones.
> > >> > > i.e. at some point in time (perhaps some guture 5.x release) -
> basic
> > >> > zones
> > >> > > will be removed completely.
> > >> > > i.e if this is not production, if possible, move to Advanced Zone,
> > >> since
> > >> > > here you get all the goodies that ACS offers.
> > >> > >
> > >> > > cheers
> > >> > >
> > >> > > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan <
> > mdvlinqu...@gmail.com
> > >> >
> > >> > > wrote:
> > >> > >
> > >> > > > Hello,
> > >> > > >
> > >> > > > I don'y have a NetScale device. Can I use VR as a LB? How do I
> > >> > configure
> > >> > > a
> > >> > > > basic zone with DefaultSharedNetworkOffering to allow users have
> > LB
> > >> > > behind
> > >> > > > their instances?
> > >> > > >
> > >> > > > Best Regards
> > >> > > >
> > >> > > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
> > >> > andrija.pa...@gmail.com>
> > >> > > > wrote:
> > >> > > >
> > >> > > > > Hi Fariborz,
> > >> > > > >
> > >> > > > > check here: go to Infrastcutre --> Zones, choose you Zone -->
> go
> > >> to
> > >> > > > > Physical networks, choose your Physical network carrying Guest
> > >> > traffic
> > >> > > -
> > >> > > > > and at the bottom od the page you will have "Network Service
> > >> > > Providers".
> > >> > > > >
> > >> > > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
> > >> > mdvlinqu...@gmail.com>
> > >> > > > > wrote:
> > >> > > > >
> > >> > > > > > Hello,
> > >> > > > > >
> > >> > > > > > Is it possible to enabling LB service on an existing basic
> > zone?
> > >> > > > > >
> > >> > > > > > Thanks
> > >> > > > > >
> > >> > > > >
> > >> > > > >
> > >> > > > > --
> > >> > > > >
> > >> > > > > Andrija Panić
> > >> > > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > >
> > >> > > Andrija Panić
> > >> > >
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Andrija Panić
> > >>
> > >
> >
>
>
> --
>
> Andrija Panić
>


Re: Enabling LB service on existing zone

2019-06-11 Thread Andrija Panic
You want to evacuate all VMs of that host, to reinstall it (possibly not
needed) and use it as an brand new host in the Advanced Zone.
This means putting the host into maintenance mode and finally removing it.
I would make sure to immediately stop cloudstack-agent service. Later you
can re-add this host to a new zone.

As for the new zone - you could everything from scratch, including needed
offerings.

On Tue, 11 Jun 2019 at 13:38, Fariborz Navidan 
wrote:

> Also I have created a new network offering with LB service. Isn't it
> possible to change network offering of either basic zone or the guest
> network?
>
> On Tue, Jun 11, 2019 at 4:06 PM Fariborz Navidan 
> wrote:
>
> > what will happen to VMs running on the host during this procedure?
> >
> > On Tue, Jun 11, 2019 at 3:56 PM Andrija Panic 
> > wrote:
> >
> >> In short - no.
> >> You could remove some hosts from Basic zone, create a new advanced zone
> >> and
> >> create things from scratch effectively.
> >>
> >> On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan 
> >> wrote:
> >>
> >> > Is it possible to create a new Advanced zone and move/assign other
> >> > infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic
> >> zone to
> >> > advanced one?
> >> >
> >> >
> >> >
> >> > On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic <
> andrija.pa...@gmail.com
> >> >
> >> > wrote:
> >> >
> >> > > In Basiz zone - no. VR is an entity existing only in Advanced Zone.
> >> > > I.e. Advanced zone can have many, isolated by VLAN, shared networks
> -
> >> > > a.k.a. many Basic Zones.
> >> > > i.e. at some point in time (perhaps some guture 5.x release) - basic
> >> > zones
> >> > > will be removed completely.
> >> > > i.e if this is not production, if possible, move to Advanced Zone,
> >> since
> >> > > here you get all the goodies that ACS offers.
> >> > >
> >> > > cheers
> >> > >
> >> > > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan <
> mdvlinqu...@gmail.com
> >> >
> >> > > wrote:
> >> > >
> >> > > > Hello,
> >> > > >
> >> > > > I don'y have a NetScale device. Can I use VR as a LB? How do I
> >> > configure
> >> > > a
> >> > > > basic zone with DefaultSharedNetworkOffering to allow users have
> LB
> >> > > behind
> >> > > > their instances?
> >> > > >
> >> > > > Best Regards
> >> > > >
> >> > > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
> >> > andrija.pa...@gmail.com>
> >> > > > wrote:
> >> > > >
> >> > > > > Hi Fariborz,
> >> > > > >
> >> > > > > check here: go to Infrastcutre --> Zones, choose you Zone --> go
> >> to
> >> > > > > Physical networks, choose your Physical network carrying Guest
> >> > traffic
> >> > > -
> >> > > > > and at the bottom od the page you will have "Network Service
> >> > > Providers".
> >> > > > >
> >> > > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
> >> > mdvlinqu...@gmail.com>
> >> > > > > wrote:
> >> > > > >
> >> > > > > > Hello,
> >> > > > > >
> >> > > > > > Is it possible to enabling LB service on an existing basic
> zone?
> >> > > > > >
> >> > > > > > Thanks
> >> > > > > >
> >> > > > >
> >> > > > >
> >> > > > > --
> >> > > > >
> >> > > > > Andrija Panić
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> > > --
> >> > >
> >> > > Andrija Panić
> >> > >
> >> >
> >>
> >>
> >> --
> >>
> >> Andrija Panić
> >>
> >
>


-- 

Andrija Panić


Re: CloudStack 4.11.x - KVM hibernation support

2019-06-11 Thread Andrija Panic
Create a GitHub issue?

On Tue, 11 Jun 2019 at 14:04, Razvan Rosca  wrote:

> Hello,
>
> Is there any chance to add KVM hibernation support in a (near) future CS
> release?
>
> Thank you,
> Razvan Rosca
>
> Skype: razvan.rosca
> Tel: +40 731 059 660
> Linkedin: https://www.linkedin.com/in/razvanrosca/
> Facebook: https://fb.com/razvanrosca.com
>


-- 

Andrija Panić


Re: launch instance error

2019-06-11 Thread Andrija Panic
Alejandro,

Please send the whole log on pastebin or similar, this one doesn't provide
enough information... (beside the " Found pools matching tags: [] ")

On Tue, 11 Jun 2019 at 17:57, Alejandro Ruiz Bermejo <
arbermejo0...@gmail.com> wrote:

> ok, so i registered a new template and unset-ed the HVM option and
> launched a new instance using this themplate.
> Now the planner can find the host inside the LXC cluster but it seems like
> it can't find now a propper storage pool. I already have everything
> configured as it appears on the installation guide and configured the
> secondary and primary storage on the lxc host. I attach and paste here the
> log of the VM creation process
>
> root@cloudstack-manager:/home/team# grep -i "unable to"
> /var/log/cloudstack/management/management-server.log
> 2019-06-11 11:12:59,917 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) (logid:0afee059)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:12:59,917 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) (logid:0afee059)
> Unable to create a deployment for VM[User|i-2-11-VM]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:12:59,918 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-19:ctx-23ea94e8 job-51) (logid:0afee059) Complete async
> job-51, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
> to create a deployment for VM[User|i-2-11-VM]"}
> 2019-06-11 11:17:33,162 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) (logid:0e16600e)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|i-2-12-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:17:33,162 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) (logid:0e16600e)
> Unable to create a deployment for VM[User|i-2-12-VM]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for VM[User|i-2-12-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:17:33,162 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-22:ctx-e044255f job-57) (logid:0e16600e) Complete async
> job-57, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
> to create a deployment for VM[User|i-2-12-VM]"}
> 2019-06-11 11:37:05,302 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) (logid:5b3ad768)
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a
> deployment for VM[User|i-2-13-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:37:05,302 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
> (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) (logid:5b3ad768)
> Unable to create a deployment for VM[User|i-2-13-VM]
> com.cloud.exception.InsufficientServerCapacityException: Unable to create
> a deployment for VM[User|i-2-13-VM]Scope=interface com.cloud.dc.DataCenter;
> id=1
> 2019-06-11 11:37:05,302 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) Complete async
> job-62, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
> to create a deployment for VM[User|i-2-13-VM]"}
> root@cloudstack-manager:/home/team# grep -i "job-62"
> /var/log/cloudstack/management/management-server.log
> 2019-06-11 11:37:03,453 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
> (API-Job-Executor-24:ctx-34beda4d job-62) (logid:fb7a7cb5) Add job-62 into
> job monitoring
> 2019-06-11 11:37:03,459 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (qtp895947612-374:ctx-4c42085e ctx-d0095860) (logid:baf4b65e) submit async
> job-62, details: AsyncJobVO {id:62, userId: 2, accountId: 2, instanceType:
> VirtualMachine, instanceId: 13, cmd:
> org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo:
> {"httpmethod":"GET","templateid":"f2f98443-3793-452d-8e35-aaf631428c50","ctxAccountId":"2","uuid":"56f3829d-722b-45a1-9084-2576eae34068","cmdEventType":"VM.CREATE","diskofferingid":"3dd93d79-62b0-427c-8c15-1050305eb90e","serviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3ff0d0","ctxStartEventId":"147","id":"13","ctxDetails":"{\"interface
> com.cloud.vm.VirtualMachine\":\"56f3829d-722b-45a1-9084-2576eae34068\",\"interface
> 

Re: VPC with Private Gateway leads to MASTER/MASTER

2019-06-11 Thread Andrija Panic
Hi Richard,

can I kindly as you to open a GitHub issue, describing the problem in
detail, so someone can pick it up for the resolution - we could be able to
fix this for the 4.13, but 4.11.3 we are a bit late since it's already in
the voting process.

Thanks,
Andrija

On Tue, 11 Jun 2019 at 20:50, Richard Lawley 
wrote:

> I've deployed a fairly simple VPC (one tier, one VM) with a private
> gateway, but keep getting both VRs in MASTER state.  Upon
> investigating, I can see that the reason is that keepalived is being
> configured to use the private gateway interface (eth2).  Since private
> gateway interface shares a virtual IP, both VRs send advertisements
> from the VIP and therefore both think they're Master.  The resolution
> is to make keepalived use an actual guest interface rather than a
> private gateway.
>
> I'm quite happy digging into the VR code to sort this out, but since
> this is a problem on 4.11.2 and I would've thought this is a fairly
> common scenario, I thought I'd bring it up here in case someone had
> already seen it and it wasn't as obvious as I first thought!
>
> From the VR logs it seems that it does initially get configured on
> eth3 and then again on eth2.  This happens any time update_config.py
> is called.
>
> 2019-06-11 17:58:31,671  CsRedundant.py _redundant_on:99 Wait for
> devices to be configured so we can start keepalived
> 2019-06-11 17:58:31,672  CsHelper.py execute:193 Executing: ip link
> show eth3 | grep 'state UP'
> 2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:105 Device eth3
> is present, let's start keepalive now.
> 2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:99 Wait for
> devices to be configured so we can start keepalived
> 2019-06-11 17:58:31,675  CsHelper.py execute:193 Executing: ip link
> show eth2 | grep 'state UP'
> 2019-06-11 17:58:31,678  CsRedundant.py _redundant_on:105 Device eth2
> is present, let's start keepalive now.
>
>
> Regards,
>
> Richard
>


-- 

Andrija Panić


VPC with Private Gateway leads to MASTER/MASTER

2019-06-11 Thread Richard Lawley
I've deployed a fairly simple VPC (one tier, one VM) with a private
gateway, but keep getting both VRs in MASTER state.  Upon
investigating, I can see that the reason is that keepalived is being
configured to use the private gateway interface (eth2).  Since private
gateway interface shares a virtual IP, both VRs send advertisements
from the VIP and therefore both think they're Master.  The resolution
is to make keepalived use an actual guest interface rather than a
private gateway.

I'm quite happy digging into the VR code to sort this out, but since
this is a problem on 4.11.2 and I would've thought this is a fairly
common scenario, I thought I'd bring it up here in case someone had
already seen it and it wasn't as obvious as I first thought!

>From the VR logs it seems that it does initially get configured on
eth3 and then again on eth2.  This happens any time update_config.py
is called.

2019-06-11 17:58:31,671  CsRedundant.py _redundant_on:99 Wait for
devices to be configured so we can start keepalived
2019-06-11 17:58:31,672  CsHelper.py execute:193 Executing: ip link
show eth3 | grep 'state UP'
2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:105 Device eth3
is present, let's start keepalive now.
2019-06-11 17:58:31,675  CsRedundant.py _redundant_on:99 Wait for
devices to be configured so we can start keepalived
2019-06-11 17:58:31,675  CsHelper.py execute:193 Executing: ip link
show eth2 | grep 'state UP'
2019-06-11 17:58:31,678  CsRedundant.py _redundant_on:105 Device eth2
is present, let's start keepalive now.


Regards,

Richard


Re: 4.13 Heads up

2019-06-11 Thread Gabriel Beims Bräscher
Sounds good to me.
+1

Em seg, 10 de jun de 2019 às 12:19, Paul Angus 
escreveu:

> In order to keep up the momentum on the release cadence, some of us are
> now planning to get 4.13 moving
>
>
>
> We've come up with a plan which I hope everyone will find acceptable (see
> below).
>
>
>
>
>
> ==  4.13.0.0: (next LTS release)
> ==
>
>
>
>   *   1-5 July 2019: Freeze master and stabilize
>   *   8-12 July 2019: After ~100% smoketest pass and only accept blocker
> fixes, cut RC1
>   *   14 July - 5 Aug 2019: Release 4.13.0.0 (next LTS)
>   *   Milestone: https://github.com/apache/cloudstack/milestone/8
>
>
>
> Cheers
>
>
>
> Paul Angus
>
>
>
>
>
>
>
>
>
>
>
>
> paul.an...@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>


Re: K8S LoadBalancer

2019-06-11 Thread Vladimir Melnik
Thank you very much, Gregor!

Would you also be so kind as to help me a little? I tried to deploy your CCM in 
my K8S, but something seems to be gone wrong. I submitted my question as an 
issue: https://github.com/swisstxt/cloudstack-cloud-controller-manager/issues/9 
- could you, please, take a look?

Thanks in advance!

On Tue, Jun 11, 2019 at 10:23:20AM +, Riepl, Gregor (SWISS TXT) wrote:
> Hi Vladimir
> 
> The CloudStack cloud provider code will be removed from the k8s core
> soon: https://github.com/kubernetes/kubernetes/pull/72178
> 
> It's not advisable to use it any more.
> 
> You can use our CCM that is based on the old cloud provider instead:
> https://github.com/swisstxt/cloudstack-cloud-controller-manager
> 
> Regards,
> Gregor
> 
> 
> On Mon, 2019-06-10 at 18:12 +0300, Vladimir Melnik wrote:
> > Hello,
> > 
> > Does anyone has experience of using ACS as a LoadBalancer's provider
> > for Kubernetes?
> > 
> > As I guess, it's possible (according to these modules' presence: 
> > https://github.com/kubernetes/kubernetes/tree/master/pkg/cloudprovider/providers/cloudstack
> > ), but now I'm looking for some documentation and examples for that.
> > 
> > Thanks in advance for any clues. :-)
> > 
> > Best regards,
> > V.Melnyk
> > 

-- 
V.Melnik


Re: launch instance error

2019-06-11 Thread Alejandro Ruiz Bermejo
ok, so i registered a new template and unset-ed the HVM option and launched
a new instance using this themplate.
Now the planner can find the host inside the LXC cluster but it seems like
it can't find now a propper storage pool. I already have everything
configured as it appears on the installation guide and configured the
secondary and primary storage on the lxc host. I attach and paste here the
log of the VM creation process

root@cloudstack-manager:/home/team# grep -i "unable to"
/var/log/cloudstack/management/management-server.log
2019-06-11 11:12:59,917 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) (logid:0afee059)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:12:59,917 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) (logid:0afee059)
Unable to create a deployment for VM[User|i-2-11-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:12:59,918 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-19:ctx-23ea94e8 job-51) (logid:0afee059) Complete async
job-51, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
to create a deployment for VM[User|i-2-11-VM]"}
2019-06-11 11:17:33,162 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) (logid:0e16600e)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-12-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:17:33,162 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) (logid:0e16600e)
Unable to create a deployment for VM[User|i-2-12-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-12-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:17:33,162 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-22:ctx-e044255f job-57) (logid:0e16600e) Complete async
job-57, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
to create a deployment for VM[User|i-2-12-VM]"}
2019-06-11 11:37:05,302 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) (logid:5b3ad768)
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-13-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:37:05,302 INFO  [o.a.c.a.c.a.v.DeployVMCmdByAdmin]
(API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) (logid:5b3ad768)
Unable to create a deployment for VM[User|i-2-13-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|i-2-13-VM]Scope=interface com.cloud.dc.DataCenter;
id=1
2019-06-11 11:37:05,302 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) Complete async
job-62, jobStatus: FAILED, resultCode: 530, result:
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":533,"errortext":"Unable
to create a deployment for VM[User|i-2-13-VM]"}
root@cloudstack-manager:/home/team# grep -i "job-62"
/var/log/cloudstack/management/management-server.log
2019-06-11 11:37:03,453 INFO  [o.a.c.f.j.i.AsyncJobMonitor]
(API-Job-Executor-24:ctx-34beda4d job-62) (logid:fb7a7cb5) Add job-62 into
job monitoring
2019-06-11 11:37:03,459 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(qtp895947612-374:ctx-4c42085e ctx-d0095860) (logid:baf4b65e) submit async
job-62, details: AsyncJobVO {id:62, userId: 2, accountId: 2, instanceType:
VirtualMachine, instanceId: 13, cmd:
org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo:
{"httpmethod":"GET","templateid":"f2f98443-3793-452d-8e35-aaf631428c50","ctxAccountId":"2","uuid":"56f3829d-722b-45a1-9084-2576eae34068","cmdEventType":"VM.CREATE","diskofferingid":"3dd93d79-62b0-427c-8c15-1050305eb90e","serviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3ff0d0","ctxStartEventId":"147","id":"13","ctxDetails":"{\"interface
com.cloud.vm.VirtualMachine\":\"56f3829d-722b-45a1-9084-2576eae34068\",\"interface
com.cloud.offering.ServiceOffering\":\"57675b96-98fa-49a3-9437-24f9dbf3fd90\",\"interface
com.cloud.dc.DataCenter\":\"5b03beea-ffdd-45ea-84eb-64110f3ff0d0\",\"interface
com.cloud.offering.DiskOffering\":\"3dd93d79-62b0-427c-8c15-1050305eb90e\",\"interface
com.cloud.template.VirtualMachineTemplate\":\"f2f98443-3793-452d-8e35-aaf631428c50\"}","_":"1560267550351"},
cmdVersion: 0, status: IN_PROGRESS, 

Re: Unabele to boot CloudLinux on KVM after update

2019-06-11 Thread Riepl, Gregor (SWISS TXT)

> Usually indicates missing storage driver in initramfs (if you were on
> VMware, I would tell you to check if vmw_pvscsi.ko is present in
> initramfs).

First thing to check would be to compare the list of PCI devices
(lspci) and storage devices (cat /proc/partitions) between the older
and the newer kernel. Also, check dmesg for any errors.

If that doesn't work, try to boot into a rescue system, mount the
rootfs, chroot, then regenerate the initrd. I've found that the update
process in CentOS fails sometimes, rendering the system unbootable.
Regenerating the initrd or reinstalling the kernel package usually
helps.


CloudStack 4.11.x - KVM hibernation support

2019-06-11 Thread Razvan Rosca
Hello,

Is there any chance to add KVM hibernation support in a (near) future CS
release?

Thank you,
Razvan Rosca

Skype: razvan.rosca
Tel: +40 731 059 660
Linkedin: https://www.linkedin.com/in/razvanrosca/
Facebook: https://fb.com/razvanrosca.com


Re: Enabling LB service on existing zone

2019-06-11 Thread Fariborz Navidan
Also I have created a new network offering with LB service. Isn't it
possible to change network offering of either basic zone or the guest
network?

On Tue, Jun 11, 2019 at 4:06 PM Fariborz Navidan 
wrote:

> what will happen to VMs running on the host during this procedure?
>
> On Tue, Jun 11, 2019 at 3:56 PM Andrija Panic 
> wrote:
>
>> In short - no.
>> You could remove some hosts from Basic zone, create a new advanced zone
>> and
>> create things from scratch effectively.
>>
>> On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan 
>> wrote:
>>
>> > Is it possible to create a new Advanced zone and move/assign other
>> > infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic
>> zone to
>> > advanced one?
>> >
>> >
>> >
>> > On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic > >
>> > wrote:
>> >
>> > > In Basiz zone - no. VR is an entity existing only in Advanced Zone.
>> > > I.e. Advanced zone can have many, isolated by VLAN, shared networks -
>> > > a.k.a. many Basic Zones.
>> > > i.e. at some point in time (perhaps some guture 5.x release) - basic
>> > zones
>> > > will be removed completely.
>> > > i.e if this is not production, if possible, move to Advanced Zone,
>> since
>> > > here you get all the goodies that ACS offers.
>> > >
>> > > cheers
>> > >
>> > > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan > >
>> > > wrote:
>> > >
>> > > > Hello,
>> > > >
>> > > > I don'y have a NetScale device. Can I use VR as a LB? How do I
>> > configure
>> > > a
>> > > > basic zone with DefaultSharedNetworkOffering to allow users have LB
>> > > behind
>> > > > their instances?
>> > > >
>> > > > Best Regards
>> > > >
>> > > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
>> > andrija.pa...@gmail.com>
>> > > > wrote:
>> > > >
>> > > > > Hi Fariborz,
>> > > > >
>> > > > > check here: go to Infrastcutre --> Zones, choose you Zone --> go
>> to
>> > > > > Physical networks, choose your Physical network carrying Guest
>> > traffic
>> > > -
>> > > > > and at the bottom od the page you will have "Network Service
>> > > Providers".
>> > > > >
>> > > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
>> > mdvlinqu...@gmail.com>
>> > > > > wrote:
>> > > > >
>> > > > > > Hello,
>> > > > > >
>> > > > > > Is it possible to enabling LB service on an existing basic zone?
>> > > > > >
>> > > > > > Thanks
>> > > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > >
>> > > > > Andrija Panić
>> > > > >
>> > > >
>> > >
>> > >
>> > > --
>> > >
>> > > Andrija Panić
>> > >
>> >
>>
>>
>> --
>>
>> Andrija Panić
>>
>


Re: Enabling LB service on existing zone

2019-06-11 Thread Fariborz Navidan
what will happen to VMs running on the host during this procedure?

On Tue, Jun 11, 2019 at 3:56 PM Andrija Panic 
wrote:

> In short - no.
> You could remove some hosts from Basic zone, create a new advanced zone and
> create things from scratch effectively.
>
> On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan 
> wrote:
>
> > Is it possible to create a new Advanced zone and move/assign other
> > infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic zone
> to
> > advanced one?
> >
> >
> >
> > On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic 
> > wrote:
> >
> > > In Basiz zone - no. VR is an entity existing only in Advanced Zone.
> > > I.e. Advanced zone can have many, isolated by VLAN, shared networks -
> > > a.k.a. many Basic Zones.
> > > i.e. at some point in time (perhaps some guture 5.x release) - basic
> > zones
> > > will be removed completely.
> > > i.e if this is not production, if possible, move to Advanced Zone,
> since
> > > here you get all the goodies that ACS offers.
> > >
> > > cheers
> > >
> > > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan 
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > I don'y have a NetScale device. Can I use VR as a LB? How do I
> > configure
> > > a
> > > > basic zone with DefaultSharedNetworkOffering to allow users have LB
> > > behind
> > > > their instances?
> > > >
> > > > Best Regards
> > > >
> > > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
> > andrija.pa...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi Fariborz,
> > > > >
> > > > > check here: go to Infrastcutre --> Zones, choose you Zone --> go to
> > > > > Physical networks, choose your Physical network carrying Guest
> > traffic
> > > -
> > > > > and at the bottom od the page you will have "Network Service
> > > Providers".
> > > > >
> > > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
> > mdvlinqu...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > Is it possible to enabling LB service on an existing basic zone?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
>
>
> --
>
> Andrija Panić
>


Re: Enabling LB service on existing zone

2019-06-11 Thread Andrija Panic
In short - no.
You could remove some hosts from Basic zone, create a new advanced zone and
create things from scratch effectively.

On Tue, 11 Jun 2019 at 09:19, Fariborz Navidan 
wrote:

> Is it possible to create a new Advanced zone and move/assign other
> infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic zone to
> advanced one?
>
>
>
> On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic 
> wrote:
>
> > In Basiz zone - no. VR is an entity existing only in Advanced Zone.
> > I.e. Advanced zone can have many, isolated by VLAN, shared networks -
> > a.k.a. many Basic Zones.
> > i.e. at some point in time (perhaps some guture 5.x release) - basic
> zones
> > will be removed completely.
> > i.e if this is not production, if possible, move to Advanced Zone, since
> > here you get all the goodies that ACS offers.
> >
> > cheers
> >
> > On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan 
> > wrote:
> >
> > > Hello,
> > >
> > > I don'y have a NetScale device. Can I use VR as a LB? How do I
> configure
> > a
> > > basic zone with DefaultSharedNetworkOffering to allow users have LB
> > behind
> > > their instances?
> > >
> > > Best Regards
> > >
> > > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic <
> andrija.pa...@gmail.com>
> > > wrote:
> > >
> > > > Hi Fariborz,
> > > >
> > > > check here: go to Infrastcutre --> Zones, choose you Zone --> go to
> > > > Physical networks, choose your Physical network carrying Guest
> traffic
> > -
> > > > and at the bottom od the page you will have "Network Service
> > Providers".
> > > >
> > > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan <
> mdvlinqu...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > Is it possible to enabling LB service on an existing basic zone?
> > > > >
> > > > > Thanks
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Andrija Panić
> > > >
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>


-- 

Andrija Panić


Re: [VOTE] 4.11.3.0 RC1

2019-06-11 Thread Rohit Yadav
+1 (binding)


Based on;


> gpg --verify apache-cloudstack-4.11.3.0-src.tar.bz2.asc
gpg: assuming signed data in 'apache-cloudstack-4.11.3.0-src.tar.bz2'
gpg: Signature made Mon 10 Jun 2019 08:45:16 PM IST
gpg:using RSA key 8B309F7251EE0BC8
gpg: Good signature from "Paul Angus (apache) "
Primary key fingerprint: 70F0 17ED 6DB6 7AC9 2681  66C1 8B30 9F72 51EE 0BC8

Smoketest ~100% pass on kvm, xenserver, vmware, and simulator/Travis:

https://github.com/apache/cloudstack/pull/3376

https://github.com/apache/cloudstack/pull/3381


4.11.3 systemvmtemplates location verified, OK;

http://download.cloudstack.org/systemvm/testing/4.11.3-rc/

http://packages.shapeblue.com/testing/systemvm/41130rc1/ (templates syncing now)


Regards,

Rohit Yadav

Software Architect, ShapeBlue

https://www.shapeblue.com


From: Paul Angus 
Sent: Tuesday, June 11, 2019 3:27:29 PM
To: d...@cloudstack.apache.org; users@cloudstack.apache.org
Subject: [VOTE] 4.11.3.0 RC1


Hi All,

I've created a 4.11.3.0 release (RC1), with the following artefacts up for 
testing and a vote:


Git Branch and Commit SH:
https://gitbox.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.11.3.0-RC20190610T1615
Commit: 51124b7b35f47089b2e51a93b2094ea93dd15302

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.11.3.0/

PGP release keys (signed using 51EE0BC8):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

The vote will be open until end of 16 June 2019.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Additional information:

For users' convenience, I've built packages from 
51124b7b35f47089b2e51a93b2094ea93dd15302 and published RC1 repository here:
http://packages.shapeblue.com/testing/41130rc1/

The release notes are still work-in-progress, but the systemvm template upgrade 
section has been updated. You may refer the following for systemvm template 
upgrade testing:
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/index.html

4.11.3.0 systemvm templates are available from here:
http://packages.shapeblue.com/testing/systemvm/41130rc1/



PRs in 4.11.3.0:
+==+

+-+--++
| Version | Github   | Description  
  |
+=+==++
| 4.11.3.0| `#3381`_ | schema: add 4.11.2 to 4.11.3 
systemvmtemplate upgrade path |
+-+--++
| 4.11.3.0| `#3075`_ | KVM: Prevent regenerating keystore on 
provisionCertificate |
| |  | API  
  |
+-+--++
| 4.11.3.0| `#3373`_ | router: support multi-homed VMs in VPC   
  |
+-+--++
| 4.11.3.0| `#3366`_ | Fix rule duplication with static NAT 
rules |
+-+--++
| 4.11.3.0| `#3194`_ | Suspending a VM before snapshot deletion 
(see PR #3193)|
+-+--++
| 4.11.3.0| `#3370`_ | ssvm: apply MTU value on 
storage/management nic if |
| |  | available
  |
+-+--++
| 4.11.3.0| `#2995`_ | KVM: Improvements on upload direct 
download certificates   |
+-+--++
| 4.11.3.0| `#3351`_ | Have persistent DHCP leases file on VRs 
and cleanup|
| |  | /etc/hosts on VM deletion
  |
+-+--++
| 4.11.3.0| `#3310`_ | Fix removing static NAT rules with 
Juniper SRX |
+-+--++
| 4.11.3.0| `#3361`_ | Fix 4.11 VR Issues with Multiple Public 
Subnets|
+-+--++
| 4.11.3.0

Re: K8S LoadBalancer

2019-06-11 Thread Riepl, Gregor (SWISS TXT)
Hi Vladimir

The CloudStack cloud provider code will be removed from the k8s core
soon: https://github.com/kubernetes/kubernetes/pull/72178

It's not advisable to use it any more.

You can use our CCM that is based on the old cloud provider instead:
https://github.com/swisstxt/cloudstack-cloud-controller-manager

Regards,
Gregor


On Mon, 2019-06-10 at 18:12 +0300, Vladimir Melnik wrote:
> Hello,
> 
> Does anyone has experience of using ACS as a LoadBalancer's provider
> for Kubernetes?
> 
> As I guess, it's possible (according to these modules' presence: 
> https://github.com/kubernetes/kubernetes/tree/master/pkg/cloudprovider/providers/cloudstack
> ), but now I'm looking for some documentation and examples for that.
> 
> Thanks in advance for any clues. :-)
> 
> Best regards,
> V.Melnyk
> 


[VOTE] 4.11.3.0 RC1

2019-06-11 Thread Paul Angus

Hi All,

I've created a 4.11.3.0 release (RC1), with the following artefacts up for 
testing and a vote:


Git Branch and Commit SH:
https://gitbox.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.11.3.0-RC20190610T1615
Commit: 51124b7b35f47089b2e51a93b2094ea93dd15302

Source release (checksums and signatures are available at the same
location):
https://dist.apache.org/repos/dist/dev/cloudstack/4.11.3.0/

PGP release keys (signed using 51EE0BC8):
https://dist.apache.org/repos/dist/release/cloudstack/KEYS

The vote will be open until end of 16 June 2019.

For sanity in tallying the vote, can PMC members please be sure to indicate 
"(binding)" with their vote?

[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove (and reason why)

Additional information:

For users' convenience, I've built packages from 
51124b7b35f47089b2e51a93b2094ea93dd15302 and published RC1 repository here:
http://packages.shapeblue.com/testing/41130rc1/

The release notes are still work-in-progress, but the systemvm template upgrade 
section has been updated. You may refer the following for systemvm template 
upgrade testing:
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/index.html

4.11.3.0 systemvm templates are available from here:
http://packages.shapeblue.com/testing/systemvm/41130rc1/



PRs in 4.11.3.0:
+==+

+-+--++
| Version | Github   | Description  
  |
+=+==++
| 4.11.3.0| `#3381`_ | schema: add 4.11.2 to 4.11.3 
systemvmtemplate upgrade path |
+-+--++
| 4.11.3.0| `#3075`_ | KVM: Prevent regenerating keystore on 
provisionCertificate |
| |  | API  
  |
+-+--++
| 4.11.3.0| `#3373`_ | router: support multi-homed VMs in VPC   
  |
+-+--++
| 4.11.3.0| `#3366`_ | Fix rule duplication with static NAT 
rules |
+-+--++
| 4.11.3.0| `#3194`_ | Suspending a VM before snapshot deletion 
(see PR #3193)|
+-+--++
| 4.11.3.0| `#3370`_ | ssvm: apply MTU value on 
storage/management nic if |
| |  | available
  |
+-+--++
| 4.11.3.0| `#2995`_ | KVM: Improvements on upload direct 
download certificates   |
+-+--++
| 4.11.3.0| `#3351`_ | Have persistent DHCP leases file on VRs 
and cleanup|
| |  | /etc/hosts on VM deletion
  |
+-+--++
| 4.11.3.0| `#3310`_ | Fix removing static NAT rules with 
Juniper SRX |
+-+--++
| 4.11.3.0| `#3361`_ | Fix 4.11 VR Issues with Multiple Public 
Subnets|
+-+--++
| 4.11.3.0| `#3206`_ | server: allow dedicate ip range to a 
domain if ips are |
| |  | used by an account in the domain 
  |
+-+--++
| 4.11.3.0| `#3205`_ | server: update dhcp configurations in 
vrs while update |
| |  | default nic of running vms   
  |
+-+--++
| 4.11.3.0| `#3362`_ | vmware: fix potential NPE when memory 
hotplug capability   |
| |  | is checked   
  |
+-+--++
| 4.11.3.0| `#3338`_ | ui: fix enable static nat only towards 
first nic and not   |
|   

Re: Enabling LB service on existing zone

2019-06-11 Thread Fariborz Navidan
Is it possible to create a new Advanced zone and move/assign other
infrastructure entities i.e. Pods, Clusters, Hosts, etc. from basic zone to
advanced one?



On Tue, Jun 11, 2019 at 11:19 AM Andrija Panic 
wrote:

> In Basiz zone - no. VR is an entity existing only in Advanced Zone.
> I.e. Advanced zone can have many, isolated by VLAN, shared networks -
> a.k.a. many Basic Zones.
> i.e. at some point in time (perhaps some guture 5.x release) - basic zones
> will be removed completely.
> i.e if this is not production, if possible, move to Advanced Zone, since
> here you get all the goodies that ACS offers.
>
> cheers
>
> On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan 
> wrote:
>
> > Hello,
> >
> > I don'y have a NetScale device. Can I use VR as a LB? How do I configure
> a
> > basic zone with DefaultSharedNetworkOffering to allow users have LB
> behind
> > their instances?
> >
> > Best Regards
> >
> > On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic 
> > wrote:
> >
> > > Hi Fariborz,
> > >
> > > check here: go to Infrastcutre --> Zones, choose you Zone --> go to
> > > Physical networks, choose your Physical network carrying Guest traffic
> -
> > > and at the bottom od the page you will have "Network Service
> Providers".
> > >
> > > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan 
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > Is it possible to enabling LB service on an existing basic zone?
> > > >
> > > > Thanks
> > > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
>
>
> --
>
> Andrija Panić
>


Re: Enabling LB service on existing zone

2019-06-11 Thread Andrija Panic
In Basiz zone - no. VR is an entity existing only in Advanced Zone.
I.e. Advanced zone can have many, isolated by VLAN, shared networks -
a.k.a. many Basic Zones.
i.e. at some point in time (perhaps some guture 5.x release) - basic zones
will be removed completely.
i.e if this is not production, if possible, move to Advanced Zone, since
here you get all the goodies that ACS offers.

cheers

On Mon, 10 Jun 2019 at 22:42, Fariborz Navidan 
wrote:

> Hello,
>
> I don'y have a NetScale device. Can I use VR as a LB? How do I configure a
> basic zone with DefaultSharedNetworkOffering to allow users have LB behind
> their instances?
>
> Best Regards
>
> On Mon, Jun 10, 2019 at 11:37 PM Andrija Panic 
> wrote:
>
> > Hi Fariborz,
> >
> > check here: go to Infrastcutre --> Zones, choose you Zone --> go to
> > Physical networks, choose your Physical network carrying Guest traffic -
> > and at the bottom od the page you will have "Network Service Providers".
> >
> > On Mon, 10 Jun 2019 at 17:40, Fariborz Navidan 
> > wrote:
> >
> > > Hello,
> > >
> > > Is it possible to enabling LB service on an existing basic zone?
> > >
> > > Thanks
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>


-- 

Andrija Panić