Re: Free capacity calculation within ACS

2017-09-26 Thread Rafael Weingärtner
Ingo, I checked the code, and at first sight I did not see any bug or
problem that would cause this feature not to work.
Can you describe what you are doing, the configurations/settings, wht you
expect and what is happening.

On Tue, Sep 26, 2017 at 6:05 PM, Jochim, Ingo 
wrote:

> Hello Rafael,
>
> we are running 4.10.
>
> Regards,
> Ingo
>
> -Ursprüngliche Nachricht-
> Von: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com]
> Gesendet: Dienstag, 26. September 2017 22:49
> An: users@cloudstack.apache.org
> Betreff: Re: Free capacity calculation within ACS
>
> What version of ACS are you using?
>
> On Tue, Sep 26, 2017 at 5:44 PM, Jochim, Ingo 
> wrote:
>
> > Hello Marc-Aurèle,
> >
> > we tested with the parameter host.reservation.release.period.
> > We didn't see any change in the free capacity after shutdown of machines.
> > Not even after this period.
> > Any idea why?
> >
> > Regards,
> > Ingo
> >
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Jochim, Ingo [mailto:ingo.joc...@bitgroup.de]
> > Gesendet: Mittwoch, 6. September 2017 09:56
> > An: 'users@cloudstack.apache.org' 
> > Betreff: AW: Free capacity calculation within ACS
> >
> > Many thanks. We will check.
> >
> > Regards,
> > Ingo
> >
> > -Ursprüngliche Nachricht-
> > Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> > Gesendet: Mittwoch, 6. September 2017 09:51
> > An: users@cloudstack.apache.org
> > Betreff: Re: Free capacity calculation within ACS
> >
> > Apparently in 4.2.0
> > https://github.com/apache/cloudstack/blob/f0dd5994b447a6097c52f405c7c7
> > c5 4c76da9c16/setup/db/db/schema-410to420.sql
> >
> > On Wed, Sep 6, 2017 at 9:42 AM, Jochim, Ingo 
> > wrote:
> >
> > > Hello Marc-Aurèle,
> > >
> > > great. Didn't know that this parameter exists.
> > > Do you know in which ACS version this got introduced?
> > >
> > > Many thanks.
> > > Ingo
> > >
> > > -Ursprüngliche Nachricht-
> > > Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> > > Gesendet: Mittwoch, 6. September 2017 09:15
> > > An: users@cloudstack.apache.org
> > > Betreff: Re: Free capacity calculation within ACS
> > >
> > > Hi Ingo,
> > >
> > > You might want to look at the release period set in your installation:
> > > host.reservation.release.period. This release window time is there
> > > to keep the capacity of stopped machines on a host for a certain
> > > time, before releasing it, in case the machine has to start again
> > > soon after. And most likely for other reason maybe in the advance
> > > networking mode. So try to decrease this time window and check your
> > capacity after that.
> > >
> > > Marc-Aurèle
> > >
> > > On Tue, Sep 5, 2017 at 9:48 AM, Jochim, Ingo
> > > 
> > > wrote:
> > >
> > > > Hello all,
> > > >
> > > > within our CloudStack environment we like to park a couple of
> > > > large machines in powered off state.
> > > > Those machines are demo machines which are needed only sometimes.
> > > > Those machines will get included in the capacity. That means we
> > > > cannot build new machines even if there are free ressources on the
> > hypervisors.
> > > > We don't want to solve it with overcommitment.
> > > > Is there a possibility to calculate free capacity without all
> > > > powered off machines?
> > > >
> > > > Currently we have a dirty workaround. We created an offering with
> > > > 1 core and 1MB RAM and used that for all parked machines.
> > > > But this is not very nice.
> > > >
> > > > Any ideas or comments are welcome.
> > > > Thank you.
> > > > Ingo
> > > >
> > >
> >
>
>
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner


Re: Cluster anti-affinity

2017-09-26 Thread Pierre-Luc Dion
Hi Ivan,
I don't think cloudstack offer cluster anti affinity and i'm sure i would
be in favor of introducing another anti affinity level, because it would
expose cluster notion to your cloud user.

Although, look at the vm provisionning strategy config, their should be a
deployment strategy that would spread account vms across pods or clusters,
or prefer pod/cluster proximity. I think this could help you.

Regards,

Le 19 sept. 2017 01 h 57, "Ivan Kudryavtsev"  a
écrit :

> Hello, community. Right now cloudstack has affinity implementation for host
> anti-affinity and it's great and useful, but since the storage is often
> defined for a cluster (unless it's local or clustered like Ceph), it
> defined a failure domain. Does anybody experienced "cluster anti-affinity"
> implementation. Is it useful or were declined in the past by dev team? Any
> thoughts?
>
> How you tackle with VMs which should be completely independent and fault
> tolerant with shared storage (not Ceph)? I see that zone-level approach
> works for sure, but if the requirement is for intra-zone, I don't see the
> way to implement it, any thoughts?
>
> --
> With best regards, Ivan Kudryavtsev
> Bitworks Software, Ltd.
> Cell: +7-923-414-1515
> WWW: http://bitworks.software/ 
>


AW: Free capacity calculation within ACS

2017-09-26 Thread Jochim, Ingo
Hello Rafael,

we are running 4.10.

Regards,
Ingo

-Ursprüngliche Nachricht-
Von: Rafael Weingärtner [mailto:rafaelweingart...@gmail.com] 
Gesendet: Dienstag, 26. September 2017 22:49
An: users@cloudstack.apache.org
Betreff: Re: Free capacity calculation within ACS

What version of ACS are you using?

On Tue, Sep 26, 2017 at 5:44 PM, Jochim, Ingo 
wrote:

> Hello Marc-Aurèle,
>
> we tested with the parameter host.reservation.release.period.
> We didn't see any change in the free capacity after shutdown of machines.
> Not even after this period.
> Any idea why?
>
> Regards,
> Ingo
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Jochim, Ingo [mailto:ingo.joc...@bitgroup.de]
> Gesendet: Mittwoch, 6. September 2017 09:56
> An: 'users@cloudstack.apache.org' 
> Betreff: AW: Free capacity calculation within ACS
>
> Many thanks. We will check.
>
> Regards,
> Ingo
>
> -Ursprüngliche Nachricht-
> Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> Gesendet: Mittwoch, 6. September 2017 09:51
> An: users@cloudstack.apache.org
> Betreff: Re: Free capacity calculation within ACS
>
> Apparently in 4.2.0
> https://github.com/apache/cloudstack/blob/f0dd5994b447a6097c52f405c7c7
> c5 4c76da9c16/setup/db/db/schema-410to420.sql
>
> On Wed, Sep 6, 2017 at 9:42 AM, Jochim, Ingo 
> wrote:
>
> > Hello Marc-Aurèle,
> >
> > great. Didn't know that this parameter exists.
> > Do you know in which ACS version this got introduced?
> >
> > Many thanks.
> > Ingo
> >
> > -Ursprüngliche Nachricht-
> > Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> > Gesendet: Mittwoch, 6. September 2017 09:15
> > An: users@cloudstack.apache.org
> > Betreff: Re: Free capacity calculation within ACS
> >
> > Hi Ingo,
> >
> > You might want to look at the release period set in your installation:
> > host.reservation.release.period. This release window time is there 
> > to keep the capacity of stopped machines on a host for a certain 
> > time, before releasing it, in case the machine has to start again 
> > soon after. And most likely for other reason maybe in the advance 
> > networking mode. So try to decrease this time window and check your
> capacity after that.
> >
> > Marc-Aurèle
> >
> > On Tue, Sep 5, 2017 at 9:48 AM, Jochim, Ingo 
> > 
> > wrote:
> >
> > > Hello all,
> > >
> > > within our CloudStack environment we like to park a couple of 
> > > large machines in powered off state.
> > > Those machines are demo machines which are needed only sometimes.
> > > Those machines will get included in the capacity. That means we 
> > > cannot build new machines even if there are free ressources on the
> hypervisors.
> > > We don't want to solve it with overcommitment.
> > > Is there a possibility to calculate free capacity without all 
> > > powered off machines?
> > >
> > > Currently we have a dirty workaround. We created an offering with 
> > > 1 core and 1MB RAM and used that for all parked machines.
> > > But this is not very nice.
> > >
> > > Any ideas or comments are welcome.
> > > Thank you.
> > > Ingo
> > >
> >
>



--
Rafael Weingärtner


Re: Free capacity calculation within ACS

2017-09-26 Thread Rafael Weingärtner
If you are an enthusiast of ACS, you can take a look at:

> com.cloud.deploy.DeploymentPlanningManagerImpl.start()
>
and also at

> com.cloud.deploy.DeploymentPlanningManagerImpl.checkHostReservations()
>
to debug/understand the problem and the code that is supposed to remove the
"old" reservations.

On Tue, Sep 26, 2017 at 5:49 PM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> What version of ACS are you using?
>
> On Tue, Sep 26, 2017 at 5:44 PM, Jochim, Ingo 
> wrote:
>
>> Hello Marc-Aurèle,
>>
>> we tested with the parameter host.reservation.release.period.
>> We didn't see any change in the free capacity after shutdown of machines.
>> Not even after this period.
>> Any idea why?
>>
>> Regards,
>> Ingo
>>
>>
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: Jochim, Ingo [mailto:ingo.joc...@bitgroup.de]
>> Gesendet: Mittwoch, 6. September 2017 09:56
>> An: 'users@cloudstack.apache.org' 
>> Betreff: AW: Free capacity calculation within ACS
>>
>> Many thanks. We will check.
>>
>> Regards,
>> Ingo
>>
>> -Ursprüngliche Nachricht-
>> Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
>> Gesendet: Mittwoch, 6. September 2017 09:51
>> An: users@cloudstack.apache.org
>> Betreff: Re: Free capacity calculation within ACS
>>
>> Apparently in 4.2.0
>> https://github.com/apache/cloudstack/blob/f0dd5994b447a6097c
>> 52f405c7c7c54c76da9c16/setup/db/db/schema-410to420.sql
>>
>> On Wed, Sep 6, 2017 at 9:42 AM, Jochim, Ingo 
>> wrote:
>>
>> > Hello Marc-Aurèle,
>> >
>> > great. Didn't know that this parameter exists.
>> > Do you know in which ACS version this got introduced?
>> >
>> > Many thanks.
>> > Ingo
>> >
>> > -Ursprüngliche Nachricht-
>> > Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
>> > Gesendet: Mittwoch, 6. September 2017 09:15
>> > An: users@cloudstack.apache.org
>> > Betreff: Re: Free capacity calculation within ACS
>> >
>> > Hi Ingo,
>> >
>> > You might want to look at the release period set in your installation:
>> > host.reservation.release.period. This release window time is there to
>> > keep the capacity of stopped machines on a host for a certain time,
>> > before releasing it, in case the machine has to start again soon
>> > after. And most likely for other reason maybe in the advance
>> > networking mode. So try to decrease this time window and check your
>> capacity after that.
>> >
>> > Marc-Aurèle
>> >
>> > On Tue, Sep 5, 2017 at 9:48 AM, Jochim, Ingo 
>> > wrote:
>> >
>> > > Hello all,
>> > >
>> > > within our CloudStack environment we like to park a couple of large
>> > > machines in powered off state.
>> > > Those machines are demo machines which are needed only sometimes.
>> > > Those machines will get included in the capacity. That means we
>> > > cannot build new machines even if there are free ressources on the
>> hypervisors.
>> > > We don't want to solve it with overcommitment.
>> > > Is there a possibility to calculate free capacity without all
>> > > powered off machines?
>> > >
>> > > Currently we have a dirty workaround. We created an offering with 1
>> > > core and 1MB RAM and used that for all parked machines.
>> > > But this is not very nice.
>> > >
>> > > Any ideas or comments are welcome.
>> > > Thank you.
>> > > Ingo
>> > >
>> >
>>
>
>
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner


Re: Free capacity calculation within ACS

2017-09-26 Thread Rafael Weingärtner
What version of ACS are you using?

On Tue, Sep 26, 2017 at 5:44 PM, Jochim, Ingo 
wrote:

> Hello Marc-Aurèle,
>
> we tested with the parameter host.reservation.release.period.
> We didn't see any change in the free capacity after shutdown of machines.
> Not even after this period.
> Any idea why?
>
> Regards,
> Ingo
>
>
>
>
> -Ursprüngliche Nachricht-
> Von: Jochim, Ingo [mailto:ingo.joc...@bitgroup.de]
> Gesendet: Mittwoch, 6. September 2017 09:56
> An: 'users@cloudstack.apache.org' 
> Betreff: AW: Free capacity calculation within ACS
>
> Many thanks. We will check.
>
> Regards,
> Ingo
>
> -Ursprüngliche Nachricht-
> Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> Gesendet: Mittwoch, 6. September 2017 09:51
> An: users@cloudstack.apache.org
> Betreff: Re: Free capacity calculation within ACS
>
> Apparently in 4.2.0
> https://github.com/apache/cloudstack/blob/f0dd5994b447a6097c52f405c7c7c5
> 4c76da9c16/setup/db/db/schema-410to420.sql
>
> On Wed, Sep 6, 2017 at 9:42 AM, Jochim, Ingo 
> wrote:
>
> > Hello Marc-Aurèle,
> >
> > great. Didn't know that this parameter exists.
> > Do you know in which ACS version this got introduced?
> >
> > Many thanks.
> > Ingo
> >
> > -Ursprüngliche Nachricht-
> > Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> > Gesendet: Mittwoch, 6. September 2017 09:15
> > An: users@cloudstack.apache.org
> > Betreff: Re: Free capacity calculation within ACS
> >
> > Hi Ingo,
> >
> > You might want to look at the release period set in your installation:
> > host.reservation.release.period. This release window time is there to
> > keep the capacity of stopped machines on a host for a certain time,
> > before releasing it, in case the machine has to start again soon
> > after. And most likely for other reason maybe in the advance
> > networking mode. So try to decrease this time window and check your
> capacity after that.
> >
> > Marc-Aurèle
> >
> > On Tue, Sep 5, 2017 at 9:48 AM, Jochim, Ingo 
> > wrote:
> >
> > > Hello all,
> > >
> > > within our CloudStack environment we like to park a couple of large
> > > machines in powered off state.
> > > Those machines are demo machines which are needed only sometimes.
> > > Those machines will get included in the capacity. That means we
> > > cannot build new machines even if there are free ressources on the
> hypervisors.
> > > We don't want to solve it with overcommitment.
> > > Is there a possibility to calculate free capacity without all
> > > powered off machines?
> > >
> > > Currently we have a dirty workaround. We created an offering with 1
> > > core and 1MB RAM and used that for all parked machines.
> > > But this is not very nice.
> > >
> > > Any ideas or comments are welcome.
> > > Thank you.
> > > Ingo
> > >
> >
>



-- 
Rafael Weingärtner


AW: Free capacity calculation within ACS

2017-09-26 Thread Jochim, Ingo
Hello Marc-Aurèle,

we tested with the parameter host.reservation.release.period.
We didn't see any change in the free capacity after shutdown of machines. Not 
even after this period.
Any idea why?

Regards,
Ingo




-Ursprüngliche Nachricht-
Von: Jochim, Ingo [mailto:ingo.joc...@bitgroup.de] 
Gesendet: Mittwoch, 6. September 2017 09:56
An: 'users@cloudstack.apache.org' 
Betreff: AW: Free capacity calculation within ACS

Many thanks. We will check.

Regards,
Ingo

-Ursprüngliche Nachricht-
Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
Gesendet: Mittwoch, 6. September 2017 09:51
An: users@cloudstack.apache.org
Betreff: Re: Free capacity calculation within ACS

Apparently in 4.2.0
https://github.com/apache/cloudstack/blob/f0dd5994b447a6097c52f405c7c7c54c76da9c16/setup/db/db/schema-410to420.sql

On Wed, Sep 6, 2017 at 9:42 AM, Jochim, Ingo 
wrote:

> Hello Marc-Aurèle,
>
> great. Didn't know that this parameter exists.
> Do you know in which ACS version this got introduced?
>
> Many thanks.
> Ingo
>
> -Ursprüngliche Nachricht-
> Von: Marc-Aurèle Brothier [mailto:ma...@exoscale.ch]
> Gesendet: Mittwoch, 6. September 2017 09:15
> An: users@cloudstack.apache.org
> Betreff: Re: Free capacity calculation within ACS
>
> Hi Ingo,
>
> You might want to look at the release period set in your installation:
> host.reservation.release.period. This release window time is there to 
> keep the capacity of stopped machines on a host for a certain time, 
> before releasing it, in case the machine has to start again soon 
> after. And most likely for other reason maybe in the advance 
> networking mode. So try to decrease this time window and check your capacity 
> after that.
>
> Marc-Aurèle
>
> On Tue, Sep 5, 2017 at 9:48 AM, Jochim, Ingo 
> wrote:
>
> > Hello all,
> >
> > within our CloudStack environment we like to park a couple of large 
> > machines in powered off state.
> > Those machines are demo machines which are needed only sometimes.
> > Those machines will get included in the capacity. That means we 
> > cannot build new machines even if there are free ressources on the 
> > hypervisors.
> > We don't want to solve it with overcommitment.
> > Is there a possibility to calculate free capacity without all 
> > powered off machines?
> >
> > Currently we have a dirty workaround. We created an offering with 1 
> > core and 1MB RAM and used that for all parked machines.
> > But this is not very nice.
> >
> > Any ideas or comments are welcome.
> > Thank you.
> > Ingo
> >
>


Re: Repository for Ubuntu xenial (16.04) broken for CloudStack 4.10

2017-09-26 Thread Rafael Weingärtner
Thanks for the reply Wido,  can you clarify the point:

>- Is Ubuntu Precise still supported?
>   - If not, we must change the docs (I can open a Jira ticket and PR
>   for that)

No, it's not because there is no Java 8 support there.

We deprecated support for Ubuntu Precise because it does not have OpenJdk
8? Is that it?

On Tue, Sep 26, 2017 at 3:05 PM, Wido den Hollander  wrote:

>
> > Op 26 september 2017 om 16:23 schreef Rafael Weingärtner <
> rafaelweingart...@gmail.com>:
> >
> >
> > Folks,
> >
> > How is the status of the 4.10 release? I thought it was already released,
> > right?
> >
> > Even though all of the CloudStack packages are in the right folders for
> > Precise and Xenial, it seems that only the “Release” file of Ubuntu
> Trusty
> > was updated with the new release files.
> >
>
> That seems like a bug! Probably the Indexing script somewhere. Let me
> check that.
>
> > Moreover, reading the latest docs found in [1], I would expect only
> precise
> > and Trusty to be supported because of the following sentence there:
> > “Please note that only packages for Ubuntu 12.04 LTS (precise) and Ubuntu
> > 14.04 (trusty) are being built at this time.”
> >
> > So, my questions are the following:
> >
> >- Is Ubuntu Precise still supported?
> >   - If not, we must change the docs (I can open a Jira ticket and PR
> >   for that)
>
> No, it's not because there is no Java 8 support there.
>
> >- Is Ubuntu Xenial supported?
> >   - If not, we do not need to do anything here. (perhaps removing the
> >   files from the repo would be a good idea?)
>
> It is supported. 14.04 and 16.04
>
> >   - If it is supported, we must fix the repo. Does anybody know how
> to
> >   access the “cloudstack.apt-get.eu” repository? Is it managed by
> the
> >   PMC?
> >
>
> It's hosted on download.cloudstack.org right now, which is a CNAME for
> cloudstack.apt-get.eu
>
> It's hosted by me and PMC members have access. I just need a public SSH
> key to grant a PMC member access.
>
> Wido
>
> > One last thing, was the documentation page for ACS 4.10 generated?
> >
> > [1]
> > http://docs.cloudstack.apache.org/projects/cloudstack-
> installation/en/4.9/management-server/index.html#deb-package-repository
> >
> > On Mon, Sep 25, 2017 at 8:14 PM, Christian Roeder <
> > christian.roe...@red-hood.de> wrote:
> >
> > > Hi,
> > >
> > >
> > > I just wanted to install CloudStack 4.10 on Ubuntu 16.04 using the
> > > official repository at http://cloudstack.apt-get.eu/ubuntu/, but it
> > > seems the .deb-files in the pool are actually not listed in the release
> > > file and therefore can not be found by apt. Will there be a fix for the
> > > repository?
> > >
> > >
> > > Regards,
> > > Christian
> > > --
> > > Christian Röder
> > > Jabber: red_h...@jabber.ccc.de
> > >
> >
> >
> >
> > --
> > Rafael Weingärtner
>



-- 
Rafael Weingärtner


Re: Repository for Ubuntu xenial (16.04) broken for CloudStack 4.10

2017-09-26 Thread Wido den Hollander

> Op 26 september 2017 om 16:23 schreef Rafael Weingärtner 
> :
> 
> 
> Folks,
> 
> How is the status of the 4.10 release? I thought it was already released,
> right?
> 
> Even though all of the CloudStack packages are in the right folders for
> Precise and Xenial, it seems that only the “Release” file of Ubuntu Trusty
> was updated with the new release files.
> 

That seems like a bug! Probably the Indexing script somewhere. Let me check 
that.

> Moreover, reading the latest docs found in [1], I would expect only precise
> and Trusty to be supported because of the following sentence there:
> “Please note that only packages for Ubuntu 12.04 LTS (precise) and Ubuntu
> 14.04 (trusty) are being built at this time.”
> 
> So, my questions are the following:
> 
>- Is Ubuntu Precise still supported?
>   - If not, we must change the docs (I can open a Jira ticket and PR
>   for that)

No, it's not because there is no Java 8 support there.

>- Is Ubuntu Xenial supported?
>   - If not, we do not need to do anything here. (perhaps removing the
>   files from the repo would be a good idea?)

It is supported. 14.04 and 16.04

>   - If it is supported, we must fix the repo. Does anybody know how to
>   access the “cloudstack.apt-get.eu” repository? Is it managed by the
>   PMC?
> 

It's hosted on download.cloudstack.org right now, which is a CNAME for 
cloudstack.apt-get.eu

It's hosted by me and PMC members have access. I just need a public SSH key to 
grant a PMC member access.

Wido

> One last thing, was the documentation page for ACS 4.10 generated?
> 
> [1]
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/management-server/index.html#deb-package-repository
> 
> On Mon, Sep 25, 2017 at 8:14 PM, Christian Roeder <
> christian.roe...@red-hood.de> wrote:
> 
> > Hi,
> >
> >
> > I just wanted to install CloudStack 4.10 on Ubuntu 16.04 using the
> > official repository at http://cloudstack.apt-get.eu/ubuntu/, but it
> > seems the .deb-files in the pool are actually not listed in the release
> > file and therefore can not be found by apt. Will there be a fix for the
> > repository?
> >
> >
> > Regards,
> > Christian
> > --
> > Christian Röder
> > Jabber: red_h...@jabber.ccc.de
> >
> 
> 
> 
> -- 
> Rafael Weingärtner


Re: Repository for Ubuntu xenial (16.04) broken for CloudStack 4.10

2017-09-26 Thread Özhan Rüzgar Karaman
We are waiting for 4.10 installation and other 4.10 documentations(like
source compile) since long time there was a thread about this documentation
generation on mailing list but it looks like the problem on that step did
not solved yet, its still waiting :(

+1 for Christians & Rafaels questions

On Tue, Sep 26, 2017 at 5:23 PM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> Folks,
>
> How is the status of the 4.10 release? I thought it was already released,
> right?
>
> Even though all of the CloudStack packages are in the right folders for
> Precise and Xenial, it seems that only the “Release” file of Ubuntu Trusty
> was updated with the new release files.
>
> Moreover, reading the latest docs found in [1], I would expect only precise
> and Trusty to be supported because of the following sentence there:
> “Please note that only packages for Ubuntu 12.04 LTS (precise) and Ubuntu
> 14.04 (trusty) are being built at this time.”
>
> So, my questions are the following:
>
>- Is Ubuntu Precise still supported?
>   - If not, we must change the docs (I can open a Jira ticket and PR
>   for that)
>- Is Ubuntu Xenial supported?
>   - If not, we do not need to do anything here. (perhaps removing the
>   files from the repo would be a good idea?)
>   - If it is supported, we must fix the repo. Does anybody know how to
>   access the “cloudstack.apt-get.eu” repository? Is it managed by the
>   PMC?
>
> One last thing, was the documentation page for ACS 4.10 generated?
>
> [1]
> http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/
> management-server/index.html#deb-package-repository
>
> On Mon, Sep 25, 2017 at 8:14 PM, Christian Roeder <
> christian.roe...@red-hood.de> wrote:
>
> > Hi,
> >
> >
> > I just wanted to install CloudStack 4.10 on Ubuntu 16.04 using the
> > official repository at http://cloudstack.apt-get.eu/ubuntu/, but it
> > seems the .deb-files in the pool are actually not listed in the release
> > file and therefore can not be found by apt. Will there be a fix for the
> > repository?
> >
> >
> > Regards,
> > Christian
> > --
> > Christian Röder
> > Jabber: red_h...@jabber.ccc.de
> >
>
>
>
> --
> Rafael Weingärtner
>


Re: Custom System VM

2017-09-26 Thread Gabriel Beims Bräscher
Hi Benjamin,

Check this PR https://github.com/apache/cloudstack/pull/2275

Cheers,
Gabriel.

2017-09-25 5:27 GMT-03:00 Dag Sonstebo :

> Hi Benjamin,
>
> Can you elaborate – what is your system VM template achieving compared to
> the standard system VM template? Are you planning on replacing the standard
> system VM template with your own?
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> From: Benjamin Naber - NETFORMIC GmbH 
> Reply-To: "users@cloudstack.apache.org" 
> Date: Wednesday, 20 September 2017 at 08:20
> To: "users@cloudstack.apache.org" 
> Subject: Custom System VM
>
> Hi together,
>
> i have build a customized system vm for Xenserver Hypervisors. can someone
> explain the steps for implementing these system vm in my environment ?
>
> Kind regards
>
> Benjamin Naber
>
> System Administrator
>
> Telefon: +49 (0)711 761642-445
> benjamin.na...@netformic.de
>
> [cid:image001.png@01D331F1.BFE0DAA0]
>
> NETFORMIC GmbH
> HRB 720729, Amtsgericht Stuttgart
> USt-IdNr.: DE814688053
> Geschäftsführer: Jens Rilling, Timo Weltner
>
> Stuttgart
> Hermannstraße 5A, 70178 Stuttgart
> Telefon: +49 (0)711 761642-0, Fax: -26
>
> Berlin
> Fanny-Zobel-Straße 11, 12435 Berlin
> Telefon: +49 (0)30 60984747-0, Fax: -9
>
>
>
>
> dag.sonst...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


Re: Repository for Ubuntu xenial (16.04) broken for CloudStack 4.10

2017-09-26 Thread Rafael Weingärtner
Folks,

How is the status of the 4.10 release? I thought it was already released,
right?

Even though all of the CloudStack packages are in the right folders for
Precise and Xenial, it seems that only the “Release” file of Ubuntu Trusty
was updated with the new release files.

Moreover, reading the latest docs found in [1], I would expect only precise
and Trusty to be supported because of the following sentence there:
“Please note that only packages for Ubuntu 12.04 LTS (precise) and Ubuntu
14.04 (trusty) are being built at this time.”

So, my questions are the following:

   - Is Ubuntu Precise still supported?
  - If not, we must change the docs (I can open a Jira ticket and PR
  for that)
   - Is Ubuntu Xenial supported?
  - If not, we do not need to do anything here. (perhaps removing the
  files from the repo would be a good idea?)
  - If it is supported, we must fix the repo. Does anybody know how to
  access the “cloudstack.apt-get.eu” repository? Is it managed by the
  PMC?

One last thing, was the documentation page for ACS 4.10 generated?

[1]
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.9/management-server/index.html#deb-package-repository

On Mon, Sep 25, 2017 at 8:14 PM, Christian Roeder <
christian.roe...@red-hood.de> wrote:

> Hi,
>
>
> I just wanted to install CloudStack 4.10 on Ubuntu 16.04 using the
> official repository at http://cloudstack.apt-get.eu/ubuntu/, but it
> seems the .deb-files in the pool are actually not listed in the release
> file and therefore can not be found by apt. Will there be a fix for the
> repository?
>
>
> Regards,
> Christian
> --
> Christian Röder
> Jabber: red_h...@jabber.ccc.de
>



-- 
Rafael Weingärtner


Re: [restart network services]

2017-09-26 Thread Gian Paolo Buono
ok, but on the same vpc i have a forwarding rules on port https 443 that hangs 
and I must restart the firewall rules..and these is for me a big problem


thanks

On 09/26/2017 02:59 PM, Sean Lair wrote:

For these false-positive error messages:

site-to-site Vpn Connection to x on router r-15854-VM(id: 15854)  just 
switch from Connected to Disconnected

We also had that issue, it was a bug and is fixed in 4.9.3 by this pull request:

http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY2YzY5ODg1MTdjZWE4MDg4ND01OUNBNEY2Ql81NjE1XzEzMzI4XzEmJmFhZTk3NGRmZGE0NmE3YT0xMjIzJiZ1cmw9aHR0cHMlM0ElMkYlMkZnaXRodWIlMkVjb20lMkZhcGFjaGUlMkZjbG91ZHN0YWNrJTJGcHVsbCUyRjIwNDAlMEQ=

-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it]
Sent: Tuesday, September 26, 2017 2:05 AM
To: 
nitinkumar.mahar...@accelerite.com
Cc: users@cloudstack.apache.org
Subject: Re: [restart network services]

Hi Nitin,
thanks but i have a big problem on this vpc, because have a site to stite vpn 
and often i receive this message:

site-to-site Vpn Connection to x on router r-15854-VM(id: 15854)  just 
switch from Connected to Disconnected

The vpn is always UP, infact does not lose ping packages, but on the same vpc i 
have a forwarding rules on port https 443 that hangs and I must restart the 
firewall rules
Furthermore i have  found in  /var/log/cloud.log 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiYyMDdiOTY1NTZiZTQ4Y2NiNT01OUNBNEY2Ql81NjE1XzEzMzI4XzEmJmRhNzhhMTZlOWFlN2Q2OD0xMjIzJiZ1cmw9Y3NuZXRmaWx0ZXIlMkVweQ==,
 but what is this scripts ? Can i Block it ?

Please, help me...thanks
Gian Paolo


On 09/26/2017 08:55 AM, Nitin Kumar Maharana wrote:

Hi Gianpaolo,

Actually, it runs a couple of scripts based on the number of NICs and rules 
configured etc.. present in the router.
There is no specific command run on it but I can say a couple of commands run 
with the help of existing scripts.

To restart the network on the router VM. The below command can be used.
"sudo /etc/init.d/networking restart”

Hope this will help!!


Thanks,
Nitin



On 26-Sep-2017, at 11:34 AM, Gian Paolo Buono 
mailto:gianpaolo.bu...@gesca.it>>
 wrote:

Hi all,

which command on router is run  when click on restart network services (home 
--> network --> 10.1.1.0)

Thanks bye

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.






Re: [Site-to-Site IPSEC Slow]

2017-09-26 Thread Gian Paolo Buono
Hi Glenn,

1. ACS version: 4.9.1
2.  Centos 7
3. XenServer 6.5
4. Storage Type: NFS
5. Storage Network 10Gb

the test is with netcat...

thanks


On 09/26/2017 08:23 AM, Glenn Wagner wrote:

Hi,

Can you give us some information about your environment?

1. ACS version: 4.9.2
2. ACS OS version: Ubuntu 14.04 / Ubuntu 16.04, Centos 6/7
2. Hypervisor: Xenserver , KVM ,VMware 5.5/6.0
3. Storage Type , NFS, iscsi , fibre channel
4. Storage Network Speed. 1GB , 10GB

Regards
Glenn


glenn.wag...@shapeblue.com
www.shapeblue.com
Winter Suite, 1st Floor, The Avenues, Drama Street, Somerset West, Cape Town  
7129South Africa
@shapeblue




-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it]
Sent: Monday, 25 September 2017 11:54 PM
To: users@cloudstack.apache.org
Subject: [Site-to-Site IPSEC Slow]

Hi all,
I have an IPSEC tunnel established between two sites (VPC CloudStack) vs 
Openswan Debian and both sites get 100Mbps down / 100 Mbps up.
When I send the traffic into the tunnel the max bandwith is 4MB/s, when i send 
the traffic out the tunnel the bandwith is 12MB/s, any idea ?

Regards
Gian Paolo




RE: [restart network services]

2017-09-26 Thread Sean Lair
For these false-positive error messages:

site-to-site Vpn Connection to x on router r-15854-VM(id: 15854)  just 
switch from Connected to Disconnected

We also had that issue, it was a bug and is fixed in 4.9.3 by this pull request:

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

-Original Message-
From: Gian Paolo Buono [mailto:gianpaolo.bu...@gesca.it] 
Sent: Tuesday, September 26, 2017 2:05 AM
To: nitinkumar.mahar...@accelerite.com
Cc: users@cloudstack.apache.org
Subject: Re: [restart network services]

Hi Nitin,
thanks but i have a big problem on this vpc, because have a site to stite vpn 
and often i receive this message:

site-to-site Vpn Connection to x on router r-15854-VM(id: 15854)  just 
switch from Connected to Disconnected

The vpn is always UP, infact does not lose ping packages, but on the same vpc i 
have a forwarding rules on port https 443 that hangs and I must restart the 
firewall rules
Furthermore i have  found in  /var/log/cloud.log csnetfilter.py, but what is 
this scripts ? Can i Block it ?

Please, help me...thanks
Gian Paolo


On 09/26/2017 08:55 AM, Nitin Kumar Maharana wrote:

Hi Gianpaolo,

Actually, it runs a couple of scripts based on the number of NICs and rules 
configured etc.. present in the router.
There is no specific command run on it but I can say a couple of commands run 
with the help of existing scripts.

To restart the network on the router VM. The below command can be used.
"sudo /etc/init.d/networking restart”

Hope this will help!!


Thanks,
Nitin



On 26-Sep-2017, at 11:34 AM, Gian Paolo Buono 
mailto:gianpaolo.bu...@gesca.it>>
 wrote:

Hi all,

which command on router is run  when click on restart network services (home 
--> network --> 10.1.1.0)

Thanks bye

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.




Re: Corrupted HDD

2017-09-26 Thread Dag Sonstebo
Hi Jeremy,

If you revisit the info on vhd-util this will still help you troubleshoot LVM 
based storage. Another KB article you can refer to is 
https://support.citrix.com/article/CTX201296 - as you can see from this the 
scans will work for both (e.g. SIC #vhd-util scan –m “VHD-*” -f -c -l 
VG_XenStorage- -p –v}

In short though – if your base disk is gone I’m not aware of any mechanism to 
recover data from your delta disk.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 25/09/2017, 18:02, "Jeremy Peterson"  wrote:

Now looking at Adrian's link 

Since the VM is powered off and will not boot due to UUID mismatch.

[root@Flex-Xen5 mapper]# xe vm-list name-label=i-23-223-VM

I don't get anything after issuing the vm-list command for that VM.

Jeremy


-Original Message-
From: Jeremy Peterson [mailto:jpeter...@acentek.net] 
Sent: Monday, September 25, 2017 11:55 AM
To: users@cloudstack.apache.org
Subject: RE: Corrupted HDD

[root@Flex-Xen5 VG_XenStorage-469b6dcd-8466-3d03-de0e-cc3983e1b6e2]# xe 
vdi-list | grep -A 5 12eb0cdaba30
[root@Flex-Xen5 VG_XenStorage-469b6dcd-8466-3d03-de0e-cc3983e1b6e2]# xe 
vdi-list | grep -A 5 d750a907a699

You can see above that both uuid's I pulled one from the uuid not found 
command from cloudstack and also from the sql query both are not showing 
anything when I do a xe vdi-list.  This tells me that xenserver cannot find the 
vdi's  leaving me with only my block device.

[root@Flex-Xen5 mapper]# ls -lh | grep 699
brw-rw 1 root disk 253,   9 Sep 23 11:34 
VG_XenStorage--469b6dcd--8466--3d03--de0e--cc3983e1b6e2-VHD--f5aabea5--2a18--4f24--9f8d--d750a907a699

Sorry I am responding so many times I'm just going through this one by one 
trying to figure anything out to recover this data.  

Jeremy


-Original Message-
From: Jeremy Peterson [mailto:jpeter...@acentek.net] 
Sent: Monday, September 25, 2017 11:44 AM
To: users@cloudstack.apache.org
Subject: RE: Corrupted HDD

Now if I look at my starting error from cloudstack I see the following for 
when it calls the ROOT disk.

"disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{
"uuid":"e772d773-5a9d-4c7b-9227-12eb0cdaba30",
"volumeType":"ROOT",



2017-09-25 11:20:16,555 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-57:ctx-dcbad35d job-261776/job-261778 ctx-f1843e45) Seq 
19-8416664753602063711: Executing:  { Cmd , MgmtId: 
  345050411715, via: 19(Flex-Xen1.flexhost.local), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.StartCommand":{"vm":{"id":223,"name":"i-23-223-VM","bootloader":"PyGrub","typ
  
e":"User","cpus":2,"minSpeed":500,"maxSpeed":2000,"minRam":1073741824,"maxRam":4294967296,"arch":"x86_64","os":"Windows
 Server 2012 R2 (64-bit)","platformEmulator":"Windows S 
 erver 2012 R2 
(64-bit)","bootArgs":"","enableHA":true,"limitCpuUse":true,"enableDynamicallyScaleVm":true,"vncPassword":"P2LDsJVeaBNz2+W4OB93ZA==","params":{"memoryOvercommitR
  
atio":"4","platform":"viridian:true;acpi:1;apic:true;viridian_reference_tsc:true;viridian_time_ref_count:true;pae:true;videoram:8;device_id:0002;nx:true;timeoffset:-17885;vga
  
:std","keyboard":"us","Message.ReservedCapacityFreed.Flag":"false","cpuOvercommitRatio":"4","hypervisortoolsversion":"xenserver61"},"uuid":"6ff4beb0-e064-4364-94d3-5b3fbc15ee
  
16","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"e772d773-5a9d-4c7b-9227-12eb0cdaba30","volumeType":"ROOT","dataStore":{"org.apache.cloudstack
  
.storage.to.PrimaryDataStoreTO":{"uuid":"FlexSAN2-LUN1","id":6,"poolType":"PreSetup","host":"localhost","path":"/FlexSAN2-LUN1","port":0,"url":"PreSetup://localhost/FlexSAN2-
  
LUN1/?ROLE=Primary&STOREUUID=FlexSAN2-LUN1"}},"name":"ROOT-223","size":171798691840,"path":"f5aabea5-2a18-4f24-9f8d-d750a907a699","volumeId":275,"vmName":"i-23-223-VM","accou
  
ntId":23,"format":"VHD","provisioningType":"THIN","id":275,"deviceId":0,"hypervisorType":"XenServer"}},"diskSeq":0,"path":"f5aabea5-2a18-4f24-9f8d-d750a907a699","type":"ROOT"
  
,"_details":{"managed":"false","storagePort":"0","storageHost":"localhost","volumeSize":"171798691840"}},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,
  
"format":"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":1000,"defaultNic":true,"pxeDisable":false,"nicUuid":"d7d464bc-64
  
c1-490a-944e-6a2adee1a451","uuid":"940feda7-65ee-438b-bd06-d33ba3d734c4","ip":"10.1.1.126","netmask":"255.255.255.0","gateway":"10.1.1.1","mac

Re: Add additional local storage

2017-09-26 Thread Dag Sonstebo
Hi Natalia,

I’ve never done this myself so can’t guarantee for outcome – so please test 
this in a non-production environment – but it looks like the last tip on the 
following libvirt docs page outlines what you want to achieve: 
https://wiki.libvirt.org/page/Tips 

Please let us know if you manage to get this working.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue


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

On 26/09/2017, 08:37, "Natalia Costas Lago"  wrote:


Hi,

We added a new raid volume as local storage in our nodes that is faster 
than the local storage we have been using so far. We would like to add 
this new "Local-SSD" storage volume but it seems it is not possible 
without replacing the old one. We do not want to replace the default 
/var/lib/libvirt storage, we want to add a new alternative directory for 
faster local storage and choose to deploy between the slow or the fast one.

Is that possible?

Kind regards,

-- 

Natalia Costas Lago
Senior Communications Technician
Galicia Supercomputing Centre (CESGA)
(CESGA on Twitter  |  CESGA on Facebook)

Avenida de Vigo, s/n (Campus Vida)
15705 Santiago de Compostela - SPAIN

E-mail: nata...@cesga.es
Cell: +34 981 56 98 10 (ext. 237)
Fax: +34 981 59 46 16
Web: https://www.cesga.es/

[IMPORTANTE] La información contenida en este mensaje y
sus posibles documentos adjuntos es privada y confidencial
y está dirigida únicamente a su destinatario/a. Si usted no
es el/la destinatario/a original de este mensaje, por favor
elimínelo. La distribución o copia de este mensaje no está
autorizada.





Add additional local storage

2017-09-26 Thread Natalia Costas Lago


Hi,

We added a new raid volume as local storage in our nodes that is faster 
than the local storage we have been using so far. We would like to add 
this new "Local-SSD" storage volume but it seems it is not possible 
without replacing the old one. We do not want to replace the default 
/var/lib/libvirt storage, we want to add a new alternative directory for 
faster local storage and choose to deploy between the slow or the fast one.


Is that possible?

Kind regards,

--

Natalia Costas Lago
Senior Communications Technician
Galicia Supercomputing Centre (CESGA)
(CESGA on Twitter  |  CESGA on Facebook)

Avenida de Vigo, s/n (Campus Vida)
15705 Santiago de Compostela - SPAIN

E-mail: nata...@cesga.es
Cell: +34 981 56 98 10 (ext. 237)
Fax: +34 981 59 46 16
Web: https://www.cesga.es/

[IMPORTANTE] La información contenida en este mensaje y
sus posibles documentos adjuntos es privada y confidencial
y está dirigida únicamente a su destinatario/a. Si usted no
es el/la destinatario/a original de este mensaje, por favor
elimínelo. La distribución o copia de este mensaje no está
autorizada.



Re: [restart network services]

2017-09-26 Thread Gian Paolo Buono
Hi Nitin,
thanks but i have a big problem on this vpc, because have a site to stite vpn 
and often i receive this message:

site-to-site Vpn Connection to x on router r-15854-VM(id: 15854)  just 
switch from Connected to Disconnected

The vpn is always UP, infact does not lose ping packages, but on the same vpc i 
have a forwarding rules on port https 443 that hangs and I must restart the 
firewall rules
Furthermore i have  found in  /var/log/cloud.log csnetfilter.py, but what is 
this scripts ? Can i Block it ?

Please, help me...thanks
Gian Paolo


On 09/26/2017 08:55 AM, Nitin Kumar Maharana wrote:

Hi Gianpaolo,

Actually, it runs a couple of scripts based on the number of NICs and rules 
configured etc.. present in the router.
There is no specific command run on it but I can say a couple of commands run 
with the help of existing scripts.

To restart the network on the router VM. The below command can be used.
"sudo /etc/init.d/networking restart”

Hope this will help!!


Thanks,
Nitin



On 26-Sep-2017, at 11:34 AM, Gian Paolo Buono 
mailto:gianpaolo.bu...@gesca.it>>
 wrote:

Hi all,

which command on router is run  when click on restart network services
(home --> network --> 10.1.1.0)

Thanks bye

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.