Loading a custom HostAllocator

2015-07-08 Thread Amy Niklasson
Hi,
How do you load a custom HostAllocator in CloudStack 4.5? The only
documentation I've managed to find is
http://docs.cloudstack.apache.org/en/master/alloc.html#implementing-a-custom-hostallocator
However,I can't find the files mentioned, components.xml and
components-premium.xml, in /client/ tomcatconf.
Anyone who knows?

Regards,
Amy


[GitHub] cloudstack pull request: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/558#issuecomment-119490399
  
@DaanHoogland @remibergsma @karuturi 

It LGTM.

There is still 1 issue, that was also mentioned by Ian, but I'm fixing that.

The details can be found here: 
https://issues.apache.org/jira/browse/CLOUDSTACK-8616

Since Ian is on holidays, I would like to get this PR merged so I can apply 
the fixes based on his work and create a separate PR.

Would one of you help me with that? :)

Thanks in advance.

Cheers,
Wilder


---
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: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/558#discussion_r34126048
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -407,10 +410,10 @@ def fw_vpcrouter(self):
 ])
 
 if self.get_type() in [public]:
-self.fw.append([nat, front,
--A POSTROUTING -o %s -j SNAT --to-source %s %
-   (self.dev, self.address['public_ip'])
-])
+# self.fw.append([nat, front,
--- End diff --

+1

Can I do all that in the new PR along with the fixes?

I mean... I will have 1 commit removing all the commented out lines. Is it 
okay?

:)


---
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: Loading a custom HostAllocator

2015-07-08 Thread Wido den Hollander
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 08-07-15 10:08, Amy Niklasson wrote:
 Hi, How do you load a custom HostAllocator in CloudStack 4.5? The
 only documentation I've managed to find is 
 http://docs.cloudstack.apache.org/en/master/alloc.html#implementing-a-
custom-hostallocator

 
However,I can't find the files mentioned, components.xml and
 components-premium.xml, in /client/ tomcatconf. Anyone who knows?
 

Not exactly sure which file it is, but you could try a grep through
the code.

It's the Spring framework which loads the modules in boot.

Wido

 Regards, Amy
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJVnOOoAAoJEAGbWC3bPspCOLUP/jSIaX0/3nXp3o33BoC3udOb
YDxBcgQA6LdHQEWNJUWfKiUmc5nPbVmpcEnVB+wLp1CFmWbG04Mbkq06Ujhjx5W3
EqH5sulWGKG5RbBvtBbhA52rs/SJw4WuKhVULItTk3VqhgZQn9Sz3nmVgzO9p8fU
2GQCRNXkA5IGNCcq1/3d44Y0zWz0Vc7b2ghzhHFsVqDjorJF5I1m62F1uIXz12w3
vxZtQtdkdWF8xzRuwQ46v1/R0oYHYWKXqkS3S9JyGjIjOiWKV8i0eg1KVxEGO8qU
3UUZOw7eiReCP2LXEkX1r703oU835y177il7tWDOAibg4s22vqtWmuquCSCP1g5t
Avvzoz+8IPD6r1JqnViFpXAPdzD4DSNol3yIJ+s6iDSMasqpfTrHpKREepCFE0F+
EpqsWPXLIMzdTvGZpgKL5CV4BUp8/lf9CjJ8ZvE/34N6kphUe7LbYawLs5B8Ijp6
QkWttmwuy+esUkxxTOeNuO3ghKKqp92CvT6vw8jQLz8vETgSYLGXFeUkOlHNZU3q
bTwi2O75cpsKNieUwTY4WkKVleED/tY+8xMz4RWyDR9OopLimN5Pkp1JsNOBtux3
w+L0ffr4E5HUoA5nw8x/DE5MxdbQA70/4QPe+k0jOuyVRGcxhY2h5ZdJBr74NqqR
CHEAC0F969Szp+oUZuBR
=lBgf
-END PGP SIGNATURE-


[GitHub] cloudstack pull request: CLOUDSTACK-8615 :skip all tests in test_p...

2015-07-08 Thread karuturi
Github user karuturi commented on the pull request:

https://github.com/apache/cloudstack/pull/565#issuecomment-119545250
  
please wait for 2 manual reviews before pushing to 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.
---


Re: revert or not revert? (was: [GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...)

2015-07-08 Thread Sanjeev N
I thought there is a limitation on LGTMs for integration tests?

On Wed, Jul 8, 2015 at 5:11 PM, Daan Hoogland daan.hoogl...@gmail.com
wrote:

 guys and dolss,

 this was closed with only 1 LGTM! we agreed not to submit with less
 then two ok reviews on master. So next steps? revert? some extra
 justification or else revert? .

 On Wed, Jul 8, 2015 at 12:39 PM, asfgit g...@git.apache.org wrote:
  Github user asfgit closed the pull request at:
 
  https://github.com/apache/cloudstack/pull/567
 
 
  ---
  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.
  ---



 --
 Daan



[GitHub] cloudstack pull request: coverity resource leaks

2015-07-08 Thread karuturi
Github user karuturi commented on the pull request:

https://github.com/apache/cloudstack/pull/564#issuecomment-119546107
  
changes looks good. :+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.
---


revert or not revert? (was: [GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...)

2015-07-08 Thread Daan Hoogland
guys and dolss,

this was closed with only 1 LGTM! we agreed not to submit with less
then two ok reviews on master. So next steps? revert? some extra
justification or else revert? .

On Wed, Jul 8, 2015 at 12:39 PM, asfgit g...@git.apache.org wrote:
 Github user asfgit closed the pull request at:

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


 ---
 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.
 ---



-- 
Daan


Build failed in Jenkins: simulator-singlerun #1347

2015-07-08 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1347/

--
Started by upstream project build-master-simulator build number 2164
originally caused by:
 Started by an SCM change
 Started by upstream project build-master build number 2452
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/
  /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
  /usr/bin/git config remote.origin.url 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
  /usr/bin/git --version # timeout=400
  /usr/bin/git fetch --tags --progress 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git 
  +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
'http://jenkins.buildacloud.org/job/simulator-singlerun/ws/' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] 

Re: revert or not revert? (was: [GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...)

2015-07-08 Thread Daan Hoogland
That was never formalized, hence I put it as a shakespearian question.
I did sugest it otherwise I would have just reverted. I don't like the
exception but if the number of people working on integration is to low
to have a good flow we could.

On Wed, Jul 8, 2015 at 1:46 PM, Sanjeev N sanj...@apache.org wrote:
 I thought there is a limitation on LGTMs for integration tests?

 On Wed, Jul 8, 2015 at 5:11 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:

 guys and dolss,

 this was closed with only 1 LGTM! we agreed not to submit with less
 then two ok reviews on master. So next steps? revert? some extra
 justification or else revert? .

 On Wed, Jul 8, 2015 at 12:39 PM, asfgit g...@git.apache.org wrote:
  Github user asfgit closed the pull request at:
 
  https://github.com/apache/cloudstack/pull/567
 
 
  ---
  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.
  ---



 --
 Daan




-- 
Daan


[GitHub] cloudstack pull request: Automation for issue, Private template no...

2015-07-08 Thread pavanb018
Github user pavanb018 commented on the pull request:

https://github.com/apache/cloudstack/pull/241#issuecomment-119507984
  
All the comments in this PR are addressed and those commits are in PR 566


---
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: Privtmpl

2015-07-08 Thread nitt10prashant
Github user nitt10prashant commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/566#discussion_r34134668
  
--- Diff: test/integration/component/test_project_template.py ---
@@ -0,0 +1,172 @@
+# 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.
+
+from marvin.codes import FAILED, PASS
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import Account, VirtualMachine, 
ServiceOffering,Project,Network,NetworkOffering,Domain,Volume,Template
+from marvin.lib.common import get_zone, get_domain, get_template
+from marvin.lib.utils import cleanup_resources
+from nose.plugins.attrib import attr
+
+
+
+class TestProjectPrivateTemplate(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestProjectPrivateTemplate, 
cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.services = testClient.getParsedTestDataConfig()
+cls.cleanup = []
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+
+cls.new_domain = Domain.create(
+   cls.apiclient,
+   cls.services[domain],
+   )
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.new_domain.id
+)
+
+cls.debug(cls.account.id)
+#Fetch an api client with the user account created
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+@attr(tags=[advanced])
+def test_project_private_template(self):
+self.api_client = 
self.testClient.getUserApiClient(UserName=self.account.name, 
DomainName=self.account.domain)
+
+#Create a new project using the account created
+self.project = 
Project.create(self.api_client,self.services[project],account=self.account.name,domainid=self.new_domain.id)
+self.debug(The project has been created)
+
+self.network_offering = NetworkOffering.create(
+self.apiclient,
+self.services[network_offering],
+)
+# Enable Network offering
+self.network_offering.update(self.apiclient, state='Enabled')
+
+self.services[network][networkoffering] = 
self.network_offering.id
+
+
+
+#cls.api_client = 
testClient.getUserApiClient(UserName=cls.account.name, 
DomainName=cls.account.domain)
+
+self.project_network = Network.create(
+self.api_client,
+self.services[network],
+networkofferingid=self.network_offering.id,
+zoneid=self.zone.id,
+  

[GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...

2015-07-08 Thread nitt10prashant
GitHub user nitt10prashant opened a pull request:

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

CLOUDSTACK-8583 : fixing issue related to script test/integration/com…

issue
---
Few testcases are failing  because of unsupported storage type .Deploy vm 
with data disk is failing.

solution
--
Deploying vm without data disk for the test cases which does not required 
data disk. 

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

$ git pull https://github.com/nitt10prashant/cloudstack stop_vm

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

https://github.com/apache/cloudstack/pull/567.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 #567


commit c35a869985c7f37ccc438d1a144c1b3e0fa5c14c
Author: nitt10prashant nitt10.prash...@gmail.com
Date:   2015-07-08T09:12:24Z

CLOUDSTACK-8583 : fixing issue related to script 
test/integration/component/test_stopped_vm.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: Privtmpl

2015-07-08 Thread pavanb018
Github user pavanb018 commented on the pull request:

https://github.com/apache/cloudstack/pull/566#issuecomment-119533762
  
test_project_private_template 
(integration.component.test_project_template.TestProjectPrivateTemplate) ... 
=== TestName: test_project_private_template | Status : SUCCESS ===
ok

--
Ran 1 test in 216.074s

OK



---
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: Privtmpl

2015-07-08 Thread nitt10prashant
Github user nitt10prashant commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/566#discussion_r34134916
  
--- Diff: test/integration/component/test_project_template.py ---
@@ -0,0 +1,172 @@
+# 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.
+
+from marvin.codes import FAILED, PASS
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import Account, VirtualMachine, 
ServiceOffering,Project,Network,NetworkOffering,Domain,Volume,Template
+from marvin.lib.common import get_zone, get_domain, get_template
+from marvin.lib.utils import cleanup_resources
+from nose.plugins.attrib import attr
+
+
+
+class TestProjectPrivateTemplate(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestProjectPrivateTemplate, 
cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.services = testClient.getParsedTestDataConfig()
+cls.cleanup = []
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+
+cls.new_domain = Domain.create(
+   cls.apiclient,
+   cls.services[domain],
+   )
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.new_domain.id
+)
+
+cls.debug(cls.account.id)
+#Fetch an api client with the user account created
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+@attr(tags=[advanced])
+def test_project_private_template(self):
+self.api_client = 
self.testClient.getUserApiClient(UserName=self.account.name, 
DomainName=self.account.domain)
+
+#Create a new project using the account created
+self.project = 
Project.create(self.api_client,self.services[project],account=self.account.name,domainid=self.new_domain.id)
+self.debug(The project has been created)
+
+self.network_offering = NetworkOffering.create(
+self.apiclient,
+self.services[network_offering],
+)
+# Enable Network offering
+self.network_offering.update(self.apiclient, state='Enabled')
+
+self.services[network][networkoffering] = 
self.network_offering.id
+
+
+
+#cls.api_client = 
testClient.getUserApiClient(UserName=cls.account.name, 
DomainName=cls.account.domain)
+
+self.project_network = Network.create(
+self.api_client,
+self.services[network],
+networkofferingid=self.network_offering.id,
+zoneid=self.zone.id,
+  

[GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...

2015-07-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: [ACS4.5] status

2015-07-08 Thread Daan Hoogland
On Tue, Jul 7, 2015 at 10:55 AM, Rohit Yadav rohit.ya...@shapeblue.com wrote:
 On 07-Jul-2015, at 11:47 am, Daan Hoogland daan.hoogl...@gmail.com wrote:

 I haven't heard of this in a few days. Does anyone keep track of 4.5
 releasebility at the moment?

 Yes. I’ve shared this earlier that I plan to start this in 1-2 weeks time, 
 till then I’m looking for regressions and bugs that need to be fixed. We have 
 some on-going thread regarding few such bugs that need to go into 4.5.2, 
 especially the security ones.

 I would like to move on to 4.6:) So can
 we make a release candidate for 4.5.2 yet?

 While you may go ahead, I would prefer if we can work on some of those 
 pending bugfixes, triage issues on JIRA.


so there is a stagering 87 open/in progress/reopened issues in jira
with fix verion 4.5.2. I don't think this is a realistic number. I
will go through them quickly but don't think any should block us at
the moment.

@Talluri: the only blocker is on your name. I don't recall public
discussion of this being a blocker but might have missed it. Can you
shed a light on [1]. Does it need to go in 4.5.2?

[1] https://issues.apache.org/jira/browse/CLOUDSTACK-8161

-- 
Daan


[GitHub] cloudstack pull request: Privtmpl

2015-07-08 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/566#issuecomment-119511153
  
@pavanb018 You will have to add license headers to the new files


---
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.
---


Build failed in Jenkins: simulator-singlerun #1345

2015-07-08 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1345/

--
Started by upstream project build-master-simulator build number 2162
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/
  /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
  /usr/bin/git config remote.origin.url 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
  /usr/bin/git --version # timeout=400
  /usr/bin/git fetch --tags --progress 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git 
  +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
'http://jenkins.buildacloud.org/job/simulator-singlerun/ws/' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] 

[GitHub] cloudstack pull request: Privtmpl

2015-07-08 Thread pavanb018
Github user pavanb018 commented on the pull request:

https://github.com/apache/cloudstack/pull/566#issuecomment-119533859
  
On Advanced Zone:

Test Deploy Virtual Machine ... === TestName: test_deploy_vm_with_tags | 
Status : SUCCESS ===
ok

--
Ran 1 test in 120.020s

OK



---
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: Privtmpl

2015-07-08 Thread pavanb018
Github user pavanb018 commented on the pull request:

https://github.com/apache/cloudstack/pull/566#issuecomment-119533805
  
On Basic Zone:

Test Deploy Virtual Machine ... === TestName: test_deploy_vm_with_tags | 
Status : SUCCESS ===
ok

--
Ran 1 test in 34.365s

OK



---
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: Privtmpl

2015-07-08 Thread nitt10prashant
Github user nitt10prashant commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/566#discussion_r34134700
  
--- Diff: test/integration/component/test_project_template.py ---
@@ -0,0 +1,172 @@
+# 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.
+
+from marvin.codes import FAILED, PASS
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import Account, VirtualMachine, 
ServiceOffering,Project,Network,NetworkOffering,Domain,Volume,Template
+from marvin.lib.common import get_zone, get_domain, get_template
+from marvin.lib.utils import cleanup_resources
+from nose.plugins.attrib import attr
+
+
+
+class TestProjectPrivateTemplate(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestProjectPrivateTemplate, 
cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.services = testClient.getParsedTestDataConfig()
+cls.cleanup = []
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+
+cls.new_domain = Domain.create(
+   cls.apiclient,
+   cls.services[domain],
+   )
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.new_domain.id
+)
+
+cls.debug(cls.account.id)
+#Fetch an api client with the user account created
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+@attr(tags=[advanced])
+def test_project_private_template(self):
+self.api_client = 
self.testClient.getUserApiClient(UserName=self.account.name, 
DomainName=self.account.domain)
+
+#Create a new project using the account created
+self.project = 
Project.create(self.api_client,self.services[project],account=self.account.name,domainid=self.new_domain.id)
+self.debug(The project has been created)
+
+self.network_offering = NetworkOffering.create(
+self.apiclient,
+self.services[network_offering],
+)
+# Enable Network offering
+self.network_offering.update(self.apiclient, state='Enabled')
+
+self.services[network][networkoffering] = 
self.network_offering.id
+
+
+
+#cls.api_client = 
testClient.getUserApiClient(UserName=cls.account.name, 
DomainName=cls.account.domain)
+
+self.project_network = Network.create(
+self.api_client,
+self.services[network],
+networkofferingid=self.network_offering.id,
+zoneid=self.zone.id,
+  

[GitHub] cloudstack pull request: Privtmpl

2015-07-08 Thread nitt10prashant
Github user nitt10prashant commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/566#discussion_r34134758
  
--- Diff: test/integration/component/test_user_taglisting.py ---
@@ -0,0 +1,129 @@
+# 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.
+
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import (Account,
+ ServiceOffering,
+ VirtualMachine,
+ NetworkOffering,
+ Network,
+ Tag
+)
+from marvin.lib.common import (get_domain,
+get_zone,
+get_template)
+from marvin.lib.utils import cleanup_resources
+from marvin.cloudstackAPI import *
+from nose.plugins.attrib import attr
+from marvin.codes import FAILED, PASS
+
+class TestDeployVMWithTags(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+cls.apiclient = cls.testClient.getApiClient()
+cls.dbclient = cls.testClient.getDbConnection()
+cls.cleanup = []
+cls.services = cls.testClient.getParsedTestDataConfig()
+
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, 
cls.testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.domain.id
+)
+
+cls.cleanup.append(cls.account)
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+
+cls.cleanup.append(cls.service_offering)
+cls.api_client = 
cls.testClient.getUserApiClient(UserName=cls.account.name, 
DomainName=cls.account.domain)
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+@attr(tags=[advanced,sg])
+def test_deploy_vm_with_tags(self):
+Test Deploy Virtual Machine
+
+# Validate the following:
+# 1. User tags are created for VM
+# 2. listing the tags for the VM will list the tag only once and 
doesn't list the same tag multiple times
+self.virtual_machine = VirtualMachine.create(
+self.api_client,
+self.services[small],
+serviceofferingid=self.service_offering.id,
+accountid=self.account.name,
+domainid=self.account.domainid,
+zoneid=self.zone.id
+)
+
+tag1 = Tag.create(
+self.apiclient,
+resourceIds=self.virtual_machine.id,
+resourceType='userVM',
+tags={'vmtag'+self.virtual_machine.id: 
'autotag'+self.virtual_machine.id}
+)
+
+tags = Tag.list(
+self.apiclient,
+listall=True,
+

[GitHub] cloudstack pull request: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/558#discussion_r34126397
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -407,10 +410,10 @@ def fw_vpcrouter(self):
 ])
 
 if self.get_type() in [public]:
-self.fw.append([nat, front,
--A POSTROUTING -o %s -j SNAT --to-source %s %
-   (self.dev, self.address['public_ip'])
-])
+# self.fw.append([nat, front,
--- End diff --

You can but you can also make a new pr inlcuding @isoutham code (with 
attribution intact) and add ammending commits
My worry is: will this break any existing tests. prod code is safe so I 
won't -1, just looking for loopholes


---
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.
---


Build failed in Jenkins: simulator-singlerun #1346

2015-07-08 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1346/

--
Started by upstream project build-master-simulator build number 2163
originally caused by:
 Started by upstream project build-master build number 2451
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/
  /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
  /usr/bin/git config remote.origin.url 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
  /usr/bin/git --version # timeout=400
  /usr/bin/git fetch --tags --progress 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git 
  +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
'http://jenkins.buildacloud.org/job/simulator-singlerun/ws/' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors 

[GitHub] cloudstack pull request: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/558#discussion_r34125971
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -407,10 +410,10 @@ def fw_vpcrouter(self):
 ])
 
 if self.get_type() in [public]:
-self.fw.append([nat, front,
--A POSTROUTING -o %s -j SNAT --to-source %s %
-   (self.dev, self.address['public_ip'])
-])
+# self.fw.append([nat, front,
--- End diff --

can we remove these lines and not leave code in comment?


---
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-8583 : fixing issue related to...

2015-07-08 Thread sanju1010
Github user sanju1010 commented on the pull request:

https://github.com/apache/cloudstack/pull/567#issuecomment-119536872
  
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: Privtmpl

2015-07-08 Thread pavanb018
GitHub user pavanb018 opened a pull request:

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

Privtmpl

Comments provided in PR 241 are addressed and the commits for those are in 
this PR.

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

$ git pull https://github.com/pavanb018/cloudstack privtmpl

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

https://github.com/apache/cloudstack/pull/566.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 #566


commit b96b7db104c11b1d49e6dde2f0bf0b0ee69ddfb2
Author: pavan018 pavanbandarupa...@gmail.com
Date:   2015-05-11T10:57:45Z

Automation for issue, Private template not visible in project for user

commit c9c9fe246baf4933f283763a39941ca115caa683
Author: pavan018 pavanbandarupa...@gmail.com
Date:   2015-05-11T11:24:25Z

Automation for user tag listing for virtual machine

commit a683ab1d476444632d2b34d1316a28c1cbf0b94d
Author: pavan018 pavanbandarupa...@gmail.com
Date:   2015-05-12T10:01:08Z

Imparted the Review comments for both the scripts

commit 4b0ef1f10b28fbd7a3b319198a3527cd3ddcaa61
Author: pavan018 pavanbandarupa...@gmail.com
Date:   2015-07-08T09:00:19Z

Added tags and clean up code




---
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: Automation for issue, Private template no...

2015-07-08 Thread pavanb018
Github user pavanb018 closed the pull request at:

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


---
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.
---


Deleting sparse snapshots from XenServer SR

2015-07-08 Thread Francois Gaudreault

Hi Folks,

So we are in a situation where we have (a lot of) sparse snapshots, so 
snapshots hanging there without the actual VM still existing, on one SR, 
and they don't clean up. Is it safe to flush them manually from 
XenServer or there is another way of doing it?


Thanks

--
Francois Gaudreault
Gestionnaire de Produit | Product Manager - Cloud Platform  Services
t:514-629-6775

CloudOps Votre partenaire infonuagique | Cloud Solutions Experts
420 rue Guy | Montreal | Quebec | H3J 1S6
w: cloudops.com | tw: @CloudOps_



Introducing Boris Schrijver

2015-07-08 Thread Wido den Hollander
Hi all,

As you might know, we at PCextreme are using CloudStack for our public
cloud offering and have been looking for a CloudStack dev for a long time.

We found one; so let me introduce Boris Schrijver.

Boris will be our fulltime CloudStack developer with no other purpose
then making CloudStack better :)

CloudStack is a Apache project, so it will be Boris contributing to
CloudStack and NOT PCextreme as a company. He might become a committer
one day, who knows.

Today is his first day, so it will take a bit before you'll see the
first PR coming in.

Wido



Re: Introducing Boris Schrijver

2015-07-08 Thread sebgoa

On Jul 8, 2015, at 5:08 PM, Wido den Hollander w...@widodh.nl wrote:

 Hi all,
 
 As you might know, we at PCextreme are using CloudStack for our public
 cloud offering and have been looking for a CloudStack dev for a long time.
 
 We found one; so let me introduce Boris Schrijver.
 
 Boris will be our fulltime CloudStack developer with no other purpose
 then making CloudStack better :)
 
 CloudStack is a Apache project, so it will be Boris contributing to
 CloudStack and NOT PCextreme as a company. He might become a committer
 one day, who knows.
 
 Today is his first day, so it will take a bit before you'll see the
 first PR coming in.
 

Welcome Boris, great to have you on-board

 Wido
 



Re: Introducing Boris Schrijver

2015-07-08 Thread Daan Hoogland
good luck Boris, Do not hesitate to make PRs for any strange oddities you see.

On Wed, Jul 8, 2015 at 5:24 PM, sebgoa run...@gmail.com wrote:

 On Jul 8, 2015, at 5:08 PM, Wido den Hollander w...@widodh.nl wrote:

 Hi all,

 As you might know, we at PCextreme are using CloudStack for our public
 cloud offering and have been looking for a CloudStack dev for a long time.

 We found one; so let me introduce Boris Schrijver.

 Boris will be our fulltime CloudStack developer with no other purpose
 then making CloudStack better :)

 CloudStack is a Apache project, so it will be Boris contributing to
 CloudStack and NOT PCextreme as a company. He might become a committer
 one day, who knows.

 Today is his first day, so it will take a bit before you'll see the
 first PR coming in.


 Welcome Boris, great to have you on-board

 Wido





-- 
Daan


Re: Introducing Boris Schrijver

2015-07-08 Thread Rohit Yadav
Welcome Boris, looking forward to your PRs.

Cheers.

On 08-Jul-2015, at 8:38 pm, Wido den Hollander 
w...@widodh.nlmailto:w...@widodh.nl wrote:

Hi all,

As you might know, we at PCextreme are using CloudStack for our public
cloud offering and have been looking for a CloudStack dev for a long time.

We found one; so let me introduce Boris Schrijver.

Boris will be our fulltime CloudStack developer with no other purpose
then making CloudStack better :)

CloudStack is a Apache project, so it will be Boris contributing to
CloudStack and NOT PCextreme as a company. He might become a committer
one day, who knows.

Today is his first day, so it will take a bit before you'll see the
first PR coming in.

Wido


Regards,
Rohit Yadav
Software Architect, ShapeBlue


[cid:9DD97B41-04C5-45F0-92A7-951F3E962F7A]


M. +91 88 262 30892 | 
rohit.ya...@shapeblue.commailto:rohit.ya...@shapeblue.com
Blog: bhaisaab.orghttp://bhaisaab.org | Twitter: @_bhaisaab




Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge - rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Software 
Engineeringhttp://shapeblue.com/cloudstack-software-engineering/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Introducing Boris Schrijver

2015-07-08 Thread Mike Tutkowski
Welcome aboard, Boris!

Please don't be shy about asking questions. :)

On Wed, Jul 8, 2015 at 9:08 AM, Wido den Hollander w...@widodh.nl wrote:

 Hi all,

 As you might know, we at PCextreme are using CloudStack for our public
 cloud offering and have been looking for a CloudStack dev for a long time.

 We found one; so let me introduce Boris Schrijver.

 Boris will be our fulltime CloudStack developer with no other purpose
 then making CloudStack better :)

 CloudStack is a Apache project, so it will be Boris contributing to
 CloudStack and NOT PCextreme as a company. He might become a committer
 one day, who knows.

 Today is his first day, so it will take a bit before you'll see the
 first PR coming in.

 Wido




-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play*™*


[GitHub] cloudstack pull request: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread wilderrodrigues
Github user wilderrodrigues commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/558#discussion_r34126781
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -407,10 +410,10 @@ def fw_vpcrouter(self):
 ])
 
 if self.get_type() in [public]:
-self.fw.append([nat, front,
--A POSTROUTING -o %s -j SNAT --to-source %s %
-   (self.dev, self.address['public_ip'])
-])
+# self.fw.append([nat, front,
--- End diff --

The idea is to get his PR merged, then I will apply the fixes, remove the 
commented lines, test and create a new PR.

No, the changes above won't break any existing tests. The redundant VPC has 
just 1 test till now, which tests the offering and creation of rVPC - it was 
added by @afornie. @isoutham is adding the second test from scratch, so that 
won't break anything.

Cheers,
Wilder


---
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: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread DaanHoogland
Github user DaanHoogland commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/558#discussion_r34128899
  
--- Diff: systemvm/patches/debian/config/opt/cloud/bin/cs/CsAddress.py ---
@@ -407,10 +410,10 @@ def fw_vpcrouter(self):
 ])
 
 if self.get_type() in [public]:
-self.fw.append([nat, front,
--A POSTROUTING -o %s -j SNAT --to-source %s %
-   (self.dev, self.address['public_ip'])
-])
+# self.fw.append([nat, front,
--- End diff --

ok, clear. you got my LTGM


---
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: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread DaanHoogland
Github user DaanHoogland commented on the pull request:

https://github.com/apache/cloudstack/pull/558#issuecomment-119509684
  
L reasonably GTM


---
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: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread wilderrodrigues
Github user wilderrodrigues commented on the pull request:

https://github.com/apache/cloudstack/pull/558#issuecomment-119515211
  
Thanks, @DaanHoogland 

Will proceed from here.


---
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: Vpcr Marvin test and some fixes for vprc

2015-07-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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.
---


resource leaks

2015-07-08 Thread Daan Hoogland
I have started working on this in [1] and found that a lot of this is
in the upgrade code. I fixed a few of those and all of them in other
code. I will triage the upgrade issues separately and like to have a
review on [1] now, please.

[1] https://github.com/apache/cloudstack/pull/564

On Tue, Jul 7, 2015 at 1:37 PM, Rajani Karuturi raj...@apache.org wrote:
 This not a good candidate for squashing/huge commit.
 If a regression is found in any of the fixes, it will be easier to just
 revert it than reverting all the 70 commits.

 ~Rajani

 On Tue, Jul 7, 2015 at 3:47 PM, Rohit Yadav rohit.ya...@shapeblue.com
 wrote:


 On 07-Jul-2015, at 3:40 pm, Daan Hoogland daan.hoogl...@gmail.com wrote:

 I will not do it in one commit, if we insist on a PR i will do 73 commits
 in one PR.


  Fine.

  Regards,
 Rohit Yadav
 Software Architect, ShapeBlue




 M. +91 88 262 30892 | rohit.ya...@shapeblue.com
 Blog: bhaisaab.org | Twitter: @_bhaisaab




 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment framework http://shapeblue.com/csforge/
 CloudStack Consulting http://shapeblue.com/cloudstack-consultancy/
 CloudStack Software Engineering
 http://shapeblue.com/cloudstack-software-engineering/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.




-- 
Daan


[GitHub] cloudstack pull request: CLOUDSTACK-8615 :skip all tests in test_p...

2015-07-08 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: Automation for issue, Private template no...

2015-07-08 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/241#discussion_r34118976
  
--- Diff: test/integration/component/test_user_taglisting.py ---
@@ -0,0 +1,137 @@
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import (Account,
+ ServiceOffering,
+ VirtualMachine,
+ NetworkOffering,
+ Network,
+ Tag
+)
+from marvin.lib.common import (get_domain,
+get_zone,
+get_template)
+from marvin.cloudstackAPI import *
+from nose.plugins.attrib import attr
+from marvin.codes import FAILED, PASS
+
+class TestDeployVMWithTags(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+cls.apiclient = cls.testClient.getApiClient()
+cls.dbclient = cls.testClient.getDbConnection()
+cls.cleanup = []
+cls.services = cls.testClient.getParsedTestDataConfig()
+
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, 
cls.testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.domain.id
+)
+
+cls.cleanup.append(cls.account)
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+cls.cleanup.append(cls.service_offering)
+cls.network_offering = NetworkOffering.create(
+cls.apiclient,
+cls.services[network_offering],
+)
+cls.cleanup.append(cls.network_offering)
+# Enable Network offering
+cls.network_offering.update(cls.apiclient, state='Enabled')
+
+cls.services[network][networkoffering] = 
cls.network_offering.id
+cls.api_client = 
cls.testClient.getUserApiClient(UserName=cls.account.name, 
DomainName=cls.account.domain)
+cls.network = Network.create(
+cls.api_client,
+cls.services[network],
+networkofferingid=cls.network_offering.id,
+accountid=cls.account.name,
+domainid=cls.domain.id,
+zoneid=cls.zone.id
+)
+cls.cleanup.append(cls.network)
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+
+def test_deploy_vm_with_tags(self):
--- End diff --

Please add tags attribute to the test


---
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: Automation for issue, Private template no...

2015-07-08 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/241#discussion_r34118957
  
--- Diff: test/integration/component/test_project_template.py ---
@@ -0,0 +1,155 @@
+from marvin.codes import FAILED, PASS
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.base import Account, VirtualMachine, 
ServiceOffering,Project,Network,NetworkOffering,Domain,Volume,Template
+from marvin.lib.common import get_zone, get_domain, get_template
+from marvin.lib.utils import cleanup_resources
+from nose.plugins.attrib import attr
+
+
+
+class TestProjectPrivateTemplate(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+testClient = super(TestDeployVM, cls).getClsTestClient()
+cls.apiclient = testClient.getApiClient()
+cls.services = testClient.getParsedTestDataConfig()
+cls.cleanup = []
+
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.apiclient)
+cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+
+template = get_template(
+cls.apiclient,
+cls.zone.id,
+cls.services[ostype]
+)
+if template == FAILED:
+assert False, get_template() failed to return template with 
description %s % cls.services[ostype]
+
+# Set Zones and disk offerings
+cls.services[small][zoneid] = cls.zone.id
+cls.services[small][template] = template.id
+
+cls.services[medium][zoneid] = cls.zone.id
+cls.services[medium][template] = template.id
+cls.services[iso1][zoneid] = cls.zone.id
+
+cls.service_offering = ServiceOffering.create(
+cls.apiclient,
+cls.services[service_offerings][tiny]
+)
+
+cls.new_domain = Domain.create(
+   cls.apiclient,
+   cls.services[domain],
+   )
+cls.account = Account.create(
+cls.apiclient,
+cls.services[account],
+admin=True,
+domainid=cls.new_domain.id
+)
+
+cls.debug(cls.account.id)
+#Fetch an api client with the user account created
+
+@classmethod
+def tearDownClass(cls):
+try:
+cleanup_resources(cls.apiclient, cls.cleanup)
+except Exception as e:
+raise Exception(Warning: Exception during cleanup : %s % e)
+
+def test_project_private_template(self):
--- End diff --

Please add tags attribute to the test


---
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.
---


Build failed in Jenkins: simulator-singlerun #1343

2015-07-08 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1343/

--
Started by upstream project build-master-simulator build number 2160
originally caused by:
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/
  /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
  /usr/bin/git config remote.origin.url 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
  /usr/bin/git --version # timeout=400
  /usr/bin/git fetch --tags --progress 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git 
  +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
'http://jenkins.buildacloud.org/job/simulator-singlerun/ws/' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] 

Build failed in Jenkins: simulator-singlerun #1344

2015-07-08 Thread jenkins
See http://jenkins.buildacloud.org/job/simulator-singlerun/1344/

--
Started by upstream project build-master-simulator build number 2161
originally caused by:
 Started by upstream project build-master build number 2450
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on simulator in workspace 
http://jenkins.buildacloud.org/job/simulator-singlerun/ws/
  /usr/bin/git rev-parse --is-inside-work-tree # timeout=400
Fetching changes from the remote Git repository
  /usr/bin/git config remote.origin.url 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git # timeout=400
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
  /usr/bin/git --version # timeout=400
  /usr/bin/git fetch --tags --progress 
  https://git-wip-us.apache.org/repos/asf/cloudstack.git 
  +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/cloudstack.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:735)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:983)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1016)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: hudson.plugins.git.GitException: Command /usr/bin/git fetch --tags 
--progress https://git-wip-us.apache.org/repos/asf/cloudstack.git 
+refs/heads/*:refs/remotes/origin/* returned status code 128:
stdout: 
stderr: error:  while accessing 
https://git-wip-us.apache.org/repos/asf/cloudstack.git/info/refs

fatal: HTTP request failed

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1591)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1379)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:86)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:324)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at ..remote call to simulator(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
at sun.reflect.GeneratedMethodAccessor375.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
at sun.proxy.$Proxy46.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:733)
... 11 more
ERROR: Error fetching remote repo 'origin'
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern 
'xunit.xml' relative to 
'http://jenkins.buildacloud.org/job/simulator-singlerun/ws/' for the testing 
framework 'JUnit'.  Did you enter a pattern relative to the correct directory?  
Did you generate the result report(s) for 'JUnit'?
[xUnit] [ERROR] - No test reports found for the metric 'JUnit' with the 
resolved pattern 'xunit.xml'. Configuration error?.
[xUnit] [INFO] - Failing BUILD.
[xUnit] [INFO] - There are errors 

[GitHub] cloudstack pull request: dhcp/dns offload feature config dirve cha...

2015-07-08 Thread jayapalu
GitHub user jayapalu opened a pull request:

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

dhcp/dns offload feature config dirve changes for vm migration

Added vm migration changes for config drive.
Added integration test for this.

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

$ git pull https://github.com/apache/cloudstack dhcpnew

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

https://github.com/apache/cloudstack/pull/568.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 #568


commit 638885a9de0fd651351f0b16cbdd9fc30c4a187d
Author: Jayapal jaya...@apache.org
Date:   2015-06-09T10:43:21Z

CLOUDSTACK-8324: Added migration changes for config drive

commit 56f2b9c0b54afe95333612b52e0ea994bae8782d
Author: Jayapal jaya...@apache.org
Date:   2015-07-01T08:49:20Z

Removed using config drive label from the uservmservice

commit 50efd1da84cf7589a9c8584dbcb3087bd609f404
Author: Jayapal jaya...@apache.org
Date:   2015-07-02T04:26:58Z

Fixed config key in multiple places

commit 05d8ba1bca2cecef8a79e80a4d64b416115565d6
Author: Jayapal jaya...@apache.org
Date:   2015-07-08T09:44:46Z

CLOUDSTACK-8324: Added integration tests for dhcp dns offload feature




---
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.
---


[4.5] Issue logging in under User account

2015-07-08 Thread Mike Tutkowski
Hi,

I recently updated my local 4.5 branch to what's in the CloudStack repo and
I noticed a problem trying to log in as a user of a User account (I get
back a 432 and the CloudStack GUI doesn't display an error message or
anything). (If I type in an incorrect password, I get back a proper error
message, though.)

http://192.168.129.50:8080/client/api?command=listCapabilitiesresponse=jsonsessionkey=PvVFTR5yXM4tITDZUZ6WFHbfhE0_=1436418146466
432 (432)

Has anyone else had this trouble?

Thanks,

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
http://solidfire.com/solution/overview/?video=play*™*


Re: revert or not revert? (was: [GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...)

2015-07-08 Thread Rajani Karuturi
PR #565 is also closed with one review.

I dont agree to adding an exception. Reviewing would be one way to get
others engaged and become aware. Otherwise, they lay there untouched and
unused.

I am sure we have enough committers who can review. Lately, lot more folks
are adding marvin tests as well.

sailaja,sowmya,talluri,gaurav Can you review the PRs?

Regarding the revert,
Maybe we can wait for 8 more hours (to catch up on IST and other timezones)
to get another review. If we dont get any review or if we get a -1, we
should revert.


~Rajani

On Thu, Jul 9, 2015 at 4:30 AM, David Nalley da...@gnsa.us wrote:

 More tests are good, on the other hand exceptions tend to beget
 exceptions at tremendous speed.

 On Wed, Jul 8, 2015 at 7:48 AM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:
  That was never formalized, hence I put it as a shakespearian question.
  I did sugest it otherwise I would have just reverted. I don't like the
  exception but if the number of people working on integration is to low
  to have a good flow we could.
 
  On Wed, Jul 8, 2015 at 1:46 PM, Sanjeev N sanj...@apache.org wrote:
  I thought there is a limitation on LGTMs for integration tests?
 
  On Wed, Jul 8, 2015 at 5:11 PM, Daan Hoogland daan.hoogl...@gmail.com
  wrote:
 
  guys and dolss,
 
  this was closed with only 1 LGTM! we agreed not to submit with less
  then two ok reviews on master. So next steps? revert? some extra
  justification or else revert? .
 
  On Wed, Jul 8, 2015 at 12:39 PM, asfgit g...@git.apache.org wrote:
   Github user asfgit closed the pull request at:
  
   https://github.com/apache/cloudstack/pull/567
  
  
   ---
   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.
   ---
 
 
 
  --
  Daan
 
 
 
 
  --
  Daan



[GitHub] cloudstack pull request: Config drive changes for vm migration

2015-07-08 Thread kishankavala
Github user kishankavala commented on the pull request:

https://github.com/apache/cloudstack/pull/552#issuecomment-119812602
  
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.
---


Re: revert or not revert? (was: [GitHub] cloudstack pull request: CLOUDSTACK-8583 : fixing issue related to...)

2015-07-08 Thread David Nalley
More tests are good, on the other hand exceptions tend to beget
exceptions at tremendous speed.

On Wed, Jul 8, 2015 at 7:48 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:
 That was never formalized, hence I put it as a shakespearian question.
 I did sugest it otherwise I would have just reverted. I don't like the
 exception but if the number of people working on integration is to low
 to have a good flow we could.

 On Wed, Jul 8, 2015 at 1:46 PM, Sanjeev N sanj...@apache.org wrote:
 I thought there is a limitation on LGTMs for integration tests?

 On Wed, Jul 8, 2015 at 5:11 PM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:

 guys and dolss,

 this was closed with only 1 LGTM! we agreed not to submit with less
 then two ok reviews on master. So next steps? revert? some extra
 justification or else revert? .

 On Wed, Jul 8, 2015 at 12:39 PM, asfgit g...@git.apache.org wrote:
  Github user asfgit closed the pull request at:
 
  https://github.com/apache/cloudstack/pull/567
 
 
  ---
  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.
  ---



 --
 Daan




 --
 Daan


Re: Introducing Boris Schrijver

2015-07-08 Thread Nux!
Welcome, Boris :-)

Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
 From: Wido den Hollander w...@widodh.nl
 To: dev@cloudstack.apache.org
 Cc: bo...@pcextreme.nl
 Sent: Wednesday, 8 July, 2015 16:08:09
 Subject: Introducing Boris Schrijver

 Hi all,
 
 As you might know, we at PCextreme are using CloudStack for our public
 cloud offering and have been looking for a CloudStack dev for a long time.
 
 We found one; so let me introduce Boris Schrijver.
 
 Boris will be our fulltime CloudStack developer with no other purpose
 then making CloudStack better :)
 
 CloudStack is a Apache project, so it will be Boris contributing to
 CloudStack and NOT PCextreme as a company. He might become a committer
 one day, who knows.
 
 Today is his first day, so it will take a bit before you'll see the
 first PR coming in.
 
 Wido