Re: Discuss reserving memory on KVM hypervisors ref: CLOUDSTACK-8678

2015-08-28 Thread Remi Bergsma
Making the agent property work (host.reserved.mem.mb) would be awesome! On labs 
you can then set it to something low. 

Let me know if you need help with testing!

Thanks, Remi 

Sent from my iPhone

> On 29 Aug 2015, at 07:49, Erik Weber  wrote:
> 
> Make it configurable to enable/disable the check? Or even the size.
> 
> For labs etc you might not have or want that much to spare.
> 
> 
> Erik
> 
> Den lørdag 29. august 2015 skrev Josh Harshman 
> følgende:
> 
>> Wido -
>> Looks like the problem resides in the logic that does the detection of the
>> host resources.  It looks like most, if not all, the KVM host detection
>> occurs in the LibvirtComputingResource class.  Here I can modify it so it
>> will take the value stored in dom0MinMem into account when calculating the
>> ram available.
>> 
>> I've forked the repo and am working on a fix.
>> Does anyone have anything to add?  Suggestions?
>> 
>> 
>> From: Wido den Hollander >
>> Sent: Friday, August 28, 2015 12:38 AM
>> To: dev@cloudstack.apache.org 
>> Subject: Re: Discuss reserving memory on KVM hypervisors ref:
>> CLOUDSTACK-8678
>> 
>> 
>> 
>> Josh Harshman
>> Cloud Engineer
>> 
>> Intrinium
>> 
>>> On 27-08-15 18:36, Josh Harshman wrote:
>>> In a KVM cluster, CloudStack sees 100% of the compute node's RAM and
>> treats it as allocatable space which eventually leads to OOM killing guests.
>>> 
>>> 
>>> There is an agent property named host.reserved.mem.mb which is able to
>> be set in the agent.properties file and passed to the management server.
>> This value is stored as dom0MinMem, however, it appears to be ignored.
>>> 
>>> 
>>> If we could tweak the host capacity calculation and have it take this
>> into account, I believe that would be ideal.
>>> 
>>> 
>>> Side note: the variable dom0MinMem is declared as an int and can be
>> overflowed. Suggested change would be make it a long and add a check
>> especially if we are going to make this a configurable parameter.
>> 
>> Yes, that seems like a sane thing to do. We should be able to say that
>> eg 8GB of memory should stay available for the HV.
>> 
>> Don't know where the problem lies though. A PR is welcome :)
>> 
>> Wido
>> 
>>> 
>>> 
>>> Josh Harshman
>>> 
>>> Cloud Engineer
>>> 
>>> 
>>> Intrinium
>>> Tel: (509) 465-1234 x5259
>>> Fax: (866) 565-4578
>>> Lync / Skype: josh.harsh...@intrinium.com 
>>> Web: http://intrinium.com
>>> 
>>> 
>>> [Intrinium Long Sig Logo]
>>> 
>>> 
>>> [Facebook]
>> [Twitter]   [Linkedin] <
>> http://www.linkedin.com/company/intrinium_networks_it_security?trk=fc_badge>
>> [Youtube]  [Blog] <
>> http://intrinium.com/blog/>
>>> 
>>> Information Security and Compliance Consulting | Managed IT and Security
>> Services | Cloud Services
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the individual or entity to whom they are
>> addressed. If you have received this email in error please notify the
>> system manager. This message contains confidential information and is
>> intended only for the individual named. If you are not the named addressee
>> you should not disseminate, distribute or copy this e-mail. Please notify
>> the sender immediately by e-mail if you have received this e-mail by
>> mistake and delete this e-mail from your system. If you are not the
>> intended recipient you are notified that disclosing, copying, distributing
>> or taking any action in reliance on the contents of this information is
>> strictly prohibited.
>> 


[GitHub] cloudstack pull request: CLOUDSTACK-8728: Testcase to Verify if VR...

2015-08-28 Thread remibergsma
Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135945903
  
@miguelaferreira If I recall correctly, `rebase -i` (where you'd usually 
squash stuff together and such) and doing nothing, will remove the merge commit 
already. It's better to say to rebase I guess ;-) End goal is indeed to keep 
only the first commit. Cc @pritisarap12 


---
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: Discuss reserving memory on KVM hypervisors ref: CLOUDSTACK-8678

2015-08-28 Thread Erik Weber
Make it configurable to enable/disable the check? Or even the size.

For labs etc you might not have or want that much to spare.


Erik

Den lørdag 29. august 2015 skrev Josh Harshman 
følgende:

> Wido -
> Looks like the problem resides in the logic that does the detection of the
> host resources.  It looks like most, if not all, the KVM host detection
> occurs in the LibvirtComputingResource class.  Here I can modify it so it
> will take the value stored in dom0MinMem into account when calculating the
> ram available.
>
> I've forked the repo and am working on a fix.
> Does anyone have anything to add?  Suggestions?
>
> 
> From: Wido den Hollander >
> Sent: Friday, August 28, 2015 12:38 AM
> To: dev@cloudstack.apache.org 
> Subject: Re: Discuss reserving memory on KVM hypervisors ref:
> CLOUDSTACK-8678
>
>
>
> Josh Harshman
> Cloud Engineer
>
> Intrinium
>
> On 27-08-15 18:36, Josh Harshman wrote:
> > In a KVM cluster, CloudStack sees 100% of the compute node's RAM and
> treats it as allocatable space which eventually leads to OOM killing guests.
> >
> >
> > There is an agent property named host.reserved.mem.mb which is able to
> be set in the agent.properties file and passed to the management server.
> This value is stored as dom0MinMem, however, it appears to be ignored.
> >
> >
> > If we could tweak the host capacity calculation and have it take this
> into account, I believe that would be ideal.
> >
> >
> > Side note: the variable dom0MinMem is declared as an int and can be
> overflowed. Suggested change would be make it a long and add a check
> especially if we are going to make this a configurable parameter.
> >
> >
>
> Yes, that seems like a sane thing to do. We should be able to say that
> eg 8GB of memory should stay available for the HV.
>
> Don't know where the problem lies though. A PR is welcome :)
>
> Wido
>
> >
> >
> > Josh Harshman
> >
> > Cloud Engineer
> >
> >
> > Intrinium
> > Tel: (509) 465-1234 x5259
> > Fax: (866) 565-4578
> > Lync / Skype: josh.harsh...@intrinium.com 
> > Web: http://intrinium.com
> >
> >
> > [Intrinium Long Sig Logo]
> >
> >
> > [Facebook]
> [Twitter]   [Linkedin] <
> http://www.linkedin.com/company/intrinium_networks_it_security?trk=fc_badge>
> [Youtube]   [Blog] <
> http://intrinium.com/blog/>
> >
> > Information Security and Compliance Consulting | Managed IT and Security
> Services | Cloud Services
> >
> >
> >
> >
> >
> > 
> >
> > This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If you have received this email in error please notify the
> system manager. This message contains confidential information and is
> intended only for the individual named. If you are not the named addressee
> you should not disseminate, distribute or copy this e-mail. Please notify
> the sender immediately by e-mail if you have received this e-mail by
> mistake and delete this e-mail from your system. If you are not the
> intended recipient you are notified that disclosing, copying, distributing
> or taking any action in reliance on the contents of this information is
> strictly prohibited.
> >
>


Build failed in Jenkins: build-master-slowbuild #2174

2015-08-28 Thread jenkins
See 

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.757s]
[INFO] Apache CloudStack . SUCCESS [2.164s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.802s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [18.906s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:15.030s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.264s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.223s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.143s]
[INFO] Apache CloudStack API . SUCCESS [1:56.204s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.426s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [28.772s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.092s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.425s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.906s]
[INFO] Apache CloudStack Core  SUCCESS [1:16.526s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.383s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.846s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.538s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:14.645s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [46.901s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [30.581s]
[INFO] Apache CloudStack Server .. SUCCESS [4:31.651s]
[INFO] Apache CloudStack Usage Server  SUCCESS [49.932s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:32.689s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.074s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.451s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [56.867s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [56.917s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [32.628s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.227s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [31.597s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.301s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.396s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [11.873s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [5.854s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.741s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [1:43.718s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3:21.904s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[1:13.959s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [22.605s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [44.282s]
[INFO] Apache CloudStack Plugin - A

Re: Review wanted for PR 714 (CLOUDSTACK-8750)

2015-08-28 Thread Mike Tutkowski
It LGTM. I just updated the PR with that info.

Thanks,
Mike

On Fri, Aug 28, 2015 at 7:50 PM, Rafael Weingärtner <
rafaelweingart...@gmail.com> wrote:

> Hi folks,
> This email is meant to ping the community about the PR (714) that solves
> the ticket CLOUDSTACK-8750 (
> https://issues.apache.org/jira/browse/CLOUDSTACK-8750).
>
> The commit at first sight might look a bit too big to review, but at the
> end it is a pretty easy. It will remove a few lines of code while removing
> some issues on Sonar code analysis.
> If I am not mistaken @DaanHoogland has already given a LGTM in a past mail
> about this PR.
>
>
>
> --
> Rafael Weingärtner
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the cloud
*™*


[GitHub] cloudstack pull request: Changed variable s_logger to non-static a...

2015-08-28 Thread mike-tutkowski
Github user mike-tutkowski commented on the pull request:

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


Build failed in Jenkins: build-master-slowbuild #2173

2015-08-28 Thread jenkins
See 

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.721s]
[INFO] Apache CloudStack . SUCCESS [2.098s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.809s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.887s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:14.300s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.128s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.537s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.931s]
[INFO] Apache CloudStack API . SUCCESS [1:50.442s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [16.123s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.747s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.102s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.510s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.862s]
[INFO] Apache CloudStack Core  SUCCESS [1:16.266s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.580s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.766s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.726s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:12.317s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [46.476s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [31.227s]
[INFO] Apache CloudStack Server .. SUCCESS [4:27.895s]
[INFO] Apache CloudStack Usage Server  SUCCESS [50.678s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:26.301s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.077s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.443s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [1:01.581s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [57.992s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [33.351s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [27.681s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [22.936s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.473s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.734s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.775s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [6.391s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.749s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [51.713s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3:33.672s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[1:50.044s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [21.976s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [33.405s]
[INFO] Apache CloudStack Plugin - A

Review wanted for PR 714 (CLOUDSTACK-8750)

2015-08-28 Thread Rafael Weingärtner
Hi folks,
This email is meant to ping the community about the PR (714) that solves
the ticket CLOUDSTACK-8750 (
https://issues.apache.org/jira/browse/CLOUDSTACK-8750).

The commit at first sight might look a bit too big to review, but at the
end it is a pretty easy. It will remove a few lines of code while removing
some issues on Sonar code analysis.
If I am not mistaken @DaanHoogland has already given a LGTM in a past mail
about this PR.



-- 
Rafael Weingärtner


RE: Discuss reserving memory on KVM hypervisors ref: CLOUDSTACK-8678

2015-08-28 Thread Josh Harshman
Wido -
Looks like the problem resides in the logic that does the detection of the host 
resources.  It looks like most, if not all, the KVM host detection occurs in 
the LibvirtComputingResource class.  Here I can modify it so it will take the 
value stored in dom0MinMem into account when calculating the ram available.

I've forked the repo and am working on a fix.
Does anyone have anything to add?  Suggestions?


From: Wido den Hollander 
Sent: Friday, August 28, 2015 12:38 AM
To: dev@cloudstack.apache.org
Subject: Re: Discuss reserving memory on KVM hypervisors ref: CLOUDSTACK-8678



Josh Harshman
Cloud Engineer

Intrinium

On 27-08-15 18:36, Josh Harshman wrote:
> In a KVM cluster, CloudStack sees 100% of the compute node's RAM and treats 
> it as allocatable space which eventually leads to OOM killing guests.
>
>
> There is an agent property named host.reserved.mem.mb which is able to be set 
> in the agent.properties file and passed to the management server.  This value 
> is stored as dom0MinMem, however, it appears to be ignored.
>
>
> If we could tweak the host capacity calculation and have it take this into 
> account, I believe that would be ideal.
>
>
> Side note: the variable dom0MinMem is declared as an int and can be 
> overflowed. Suggested change would be make it a long and add a check 
> especially if we are going to make this a configurable parameter.
>
>

Yes, that seems like a sane thing to do. We should be able to say that
eg 8GB of memory should stay available for the HV.

Don't know where the problem lies though. A PR is welcome :)

Wido

>
>
> Josh Harshman
>
> Cloud Engineer
>
>
> Intrinium
> Tel: (509) 465-1234 x5259
> Fax: (866) 565-4578
> Lync / Skype: josh.harsh...@intrinium.com
> Web: http://intrinium.com
>
>
> [Intrinium Long Sig Logo]
>
>
> [Facebook] [Twitter] 
>   [Linkedin] 
>  
>  [Youtube]   [Blog] 
> 
>
> Information Security and Compliance Consulting | Managed IT and Security 
> Services | Cloud Services
>
>
>
>
>
> 
>
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you have received this email in error please notify the system manager. This 
> message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. If you are not the intended recipient you are 
> notified that disclosing, copying, distributing or taking any action in 
> reliance on the contents of this information is strictly prohibited.
>


Build failed in Jenkins: build-master-slowbuild #2172

2015-08-28 Thread jenkins
See 

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.784s]
[INFO] Apache CloudStack . SUCCESS [2.334s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.838s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [20.073s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:20.924s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.109s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.271s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.472s]
[INFO] Apache CloudStack API . SUCCESS [1:48.526s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [20.351s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [32.239s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.088s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [26.929s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.926s]
[INFO] Apache CloudStack Core  SUCCESS [1:15.908s]
[INFO] Apache CloudStack Agents .. SUCCESS [41.576s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [36.307s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [14.225s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:03.083s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.551s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.031s]
[INFO] Apache CloudStack Server .. SUCCESS [4:07.058s]
[INFO] Apache CloudStack Usage Server  SUCCESS [45.691s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:27.524s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.079s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.457s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [59.428s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [48.401s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [30.232s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [25.809s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [31.740s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [20.957s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.310s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.114s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [5.840s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.745s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.230s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[25.919s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[36.613s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [18.143s]
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [25.031s]
[INFO] Apache CloudStack Plugin - ACL Sta

[GitHub] cloudstack pull request: CLOUDSTACK-8728: Testcase to Verify if VR...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135894663
  
@remi: do you mean squash to get rid of the merge commit? Wouldn't the 
resulting commit have 2 parents? If so, that's not the solution.

Or do you mean squash all but the merge commit?


---
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-8728: Testcase to Verify if VR...

2015-08-28 Thread remibergsma
Github user remibergsma commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135887682
  
@pritisarap12 Please squash the commits (get rid of the merge commit). We 
cannot merge it like this. 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.
---


Build failed in Jenkins: build-master-slowbuild #2171

2015-08-28 Thread jenkins
See 

Changes:

[w.zhou] use fakelocalhost in BasicRestClientTest

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.761s]
[INFO] Apache CloudStack . SUCCESS [2.117s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.784s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.868s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:13.870s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.125s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.849s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.999s]
[INFO] Apache CloudStack API . SUCCESS [1:48.797s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [17.823s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [30.493s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.091s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.531s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.876s]
[INFO] Apache CloudStack Core  SUCCESS [1:16.736s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.959s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.543s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.972s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:10.672s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [43.402s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [33.763s]
[INFO] Apache CloudStack Server .. SUCCESS [4:29.223s]
[INFO] Apache CloudStack Usage Server  SUCCESS [51.613s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:33.709s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.074s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.439s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [52.838s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [58.958s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [33.323s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [27.098s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [24.209s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [21.916s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.866s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [11.804s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [6.086s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.774s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.408s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[2:11.193s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[3:41.380s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [23.019s]
[INFO] Apache CloudStack Plugin - API Discover

Re: [VOTE] Release Apache CloudStack EC2stack 0.8.0

2015-08-28 Thread Carlos Reategui
hmm.  not sure.  I am running:
- ACS 4.5.1
- ec2stack 0.7.1 (on MS installed using pip)

I have tested from:
- MacOS 10.10.5 using aws cli 1.7.47 (installed using brew)
- Ubuntu 14.04 using aws cli 1.3.8 and 1.8.0 (installed using pip)

And it works, although I am using profiles but that shouldn't make a
difference:
aws ec2 --profile sjocs --endpoint=http://sjocloudstack.local:5000
describe-instances


On Fri, Aug 28, 2015 at 9:04 AM, Rajani Karuturi  wrote:

> Hi Carlos,
> I have the signature fix and config looks like below. I also checked that
> the keys are correct.
>
>
> On Fri, Aug 28, 2015 at 20:53 PM, Carlos Reategui 
> wrote:
>
> Rajani,
> Take a look at your ~/.aws/config and make sure the keys are correct.  Also
> is you are using a current version of the AWS CLI make sure to add the
> signature_version block as mentioned in the ec2stack readme.
>
> From the above looks like you are not using profiles therefore your config
> file should look something like this:
>
>
> [default]
>
> output = json
>
> region =
>
> aws_access_key_id = xx
>
> aws_secret_access_key = y
>
> ec2 =
>
> signature_version = v2
>
>
>
> Regards,
> Carlos
>
>
> On Fri, Aug 28, 2015 at 4:04 AM, Rajani Karuturi <
> rajani.karut...@citrix.com
> 
> > wrote:
>
> > Hi Sebastien,
> >
> > I am trying to configure and use ec2stack. This is what I have done
> >
> > $ pip install awscli
> > $ cd cloudstack-ec2stack
> > $ python setup.py install
> > $ ec2stack-configure
> > $ ec2stack &
> > $ ec2stack-register http://localhost:5000 cs_api_key cs_secret_key
> > $ aws ec2 describe-images --endpoint=http://localhost:5000
> > # it gave the below error message
> > # Unable to locate credentials. You can configure credentials by running
> > "aws configure”.
> > $ aws configure # gave AWS api and secret key
> > $ aws ec2 describe-images --endpoint=http://localhost:5000
> > # this is the output I see
> > # localhost - - [28/Aug/2015 16:25:24] "POST / HTTP/1.1" 401 -
> > # ‘RequestID’
> >
> > I don’t see anything in cloudstack logs
> >
> > If I change the api key and secret key to
> > $ ec2stack-register http://localhost:5000 aws_api_key aws_secret_key
> >
> > I see below in cloudstack logs
> >
> > 2015-08-28 16:22:37,118 DEBUG [c.c.a.ApiServlet]
> > (1188257713@qtp-2099531272-3:ctx-29d29342) ===START===  10.147.28.40 --
> > GET
> >
>
> apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
> > 2015-08-28 16:22:37,120 DEBUG [c.c.a.ApiServer]
> > (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) apiKey does not
> > map to a valid user -- ignoring request, apiKey:aws_api_key
> > 2015-08-28 16:22:37,122 DEBUG [c.c.a.ApiServlet]
> > (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) ===END===
> > 10.147.28.40 -- GET
> >
>
> apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
> >
> >
> > where are the logs for ec2stack? how can I see what it is happening?
> >
> > ~Rajani
> >
> >
> >
> > On 27-Aug-2015, at 12:54 am, sebgoa >
> wrote:
> >
> > >
> > > On Aug 26, 2015, at 7:08 PM, David Nalley  >
> wrote:
> > >
> > >> +1 (binding)
> > >>
> > >> sigs and hashes look good.
> > >> builds fine
> > >> no binaries present.
> > >> A few files seem to be missing license headers, but I don't think it's
> > >> a blocker.
> > >> License and NOTICE appear to be correct.
> > >>
> > >> I wish we pointed to the cloudstack docker hub account rather than the
> > >> runseb account, but don't think it's a blocker for release
> > >>
> > >
> > > missed that, now fixed.
> > >
> > >> --David
> > >>
> > >> On Wed, Aug 26, 2015 at 5:25 AM, sebgoa  > wrote:
> > >>> Hi All,
> > >>>
> > >>> I've created a 0.8.0 release of EC2stack, with the following
> artifacts
> > up for a vote:
> > >>>
> > >>> Git Branch and Commit SH:
> > >>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-ec2stack.git
> > >>>
> > >>> Commit: a61d7c01129dfe4c31515a48e0f6b4a53436c208
> > >>>
> > >>> There are no code changes from the time the code was donated to the
> > ASF, only license headers and a Dockerfile.
> > >>>
> > >>> Source release (checksums and signatures are available at the same
> > >>> location):
> > >>> https://dist.apache.org/repos/dist/dev/cloudstack/ec2stack-0.8.0/
> > >>>
> > >>> PGP release keys (signed using 8F89EB84):
> > >>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> > >>>
> > >>> For testing functionality you might consider using the Docker image:
> > >>> docker pull cloudstack/cloudstack-ec2stack
> > >>>
> > >>> Do remember that the official release artifact is the source code,
> > which needs to contain proper licensing and proper signatures.
> > >>>
> > >>> Vote will be open for 72 hours.
> > >>>
> > >>> For sanity in tallying the vote, can PMC members please be sure to
> > indicate "(binding)" with their vote?
> > >>>
> > >>> [ ] +1  approve
> > >>> [ ] +0  no opinion

Build failed in Jenkins: build-master-slowbuild #2170

2015-08-28 Thread jenkins
See 

Changes:

[kansal.k] Coverity Issue: NUll Pointer dereferncing fixed and commits squashed.

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.734s]
[INFO] Apache CloudStack . SUCCESS [2.388s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.771s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.306s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:15.578s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.103s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [53.010s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [27.037s]
[INFO] Apache CloudStack API . SUCCESS [1:50.840s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [20.909s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.424s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.103s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.539s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.697s]
[INFO] Apache CloudStack Core  SUCCESS [1:14.928s]
[INFO] Apache CloudStack Agents .. SUCCESS [35.596s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [41.859s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [15.157s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:04.694s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [40.007s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [24.557s]
[INFO] Apache CloudStack Server .. SUCCESS [4:04.795s]
[INFO] Apache CloudStack Usage Server  SUCCESS [45.279s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:29.145s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.098s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.579s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [52.845s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [47.064s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [42.362s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [29.002s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [34.735s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [24.685s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.805s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [11.813s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [6.374s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.827s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [26.475s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[24.734s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider  SUCCESS 
[38.853s]
[INFO] Apache CloudStack Plugin - API SolidFire .. SUCCESS [18.114s]
[INFO] Apache Cloud

Re: [DISCUSS] Let's fix CloudStack Upgrades and DB migrations with CloudStack Chimp

2015-08-28 Thread David Nalley
I REALLY like the idea. I wish we could gut the existing upgrade process
and replace it wholesale.
However, I'd urge us to use some existing tool as the foundation (while
there links in the wiki page, it wasn't clear to me that this was assured),
something open source that lots of other folks are also using means we can
leverage it, without having to write it ourselves.

--David

On Fri, Aug 28, 2015 at 2:51 AM, Rohit Yadav 
wrote:

> Hi all,
>
> Some of us have discussed in the past on fixing CloudStack’s upgrade and
> DB migration, I’m trying to explore if we can really fix this. Please
> review, advise changes, add suggestions along with your upgrade experience
> so we can improve this in near future starting with ACS 4.7 or above:
>
> http://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Chimp
> (note: this wiki will keep changing depending on the discussions and
> feedback)
>
> 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
> 
> CSForge – rapid IaaS deployment framework 
> CloudStack Consulting 
> CloudStack Software Engineering
> 
> CloudStack Infrastructure Support
> 
> CloudStack Bootcamp Training Courses
> 
>
> 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.
>


[GitHub] cloudstack pull request: use fakelocalhost in BasicRestClientTest

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

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


---
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: [VOTE] Release Apache CloudStack EC2stack 0.8.0

2015-08-28 Thread Rajani Karuturi
Hi Carlos,
I have the signature fix and config looks like below. I also checked that
the keys are correct.


On Fri, Aug 28, 2015 at 20:53 PM, Carlos Reategui 
wrote:

Rajani,
Take a look at your ~/.aws/config and make sure the keys are correct.  Also
is you are using a current version of the AWS CLI make sure to add the
signature_version block as mentioned in the ec2stack readme.

>From the above looks like you are not using profiles therefore your config
file should look something like this:


[default]

output = json

region =

aws_access_key_id = xx

aws_secret_access_key = y

ec2 =

signature_version = v2



Regards,
Carlos


On Fri, Aug 28, 2015 at 4:04 AM, Rajani Karuturi 
> wrote:

> Hi Sebastien,
>
> I am trying to configure and use ec2stack. This is what I have done
>
> $ pip install awscli
> $ cd cloudstack-ec2stack
> $ python setup.py install
> $ ec2stack-configure
> $ ec2stack &
> $ ec2stack-register http://localhost:5000 cs_api_key cs_secret_key
> $ aws ec2 describe-images --endpoint=http://localhost:5000
> # it gave the below error message
> # Unable to locate credentials. You can configure credentials by running
> "aws configure”.
> $ aws configure # gave AWS api and secret key
> $ aws ec2 describe-images --endpoint=http://localhost:5000
> # this is the output I see
> # localhost - - [28/Aug/2015 16:25:24] "POST / HTTP/1.1" 401 -
> # ‘RequestID’
>
> I don’t see anything in cloudstack logs
>
> If I change the api key and secret key to
> $ ec2stack-register http://localhost:5000 aws_api_key aws_secret_key
>
> I see below in cloudstack logs
>
> 2015-08-28 16:22:37,118 DEBUG [c.c.a.ApiServlet]
> (1188257713@qtp-2099531272-3:ctx-29d29342) ===START===  10.147.28.40 --
> GET
>
apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
> 2015-08-28 16:22:37,120 DEBUG [c.c.a.ApiServer]
> (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) apiKey does not
> map to a valid user -- ignoring request, apiKey:aws_api_key
> 2015-08-28 16:22:37,122 DEBUG [c.c.a.ApiServlet]
> (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) ===END===
> 10.147.28.40 -- GET
>
apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
>
>
> where are the logs for ec2stack? how can I see what it is happening?
>
> ~Rajani
>
>
>
> On 27-Aug-2015, at 12:54 am, sebgoa >
wrote:
>
> >
> > On Aug 26, 2015, at 7:08 PM, David Nalley >
wrote:
> >
> >> +1 (binding)
> >>
> >> sigs and hashes look good.
> >> builds fine
> >> no binaries present.
> >> A few files seem to be missing license headers, but I don't think it's
> >> a blocker.
> >> License and NOTICE appear to be correct.
> >>
> >> I wish we pointed to the cloudstack docker hub account rather than the
> >> runseb account, but don't think it's a blocker for release
> >>
> >
> > missed that, now fixed.
> >
> >> --David
> >>
> >> On Wed, Aug 26, 2015 at 5:25 AM, sebgoa > wrote:
> >>> Hi All,
> >>>
> >>> I've created a 0.8.0 release of EC2stack, with the following artifacts
> up for a vote:
> >>>
> >>> Git Branch and Commit SH:
> >>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-ec2stack.git
> >>>
> >>> Commit: a61d7c01129dfe4c31515a48e0f6b4a53436c208
> >>>
> >>> There are no code changes from the time the code was donated to the
> ASF, only license headers and a Dockerfile.
> >>>
> >>> Source release (checksums and signatures are available at the same
> >>> location):
> >>> https://dist.apache.org/repos/dist/dev/cloudstack/ec2stack-0.8.0/
> >>>
> >>> PGP release keys (signed using 8F89EB84):
> >>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >>>
> >>> For testing functionality you might consider using the Docker image:
> >>> docker pull cloudstack/cloudstack-ec2stack
> >>>
> >>> Do remember that the official release artifact is the source code,
> which needs to contain proper licensing and proper signatures.
> >>>
> >>> Vote will be open for 72 hours.
> >>>
> >>> For sanity in tallying the vote, can PMC members please be sure to
> indicate "(binding)" with their vote?
> >>>
> >>> [ ] +1  approve
> >>> [ ] +0  no opinion
> >>> [ ] -1  disapprove (and reason why)
> >
>
>



-- 
-
Sent from Windows Phone
~Rajani


[GitHub] cloudstack pull request: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135815149
  
@bhaisaab I've checked out this PR, which is your 
`shapeblue:4.5-CLOUDSTACK-8762` applied to `apache:4.5`. Yes, I do have Java8 
installed, but the mvn config make points to Java7, right?


---
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: [GitHub] cloudstack pull request: Putting CglibThrowableRenderer.java back ...

2015-08-28 Thread Rajani Karuturi
This introduced an old findbugs issue as a new one because of which slow
build failed.


On Fri, Aug 28, 2015 at 17:27 PM, asfgit  wrote:

Github user asfgit closed the pull request at:

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


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



-- 
-
Sent from Windows Phone
~Rajani


[GitHub] cloudstack pull request: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135814417
  
@miguelaferreira from the logs, looks like you were building 4.5 branch 
(the 4.5.2 artifact); on my system the build passes as well, are you using 
Java8?


---
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: [VOTE] Release Apache CloudStack EC2stack 0.8.0

2015-08-28 Thread Carlos Reategui
Rajani,
Take a look at your ~/.aws/config and make sure the keys are correct.  Also
is you are using a current version of the AWS CLI make sure to add the
signature_version block as mentioned in the ec2stack readme.

>From the above looks like you are not using profiles therefore your config
file should look something like this:


[default]

output = json

region =

aws_access_key_id = xx

aws_secret_access_key = y

ec2 =

signature_version = v2



Regards,
Carlos


On Fri, Aug 28, 2015 at 4:04 AM, Rajani Karuturi  wrote:

> Hi Sebastien,
>
> I am trying to configure and use ec2stack. This is what I have done
>
> $ pip install awscli
> $ cd cloudstack-ec2stack
> $ python setup.py install
> $ ec2stack-configure
> $ ec2stack &
> $ ec2stack-register http://localhost:5000 cs_api_key cs_secret_key
> $ aws ec2 describe-images --endpoint=http://localhost:5000
> # it gave the below error message
> # Unable to locate credentials. You can configure credentials by running
> "aws configure”.
> $ aws configure # gave AWS api and secret key
> $ aws ec2 describe-images --endpoint=http://localhost:5000
> # this is the output I see
> # localhost - - [28/Aug/2015 16:25:24] "POST / HTTP/1.1" 401 -
> # ‘RequestID’
>
> I don’t see anything in cloudstack logs
>
> If I change the api key and secret key to
> $ ec2stack-register http://localhost:5000 aws_api_key aws_secret_key
>
> I see below in cloudstack logs
>
> 2015-08-28 16:22:37,118 DEBUG [c.c.a.ApiServlet]
> (1188257713@qtp-2099531272-3:ctx-29d29342) ===START===  10.147.28.40 --
> GET
> apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
> 2015-08-28 16:22:37,120 DEBUG [c.c.a.ApiServer]
> (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) apiKey does not
> map to a valid user -- ignoring request, apiKey:aws_api_key
> 2015-08-28 16:22:37,122 DEBUG [c.c.a.ApiServlet]
> (1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) ===END===
> 10.147.28.40 -- GET
> apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
>
>
> where are the logs for ec2stack? how can I see what it is happening?
>
> ~Rajani
>
>
>
> On 27-Aug-2015, at 12:54 am, sebgoa  wrote:
>
> >
> > On Aug 26, 2015, at 7:08 PM, David Nalley  wrote:
> >
> >> +1 (binding)
> >>
> >> sigs and hashes look good.
> >> builds fine
> >> no binaries present.
> >> A few files seem to be missing license headers, but I don't think it's
> >> a blocker.
> >> License and NOTICE appear to be correct.
> >>
> >> I wish we pointed to the cloudstack docker hub account rather than the
> >> runseb account, but don't think it's a blocker for release
> >>
> >
> > missed that, now fixed.
> >
> >> --David
> >>
> >> On Wed, Aug 26, 2015 at 5:25 AM, sebgoa  wrote:
> >>> Hi All,
> >>>
> >>> I've created a 0.8.0 release of EC2stack, with the following artifacts
> up for a vote:
> >>>
> >>> Git Branch and Commit SH:
> >>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-ec2stack.git
> >>>
> >>> Commit: a61d7c01129dfe4c31515a48e0f6b4a53436c208
> >>>
> >>> There are no code changes from the time the code was donated to the
> ASF, only license headers and a Dockerfile.
> >>>
> >>> Source release (checksums and signatures are available at the same
> >>> location):
> >>> https://dist.apache.org/repos/dist/dev/cloudstack/ec2stack-0.8.0/
> >>>
> >>> PGP release keys (signed using 8F89EB84):
> >>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
> >>>
> >>> For testing functionality you might consider using the Docker image:
> >>> docker pull cloudstack/cloudstack-ec2stack
> >>>
> >>> Do remember that the official release artifact is the source code,
> which needs to contain proper licensing and proper signatures.
> >>>
> >>> Vote will be open for 72 hours.
> >>>
> >>> For sanity in tallying the vote, can PMC members please be sure to
> indicate "(binding)" with their vote?
> >>>
> >>> [ ] +1  approve
> >>> [ ] +0  no opinion
> >>> [ ] -1  disapprove (and reason why)
> >
>
>


[GitHub] cloudstack pull request: CLOUDSTACK-8728: Testcase to Verify if VR...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/684#issuecomment-135792733
  
Something strange with this PR. The second commit merges master into the PR

Was this an attempt to bring in new changes from master? If that was the 
case, then a rebase would have been the better option.

@pritisarap12 can you please remove the merge commit, and rebase instead?
Let me know if you would like me to help you with that.



---
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: Coverity Issue: Null pointer dereferencin...

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

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


---
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: Coverity Issue: Null pointer dereferencin...

2015-08-28 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/629#issuecomment-135791640
  
2 LGTMs, merging


---
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: build-master-slowbuild #2169

2015-08-28 Thread jenkins
See 

Changes:

[miguelferreira] Putting CglibThrowableRenderer.java back after it was removed 
in 83fd8f6

[w.zhou] CLOUDSTACK-8783: specify ciphersuite SSL_DH_anon_WITH_3DES_EDE_CBC_SHA 
in MockServerTest.java

--
[...truncated 28153 lines...]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] >>> findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud >>>
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:findbugs (findbugs) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- findbugs-maven-plugin:3.0.1:check (cloudstack-findbugs) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:instrument (default-cli) @ 
cloud-quickcloud ---
[WARNING] No files to instrument.
[INFO] NOT adding cobertura ser file to attached artifacts list.
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ cloud-quickcloud 
---
[INFO] 
[INFO] <<< cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud <<<
[INFO] 
[INFO] --- cobertura-maven-plugin:2.6:cobertura (default-cli) @ 
cloud-quickcloud ---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration  SUCCESS 
[1.749s]
[INFO] Apache CloudStack . SUCCESS [2.120s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [0.763s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.175s]
[INFO] Apache CloudStack Utils ... SUCCESS [1:13.788s]
[INFO] Apache CloudStack Framework ... SUCCESS [0.114s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [52.358s]
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [26.448s]
[INFO] Apache CloudStack API . SUCCESS [1:49.767s]
[INFO] Apache CloudStack Framework - REST  SUCCESS [15.756s]
[INFO] Apache CloudStack Framework - IPC . SUCCESS [29.441s]
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.094s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [27.342s]
[INFO] Apache CloudStack Framework - Security  SUCCESS [24.123s]
[INFO] Apache CloudStack Core  SUCCESS [1:14.975s]
[INFO] Apache CloudStack Agents .. SUCCESS [34.511s]
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [35.207s]
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.932s]
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [2:08.522s]
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [41.412s]
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS [36.015s]
[INFO] Apache CloudStack Server .. SUCCESS [4:27.384s]
[INFO] Apache CloudStack Usage Server  SUCCESS [49.395s]
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[1:30.968s]
[INFO] Apache CloudStack Cloud Services .. SUCCESS [0.064s]
[INFO] Apache CloudStack Secondary Storage ... SUCCESS [0.429s]
[INFO] Apache CloudStack Secondary Storage Service ... SUCCESS [1:02.059s]
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [59.351s]
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [35.931s]
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [26.025s]
[INFO] Apache CloudStack Engine Storage Data Motion Component  SUCCESS [23.128s]
[INFO] Apache CloudStack Engine Storage Cache Component .. SUCCESS [22.804s]
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [34.650s]
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [12.136s]
[INFO] Apache CloudStack Cloud Engine Service  SUCCESS [5.860s]
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.741s]
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [29.606s]
[INFO] Apache CloudStack Plugin - Storage Volume default provider  SUCCESS 
[3:14.261s]
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provid

[GitHub] cloudstack pull request: Made following fixes in simulator

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/741#issuecomment-135777004
  
@DaanHoogland I figured it was something nice, but really wasn't sure about 
what you meant exactly. Thank you!


---
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: Made following fixes in simulator

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

https://github.com/apache/cloudstack/pull/741#issuecomment-135776711
  
@miguelaferreira you know what ip my email lives on but to explain it to 
the world; your approval is very much appreciated and binding 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: CLOUDSTACK-8727: API call listVirtualMach...

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

https://github.com/apache/cloudstack/pull/685#issuecomment-135775262
  
@kansal it looks to me the new test tests exactly the same functionality as 
the previous one. Can you elaborate on the difference? And more specifically 
can we delete the old 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: Made following fixes in simulator

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

https://github.com/apache/cloudstack/pull/741#issuecomment-135769001
  
Finished the tests... LGTM :+1: 

[root@cs2 cloudstack]# python -m marvin.deployDataCenter -i 
setup/dev/advanced.cfg

 Log Folder Path: 
/tmp//MarvinLogs//DeployDataCenter__Aug_28_2015_12_57_43_0I9K5D. All logs will 
be available here 

 Deploy DC Started 

=== Data Center Settings are dumped to 
/tmp//MarvinLogs//DeployDataCenter__Aug_28_2015_12_57_43_0I9K5D/dc_entries.obj===

Deploy DC Successful=
[root@cs2 cloudstack]# nosetests --with-marvin 
--marvin-config=setup/dev/advanced.cfg \
>   test/integration/smoke/test_scale_vm.py -s -a 
tags=advanced,required_hardware=false \
>   --zone=Sandbox-simulator --hypervisor=simulator

 Marvin Init Started 

=== Marvin Parse Config Successful ===

=== Marvin Setting TestData Successful===

 Log Folder Path: /tmp//MarvinLogs//Aug_28_2015_13_01_43_5ETXDF. All 
logs will be available here 

=== Marvin Init Logging Successful===

 Marvin Init Successful 
=== TestName: test_02_scale_vm_without_hypervisor_specifics | Status : 
SUCCESS ===

===final results are now copied to: /tmp//MarvinLogs/test_scale_vm_NP4VUD===

@bhaisaab @koushik-das @remibergsma @DaanHoogland could one of you please 
merge it? I'm full up to the neck right now.

Thanks for the great stuff, @miguelaferreira  


---
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: Made following fixes in simulator

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/741#issuecomment-135769042
  
@DaanHoogland I get the feeling that by this time tomorrow I might have a 
clue about what you meant


---
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: Made following fixes in simulator

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

https://github.com/apache/cloudstack/pull/741#issuecomment-135768876
  
@miguelaferreira your opinion feels like shackles 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: use fakelocalhost in BasicRestClientTest

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/752#issuecomment-135767912
  
Ran all unit tests in that module and all passed:
```
mvn clean install -P developer,systemvm -pl :cloud-utils

[INFO] Scanning for projects...
[INFO]  
   
[INFO] 

[INFO] Building Apache CloudStack Utils 4.6.0-SNAPSHOT
[INFO] 

[INFO] 
...
Results :

Tests run: 152, Failures: 0, Errors: 0, Skipped: 13
...
[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 19.638 s
[INFO] Finished at: 2015-08-28T14:57:07+02:00
[INFO] Final Memory: 63M/574M
[INFO] 

```

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


Re: [DISCUSS] Let's fix CloudStack Upgrades and DB migrations with CloudStack Chimp

2015-08-28 Thread Nux!
+1 and also +1 for Wido's idea.

People are more forgiving with big changes during major version changes.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Wido den Hollander" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 28 August, 2015 08:40:19
> Subject: Re: [DISCUSS] Let's fix CloudStack Upgrades and DB migrations with 
> CloudStack Chimp

> On 28-08-15 08:51, Rohit Yadav wrote:
>> Hi all,
>> 
>> Some of us have discussed in the past on fixing CloudStack’s upgrade and
>> DB migration, I’m trying to explore if we can really fix this. Please
>> review, advise changes, add suggestions along with your upgrade
>> experience so we can improve this in near future starting with ACS 4.7
>> or above:
>> 
>> http://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Chimp
>> (note: this wiki will keep changing depending on the discussions and
>> feedback)
>> 
> 
> I think it's a great idea. The current database upgrade path is indeed
> fragile and causes issues in multiple occasions.
> 
> I would say we do this in what we call 5.0 and also switch to Java 8 at
> the same time :)
> 
> Why 5.0? Well, we tell users that you gave to upgrade to 4.6 or 4.7
> first and THEN you can go to 5.0
> 
> Going from <4.6 to 5.0 directly is NOT supported.
> 
> Wido
> 
>> 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
>> 
>> CSForge – rapid IaaS deployment framework 
>> CloudStack Consulting 
>> CloudStack Software Engineering
>> 
>> CloudStack Infrastructure Support
>> 
>> CloudStack Bootcamp Training Courses
>> 
>> 
>> 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.


[GitHub] cloudstack pull request: CLOUDSTACK-8785: Proper enforcement of re...

2015-08-28 Thread koushik-das
GitHub user koushik-das opened a pull request:

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

CLOUDSTACK-8785: Proper enforcement of retry count (max.retries) for …

…all work type handled by HighAvailability manager

Retry count is properly enforced for all work types in HA manager. Also 
reorganized some of the code for easy testing.

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

$ git pull https://github.com/koushik-das/cloudstack CLOUDSTACK-8785

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

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


commit cbf2c3bbf66214ec4a6b6f057185446c88ce
Author: Koushik Das 
Date:   2015-08-28T12:29:17Z

CLOUDSTACK-8785: Proper enforcement of retry count (max.retries) for all 
work type handled by HighAvailability manager
Retry count is properly enforced for all work types in HA manager. Also 
reorganized some of the code for easy testing.




---
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: use fakelocalhost in BasicRestClientTest

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

https://github.com/apache/cloudstack/pull/752#issuecomment-135762385
  
:+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: Changed variable s_logger to non-static a...

2015-08-28 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/714#issuecomment-135761564
  
Thanks @miguelaferreira


---
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-8783: specify ciphersuite SSL_...

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

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


---
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-8783: specify ciphersuite SSL_...

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

https://github.com/apache/cloudstack/pull/759#issuecomment-135759808
  
:+1: merging


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135757828
  
@wido can you please try?


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135757610
  
@miguelaferreira I didn't build it since all checks were green :)


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135756504
  
@wido can you build it?


---
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-8727: API call listVirtualMach...

2015-08-28 Thread sedukull
Github user sedukull commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/685#discussion_r38192659
  
--- Diff: setup/db/db/schema-452to460.sql ---
@@ -354,6 +354,10 @@ CREATE VIEW `cloud`.`user_vm_view` AS
left join
 `cloud`.`user_vm_details` `custom_ram_size`  ON 
(((`custom_ram_size`.`vm_id` = `cloud`.`vm_instance`.`id`) and 
(`custom_ram_size`.`name` = 'memory')));
 
+---Additional checks to ensure duplicate keys are not registered and 
remove the previously stored duplicate keys.
+DELETE `s1` FROM `ssh_keypairs` `s1`, `ssh_keypairs` `s2` WHERE `s1`.`id` 
> `s2`.`id` AND `s1`.`public_key` = `s2`.`public_key` AND `s1`.`account_id` = 
`s2`.`account_id`;
+ALTER TABLE `ssh_keypairs` ADD UNIQUE 
`unique_index`(`fingerprint`,`account_id`);
--- End diff --

May be name unique_index can be better renamed? By default UNIQUE 
constraint signifies that. 


---
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: Putting CglibThrowableRenderer.java back ...

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

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


---
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: Putting CglibThrowableRenderer.java back ...

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

https://github.com/apache/cloudstack/pull/758#issuecomment-135749238
  
:+1: merging.. 


---
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-8727: API call listVirtualMach...

2015-08-28 Thread kansal
Github user kansal commented on the pull request:

https://github.com/apache/cloudstack/pull/685#issuecomment-135747132
  
@DaanHoogland @kishankavala Added test case for checking the duplicate 
key-pair registrations. Please review.


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135745806
  
I'm not able to build this branch with maven.

```
 mvn clean install -P developer,systemvm

...
[INFO] 

[INFO] Building Apache CloudStack Core 4.5.2
[INFO] 

...
Tests run: 20, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.424 sec 
<<< FAILURE!
Running com.cloud.agent.transport.RequestTest
...
Results :

Failed tests:   
testFirewallRulesCommand(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest):
 
expected:<...1.2/24:,64.10.10.10:[reverted:0:0:0:,64.10.10.10:TCP:22:80:10.10.1.1/24-10.10.1.2/24]:,>
 but 
was:<...1.2/24:,64.10.10.10:[TCP:22:80:10.10.1.1/24-10.10.1.2/24:,64.10.10.10:reverted:0:0:0]:,>
  
testAggregationCommands(com.cloud.agent.resource.virtualnetwork.VirtualRoutingResourceTest):
 
expected:<...1.2/24:,64.10.10.10:[reverted:0:0:0:,64.10.10.10:TCP:22:80:10.10.1.1/24-10.10.1.2/24]:,(..)

Tests run: 139, Failures: 2, Errors: 0, Skipped: 0

```

It does not seem related to this PR, but this week I've build master many 
times and it was always passing all tests. Any idea on what has been merged 
recently that could cause this?


---
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: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Abhinandan Prateek
Good catch Santhosh !
I had similar issue passing a space in ‘account name’.

> On 28-Aug-2015, at 2:51 pm, Santhosh Edukulla  
> wrote:
>
> Hi Cao,
>
> Inside "_sort_request" function mentioned at the wiki,  change the below
> line
>
> self.params.append(key + '=' + urllib.quote_plus(args[key]))
>
> to
>
> self.params.append( key + '=' + str.lower(urllib.quote_plus(args[key])).
> *replace(**"+", "%20") *)
>
> The time stamp parameter "2015-08-28 16:20:00" , you are passing has a
> space in it, which gets replaced with "+" through quote_plus logic, so
> replace that "+" with "%20", this is getting passed in calculating
> signature in later function.
>
> Similarly, change it for "_build_post_request" function.
>
> Let us know.
>
> Regards,
> Santhosh
>
> On Fri, Aug 28, 2015 at 6:40 PM,  wrote:
>
>>
>>
>> My scripts is just from cloudstack website
>>
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python
>>
>> and I just do some testing like this:
>>
>> 1. >>> from SignedAPICall import api
>> 2. >>> api.listEvents(listall='true', startdate='2015-08-28')
>> 3. >>> api.listEvents(listall='true', startdate='2015-08-28 16:20:00')
>>
>> Line 2 works fine, line 3 failed with error " 'http error', 401,
>> 'Unauthorized' ".
>>
>> I also do some other tests, they also works fine, like api.listHosts()
>> api.listVirtualMachines().
>>
>> when line 3 failed,  management-server.log said this:
>>
>> 2015-08-28 16:37:53,619 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-15:ctx-4e587804) ===START===  10.0.1.99 -- GET
>> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D
>> 2015-08-28 16:37:53,622 INFO  [c.c.a.ApiServer]
>> (catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) User signature:
>> r7wa861jYWP4QbNMeEjZZ2wNpIc= is not equaled to computed signature:
>> 4c8Kmn+cbMZAmfSvSISPkWt9WCQ=
>> 2015-08-28 16:37:53,622 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) ===END===  10.0.1.99 -- GET
>> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D
>>
>> following for line 2:
>> 2015-08-28 16:37:15,900 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-13:ctx-f8019189) ===START===  10.0.1.99 -- GET
>> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D
>> 2015-08-28 16:37:15,939 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-13:ctx-f8019189 ctx-c42b8c5e ctx-1ebbe226) ===END===
>> 10.0.1.99 -- GET
>> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D
>>
>>
>>
>> ---
>> Cao Tong
>>
>>
>> On 08/28/2015 02:09 PM, Abhinandan Prateek wrote:
>>
>>> apikey/signature should work and they have same privileges as the
>>> respective user logged in.
>>> Are all the api calls failing or just some ?
>>> Can you share relevant portion of the scripts that you are trying to run ?
>>>
>>> On 28-Aug-2015, at 11:31 am, tony_caot...@163.com wrote:


 Thanks for all your people's replys.

 1.  Abhinandan,  My ACS manager was not listening on port '8096',

 2.  As Yipeng said, When I call this api from cloudmonkey, it works
 fine, like this
" cloudmonkey api listEvents listall=true startdate='2015-08-28
 00:00:00' "

When I call it through my python scripts, I used the
 apikey/signature pair to work,  but it failed.
I found that how cloudmonkey works,
first it login with username/password, then call the function with
 this session id.

 it seems that the apikey/signature pair's privilege is not same with
 username/password pair's ?


 @Daan, yes I am a Chinese. I am afraid it's not a preblem about
 character encodings perhaps.


 ---
 Cao Tong

 On 08/27/2015 08:54 PM, Abhinandan Prateek wrote:

> Try using the “8096” port for testing/checking APIs.
>
> shapeblue.com> wrote:
>
>> Yes, as per
>> https://cloudstack.apache.org/api/apidocs-4.2/root_admin/listEvents.html
>>
>>
>> On 24-Aug-2015, at 2:08 pm, tony_caot...@163.com wrote:
>>>
>>> Hello Every.
>>>
>>> I know this is a very simple question to most of you. but it is
>>> really hard for me to continue my work.
>>>
>>> So could Anyone spend your three minutes to give me some advice, it
>>> will be very usefull to me.
>>>
>>> my question is:
>>>
>>>   How does the parameter startdate/enddate of api list

[GitHub] cloudstack pull request: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135745126
  
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: Putting CglibThrowableRenderer.java back ...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/758#issuecomment-135744100
  
@wilderrodrigues that's the idea.


---
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-8783: specify ciphersuite SSL_...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

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


Re: [VOTE] Release Apache CloudStack EC2stack 0.8.0

2015-08-28 Thread Rajani Karuturi
Hi Sebastien,

I am trying to configure and use ec2stack. This is what I have done

$ pip install awscli
$ cd cloudstack-ec2stack
$ python setup.py install
$ ec2stack-configure
$ ec2stack &
$ ec2stack-register http://localhost:5000 cs_api_key cs_secret_key
$ aws ec2 describe-images --endpoint=http://localhost:5000 
# it gave the below error message
# Unable to locate credentials. You can configure credentials by running "aws 
configure”.
$ aws configure # gave AWS api and secret key
$ aws ec2 describe-images --endpoint=http://localhost:5000
# this is the output I see
# localhost - - [28/Aug/2015 16:25:24] "POST / HTTP/1.1" 401 -
# ‘RequestID’

I don’t see anything in cloudstack logs

If I change the api key and secret key to 
$ ec2stack-register http://localhost:5000 aws_api_key aws_secret_key

I see below in cloudstack logs 

2015-08-28 16:22:37,118 DEBUG [c.c.a.ApiServlet] 
(1188257713@qtp-2099531272-3:ctx-29d29342) ===START===  10.147.28.40 -- GET  
apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D
2015-08-28 16:22:37,120 DEBUG [c.c.a.ApiServer] 
(1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) apiKey does not map to 
a valid user -- ignoring request, apiKey:aws_api_key
2015-08-28 16:22:37,122 DEBUG [c.c.a.ApiServlet] 
(1188257713@qtp-2099531272-3:ctx-29d29342 ctx-574b2cf4) ===END===  10.147.28.40 
-- GET  
apikey=aws_api_key&command=listTemplates&listAll=true&response=json&templatefilter=executable&signature=6OggS6Zb2vbejw60BbFbYhaiEEY%3D


where are the logs for ec2stack? how can I see what it is happening?

~Rajani



On 27-Aug-2015, at 12:54 am, sebgoa  wrote:

> 
> On Aug 26, 2015, at 7:08 PM, David Nalley  wrote:
> 
>> +1 (binding)
>> 
>> sigs and hashes look good.
>> builds fine
>> no binaries present.
>> A few files seem to be missing license headers, but I don't think it's
>> a blocker.
>> License and NOTICE appear to be correct.
>> 
>> I wish we pointed to the cloudstack docker hub account rather than the
>> runseb account, but don't think it's a blocker for release
>> 
> 
> missed that, now fixed.
> 
>> --David
>> 
>> On Wed, Aug 26, 2015 at 5:25 AM, sebgoa  wrote:
>>> Hi All,
>>> 
>>> I've created a 0.8.0 release of EC2stack, with the following artifacts up 
>>> for a vote:
>>> 
>>> Git Branch and Commit SH:
>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack-ec2stack.git
>>> 
>>> Commit: a61d7c01129dfe4c31515a48e0f6b4a53436c208
>>> 
>>> There are no code changes from the time the code was donated to the ASF, 
>>> only license headers and a Dockerfile.
>>> 
>>> Source release (checksums and signatures are available at the same
>>> location):
>>> https://dist.apache.org/repos/dist/dev/cloudstack/ec2stack-0.8.0/
>>> 
>>> PGP release keys (signed using 8F89EB84):
>>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>> 
>>> For testing functionality you might consider using the Docker image:
>>> docker pull cloudstack/cloudstack-ec2stack
>>> 
>>> Do remember that the official release artifact is the source code, which 
>>> needs to contain proper licensing and proper signatures.
>>> 
>>> Vote will be open for 72 hours.
>>> 
>>> For sanity in tallying the vote, can PMC members please be sure to indicate 
>>> "(binding)" with their vote?
>>> 
>>> [ ] +1  approve
>>> [ ] +0  no opinion
>>> [ ] -1  disapprove (and reason why)
> 



[GitHub] cloudstack pull request: Made following fixes in simulator

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

https://github.com/apache/cloudstack/pull/741#issuecomment-135740495
  
will test it now...

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: Putting CglibThrowableRenderer.java back ...

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

https://github.com/apache/cloudstack/pull/758#issuecomment-135739973
  
So that will fix the exceptions we are getting when running jetty, right?

If so... 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: Made following fixes in simulator

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/741#issuecomment-135739986
  
@wilderrodrigues can you please test this PR, it LGTM but my approval is 
not binding!


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135733090
  
@miguelaferreira have moved the code to a new util class (so can be 
reusable perhaps by other hypervisors) ^^


---
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-8783: specify ciphersuite SSL_...

2015-08-28 Thread ustcweizhou
GitHub user ustcweizhou opened a pull request:

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

CLOUDSTACK-8783: specify ciphersuite SSL_DH_anon_WITH_3DES_EDE_CBC_SHA in 
MockServerTest.java

The ciphersuite could be different on os. 
Sometimes the MockServerTest fails due to the ciphersuite does not work 
(for instance misconfiguration).
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA has 168-bit encryption and anonymous 
auth, which is suitable for SSL testing.

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

$ git pull https://github.com/ustcweizhou/cloudstack CLOUDSTACK-8783

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

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


commit 0f70833dd82ac6953f2aab4a9d1bf7d3eea9bf1d
Author: Wei Zhou 
Date:   2015-08-28T10:25:00Z

CLOUDSTACK-8783: specify ciphersuite SSL_DH_anon_WITH_3DES_EDE_CBC_SHA in 
MockServerTest.java




---
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: Apache Confluence Access

2015-08-28 Thread Rajani Karuturi
done.

~Rajani



On 28-Aug-2015, at 3:17 pm, Boris Schrijver  wrote:

> Hi all,
> 
> I wanted to update some parts of Confluence. Pages regarding network
> infrastructure and database access.
> 
> My username is borisroman, email: bo...@pcextreme.nl.
> 
> Best regards,
> 
> Boris Schrijver
> 
> TEL: +31633784542
> MAIL: bo...@pcextreme.nl



Apache Confluence Access

2015-08-28 Thread Boris Schrijver
Hi all,

I wanted to update some parts of Confluence. Pages regarding network
infrastructure and database access.

My username is borisroman, email: bo...@pcextreme.nl.

Best regards,

Boris Schrijver

TEL: +31633784542
MAIL: bo...@pcextreme.nl

[GitHub] cloudstack pull request: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135712348
  
@bhaisaab It would be great if you could refactor the logic out, since it 
can be an object on its own, and that class is already huge as it is (> 5k 
LOC!). 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: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135709691
  
@wido just checked again, most debug messages are in loop and changing them 
to info or errors would be unnecessary. In case of error, run time exceptions 
are thrown that would be captured in the logs and won't allow VMs to start.

@miguelaferreira I discussed the issue of changing logic there, it seems 
that the mtime should be reliable enough and I won't be adding md5 or other 
checksum checking logic as that will be too slow and costing on CPU and IO. Do 
you still want me to refactor the logic as a separate class or move to say 
FileUtil in the cloud-utils package?


---
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: Changed variable s_logger to non-static a...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/714#issuecomment-135708224
  
@karuturi @pedro-martins file is restored in PR #758 


---
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: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Santhosh Edukulla
Hi Cao,

Inside "_sort_request" function mentioned at the wiki,  change the below
line

self.params.append(key + '=' + urllib.quote_plus(args[key]))

to

self.params.append( key + '=' + str.lower(urllib.quote_plus(args[key])).
*replace(**"+", "%20") *)

The time stamp parameter "2015-08-28 16:20:00" , you are passing has a
space in it, which gets replaced with "+" through quote_plus logic, so
replace that "+" with "%20", this is getting passed in calculating
 signature in later function.

Similarly, change it for "_build_post_request" function.

Let us know.

Regards,
Santhosh

On Fri, Aug 28, 2015 at 6:40 PM,  wrote:

>
>
> My scripts is just from cloudstack website
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python
>
> and I just do some testing like this:
>
> 1. >>> from SignedAPICall import api
> 2. >>> api.listEvents(listall='true', startdate='2015-08-28')
> 3. >>> api.listEvents(listall='true', startdate='2015-08-28 16:20:00')
>
> Line 2 works fine, line 3 failed with error " 'http error', 401,
> 'Unauthorized' ".
>
> I also do some other tests, they also works fine, like api.listHosts()
> api.listVirtualMachines().
>
> when line 3 failed,  management-server.log said this:
>
> 2015-08-28 16:37:53,619 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-15:ctx-4e587804) ===START===  10.0.1.99 -- GET
> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D
> 2015-08-28 16:37:53,622 INFO  [c.c.a.ApiServer]
> (catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) User signature:
> r7wa861jYWP4QbNMeEjZZ2wNpIc= is not equaled to computed signature:
> 4c8Kmn+cbMZAmfSvSISPkWt9WCQ=
> 2015-08-28 16:37:53,622 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) ===END===  10.0.1.99 -- GET
> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D
>
> following for line 2:
> 2015-08-28 16:37:15,900 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-13:ctx-f8019189) ===START===  10.0.1.99 -- GET
> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D
> 2015-08-28 16:37:15,939 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-13:ctx-f8019189 ctx-c42b8c5e ctx-1ebbe226) ===END===
> 10.0.1.99 -- GET
> apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D
>
>
>
> ---
> Cao Tong
>
>
> On 08/28/2015 02:09 PM, Abhinandan Prateek wrote:
>
>> apikey/signature should work and they have same privileges as the
>> respective user logged in.
>> Are all the api calls failing or just some ?
>> Can you share relevant portion of the scripts that you are trying to run ?
>>
>> On 28-Aug-2015, at 11:31 am, tony_caot...@163.com wrote:
>>>
>>>
>>> Thanks for all your people's replys.
>>>
>>> 1.  Abhinandan,  My ACS manager was not listening on port '8096',
>>>
>>> 2.  As Yipeng said, When I call this api from cloudmonkey, it works
>>> fine, like this
>>> " cloudmonkey api listEvents listall=true startdate='2015-08-28
>>> 00:00:00' "
>>>
>>> When I call it through my python scripts, I used the
>>> apikey/signature pair to work,  but it failed.
>>> I found that how cloudmonkey works,
>>> first it login with username/password, then call the function with
>>> this session id.
>>>
>>> it seems that the apikey/signature pair's privilege is not same with
>>> username/password pair's ?
>>>
>>>
>>> @Daan, yes I am a Chinese. I am afraid it's not a preblem about
>>> character encodings perhaps.
>>>
>>>
>>> ---
>>> Cao Tong
>>>
>>> On 08/27/2015 08:54 PM, Abhinandan Prateek wrote:
>>>
 Try using the “8096” port for testing/checking APIs.

 shapeblue.com> wrote:

> Yes, as per
> https://cloudstack.apache.org/api/apidocs-4.2/root_admin/listEvents.html
>
>
> On 24-Aug-2015, at 2:08 pm, tony_caot...@163.com wrote:
>>
>> Hello Every.
>>
>> I know this is a very simple question to most of you. but it is
>> really hard for me to continue my work.
>>
>> So could Anyone spend your three minutes to give me some advice, it
>> will be very usefull to me.
>>
>> my question is:
>>
>>How does the parameter startdate/enddate of api listEvents() use
>> new time format  like '-MM-dd HH:mm:ss' ?
>>
>>
>> Event({'listall':'True', 'startdate':'2015-08-24 00:00:00'})
>

>> http://10.0.1.100:8080/client/api?apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZ

[GitHub] cloudstack pull request: Putting CglibThrowableRenderer.java back ...

2015-08-28 Thread miguelaferreira
GitHub user miguelaferreira opened a pull request:

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

Putting CglibThrowableRenderer.java back after it was removed in 83fd8f6

Also removing the entry 'log/' from .gitignore since that was the
culprit for the removal of the file.

This was detected in #714 

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

$ git pull https://github.com/miguelaferreira/cloudstack 
put-back-CglibThrowableRenderer

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

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


commit 4c1a5f76570115e0dcc41c74c07c7d99546a8029
Author: Miguel Ferreira 
Date:   2015-08-28T09:18:44Z

Putting CglibThrowableRenderer.java back after it was removed in 83fd8f6

Also removing the entry 'log/' from .gitignore since that was the
culprit for the removal of the file.




---
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-cloudmonkey pull request: Test01d

2015-08-28 Thread cc494
Github user cc494 closed the pull request at:

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


---
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: Changed variable s_logger to non-static a...

2015-08-28 Thread miguelaferreira
Github user miguelaferreira commented on the pull request:

https://github.com/apache/cloudstack/pull/714#issuecomment-135697615
  
@karuturi i noticed that while cleaning up my PR and I thought I had 
reverted that change. I will put that file back, and make a new 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: Changed variable s_logger to non-static a...

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

https://github.com/apache/cloudstack/pull/714#issuecomment-135694810
  
looks like it is removed from this commit 
83fd8f60f3c503cf6fda7833b0f45c23a215f559
@miguelaferreira, tests from “cloud-plugin-network-nvp” project are 
failing due to missing class CglibThrowableRenderer.java. Can you check? 


---
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-cloudmonkey pull request: Test01d

2015-08-28 Thread cc494
GitHub user cc494 opened a pull request:

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

Test01d



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

$ git pull https://github.com/Interoute/cloudmonkey-interoute master

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

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


commit e82ba61624a0a17642f3bc955d74aabedd4f5408
Author: Phillip Kent 
Date:   2014-08-12T14:51:38Z

Create README for this repo

commit 66b9e6b4ce69f5201e3b5c8e29cd0f02c0849ca1
Author: Phillip Kent 
Date:   2014-08-13T10:15:01Z

Update README.md

commit cb6264ffd4d3e8a64ce4e4a08e45b9a76173a288
Author: Phillip Kent 
Date:   2014-08-13T12:11:07Z

testing push to github

commit a5beb94d2bd4a861f98704ce843cfda70c4f2fdb
Author: Phillip Kent 
Date:   2014-08-14T15:29:38Z

testing mod and push to github on new branch

commit 5dd96435630f91a4d829be3e80536bc4f0bd931b
Author: Phillip Kent 
Date:   2014-08-14T20:11:26Z

INTEROUTE: modify for new config variable 'region'

commit c3dae035dd661bc016f8c53f2944582220062a34
Author: Phillip Kent 
Date:   2014-08-14T21:01:12Z

update README

commit 4eef52b9100b96ae63446bca6fa8941c1cd77ace
Author: Phillip Kent 
Date:   2014-08-21T11:32:36Z

INTEROUTE: modifications tested OK

commit ac15808fc310f084a6d971726d2ba8894fcb7cc2
Author: Phillip Kent 
Date:   2014-08-22T10:38:48Z

INTEROUTE: Final tidy and notes for the mod branch

commit 6d0eb5d49a7b02e063f60c9b65683c9e7dd67c2a
Author: Phillip Kent 
Date:   2014-10-14T22:40:25Z

Merge remote-tracking branch 'cloudmonkey520/5.2' into 
interoute_mod_520_regions

Conflicts:
CHANGES
cloudmonkey/cloudmonkey.py
cloudmonkey/config.py
cloudmonkey/requester.py

commit 79cac81105d37969b1bef69d1d28e21244f60385
Author: Phillip Kent 
Date:   2014-10-15T00:21:44Z

update README

commit fb598c599c1cfd89a683e3335db21dad07e66ddb
Author: Phillip Kent 
Date:   2014-10-15T12:25:12Z

INTEROUTE: Final changes for Interoute modification of Cloudmonkey version 
5.2.0

commit c9b6b2944b0382a072ba8a6acf35fc24bda0d6bb
Author: Phillip Kent 
Date:   2014-11-10T13:10:28Z

INTEROUTE: Modification to cloudmonkey 5.3 for use with 'regions' parameter

commit 29d87de665e7b0295e79ebea92b5d5fec7894901
Author: Phillip Kent 
Date:   2014-11-10T13:19:18Z

INTEROUTE: Modification to Cloudmonkey 5.3 for using 'region' parameter 
(fixes to requester.py)

commit e3824e4f3c0044466776296c32d198951cb72dd4
Author: Phillip Kent 
Date:   2015-01-11T15:56:34Z

Added note about virtualenv to README

commit befaf5d6f1d67d87af63e25516862523b077c5c9
Author: Phillip Kent 
Date:   2015-03-28T09:46:48Z

Modified Cloudmonkey v5.3.1 for Interoute

commit 6e80dfc59ecb63de4682a8c5a5eccd16d3fb45e6
Author: Phillip Kent 
Date:   2015-03-28T11:54:33Z

Modified Cloudmonkey v5.3.1 for Interoute

commit df6fc84975216724f83d59a0cad7b455864aa784
Author: Phillip Kent 
Date:   2015-03-28T22:09:33Z

Added README-MODIFICATION-INSTRUCTIONS.md

commit 68f066c2a2e4c350dd2037117fdfe05b27123389
Author: Phillip Kent 
Date:   2015-03-28T22:18:56Z

Modified Cloudmonkey v5.3.1 for Interoute

commit 04e68912adfeb8f3aff60beb62adcba6dc4384ab
Author: Phillip Kent 
Date:   2015-03-28T22:21:50Z

Modified Cloudmonkey v5.3.1 for Interoute

commit 88eaa7e1ba24ed613e40f36323ed5efe1442a43c
Author: Phillip Kent 
Date:   2015-08-25T11:03:12Z

Modified Cloudmonkey v5.3.2 for Interoute

commit ad1ffa9e6c3e544ae59eb017cfdfe627cd79078f
Author: Phillip Kent 
Date:   2015-08-25T11:06:08Z

Modified Cloudmonkey v5.3.2 for Interoute

commit 5010727b846789e4f13e9738bd6612f4a09c52b3
Author: Phillip Kent 
Date:   2015-08-25T11:30:16Z

Modified Cloudmonkey v5.3.2 for Interoute

commit 2b485aced24a82afcde8500ead5fda7836f1e111
Author: Phillip Kent 
Date:   2015-08-25T12:39:19Z

Modified Cloudmonkey v5.3.2 for Interoute




---
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: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Daan Hoogland
On Fri, Aug 28, 2015 at 10:40 AM,  wrote:

> 2015-08-28+16%3A20%3A00


​very convincing , Coa Tong. Something is wrong in the calculation of the
signature on this string. It seems to work for other people so can you
provide environmental data:
os version
cloustack version
language setting (both on server and client side)
client library version.
​​
​The problem might be in one of those. If there is any other setting you
can think of please provide it as well.​



-- 
Daan


Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong



My scripts is just from cloudstack website
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python

and I just do some testing like this:

1. >>> from SignedAPICall import api
2. >>> api.listEvents(listall='true', startdate='2015-08-28')
3. >>> api.listEvents(listall='true', startdate='2015-08-28 16:20:00')

Line 2 works fine, line 3 failed with error " 'http error', 401, 
'Unauthorized' ".


I also do some other tests, they also works fine, like api.listHosts()  
api.listVirtualMachines().


when line 3 failed,  management-server.log said this:

2015-08-28 16:37:53,619 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-15:ctx-4e587804) ===START===  10.0.1.99 -- GET 
apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D
2015-08-28 16:37:53,622 INFO  [c.c.a.ApiServer] 
(catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) User signature: 
r7wa861jYWP4QbNMeEjZZ2wNpIc= is not equaled to computed signature: 
4c8Kmn+cbMZAmfSvSISPkWt9WCQ=
2015-08-28 16:37:53,622 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-15:ctx-4e587804 ctx-1f6fddbe) ===END===  10.0.1.99 -- GET 
apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28+16%3A20%3A00&signature=r7wa861jYWP4QbNMeEjZZ2wNpIc%3D


following for line 2:
2015-08-28 16:37:15,900 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-13:ctx-f8019189) ===START===  10.0.1.99 -- GET 
apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D
2015-08-28 16:37:15,939 DEBUG [c.c.a.ApiServlet] 
(catalina-exec-13:ctx-f8019189 ctx-c42b8c5e ctx-1ebbe226) ===END=== 
10.0.1.99 -- GET 
apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=true&response=json&startdate=2015-08-28&signature=KZZIAOaRduzCJlo0byaN9j4uvro%3D




---
Cao Tong

On 08/28/2015 02:09 PM, Abhinandan Prateek wrote:

apikey/signature should work and they have same privileges as the respective 
user logged in.
Are all the api calls failing or just some ?
Can you share relevant portion of the scripts that you are trying to run ?


On 28-Aug-2015, at 11:31 am, tony_caot...@163.com wrote:


Thanks for all your people's replys.

1.  Abhinandan,  My ACS manager was not listening on port '8096',

2.  As Yipeng said, When I call this api from cloudmonkey, it works fine, like 
this
" cloudmonkey api listEvents listall=true startdate='2015-08-28 00:00:00' "

When I call it through my python scripts, I used the apikey/signature pair 
to work,  but it failed.
I found that how cloudmonkey works,
first it login with username/password, then call the function with this 
session id.

it seems that the apikey/signature pair's privilege is not same with 
username/password pair's ?


@Daan, yes I am a Chinese. I am afraid it's not a preblem about character 
encodings perhaps.


---
Cao Tong

On 08/27/2015 08:54 PM, Abhinandan Prateek wrote:

Try using the “8096” port for testing/checking APIs.

shapeblue.com> wrote:

Yes, as per  
https://cloudstack.apache.org/api/apidocs-4.2/root_admin/listEvents.html



On 24-Aug-2015, at 2:08 pm, tony_caot...@163.com wrote:

Hello Every.

I know this is a very simple question to most of you. but it is really hard for 
me to continue my work.

So could Anyone spend your three minutes to give me some advice, it will be 
very usefull to me.

my question is:

   How does the parameter startdate/enddate of api listEvents() use new time 
format  like '-MM-dd HH:mm:ss' ?



Event({'listall':'True', 'startdate':'2015-08-24 00:00:00'})

http://10.0.1.100:8080/client/api?apiKey=hjZ12EQ4JfFasIHO3RCXBLji-3RbBmdC973utGwCL5388WypVKwtaNsDso-JzVQIZXUVwfaT1vANdDUJs3Vkkg&command=listEvents&listall=True&response=json&startdate=2015-08-24+00%3A00%3A00&signature=z4LQCw7yzGmTK5B7TzAbzl1biXI%3D
Traceback (most recent call last):
File "", line 1, in 
File "SignedAPICall.py", line 67, in Event
   a = api.listEvents(request)
File "SignedAPICall.py", line 49, in handlerFunction
   return self._make_request(name, args[0])
File "SignedAPICall.py", line 61, in _make_request
   data = self._http_get(self.value)
File "SignedAPICall.py", line 54, in _http_get
   response = urllib.urlopen(url)
File "/usr/lib64/python2.7/urllib.py", line 87, in urlopen
   return opener.open(url)
File "/usr/lib64/python2.7/urllib.py", line 208, in open
   return getattr(self, name)(url)
File "/usr/lib64/python2.7/urllib.py", line 359, in open_http
   return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib64/python2.7/urllib.py", line 372, in http_error
   result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib64/py

[GitHub] cloudstack pull request: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/753#issuecomment-135679096
  
@wido this is for master branch, that is for 4.5 branch (not 
cherry-pickable)


---
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-8762: Check to confirm disk ac...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135678520
  
@wido no need for info that, will fix to use error in case of errors


---
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-5863: revert volume snapshot f...

2015-08-28 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/732#issuecomment-135667378
  
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: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/754#issuecomment-135667196
  
Seems, good, but, all the logging is debug. Isn't there something which we 
have to print on info or error here?

We want to make sure that we also print useful stuff on info or error, not 
all systems should run on debug 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: CLOUDSTACK-8762: Check to confirm disk ac...

2015-08-28 Thread wido
Github user wido commented on the pull request:

https://github.com/apache/cloudstack/pull/753#issuecomment-135665672
  
I think we can close this one? Since #754 is the same?


---
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: Fix schema-421to430.sql issue after Maria...

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

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


---
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: [DISCUSS] Let's fix CloudStack Upgrades and DB migrations with CloudStack Chimp

2015-08-28 Thread Wido den Hollander


On 28-08-15 08:51, Rohit Yadav wrote:
> Hi all,
> 
> Some of us have discussed in the past on fixing CloudStack’s upgrade and
> DB migration, I’m trying to explore if we can really fix this. Please
> review, advise changes, add suggestions along with your upgrade
> experience so we can improve this in near future starting with ACS 4.7
> or above:
> 
> http://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Chimp
> (note: this wiki will keep changing depending on the discussions and
> feedback)
> 

I think it's a great idea. The current database upgrade path is indeed
fragile and causes issues in multiple occasions.

I would say we do this in what we call 5.0 and also switch to Java 8 at
the same time :)

Why 5.0? Well, we tell users that you gave to upgrade to 4.6 or 4.7
first and THEN you can go to 5.0

Going from <4.6 to 5.0 directly is NOT supported.

Wido

> 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
> 
> CSForge – rapid IaaS deployment framework 
> CloudStack Consulting 
> CloudStack Software Engineering
> 
> CloudStack Infrastructure Support
> 
> CloudStack Bootcamp Training Courses
> 
> 
> 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: Discuss reserving memory on KVM hypervisors ref: CLOUDSTACK-8678

2015-08-28 Thread Wido den Hollander


On 27-08-15 18:36, Josh Harshman wrote:
> In a KVM cluster, CloudStack sees 100% of the compute node's RAM and treats 
> it as allocatable space which eventually leads to OOM killing guests.
> 
> 
> There is an agent property named host.reserved.mem.mb which is able to be set 
> in the agent.properties file and passed to the management server.  This value 
> is stored as dom0MinMem, however, it appears to be ignored.
> 
> 
> If we could tweak the host capacity calculation and have it take this into 
> account, I believe that would be ideal.
> 
> 
> Side note: the variable dom0MinMem is declared as an int and can be 
> overflowed. Suggested change would be make it a long and add a check 
> especially if we are going to make this a configurable parameter.
> 
> 

Yes, that seems like a sane thing to do. We should be able to say that
eg 8GB of memory should stay available for the HV.

Don't know where the problem lies though. A PR is welcome :)

Wido

> 
> 
> Josh Harshman
> 
> Cloud Engineer
> 
> 
> Intrinium
> Tel: (509) 465-1234 x5259
> Fax: (866) 565-4578
> Lync / Skype: josh.harsh...@intrinium.com
> Web: http://intrinium.com
> 
> 
> [Intrinium Long Sig Logo]
> 
> 
> [Facebook] [Twitter] 
>   [Linkedin] 
>  
>  [Youtube]   [Blog] 
> 
> 
> Information Security and Compliance Consulting | Managed IT and Security 
> Services | Cloud Services
> 
> 
> 
> 
> 
> 
> 
> This email and any files transmitted with it are confidential and intended 
> solely for the use of the individual or entity to whom they are addressed. If 
> you have received this email in error please notify the system manager. This 
> message contains confidential information and is intended only for the 
> individual named. If you are not the named addressee you should not 
> disseminate, distribute or copy this e-mail. Please notify the sender 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. If you are not the intended recipient you are 
> notified that disclosing, copying, distributing or taking any action in 
> reliance on the contents of this information is strictly prohibited.
> 


[GitHub] cloudstack pull request: CLOUDSTACK-8766: Fix infinite scrolling p...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/750#issuecomment-135663086
  
Please see the experimental analysis shared here: 
https://github.com/apache/cloudstack/pull/751#issuecomment-135661968


---
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: Changed variable s_logger to non-static a...

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

https://github.com/apache/cloudstack/pull/714#issuecomment-135662629
  
I saw it a branch I am working on 
https://github.com/karuturi/cloudstack/blob/CLOUDSTACK-8647/utils/src/com/cloud/utils/log/CglibThrowableRenderer.java


---
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-8766: Fix infinite scrolling p...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/751#issuecomment-135661968
  
Did some API request size and time comparisons for various pagesizes 
against a large template collection (more than 4000 templates across 30+ zones);

Page Size | API response size (KB) | Time (ms)  

- | -- | -  

20 | 15.8 | 360 

100 | 77.1 | 366

150 | 117 | 448 

  
200 | 157 | 408 

250 | 199 | 440 

500 | 402 | 791

Based on this data, on the lowest side pagesize of 100 seems alright for 
the time taken vs the payload size, but has more risk on a lower reduced list 
size (not enough to render a scroll); on the higher side pagesize of 200-250 
seems alright considering roughly similar time.

Refs:

ps=20

![20](https://cloud.githubusercontent.com/assets/95203/9541300/6e7a97d0-4d84-11e5-804c-c7efc228ff9b.png)

ps=100

![100](https://cloud.githubusercontent.com/assets/95203/9541303/71af4932-4d84-11e5-917e-4236278fc2da.png)

ps=150

![150](https://cloud.githubusercontent.com/assets/95203/9541306/74924bd6-4d84-11e5-988b-5b5ccbe5e1c0.png)

ps=200

![200](https://cloud.githubusercontent.com/assets/95203/9541310/7eda7672-4d84-11e5-9f68-ac775554d60d.png)

ps=250

![250](https://cloud.githubusercontent.com/assets/95203/9541311/7edba98e-4d84-11e5-99a8-74f9b13039d7.png)

ps=500

![500](https://cloud.githubusercontent.com/assets/95203/9541312/7ee1a910-4d84-11e5-8bbc-3088d3655301.png)


---
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: Fix schema-421to430.sql issue after Maria...

2015-08-28 Thread ustcweizhou
Github user ustcweizhou commented on the pull request:

https://github.com/apache/cloudstack/pull/757#issuecomment-135661617
  
Tested on Ubuntu 12.04 with mysql 5.5.41-0ubuntu0.12.04.1-log, it works .


---
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-5863: revert volume snapshot f...

2015-08-28 Thread ustcweizhou
Github user ustcweizhou commented on the pull request:

https://github.com/apache/cloudstack/pull/732#issuecomment-135661166
  
@bhaisaab I updated this PR . The reponses is changed to SnapshotResponse 
for backward compatibility.
@karuturi I will add some unit tests for snapshot (create, delete,revert)  
in another 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: Coverity Issue: Null pointer dereferencin...

2015-08-28 Thread koushik-das
Github user koushik-das commented on the pull request:

https://github.com/apache/cloudstack/pull/629#issuecomment-135660397
  
LGTM. Looks like travis failures are unrelated


---
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: Fix schema-421to430.sql issue after Maria...

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

https://github.com/apache/cloudstack/pull/757#issuecomment-135658100
  
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: messages: fix string in pt_BR translation...

2015-08-28 Thread bhaisaab
Github user bhaisaab commented on the pull request:

https://github.com/apache/cloudstack/pull/749#issuecomment-135657226
  
@milamberspace :+1: sorry I don't know how to use transifex or how to do 
translation the right way; I just found this issue in one of the production 
environment and shared the fix. We should do what you've suggested.


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