Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Rajani Karuturi
congratulations guys..

~Rajani

On Wed, Apr 27, 2016 at 2:29 AM, Gabriel Beims Bräscher <
gabrasc...@gmail.com> wrote:

> Hello CloudStack community members (@dev and @users),
>
> This email is meant to announce the publication of a project on Github that
> provides a distributed virtual machine scheduling platform that can be
> easily integrated with Apache CloudStack (ACS). The project is available at
> [1], you can find a detailed explanation of the idea of the project, its
> aspirations, basic concepts, installation and uninstallation processes and
> other information at [2]. Also, if you want to know more about the
> Autonomiccs and its creators, you can access the link [3].
>
> The code that was opened at Github is part of a bigger system that has the
> goal of managing a cloud computing environment autonomously. All of that is
> being developed and used in my Ph. D. thesis and the masters’ thesis of
> some colleagues. The formalization of that component will be published at
> the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
> USA.
>
> You can see the stats of our code at [4] and [5]. Right now we only have
> ~40% of code test coverage. However, we intend to increase that value to
> ~60% until next week and ~90% until the end of June.
>
> To give you a picture of what we are preparing for the future, we can
> highlight the following goals for this year (You can find others short term
> goals at [6]):
>
>-
>
>Integrate our platform [1] with a multi-agent system (MAS) platform, in
>order to facilitate the development of agents. Currently, we are using
>Spring-integration to “emulate” and an agent life cycle; that can
> become a
>problem when needing to add more agents and they start to communicate
> with
>each other. Therefore, we will integrate the platform in [1] with JADE
> [7];
>-
>
>Today the metrics about the use of resource are not properly gathered by
>ACS; in order to develop more accurate predictions we need to store
>resource usage metrics. Also, those metrics have to be gathered in a
>distributed way without causing service degradation. For that and a few
>other reasons (you can send us an email so we can provide you more
>details), we are developing an autonomic monitoring platform that will
>integrate with the system available in [1];
>-
>
>We also foresee the need to develop a better way to visualize the cloud
>environment, a way to detect hot spots (pods and hosts) with higher
>resource usage trends (VMs trends). We see the need to change the rustic
>view of the environment with tables for a better suitable one for humans
>(this is a surprise that we intend to present at the CCCBR).
>
> We hope you like the software and that it meets your expectations. If it
> does not suffice all of your needs, let’s work together to improve it. If
> you have any doubts or suggestions please send us an email; we will reply
> it as fast as we can. Also, critics that can help us improve that platform
> are very welcome.
>
> [1] https://github.com/Autonomiccs/autonomiccs-platform
>
> [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki
>
> [3] http://autonomiccs.com.br/
>
> [4] http://jenkins.autonomiccs.com.br/
>
> [5] http://sonar.autonomiccs.com.br/
>
> [6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution
>
> [7] http://jade.tilab.com/
>
>
> Cheers, Gabriel.
>


[GitHub] cloudstack pull request: CLOUDSTACK-6975: Prevent dnsmasq from sta...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1514#issuecomment-214966578
  
@dsclose don't worry about the travis failure, it is due to a timeout.  
Just do a force push to kick it off again and it will probably pass next time.  
I will start a CI run on this now.  Thx...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9283: add pid to java argument...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1409#issuecomment-214966321
  
Two people have confirmed this is working and we also have two LGTM.  Is 
this one ready to merge.  I don't think running CI is going to add much value 
beyond the manual checks people have already done.  Do you guys agree?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: 4.9 mvn version safeupgradeonly

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1510#issuecomment-214965449
  
This one is ready pending at least one LGTM vote...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread jburwell
Github user jburwell commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214960750
  
@mlsorensen +1 -- well said.  command.properties presents a number of 
significant problems.  First, in a clustered environment, it is possible (and 
quite easy) for there to be inconsistent security policies across the cluster.  
Second, command.properties does not permit the definition of new roles.  
Limiting users to 4 roles in a modern cloud environment is a barrier to 
CloudStack adoption.

As Marcus has stated, we can't move forward if we keep trying to maintain 
outdated mechanisms.  Existing users can continue to use command.properties and 
migrate if/when they desire.  New users gain the benefits of a more reliable 
and flexible authorization implementation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: 4.9 mvn version safeupgradeonly

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1510#issuecomment-214960615
  


### CI RESULTS

```
Tests Run: 85
  Skipped: 0
   Failed: 0
   Errors: 0
```



**Associated Uploads**

**`/tmp/MarvinLogs/DeployDataCenter__Apr_26_2016_20_17_04_VKI7EV:`**
* 
[dc_entries.obj](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/DeployDataCenter__Apr_26_2016_20_17_04_VKI7EV/dc_entries.obj)
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/DeployDataCenter__Apr_26_2016_20_17_04_VKI7EV/failed_plus_exceptions.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/DeployDataCenter__Apr_26_2016_20_17_04_VKI7EV/runinfo.txt)

**`/tmp/MarvinLogs/test_network_0G1KRM:`**
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_network_0G1KRM/failed_plus_exceptions.txt)
* 
[results.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_network_0G1KRM/results.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_network_0G1KRM/runinfo.txt)

**`/tmp/MarvinLogs/test_vpc_routers_JIBRWD:`**
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_vpc_routers_JIBRWD/failed_plus_exceptions.txt)
* 
[results.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_vpc_routers_JIBRWD/results.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR1510/tmp/MarvinLogs/test_vpc_routers_JIBRWD/runinfo.txt)


Uploads will be available until `2016-06-27 02:00:00 +0200 CEST`

*Comment created by [`upr comment`](https://github.com/cloudops/upr).*



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Rafael Weingärtner
Thank you guys for the cheers. That is a very warm welcome for our little
project ;)
You bet we will keep the hard work. There is much (really much) more to
work on, with this project we will have at least 2 masters’ thesis and 3
Ph.D. thesis; that is something to keep us busy for the next 5+ years only
in research and development (RD).

We hope you guys test the Autonomiccs platform and may even use it in your
production environments.
If any of you want to chat in person, I will be at the ApacheCon NA (Thanks
for the ASF funding) that will be happening between May 09-11 in Vancouver
and at the SERVICES conference that will be happening between June 27 and
July 02 in San Francisco.


On Tue, Apr 26, 2016 at 10:28 PM, Ahmad Emneina  wrote:

> This looks really cool and promising! Keep up the great work.
>
> On Tue, Apr 26, 2016 at 1:59 PM, Gabriel Beims Bräscher <
> gabrasc...@gmail.com> wrote:
>
> > Hello CloudStack community members (@dev and @users),
> >
> > This email is meant to announce the publication of a project on Github
> that
> > provides a distributed virtual machine scheduling platform that can be
> > easily integrated with Apache CloudStack (ACS). The project is available
> at
> > [1], you can find a detailed explanation of the idea of the project, its
> > aspirations, basic concepts, installation and uninstallation processes
> and
> > other information at [2]. Also, if you want to know more about the
> > Autonomiccs and its creators, you can access the link [3].
> >
> > The code that was opened at Github is part of a bigger system that has
> the
> > goal of managing a cloud computing environment autonomously. All of that
> is
> > being developed and used in my Ph. D. thesis and the masters’ thesis of
> > some colleagues. The formalization of that component will be published at
> > the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
> > USA.
> >
> > You can see the stats of our code at [4] and [5]. Right now we only have
> > ~40% of code test coverage. However, we intend to increase that value to
> > ~60% until next week and ~90% until the end of June.
> >
> > To give you a picture of what we are preparing for the future, we can
> > highlight the following goals for this year (You can find others short
> term
> > goals at [6]):
> >
> >-
> >
> >Integrate our platform [1] with a multi-agent system (MAS) platform,
> in
> >order to facilitate the development of agents. Currently, we are using
> >Spring-integration to “emulate” and an agent life cycle; that can
> > become a
> >problem when needing to add more agents and they start to communicate
> > with
> >each other. Therefore, we will integrate the platform in [1] with JADE
> > [7];
> >-
> >
> >Today the metrics about the use of resource are not properly gathered
> by
> >ACS; in order to develop more accurate predictions we need to store
> >resource usage metrics. Also, those metrics have to be gathered in a
> >distributed way without causing service degradation. For that and a
> few
> >other reasons (you can send us an email so we can provide you more
> >details), we are developing an autonomic monitoring platform that will
> >integrate with the system available in [1];
> >-
> >
> >We also foresee the need to develop a better way to visualize the
> cloud
> >environment, a way to detect hot spots (pods and hosts) with higher
> >resource usage trends (VMs trends). We see the need to change the
> rustic
> >view of the environment with tables for a better suitable one for
> humans
> >(this is a surprise that we intend to present at the CCCBR).
> >
> > We hope you like the software and that it meets your expectations. If it
> > does not suffice all of your needs, let’s work together to improve it. If
> > you have any doubts or suggestions please send us an email; we will reply
> > it as fast as we can. Also, critics that can help us improve that
> platform
> > are very welcome.
> >
> > [1] https://github.com/Autonomiccs/autonomiccs-platform
> >
> > [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki
> >
> > [3] http://autonomiccs.com.br/
> >
> > [4] http://jenkins.autonomiccs.com.br/
> >
> > [5] http://sonar.autonomiccs.com.br/
> >
> > [6]
> https://github.com/Autonomiccs/autonomiccs-platform#project-evolution
> >
> > [7] http://jade.tilab.com/
> >
> >
> > Cheers, Gabriel.
> >
>



-- 
Rafael Weingärtner


Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Simon Weller
Really nice! This is super exciting stuff.

- Si



From: Daan Hoogland 
Sent: Tuesday, April 26, 2016 4:36 PM
To: dev
Cc: us...@cloudstack.apache.org
Subject: Re: [ANNOUNCE] Open source distributed virtual machine scheduling 
platform

congratulation guys

On Tue, Apr 26, 2016 at 10:59 PM, Gabriel Beims Bräscher <
gabrasc...@gmail.com> wrote:

> Hello CloudStack community members (@dev and @users),
>
> This email is meant to announce the publication of a project on Github that
> provides a distributed virtual machine scheduling platform that can be
> easily integrated with Apache CloudStack (ACS). The project is available at
> [1], you can find a detailed explanation of the idea of the project, its
> aspirations, basic concepts, installation and uninstallation processes and
> other information at [2]. Also, if you want to know more about the
> Autonomiccs and its creators, you can access the link [3].
>
> The code that was opened at Github is part of a bigger system that has the
> goal of managing a cloud computing environment autonomously. All of that is
> being developed and used in my Ph. D. thesis and the masters’ thesis of
> some colleagues. The formalization of that component will be published at
> the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
> USA.
>
> You can see the stats of our code at [4] and [5]. Right now we only have
> ~40% of code test coverage. However, we intend to increase that value to
> ~60% until next week and ~90% until the end of June.
>
> To give you a picture of what we are preparing for the future, we can
> highlight the following goals for this year (You can find others short term
> goals at [6]):
>
>-
>
>Integrate our platform [1] with a multi-agent system (MAS) platform, in
>order to facilitate the development of agents. Currently, we are using
>Spring-integration to “emulate” and an agent life cycle; that can
> become a
>problem when needing to add more agents and they start to communicate
> with
>each other. Therefore, we will integrate the platform in [1] with JADE
> [7];
>-
>
>Today the metrics about the use of resource are not properly gathered by
>ACS; in order to develop more accurate predictions we need to store
>resource usage metrics. Also, those metrics have to be gathered in a
>distributed way without causing service degradation. For that and a few
>other reasons (you can send us an email so we can provide you more
>details), we are developing an autonomic monitoring platform that will
>integrate with the system available in [1];
>-
>
>We also foresee the need to develop a better way to visualize the cloud
>environment, a way to detect hot spots (pods and hosts) with higher
>resource usage trends (VMs trends). We see the need to change the rustic
>view of the environment with tables for a better suitable one for humans
>(this is a surprise that we intend to present at the CCCBR).
>
> We hope you like the software and that it meets your expectations. If it
> does not suffice all of your needs, let’s work together to improve it. If
> you have any doubts or suggestions please send us an email; we will reply
> it as fast as we can. Also, critics that can help us improve that platform
> are very welcome.
>
> [1] https://github.com/Autonomiccs/autonomiccs-platform
>
> [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki
>
> [3] http://autonomiccs.com.br/
>
> [4] http://jenkins.autonomiccs.com.br/
>
> [5] http://sonar.autonomiccs.com.br/
>
> [6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution
>
> [7] http://jade.tilab.com/
>
>
> Cheers, Gabriel.
>



--
Daan


Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Daan Hoogland
congratulation guys

On Tue, Apr 26, 2016 at 10:59 PM, Gabriel Beims Bräscher <
gabrasc...@gmail.com> wrote:

> Hello CloudStack community members (@dev and @users),
>
> This email is meant to announce the publication of a project on Github that
> provides a distributed virtual machine scheduling platform that can be
> easily integrated with Apache CloudStack (ACS). The project is available at
> [1], you can find a detailed explanation of the idea of the project, its
> aspirations, basic concepts, installation and uninstallation processes and
> other information at [2]. Also, if you want to know more about the
> Autonomiccs and its creators, you can access the link [3].
>
> The code that was opened at Github is part of a bigger system that has the
> goal of managing a cloud computing environment autonomously. All of that is
> being developed and used in my Ph. D. thesis and the masters’ thesis of
> some colleagues. The formalization of that component will be published at
> the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
> USA.
>
> You can see the stats of our code at [4] and [5]. Right now we only have
> ~40% of code test coverage. However, we intend to increase that value to
> ~60% until next week and ~90% until the end of June.
>
> To give you a picture of what we are preparing for the future, we can
> highlight the following goals for this year (You can find others short term
> goals at [6]):
>
>-
>
>Integrate our platform [1] with a multi-agent system (MAS) platform, in
>order to facilitate the development of agents. Currently, we are using
>Spring-integration to “emulate” and an agent life cycle; that can
> become a
>problem when needing to add more agents and they start to communicate
> with
>each other. Therefore, we will integrate the platform in [1] with JADE
> [7];
>-
>
>Today the metrics about the use of resource are not properly gathered by
>ACS; in order to develop more accurate predictions we need to store
>resource usage metrics. Also, those metrics have to be gathered in a
>distributed way without causing service degradation. For that and a few
>other reasons (you can send us an email so we can provide you more
>details), we are developing an autonomic monitoring platform that will
>integrate with the system available in [1];
>-
>
>We also foresee the need to develop a better way to visualize the cloud
>environment, a way to detect hot spots (pods and hosts) with higher
>resource usage trends (VMs trends). We see the need to change the rustic
>view of the environment with tables for a better suitable one for humans
>(this is a surprise that we intend to present at the CCCBR).
>
> We hope you like the software and that it meets your expectations. If it
> does not suffice all of your needs, let’s work together to improve it. If
> you have any doubts or suggestions please send us an email; we will reply
> it as fast as we can. Also, critics that can help us improve that platform
> are very welcome.
>
> [1] https://github.com/Autonomiccs/autonomiccs-platform
>
> [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki
>
> [3] http://autonomiccs.com.br/
>
> [4] http://jenkins.autonomiccs.com.br/
>
> [5] http://sonar.autonomiccs.com.br/
>
> [6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution
>
> [7] http://jade.tilab.com/
>
>
> Cheers, Gabriel.
>



-- 
Daan


Re: [ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Erik Weber
Cool stuff! You might want to announce this on the marketing@ list as well
for further exposure :-)

-- 
Erik

On Tue, Apr 26, 2016 at 10:59 PM, Gabriel Beims Bräscher <
gabrasc...@gmail.com> wrote:

> Hello CloudStack community members (@dev and @users),
>
> This email is meant to announce the publication of a project on Github that
> provides a distributed virtual machine scheduling platform that can be
> easily integrated with Apache CloudStack (ACS). The project is available at
> [1], you can find a detailed explanation of the idea of the project, its
> aspirations, basic concepts, installation and uninstallation processes and
> other information at [2]. Also, if you want to know more about the
> Autonomiccs and its creators, you can access the link [3].
>
> The code that was opened at Github is part of a bigger system that has the
> goal of managing a cloud computing environment autonomously. All of that is
> being developed and used in my Ph. D. thesis and the masters’ thesis of
> some colleagues. The formalization of that component will be published at
> the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
> USA.
>
> You can see the stats of our code at [4] and [5]. Right now we only have
> ~40% of code test coverage. However, we intend to increase that value to
> ~60% until next week and ~90% until the end of June.
>
> To give you a picture of what we are preparing for the future, we can
> highlight the following goals for this year (You can find others short term
> goals at [6]):
>
>-
>
>Integrate our platform [1] with a multi-agent system (MAS) platform, in
>order to facilitate the development of agents. Currently, we are using
>Spring-integration to “emulate” and an agent life cycle; that can
> become a
>problem when needing to add more agents and they start to communicate
> with
>each other. Therefore, we will integrate the platform in [1] with JADE
> [7];
>-
>
>Today the metrics about the use of resource are not properly gathered by
>ACS; in order to develop more accurate predictions we need to store
>resource usage metrics. Also, those metrics have to be gathered in a
>distributed way without causing service degradation. For that and a few
>other reasons (you can send us an email so we can provide you more
>details), we are developing an autonomic monitoring platform that will
>integrate with the system available in [1];
>-
>
>We also foresee the need to develop a better way to visualize the cloud
>environment, a way to detect hot spots (pods and hosts) with higher
>resource usage trends (VMs trends). We see the need to change the rustic
>view of the environment with tables for a better suitable one for humans
>(this is a surprise that we intend to present at the CCCBR).
>
> We hope you like the software and that it meets your expectations. If it
> does not suffice all of your needs, let’s work together to improve it. If
> you have any doubts or suggestions please send us an email; we will reply
> it as fast as we can. Also, critics that can help us improve that platform
> are very welcome.
>
> [1] https://github.com/Autonomiccs/autonomiccs-platform
>
> [2] https://github.com/Autonomiccs/autonomiccs-platform/wiki
>
> [3] http://autonomiccs.com.br/
>
> [4] http://jenkins.autonomiccs.com.br/
>
> [5] http://sonar.autonomiccs.com.br/
>
> [6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution
>
> [7] http://jade.tilab.com/
>
>
> Cheers, Gabriel.
>


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214889780
  
@rhtyd ya, I am not too worried about this PR.  I think we are all set with 
this PR once @jburwell has a chance to do a quick once through.  This PR just 
prompted me to ask the question more generally.  This is probably not the right 
place for this conversation, but I wanted to see if there was an approach we 
should be taking going forward.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9142 Migrate VM changes xmlDes...

2016-04-26 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/1348#issuecomment-214889603
  
@rhtyd tomorrow #kingsday, I will have some free time ;) 
loadResourceFromClassPath you are talking about, huh?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread jburwell
Github user jburwell commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214887358
  
@swill I am going to start in my review later this evening.  Sorry for the 
delay.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[ANNOUNCE] Open source distributed virtual machine scheduling platform

2016-04-26 Thread Gabriel Beims Bräscher
Hello CloudStack community members (@dev and @users),

This email is meant to announce the publication of a project on Github that
provides a distributed virtual machine scheduling platform that can be
easily integrated with Apache CloudStack (ACS). The project is available at
[1], you can find a detailed explanation of the idea of the project, its
aspirations, basic concepts, installation and uninstallation processes and
other information at [2]. Also, if you want to know more about the
Autonomiccs and its creators, you can access the link [3].

The code that was opened at Github is part of a bigger system that has the
goal of managing a cloud computing environment autonomously. All of that is
being developed and used in my Ph. D. thesis and the masters’ thesis of
some colleagues. The formalization of that component will be published at
the 12th IEEE World Congress on Services (SERVICES 2016) at San Francisco
USA.

You can see the stats of our code at [4] and [5]. Right now we only have
~40% of code test coverage. However, we intend to increase that value to
~60% until next week and ~90% until the end of June.

To give you a picture of what we are preparing for the future, we can
highlight the following goals for this year (You can find others short term
goals at [6]):

   -

   Integrate our platform [1] with a multi-agent system (MAS) platform, in
   order to facilitate the development of agents. Currently, we are using
   Spring-integration to “emulate” and an agent life cycle; that can become a
   problem when needing to add more agents and they start to communicate with
   each other. Therefore, we will integrate the platform in [1] with JADE [7];
   -

   Today the metrics about the use of resource are not properly gathered by
   ACS; in order to develop more accurate predictions we need to store
   resource usage metrics. Also, those metrics have to be gathered in a
   distributed way without causing service degradation. For that and a few
   other reasons (you can send us an email so we can provide you more
   details), we are developing an autonomic monitoring platform that will
   integrate with the system available in [1];
   -

   We also foresee the need to develop a better way to visualize the cloud
   environment, a way to detect hot spots (pods and hosts) with higher
   resource usage trends (VMs trends). We see the need to change the rustic
   view of the environment with tables for a better suitable one for humans
   (this is a surprise that we intend to present at the CCCBR).

We hope you like the software and that it meets your expectations. If it
does not suffice all of your needs, let’s work together to improve it. If
you have any doubts or suggestions please send us an email; we will reply
it as fast as we can. Also, critics that can help us improve that platform
are very welcome.

[1] https://github.com/Autonomiccs/autonomiccs-platform

[2] https://github.com/Autonomiccs/autonomiccs-platform/wiki

[3] http://autonomiccs.com.br/

[4] http://jenkins.autonomiccs.com.br/

[5] http://sonar.autonomiccs.com.br/

[6] https://github.com/Autonomiccs/autonomiccs-platform#project-evolution

[7] http://jade.tilab.com/


Cheers, Gabriel.


Resizing a volume

2016-04-26 Thread Tutkowski, Mike
??Hi,


I noticed that by default non-admins cannot resize a volume to a different disk 
offering.


Anyone know why that's the default behavior? I would think that would be an 
expected operation for end users.


Thanks,

Mike


[GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1408#issuecomment-214868739
  
@rhtyd Changed it to a with statement for Pythonic.

I'd rather not use a external lib since with Basic Networking and KVM this 
runs on the hypervisor.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214868283
  
@nvazquez , what about extracting that “private Integer nfsVersion” to 
a common superclass to all of those command class? I have created a hierarchy 
to help you.  The classes with an * are the ones that you did not touch 
directly, they are there just to build the hierarchy. I found a little odd that 
the “ListTemplateCommand” received those values too, are they being used 
there?

Maybe you cannot write a single super class to attend all of those cases, 
but you could easily write on to be the super class for (CopyVolumeCommand, 
SecStorageSetupCommand, GetStorageStatsCommand, SnapshotCommand, 
BackupSnapshotCommand , CreatePrivateTemplateFromSnapshotCommand,  
CreatePrivateTemplateFromVolumeCommand, CreateVolumeFromSnapshotCommand)

Here is the hierachy:
- TemplateOrVolumePostUploadCommand
- Command*
-- StorageCommand*
--- ListTemplateCommand
-- SsCommand*
--- AbstractDownloadCommand*
 PrimaryStorageDownloadCommand
-- CopyVolumeCommand
-- SecStorageSetupCommand
-- GetStorageStatsCommand
-- SnapshotCommand
--- BackupSnapshotCommand 
--- CreatePrivateTemplateFromSnapshotCommand
--- CreatePrivateTemplateFromVolumeCommand
--- CreateVolumeFromSnapshotCommand

I missing the test cases for 
“checkStorageProcessorAndHandlerNfsVersionAttribute”, 
“examineStorageSubSystemCommandNfsVersion”, 
“setCurrentNfsVersionInProcessorAndHandler” , 
“getStorageNfsVersionFromNfsTO”  and “reconfigureNfsVersion” methods. 
They are very good coded, clean, short, well documented. To improve them 
further the writing of test cases is very welcome.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214864175
  
Thanks @wido!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9340: General DB Optimization

2016-04-26 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1466#issuecomment-214861439
  
On Jenkins I saw an error that is due to environment misconfigurations:

> [FATAL] Non-parseable settings /home/jenkins/.m2/settings.xml: unexpected 
character in markup % (position: START_TAG seen ...\n 
<%... @14:18)  @ /home/jenkins/.m2/settings.xml, line 14, column 18

And then on Travis there is an error that is caused by a wrong table 
definition:

> [ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema) on project 
cloud-developer: An exception occured while executing the Java class. null: 
InvocationTargetException: Unable to upgrade the database: Unable to execute 
upgrade script: 
/home/travis/build/apache/cloudstack/developer/target/db/db/schema-481to490.sql:
 Incorrect table definition; there can be only one auto column and it must be 
defined as a key -> [Help 1]

That seems to be something you changed in "schema-481to490.sql"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9142 Migrate VM changes xmlDes...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1348#issuecomment-214858450
  
LGTM, though it would be great if @DaanHoogland can move part of the test 
string from the Test to an xml file under resources


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214858085
  
@swill @pdion891 thanks, I don't know of any format or wiki/document where 
we keep this thing. Each feature/marvin-test may require test specific 
environment so I'm not sure if we can have a general solution.

In general, for writing marvin tests new dependencies maybe added to marvin 
itself (like for this PR, `ipmisim` dependency is added to marvin, so anytime 
you install it you automatically get the dependency necessary by your Python 
based test). Along with this, you may need any external dependencies added to 
packaging requirements/dependency (for example, `ipmitool` added to debian 
control, while for rpms `ipmitool` was already in the list of dependencies for 
cloudstack-management package). For running tests, we should expect the test to 
work out of the box provided the dependencies are installed. For this PR, I've 
got `ipmisim` added to marvin's setup.py, and for Travis specific there is a 
apt-get install ipmitool. After this the oobm marvin test runs like any other 
test and internally is responsible for setting up (fake) ipmi server etc.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9340: General DB Optimization

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1466#issuecomment-214856702
  
@nvazquez I'm not sure, can you try to reproduce and fix it locally; test 
with MySQL 5.6 and 5.5 (both major versions)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8302: Removing snapshots on RB...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1230#issuecomment-214856246
  
With these changes I think we are good?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9142 Migrate VM changes xmlDes...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1348#issuecomment-214855601
  
Update on this? Is this ready to be merged? We are missing one LGTM.

Code looks good to me.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1408#issuecomment-214855374
  
@wido in general alright, I've left few comments that can help us improve 
this
For master, looks like we'll need to build/publish a new 4.9+ a systemvm 
template -- in that case would you prefer to use a library included that we can 
use here like `filelock` or something else? 
(https://pypi.python.org/pypi/filelock/)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...

2016-04-26 Thread rhtyd
Github user rhtyd commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1408#discussion_r61146384
  
--- Diff: scripts/vm/network/security_group.py ---
@@ -36,6 +39,20 @@
 hyper = cfo.getEntry("hypervisor.type")
 if hyper == "lxc":
 driver = "lxc:///"
+
+lock_handle = None
+
+def obtain_file_lock(path):
+global lock_handle
+lock_handle = open(path, 'w')
+try:
+fcntl.lockf(lock_handle, fcntl.LOCK_EX | fcntl.LOCK_NB)
--- End diff --

- you may consider a `with` open() syntax that is more pythonic
- who's closing/expiring these file locks, after the work is done the lock 
needs to be freed/closed


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...

2016-04-26 Thread rhtyd
Github user rhtyd commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1408#discussion_r61146381
  
--- Diff: scripts/vm/network/security_group.py ---
@@ -1029,6 +1046,14 @@ def addFWFramework(brname):
 sys.exit(1)
 cmd = args[0]
 logging.debug("Executing command: " + str(cmd))
+
+for i in range(0, 30):
--- End diff --

this can be refactored separately as an acquire lock method that may 
optionally accept a timeout


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214853978
  
Thanks! I'm not familiar with the VMWare code in CloudStack, so I won't 
give a LGTM. But passing a version as a Int seems a lot better.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: engine/schema: fix upgrade path to work w...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1517#issuecomment-214852970
  
Ah, yes, I see @rhtyd !

LGTM


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: engine/schema: fix upgrade path to work w...

2016-04-26 Thread rhtyd
Github user rhtyd commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1517#discussion_r61145609
  
--- Diff: engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java ---
@@ -1297,7 +1297,7 @@ private void addHostDetailsIndex(Connection conn) {
 s_logger.debug("Index already exists on host_details - 
not adding new one");
--- End diff --

@wido the index is not added, if you look at the code above ^^ the if 
statement to check if index already exists with given key name and it only adds 
the index if it does not exist otherwise skips.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread mlsorensen
Github user mlsorensen commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214843061
  
It seems complicated to try to actively promote a choice of multiple ways 
to check for API authorization (dynamic vs static). I am for deprecating 
commands.properties, and honestly I wish it would have been removed from the 
source tree altogether long ago instead of informally deprecated, because 
people have been adding to it rather than using annotations. I've spoken to 
committers even recently who didn't realize that you didn't have to use 
commands.properties. The annotation and dymanic methods are so much cleaner, 
particularly for plugin developers as it's often the only piece of the source 
tree that they have to change outside of their own plugin directory.

I don't really think the majority of users will care about the 
implementation, so long as functionally the result is the same. That is to say 
that the API permissions on a fresh install before and after this is merged 
should behave the same out of the box. If that's the case then I don't think 
users will feel forced into anything or even notice that something was changed, 
and if someone really does care, it sounds simple enough to enable 
commands.properties. If someone is used to fiddling with this file, they won't 
have difficulty creating it and toggling a global setting manually. Speaking 
from having the experience of trying to manage a custom commands.properties, 
the work involved here to choose static is minor compared to simply maintaining 
a custom commands.properties, making sure an upgrade doesn't overwrite your 
change, and merging in new changes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread pdion891
Github user pdion891 commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214840213
  
shouldn't we have a wiki page explaining how to do tests agains cloudstack? 
and this would be part of this page or a subpage ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9340: General DB Optimization

2016-04-26 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1466#issuecomment-214831953
  
@rafaelweingartner @rhtyd @swill I did `push -f` tests start again, I'm 
getting an error on Travis test due to duplicate field name 'size' in 
`schema-40to410.sql`, but I added this changes in `schema-481to490.sql`, do you 
know why is it failing?

`[ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema-simulator) on 
project cloud-developer: An exception occured while executing the Java class. 
null: InvocationTargetException: Unable to upgrade the database: Unable to 
execute upgrade script: 
/home/travis/build/apache/cloudstack/developer/target/db/db/schema-40to410.sql: 
Duplicate column name 'size' -> [Help 1]`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214826838
  
@pdion891 sorry I kind of just threw you into this one.  In this case there 
is a new requirement added for tests integration tests to pass, so it is not a 
blocking change, but I do think it is worth noting somewhere that new 
requirements were added for integration tests to pass.  More generally, I have 
not seen any mechanism with which we track environment change requirements 
introduced in PRs that are then presented to the user in some way.  I am 
assuming it makes sense that this data be in the release notes, but we need a 
way to flag the changes so they are easily discovered by the person who is 
generating the release notes (you in this case).  :)  Suggestions?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread pdion891
Github user pdion891 commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214824625
  
@swill,what are those changes you are refering too? are they required for 
regular deployment or just for tests? anyway we will need some info for the 
release notes has it seams like very cool new feature! 

look like we will need documentation for the admin guide too which is 
almost done from this PR comments!Cool! 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fixed: Error given when creating VPN user...

2016-04-26 Thread asfgit
Github user asfgit closed the pull request at:

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


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add perl-modules as install dependency fo...

2016-04-26 Thread ProjectMoon
Github user ProjectMoon commented on the pull request:

https://github.com/apache/cloudstack/pull/1495#issuecomment-214813960
  
As this is a bug fix, I think it would be forward-merged into master. The 
next PR should be to rewrite the script in Python instead of Perl, and that 
would be on master only.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fixed: Error given when creating VPN user...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/826#issuecomment-214812658
  
I think we are all set.  I will add to merge queue...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Fixed: Error given when creating VPN user...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/826#issuecomment-214812261
  


### CI RESULTS

```
Tests Run: 85
  Skipped: 0
   Failed: 0
   Errors: 0
```



**Associated Uploads**

**`/tmp/MarvinLogs/DeployDataCenter__Apr_25_2016_22_30_12_F4GNC9:`**
* 
[dc_entries.obj](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/DeployDataCenter__Apr_25_2016_22_30_12_F4GNC9/dc_entries.obj)
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/DeployDataCenter__Apr_25_2016_22_30_12_F4GNC9/failed_plus_exceptions.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/DeployDataCenter__Apr_25_2016_22_30_12_F4GNC9/runinfo.txt)

**`/tmp/MarvinLogs/test_network_PROLMK:`**
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_network_PROLMK/failed_plus_exceptions.txt)
* 
[results.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_network_PROLMK/results.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_network_PROLMK/runinfo.txt)

**`/tmp/MarvinLogs/test_vpc_routers_RCLMK9:`**
* 
[failed_plus_exceptions.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_vpc_routers_RCLMK9/failed_plus_exceptions.txt)
* 
[results.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_vpc_routers_RCLMK9/results.txt)
* 
[runinfo.txt](https://objects-east.cloud.ca/v1/e465abe2f9ae4478b9fff416eab61bd9/PR826/tmp/MarvinLogs/test_vpc_routers_RCLMK9/runinfo.txt)


Uploads will be available until `2016-06-26 02:00:00 +0200 CEST`

*Comment created by [`upr comment`](https://github.com/cloudops/upr).*



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: [CLOUDSTACK-9003] Resource Naming Policie...

2016-04-26 Thread nnesic
Github user nnesic commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1492#discussion_r61122746
  
--- Diff: api/src/com/cloud/naming/ResourceNamingPolicyManager.java ---
@@ -0,0 +1,32 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+package com.cloud.naming;
+
+import com.cloud.utils.component.Manager;
+
+public interface ResourceNamingPolicyManager extends Manager {
+
+
+/**
+ * Finds a resource naming policy among the registered ones by its 
class
+ * @param policyClass
+ * @return
+ */
+@SuppressWarnings("rawtypes")
+public  T getPolicy(Class 
policyClass);
--- End diff --

Hi, here's the mapping of modules using naming policies.

```
Modules dependent on ResourceNamingPolicyManager:

bootstrap
system
core
server-naming
compute
network
contrail
elb
storage
baremetal-storage
server-template-adapter
discoverer
baremetal-discoverer
hyperv-discoverer
ovm-discoverer
ovm3-discoverer
secondary-storage-discoverer
server-discoverer
vmware-discoverer
xenserver-discoverer

Classes relying on ResourceNamingPolicyManager:
core:
InternalLoadBalancerVMManagerImpl
VolumeOrchestrator
VirtualMachineManagerImpl
ClusteredVirtualMachineManagerImpl
SecondaryStorageManagerImpl
PremiumSecondaryStorageManagerImpl
ConsoleProxyManagerImpl
VolumeApiServiceImpl
SnapshotManagerImpl
TemplateManagerImpl
NetworkHelperImpl
VpcNetworkHelperImpl
SecurityGroupManagerImpl
SecurityGroupManagerImpl2
UserVmManagerImpl

contrail:
ServiceManagerImpl

elb:
ElasticLoadBalancerManagerImpl
LoadBalanceRuleHandler

baremetal-storage:
BareMetalTemplateAdapter

server-template-adapter:
HypervisorTemplateAdapter

baremetal-discoverer:
BaremetalDiscoverer

hyperv-discoverer:
HypervServerDiscoverer

server-discoverer:
KvmServerDiscoverer
LxcServerDiscoverer

ovm3-discoverer:
Ovm3Discoverer

ovm-discoverer:
OvmDiscoverer

simulator-discoverer:
SimulatorDiscoverer

xenserver-discoverer:
XcpServerDiscoverer

vmware-discoverer:
VmwareServerDiscoverer
```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214806891
  
Cool, I changed it and pushed again


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9200: Fixed failed to delete s...

2016-04-26 Thread Slair1
Github user Slair1 commented on the pull request:

https://github.com/apache/cloudstack/pull/1282#issuecomment-214804222
  
Thanks!  I had the same issue, retention settings for snapshots were 
failing because it couldn't delete two snapshots that were stuck in "allocated' 
state.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214797513
  
I think this PR is in pretty good order.  I will let @jburwell have a look 
at it to see if he has any comments because it is a large PR, but pending any 
of his feedback, I think we are set on this one...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214796529
  
@rhtyd not really related to this PR, but a question I have.  How should we 
be tracking environment change requirements?  Ideally we would have a mechanism 
to flag this type of change.  I understand it is only needed for the tests to 
pass, so it won't be a blocker for people just using it, but I am wondering how 
we should be handling this stuff in general.  Do you have ideas?  Maybe we can 
try to call it out in the initial PR or something like that?  Ideally this info 
would show up in the release notes as well.  What do you think @pdion891?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9289:Automation for feature de...

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1417#issuecomment-214793885
  
My CI runs the following command after it builds ACS, so it **should** be 
using an upgraded Marvin, but I did see some messages about `--allow-external` 
being deprecated, so I will review this in my setup.  Thanks...

`pip install --upgrade tools/marvin/dist/Marvin-*.tar.gz --allow-external 
mysql-connector-python`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: L10n update 4.8 20160422

2016-04-26 Thread milamberspace
Github user milamberspace commented on the pull request:

https://github.com/apache/cloudstack/pull/1515#issuecomment-214791549
  
@swill re-push force done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: L10n update 4.8 20160422

2016-04-26 Thread swill
Github user swill commented on the pull request:

https://github.com/apache/cloudstack/pull/1515#issuecomment-214789084
  
@milamberspace sorry to do this to you again.  :(  Can you force push again 
so we can try to get travis green.  Thanks...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add perl-modules as install dependency fo...

2016-04-26 Thread sverrirab
Github user sverrirab commented on the pull request:

https://github.com/apache/cloudstack/pull/1495#issuecomment-214783340
  
do you want this change as a new PR against master or just the rewritten 
script in python on master?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214781618
  
@nvazquez If you know it's a number, pass it as an int. That way you will 
never have a garbage string ending up somewhere. We have types for a reason :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214779424
  
You're right, I just wanted to avoid parsing but I can change it to an 
Integer


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: Add perl-modules as install dependency fo...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1495#issuecomment-214735227
  
If this is broken right now and this fixes it, LGTM. But we should really 
ditch Perl and rewrite in Python or Bash.

Can you afterwards submit a PR against master?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: engine/schema: fix upgrade path to work w...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1517#issuecomment-214734875
  
So what happens if the Index already exists?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9368: Fix for Support configur...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1518#issuecomment-214734679
  
A version is a number, eg 3 or 4. Shouldn't the version be passed as a 
integer through the code instead of a String?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8715: Add VirtIO channel to al...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/985#issuecomment-214733641
  
I just rebased the commit against master, but still waiting on libvirt-java.

Really think we should fork libvirt-java to get this fixed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: kvm: Aqcuire lock when running security g...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1408#issuecomment-214732460
  
Can you take another look @rhtyd ?

It works on our systems in production


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: agent: Enable IPv6 connectivity for KVM A...

2016-04-26 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/1488#issuecomment-214732036
  
Thanks @DaanHoogland for the LGTM.

One more and we can merge this one


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214728007
  
@rhtyd I think you still didn't get my point. Read the comment again. I 
would like to see the option for using command.properties available for both 
new and old installations until the user explicitly wants to migrate. Don't 
remove the file as you have done in the PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread borisstoyanov
Github user borisstoyanov commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214725108
  
LGTM. :+1:


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread borisstoyanov
Github user borisstoyanov commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214724962
  
LGTM. :+1:


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread borisstoyanov
Github user borisstoyanov commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214724784
  
LGTM. :+1:


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214723830
  
> @rhtyd The current way you have implemented it using global config is 
confusing. Especially when you say that simply disabling the flag won't fall 
back to the static checker automatically and additional stuff needs to be done 
to make it work.

If you read the code, the global setting is restricted, read-only that 
admin are not allowed to change from the UI or using the API. The intention is 
to not expose the logistics, and let users know that this is a one way process, 
discourage them from moving back to static-checker while hide the details from 
them. The documentation cover migration procedure among other details.

From your comments, I think you are beginning to understand what you would 
like to have already exists. For a better understanding, it would help if you 
would actually read the code in the PR and the detailed FS.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: No module named marvin

2016-04-26 Thread Daan Hoogland
About travis. I only saw timeouts in the prepare scripts, so far.

On Tue, Apr 26, 2016 at 1:16 PM, Will Stevens 
wrote:

> Thank you for the hints re:Travis script. Will review that as well.  Travis
> has also been failing a lot recently though. That is another thing I need
> to review.
> On Apr 26, 2016 4:24 AM, "Rohit Yadav"  wrote:
>
> > Will, checkout tools/travis/install.sh for hints (much of travis scripts
> > can be used as hints on how to setup a marvin env).
> >
> > You'll need to install mysql-connector-python manually, unfortunately
> > oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching
> > external deps on their own. So you'll need to do something like, pip
> > install --upgrade --egg 
> >
> > Regards.
> >
> > Regards,
> >
> > Rohit Yadav
> >
> > rohit.ya...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> > -Original Message-
> > From: Will Stevens [mailto:williamstev...@gmail.com]
> > Sent: Monday, April 25, 2016 11:37 PM
> > To: dev@cloudstack.apache.org
> > Subject: No module named marvin
> >
> > Could this:
> >
> > Deploy data center..
> > Traceback (most recent call last):
> >   File
> "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",
> > line 28, in 
> > from marvin import configGenerator
> > ImportError: No module named marvin
> >
> > Be caused by this:
> >
> > Installing Marvin
> > DEPRECATION: --allow-external has been deprecated and will be removed in
> > the future. Due to changes in the repository protocol, it no longer has
> any
> > effect.
> > Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz
> > Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)
> >   Could not find a version that satisfies the requirement
> > mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from
> > versions: )
> > No matching distribution found for mysql-connector-python>=1.1.6 (from
> > Marvin===4.9.0-SNAPSHOT)
> >
> > This seems to be happening in all my CI environments this morning.
> > Thoughts?
> >
> > Thanks,
> >
> > Will
> >
>



-- 
Daan


[GitHub] cloudstack pull request: CLOUDSTACK-8562: Dynamic Role-Based API C...

2016-04-26 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/1489#issuecomment-214707925
  
>>Consider this an admin creates a read-only admin role and accounts with 
that (such users can only do list* calls), now if they go back to 
static-checker all such users now become default root admin (based on account 
type, translation) and can call all APIs defined in commands.properties -- this 
is a significant security risk. Therefore, I personally don't want to put users 
at risk and just discourage them using the static checker.

@rhtyd This is what I would ideally like to see. If the user doesn't want 
the dynamic roles for whatever reason he shouldn't be forced to use it. There 
should be a one time choice given to users if they want to use dynamic roles. 
If user decides to go ahead with it, do the data migration and there shouldn't 
be an option to come back to static checker (for the reasons you have rightly 
mentioned). But if user wants to continue with static checker, it should 
continue to work on the basis of commands.properties.

The current way you have implemented it using global config is confusing. 
Especially when you say that simply disabling the flag won't fall back to the 
static checker automatically and additional stuff needs to be done to make it 
work.

Let me know what you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: No module named marvin

2016-04-26 Thread Chaz PC
I had the same issue installing mysql-connector-python manually resolved it. 
Sent from my Samsung Galaxy smartphone.
 Original message From: Will Stevens  
Date: 4/26/16  3:16 PM  (GMT+04:00) To: dev@cloudstack.apache.org Subject: RE: 
No module named marvin 

Thank you for the hints re:Travis script. Will review that as well.  Travis

has also been failing a lot recently though. That is another thing I need

to review.

On Apr 26, 2016 4:24 AM, "Rohit Yadav"  wrote:



> Will, checkout tools/travis/install.sh for hints (much of travis scripts

> can be used as hints on how to setup a marvin env).

>

> You'll need to install mysql-connector-python manually, unfortunately

> oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching

> external deps on their own. So you'll need to do something like, pip

> install --upgrade --egg 

>

> Regards.

>

> Regards,

>

> Rohit Yadav

>

> rohit.ya...@shapeblue.com

> www.shapeblue.com

> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK

> @shapeblue

>

> -Original Message-

> From: Will Stevens [mailto:williamstev...@gmail.com]

> Sent: Monday, April 25, 2016 11:37 PM

> To: dev@cloudstack.apache.org

> Subject: No module named marvin

>

> Could this:

>

> Deploy data center..

> Traceback (most recent call last):

>   File "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",

> line 28, in 

> from marvin import configGenerator

> ImportError: No module named marvin

>

> Be caused by this:

>

> Installing Marvin

> DEPRECATION: --allow-external has been deprecated and will be removed in

> the future. Due to changes in the repository protocol, it no longer has any

> effect.

> Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz

> Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)

>   Could not find a version that satisfies the requirement

> mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from

> versions: )

> No matching distribution found for mysql-connector-python>=1.1.6 (from

> Marvin===4.9.0-SNAPSHOT)

>

> This seems to be happening in all my CI environments this morning.

> Thoughts?

>

> Thanks,

>

> Will

>




RE: No module named marvin

2016-04-26 Thread Will Stevens
Thank you for the hints re:Travis script. Will review that as well.  Travis
has also been failing a lot recently though. That is another thing I need
to review.
On Apr 26, 2016 4:24 AM, "Rohit Yadav"  wrote:

> Will, checkout tools/travis/install.sh for hints (much of travis scripts
> can be used as hints on how to setup a marvin env).
>
> You'll need to install mysql-connector-python manually, unfortunately
> oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching
> external deps on their own. So you'll need to do something like, pip
> install --upgrade --egg 
>
> Regards.
>
> Regards,
>
> Rohit Yadav
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
> -Original Message-
> From: Will Stevens [mailto:williamstev...@gmail.com]
> Sent: Monday, April 25, 2016 11:37 PM
> To: dev@cloudstack.apache.org
> Subject: No module named marvin
>
> Could this:
>
> Deploy data center..
> Traceback (most recent call last):
>   File "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",
> line 28, in 
> from marvin import configGenerator
> ImportError: No module named marvin
>
> Be caused by this:
>
> Installing Marvin
> DEPRECATION: --allow-external has been deprecated and will be removed in
> the future. Due to changes in the repository protocol, it no longer has any
> effect.
> Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz
> Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)
>   Could not find a version that satisfies the requirement
> mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from
> versions: )
> No matching distribution found for mysql-connector-python>=1.1.6 (from
> Marvin===4.9.0-SNAPSHOT)
>
> This seems to be happening in all my CI environments this morning.
> Thoughts?
>
> Thanks,
>
> Will
>


RE: No module named marvin

2016-04-26 Thread Will Stevens
I am just confused why it works sometimes and not others. I am rebuilding
my CI environment all the time with the same scripts.

I started running into this issue recently on multiple PRs and I had never
run into it before. Just trying to understand what could be causing it.
On Apr 26, 2016 4:24 AM, "Rohit Yadav"  wrote:

> Will, checkout tools/travis/install.sh for hints (much of travis scripts
> can be used as hints on how to setup a marvin env).
>
> You'll need to install mysql-connector-python manually, unfortunately
> oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching
> external deps on their own. So you'll need to do something like, pip
> install --upgrade --egg 
>
> Regards.
>
> Regards,
>
> Rohit Yadav
>
> rohit.ya...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
> -Original Message-
> From: Will Stevens [mailto:williamstev...@gmail.com]
> Sent: Monday, April 25, 2016 11:37 PM
> To: dev@cloudstack.apache.org
> Subject: No module named marvin
>
> Could this:
>
> Deploy data center..
> Traceback (most recent call last):
>   File "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",
> line 28, in 
> from marvin import configGenerator
> ImportError: No module named marvin
>
> Be caused by this:
>
> Installing Marvin
> DEPRECATION: --allow-external has been deprecated and will be removed in
> the future. Due to changes in the repository protocol, it no longer has any
> effect.
> Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz
> Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)
>   Could not find a version that satisfies the requirement
> mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from
> versions: )
> No matching distribution found for mysql-connector-python>=1.1.6 (from
> Marvin===4.9.0-SNAPSHOT)
>
> This seems to be happening in all my CI environments this morning.
> Thoughts?
>
> Thanks,
>
> Will
>


[GitHub] cloudstack-cloudmonkey pull request: fix bug in using readline in ...

2016-04-26 Thread phillipkent
GitHub user phillipkent opened a pull request:

https://github.com/apache/cloudstack-cloudmonkey/pull/13

fix bug in using readline in Windows

I found a bug with use of 'readline' for Python 2.7 on Windows 7. 
Cloudmonkey fails to run with this error:

File “c:\python27\lib\site-packages\cloudmonkey\cloudmonkey.py”  line 
70 module>
If ‘libedit’ in readline.__doc__
TypeError:  argument of type ‘NoneType’ is not iterable

It requires modification of cloudmonkey.py at line 70.

The error and fix are the same as reported here: 
http://bugs.python.org/issue18852
https://hg.python.org/cpython/rev/3070fdd58645

Note: I haven't tested this for Cloudmonkey in other Windows versions, or 
other Python versions.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/phillipkent/cloudstack-cloudmonkey 
fix_bug_windows_readline

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cloudstack-cloudmonkey/pull/13.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #13


commit 3d9d7795cdc9e3337a3493f2f370d801c4b4b96b
Author: Phillip Kent 
Date:   2016-04-26T10:21:01Z

fix bug in using readline in Windows




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214667168
  
@rhtyd got ya. It will work like this but then still some tests require the 
simulator which is hardware in a sense. I'm just thinking, not commenting.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


RE: No module named marvin

2016-04-26 Thread Rohit Yadav
Will, checkout tools/travis/install.sh for hints (much of travis scripts can be 
used as hints on how to setup a marvin env).

You'll need to install mysql-connector-python manually, unfortunately 
oracle/mysql hosts them at their cdn and pypi/pip scks as not fetching external 
deps on their own. So you'll need to do something like, pip install --upgrade 
--egg 

Regards.

Regards,

Rohit Yadav

rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue

-Original Message-
From: Will Stevens [mailto:williamstev...@gmail.com] 
Sent: Monday, April 25, 2016 11:37 PM
To: dev@cloudstack.apache.org
Subject: No module named marvin

Could this:

Deploy data center..
Traceback (most recent call last):
  File "/data/git/cs3/cloudstack/tools/marvin/marvin/deployDataCenter.py",
line 28, in 
from marvin import configGenerator
ImportError: No module named marvin

Be caused by this:

Installing Marvin
DEPRECATION: --allow-external has been deprecated and will be removed in the 
future. Due to changes in the repository protocol, it no longer has any effect.
Processing ./tools/marvin/dist/Marvin-4.9.0-SNAPSHOT.tar.gz
Collecting mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT)
  Could not find a version that satisfies the requirement
mysql-connector-python>=1.1.6 (from Marvin===4.9.0-SNAPSHOT) (from
versions: )
No matching distribution found for mysql-connector-python>=1.1.6 (from
Marvin===4.9.0-SNAPSHOT)

This seems to be happening in all my CI environments this morning.
Thoughts?

Thanks,

Will


[GitHub] cloudstack pull request: CLOUDSTACK-9289:Automation for feature de...

2016-04-26 Thread nitt10prashant
Github user nitt10prashant commented on the pull request:

https://github.com/apache/cloudstack/pull/1417#issuecomment-214660883
  
@swill seedTemplateFromVmSnapshot is new API got introduced with this 
feature , if marvin installation is up to date it should have this API 
@bvbharat  can you please look into


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214637482
  
>@rhtyd maybe in a follow-up; can we split the test in hardware required 
true and false?

@DaanHoogland for this feature's integration test, we don't need an 
explicit hardware required arg since we launch an ipmi simulator using 
`ipmisim` within the test wherever needed to perform end to end 
ipmi/power-action testing. If I still to explicitly put the value, it would be 
`False` on all test cases within `test_outofbandmanagement.py`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: L10n update 4.8 20160422

2016-04-26 Thread milamberspace
Github user milamberspace commented on the pull request:

https://github.com/apache/cloudstack/pull/1515#issuecomment-214637123
  
@swill It's done.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cloudstack pull request: CLOUDSTACK-9299: Out-of-band Management f...

2016-04-26 Thread rhtyd
Github user rhtyd commented on the pull request:

https://github.com/apache/cloudstack/pull/1502#issuecomment-214636312
  
Thank you @DaanHoogland @pyr @wido for the review

@swill I think we've enough votes for this one, though le'ts wait for 
@borisstoyanov 's test results which he has told me he'll share soon

@jburwell do you want to review and suggest any changes? thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---