[GitHub] cloudstack pull request: CLOUDSTACK-9252: Support configurable NFS...

2016-02-09 Thread kishankavala
Github user kishankavala commented on the pull request:

https://github.com/apache/cloudstack/pull/1361#issuecomment-181771585
  
One more query:
How is the nfs.version set in image_store_details table?


---
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-9252: Support configurable NFS...

2016-02-09 Thread rafaelweingartner
Github user rafaelweingartner commented on the pull request:

https://github.com/apache/cloudstack/pull/1361#issuecomment-181819761
  
@nvazquez, luckily the Jenkins build finished with success now.

@kishankavala, for now, I believe the simplest solution is the better. When 
more details are necessary, we change the code to send a map or some other 
structure, I personally do not like using maps to move data around, I prefer 
simple and descriptive POJOs.

Additionally, the task to move getters and setters to an upper class is not 
easily achievable. I thought about that a while, and after inspecting the 
command classes that would have to be changed, I decided to mark that as a 
future work; of course, if you have an easy, nice and neat solution, you are 
welcome to share. @nvazquez had around worked around a lot of problems and had 
written a pretty nice, well documented and tested code.

@nvazquez, after all emails and messages exchanged, I can give an LGTM to 
this PR. Great job man ;)



---
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: Spannish translation mangled

2016-02-09 Thread Nuno Tavares
Hi all,

I checked this issue yesterday with Daan, the problem is double UNICODE 
encoding, and it's the source in Transifex that is broken. There are ~250 
broken characters, so fixing one by one in Transifex is a bit of a waste of 
time. I could fix this with a script, but I'm still wondering how the file 
received patches and remain in this state (as in: is there any other scenario 
where this double encoding shows up correct?)

I've created a PR based on the tag 4.8.0 (#1407)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Daan Hoogland [daan.hoogl...@gmail.com]
Sent: Monday, February 8, 2016 4:00 PM
To: dev
Subject: Spannish translation mangled

@Milamber and other internationalisation specialists. I cannot get access
to the spannish strings on transifex. It seems these get mangled into the
source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
access? or some spannish translator correct the strings? or some
internationalization specialist give a transpose algorithm to deal with the
issue?

Thanks,
--
Daan


[GitHub] cloudstack pull request: 4.8.0 fix i18n es

2016-02-09 Thread ntavares
GitHub user ntavares opened a pull request:

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

4.8.0 fix i18n es

Hi all,

I checked this issue yesterday with Daan, the problem is double UNICODE 
encoding, and it's the source in Transifex that is broken. There are ~250 
broken characters, so fixing one by one in Transifex is a bit of a waste of 
time. I could fix this with a script, but I'm still wondering how the file 
received patches and remain in this state (as in: is there any other scenario 
where this double encoding shows up correct?)

I've created a PR based on the tag 4.8.0.

-NT

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

$ git pull https://github.com/ntavares/cloudstack 4.8.0-fix-i18n-es

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

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


commit 816fc5da1e373d83ffc81c8420ab7d8d2929b277
Author: Nuno Tavares 
Date:   2016-02-09T11:14:55Z

FIX double encoding

commit 39665af8980af225785b1d09544b12b39dcbd577
Author: Nuno Tavares 
Date:   2016-02-09T11:20:08Z

FIX a few more strings from the home screen




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


[GitHub] cloudstack pull request: 4.8.0 fix i18n es

2016-02-09 Thread ntavares
Github user ntavares commented on the pull request:

https://github.com/apache/cloudstack/pull/1407#issuecomment-181824159
  
I also spotted what could be an error in the messages DB:

label.snapshot.s=Snapshots
label.snapshots=Snapshots

Looks like a typo to me, maybe you want to merge those two.



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


MS with Java 1.8 running into SSL issue

2016-02-09 Thread Raja Pullela
Hi,

I am running into an issue, reported bug - 
https://issues.apache.org/jira/browse/CLOUDSTACK-8519
SSVM and CPVM are up but the Agent status blank.
Can you please let me know if anyone has run into this and if there is a work 
around ?

Thanks,
Raja



Re: Spannish translation mangled

2016-02-09 Thread Milamber


Thanks

Your can update the localization files on transifex using the little 
utility on tools/transifex folder in source tree


Requirement: Transifex client installed

(go to the 4.8 branch)

cd ./tools/transifex/
./sync-transifex-ui.sh upload-l10n-languages 
CloudStack_UI.48xmessagesproperties


(all languages will be update from repo to transifex, you can reduce to 
ES only if you editing the sync-transifex-ui.sh and change the LIST_LANG 
value)




On 09/02/2016 11:23, Nuno Tavares wrote:

Hi all,

I checked this issue yesterday with Daan, the problem is double UNICODE 
encoding, and it's the source in Transifex that is broken. There are ~250 
broken characters, so fixing one by one in Transifex is a bit of a waste of 
time. I could fix this with a script, but I'm still wondering how the file 
received patches and remain in this state (as in: is there any other scenario 
where this double encoding shows up correct?)

I've created a PR based on the tag 4.8.0 (#1407)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Daan Hoogland [daan.hoogl...@gmail.com]
Sent: Monday, February 8, 2016 4:00 PM
To: dev
Subject: Spannish translation mangled

@Milamber and other internationalisation specialists. I cannot get access
to the spannish strings on transifex. It seems these get mangled into the
source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
access? or some spannish translator correct the strings? or some
internationalization specialist give a transpose algorithm to deal with the
issue?

Thanks,
--
Daan




[GitHub] cloudstack pull request: 4.8.0 fix i18n es

2016-02-09 Thread milamberspace
Github user milamberspace commented on the pull request:

https://github.com/apache/cloudstack/pull/1407#issuecomment-181870469
  
Tested on 4.8 snapshot branch. The Web UI with Spanish language works well.

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-9252: Support configurable NFS...

2016-02-09 Thread nvazquez
Github user nvazquez commented on the pull request:

https://github.com/apache/cloudstack/pull/1361#issuecomment-181909261
  
Thanks a lot @rafaelweingartner for your words and your help!


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


[4.8][VPN] IPSec service does not start automatically in VR

2016-02-09 Thread Nux!
Hello,

Messing today with a fresh install of 4.8 I noticed the ipsec service is not 
started automatically in the VR.
Can we check the jenkins logs of the VR builder if the services required for 
VPN are properly configured?
i.e.

update-rc.d ipsec defaults
update-rc.d xl2tpd defaults



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Contributing to the Documentation

2016-02-09 Thread GoGoZoom PDX
Hello, All:

I'd like to begin contributing to the project docs but I'm not able to
determine what markup language is currently in use.

Can someone please point me in the right direction?

Eric Pretorious
Portland, OR


RE: Contributing to the Documentation

2016-02-09 Thread Paul Angus
Hi Eric,

The docs are written in reStructuredText. http://rst.ninjs.org/ is a handy 
editor




[ShapeBlue]
Paul Angus
VP Technology   ,   ShapeBlue


d:  +44 203 617 0528 | s: +44 203 603 
0540 |  
m:  +44 7711 418784

e:  paul.an...@shapeblue.com | t: 
@cloudyangus  |
  w:  www.shapeblue.com

a:  53 Chandos Place, Covent Garden London WC2N 4HS UK


[cid:image59f64a.png@05451697.47bac088]


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




-Original Message-
From: GoGoZoom PDX [mailto:gogozoom...@gmail.com]
Sent: Tuesday, February 9, 2016 5:45 PM
To: dev@cloudstack.apache.org
Subject: Contributing to the Documentation

Hello, All:

I'd like to begin contributing to the project docs but I'm not able to 
determine what markup language is currently in use.

Can someone please point me in the right direction?

Eric Pretorious
Portland, OR
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


Re: [VMware] Problem starting virtual router on 4.6 and 4.7

2016-02-09 Thread ilya
check iptables and routing - see if you can phone in MS on 8250..

also, make sure the hypervisor the VR is on - is in running state.

On 2/8/16 5:53 AM, Mike Tutkowski wrote:
> Interesting – yeah, this VR seems to be stuck in the Starting state.
> 
> Not sure what to do about it.
> 
> As you noted, 4.6 and later behave like this. I can observe the VR entering
> the Starting state properly on 4.5.
> 
> On Monday, February 8, 2016, Paul Angus  wrote:
> 
>> Hi Mike,
>>
>> I have the VR running in a 4.8 VMware advanced zone.
>> I have noticed a new behaviour since 4.6 - that VMware system VMs don't
>> report 'Running' until they've successfully called home.
>>
>>
>>
>>
>> [image: ShapeBlue] 
>> Paul Angus
>> VP Technology ,  ShapeBlue
>> d:  *+44 203 617 0528 | s: +44 203 603 0540*
>> <+44%20203%20617%200528%20%7C%20s:%20+44%20203%20603%200540>  |  m:
>> *+44 7711 418784* <+44%207711%20418784>
>> e:  *paul.an...@shapeblue.com | t: @cloudyangus*
>> 
>>  |  w:  *www.shapeblue.com* 
>> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
>> 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.
>> 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.
>>
>>
>> -Original Message-
>> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com
>> ]
>> Sent: Monday, February 8, 2016 3:03 AM
>> To: dev@cloudstack.apache.org
>> 
>> Subject: Re: [VMware] Problem starting virtual router on 4.6 and 4.7
>>
>> Just checking in on this one again.
>>
>> In a Basic Zone on CS 4.9, the VR never exits the "Starting" state.
>>
>> Is anyone using VMware to run their system VMs and has it working in 4.9
>> (or 4.8 or 4.7).
>>
>> On Mon, Dec 7, 2015 at 4:27 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com
>> 
>>> wrote:
>>
>>> I just tried it on 4.5, though: works fine on that version.
>>>
>>> On Mon, Dec 7, 2015 at 3:26 PM, Mike Tutkowski <
>>> mike.tutkow...@solidfire.com
>> > wrote:
>>>
 Normally I run my system VMs on XenServer and that seems to work fine
 at the moment.

 I just had a need to run a VMware-only environment today, so came
 across this issue with the virtual router (on two different setups of
>> mine).

 On Mon, Dec 7, 2015 at 3:25 PM, Mike Tutkowski <
 mike.tutkow...@solidfire.com
>> > wrote:

> Well, it does have an IP address assigned on Eth0 that falls within
> my user-VM range.
>
> The only other IP address it states is the loopback.
>
> I'm not sure what's "normal."
>
> On Mon, Dec 7, 2015 at 3:19 PM, Erik Weber > > wrote:
>
>> open the console and poke into it :-)
>>
>>
>>
>> On Mon, Dec 7, 2015 at 11:16 PM, Mike Tutkowski <
>> mike.tutkow...@solidfire.com
>> > wrote:
>>
>>> Note: The CS MS is saying it can't connect to the virtual router.
>>> I
>> can
>>> ping the virtual router manually from the CS MS, but I can't SSH
>>> into
>> it
>>> (not sure if I should be able to).
>>>
>>> On Mon, Dec 7, 2015 at 3:14 PM, Mike Tutkowski <
>>> mike.tutkow...@solidfire.com
>> 
 wrote:
>>>
 Hi,

 I am having a problem getting the virtual router to leave the
>> "Starting"
 state on 4.6 and 4.7.

 I am making use of the correct system VM template in each case,
 but
>> the
 virtual router claims it requires an upgrade.

 This is in a Basic Zone and using local storage for the system
>> VMs.

 Thoughts?

 Thanks!

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

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

Re: [VMware] Problem starting virtual router on 4.6 and 4.7

2016-02-09 Thread Mike Tutkowski
Thanks, Ilya

Yeah, the hypervisor is OK. It was running the SSVM and CPVM just fine.

Next time I set up a Basic Zone with VMware, I can try to remember to check
if the VR can talk to the CSMS on 8250 (right now I just switched over to a
XenServer environment for a different task I'm working on).

Thanks for the reply!

On Tue, Feb 9, 2016 at 12:16 PM, ilya  wrote:

> check iptables and routing - see if you can phone in MS on 8250..
>
> also, make sure the hypervisor the VR is on - is in running state.
>
> On 2/8/16 5:53 AM, Mike Tutkowski wrote:
> > Interesting – yeah, this VR seems to be stuck in the Starting state.
> >
> > Not sure what to do about it.
> >
> > As you noted, 4.6 and later behave like this. I can observe the VR
> entering
> > the Starting state properly on 4.5.
> >
> > On Monday, February 8, 2016, Paul Angus 
> wrote:
> >
> >> Hi Mike,
> >>
> >> I have the VR running in a 4.8 VMware advanced zone.
> >> I have noticed a new behaviour since 4.6 - that VMware system VMs don't
> >> report 'Running' until they've successfully called home.
> >>
> >>
> >>
> >>
> >> [image: ShapeBlue] 
> >> Paul Angus
> >> VP Technology ,  ShapeBlue
> >> d:  *+44 203 617 0528 | s: +44 203 603 0540*
> >> <+44%20203%20617%200528%20%7C%20s:%20+44%20203%20603%200540>  |  m:
> >> *+44 7711 418784* <+44%207711%20418784>
> >> e:  *paul.an...@shapeblue.com | t: @cloudyangus*
> >>  +%7C+t:+@cloudyangus');>
> >>  |  w:  *www.shapeblue.com* 
> >> a:  53 Chandos Place, Covent Garden London WC2N 4HS UK
> >> 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.
> >> 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.
> >>
> >>
> >> -Original Message-
> >> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com
> >> ]
> >> Sent: Monday, February 8, 2016 3:03 AM
> >> To: dev@cloudstack.apache.org
> >> 
> >> Subject: Re: [VMware] Problem starting virtual router on 4.6 and 4.7
> >>
> >> Just checking in on this one again.
> >>
> >> In a Basic Zone on CS 4.9, the VR never exits the "Starting" state.
> >>
> >> Is anyone using VMware to run their system VMs and has it working in 4.9
> >> (or 4.8 or 4.7).
> >>
> >> On Mon, Dec 7, 2015 at 4:27 PM, Mike Tutkowski <
> >> mike.tutkow...@solidfire.com
> >> 
> >>> wrote:
> >>
> >>> I just tried it on 4.5, though: works fine on that version.
> >>>
> >>> On Mon, Dec 7, 2015 at 3:26 PM, Mike Tutkowski <
> >>> mike.tutkow...@solidfire.com
> >> > wrote:
> >>>
>  Normally I run my system VMs on XenServer and that seems to work fine
>  at the moment.
> 
>  I just had a need to run a VMware-only environment today, so came
>  across this issue with the virtual router (on two different setups of
> >> mine).
> 
>  On Mon, Dec 7, 2015 at 3:25 PM, Mike Tutkowski <
>  mike.tutkow...@solidfire.com
> >> > wrote:
> 
> > Well, it does have an IP address assigned on Eth0 that falls within
> > my user-VM range.
> >
> > The only other IP address it states is the loopback.
> >
> > I'm not sure what's "normal."
> >
> > On Mon, Dec 7, 2015 at 3:19 PM, Erik Weber  >> > wrote:
> >
> >> open the console and poke into it :-)
> >>
> >>
> >>
> >> On Mon, Dec 7, 2015 at 11:16 PM, Mike Tutkowski <
> >> mike.tutkow...@solidfire.com
> >> > wrote:
> >>
> >>> Note: The CS MS is saying it can't connect to the virtual router.
> >>> I
> >> can
> >>> ping the virtual router manually from the CS MS, but I can't SSH
> >>> into
> >> it
> >>> (not sure if I should be able to).
> >>>
> >>> On Mon, Dec 7, 2015 at 3:14 PM, Mike Tutkowski <
> >>> mike.tutkow...@solidfire.com
> >> 
>  wrote:
> >>>
>  Hi,
> 
>  I am having a problem getting the virtual router to leave the
> >> "Starting"
>  state on 4.6 and 4.7.
> 
>  I am making use of the correct system VM template in each case,
>  but
> >> the
>  virtual router claims it requires an upgrade.
> 

[GitHub] cloudstack pull request: Fix Sync of template.properties in Swift

2016-02-09 Thread syed
Github user syed commented on the pull request:

https://github.com/apache/cloudstack/pull/1331#issuecomment-182023310
  
@DaanHoogland I'm not sure why the tests are failing. My changes shouldn't 
have affected 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: kvm: Aqcuire lock when running security g...

2016-02-09 Thread wido
GitHub user wido opened a pull request:

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

kvm: Aqcuire lock when running security group Python script

It could happen that when multiple instances are starting at the same
time on a KVM host the Agent spawns multiple instances of security_group.py
which both try to modify iptables/ebtables rules.

This fails with on of the two processes failing.

The instance is still started, but it doesn't have any IP connectivity due
to the failed programming of the security groups.

This modification lets the script aqcuire a exclusive lock on a file so that
only one instance of the scripts talks to iptables/ebtables at once.

Other instances of the script which start will poll every 100ms if they can
obtain the lock and otherwise execute anyway after 10 seconds.

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

$ git pull https://github.com/wido/cloudstack security-group-lock

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

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


commit 7e93f33d4a9cf6d2d036fc40c109c9e6e5fafac2
Author: Wido den Hollander 
Date:   2016-02-09T20:20:58Z

kvm: Aqcuire lock when running security group Python script

It could happen that when multiple instances are starting at the same
time on a KVM host the Agent spawns multiple instances of security_group.py
which both try to modify iptables/ebtables rules.

This fails with on of the two processes failing.

The instance is still started, but it doesn't have any IP connectivity due
to the failed programming of the security groups.

This modification lets the script aqcuire a exclusive lock on a file so that
only one instance of the scripts talks to iptables/ebtables at once.

Other instances of the script which start will poll every 100ms if they can
obtain the lock and otherwise execute anyway after 10 seconds.




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


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

2016-02-09 Thread jlk
Github user jlk commented on the pull request:

https://github.com/apache/cloudstack/pull/1408#issuecomment-182075756
  
Is 10 seconds enough time to wait for the lock to release?

Also, might want to have the loop print status that it's waiting for lock 
to release...


---
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: Spannish translation mangled

2016-02-09 Thread Nuno Tavares
Hi Milamber, thanks for the pointers... but apparently:

$ tx push -s -t
Pushing translations for resource CloudStack_UI.48xmessagesproperties:
Exception: Only maintainers are allowed to update the source file.

-NT


Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Milamber [milam...@apache.org]
Sent: Tuesday, February 9, 2016 1:49 PM
To: dev@cloudstack.apache.org
Subject: Re: Spannish translation mangled

Thanks

Your can update the localization files on transifex using the little
utility on tools/transifex folder in source tree

Requirement: Transifex client installed

(go to the 4.8 branch)

cd ./tools/transifex/
./sync-transifex-ui.sh upload-l10n-languages
CloudStack_UI.48xmessagesproperties

(all languages will be update from repo to transifex, you can reduce to
ES only if you editing the sync-transifex-ui.sh and change the LIST_LANG
value)



On 09/02/2016 11:23, Nuno Tavares wrote:
> Hi all,
>
> I checked this issue yesterday with Daan, the problem is double UNICODE 
> encoding, and it's the source in Transifex that is broken. There are ~250 
> broken characters, so fixing one by one in Transifex is a bit of a waste of 
> time. I could fix this with a script, but I'm still wondering how the file 
> received patches and remain in this state (as in: is there any other scenario 
> where this double encoding shows up correct?)
>
> I've created a PR based on the tag 4.8.0 (#1407)
>
> -NT
>
> Kind regards,
>
> Nuno Tavares
> Senior DevOps Infra Specialist
> LeaseWeb Technologies B.V.
>
> T: +31 20 316 0235
> M:
> E: n.tava...@tech.leaseweb.com
> W: http://www.leaseweb.com
>
> Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
>
>
> 
> From: Daan Hoogland [daan.hoogl...@gmail.com]
> Sent: Monday, February 8, 2016 4:00 PM
> To: dev
> Subject: Spannish translation mangled
>
> @Milamber and other internationalisation specialists. I cannot get access
> to the spannish strings on transifex. It seems these get mangled into the
> source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
> ```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
> access? or some spannish translator correct the strings? or some
> internationalization specialist give a transpose algorithm to deal with the
> issue?
>
> Thanks,
> --
> Daan



Re: Spannish translation mangled

2016-02-09 Thread Milamber



Hum/Oups! Provide me your transifex account id to allow me to add to the 
maintainers team.



On 09/02/2016 22:56, Nuno Tavares wrote:

Hi Milamber, thanks for the pointers... but apparently:

$ tx push -s -t
Pushing translations for resource CloudStack_UI.48xmessagesproperties:
Exception: Only maintainers are allowed to update the source file.

-NT


Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Milamber [milam...@apache.org]
Sent: Tuesday, February 9, 2016 1:49 PM
To: dev@cloudstack.apache.org
Subject: Re: Spannish translation mangled

Thanks

Your can update the localization files on transifex using the little
utility on tools/transifex folder in source tree

Requirement: Transifex client installed

(go to the 4.8 branch)

cd ./tools/transifex/
./sync-transifex-ui.sh upload-l10n-languages
CloudStack_UI.48xmessagesproperties

(all languages will be update from repo to transifex, you can reduce to
ES only if you editing the sync-transifex-ui.sh and change the LIST_LANG
value)



On 09/02/2016 11:23, Nuno Tavares wrote:

Hi all,

I checked this issue yesterday with Daan, the problem is double UNICODE 
encoding, and it's the source in Transifex that is broken. There are ~250 
broken characters, so fixing one by one in Transifex is a bit of a waste of 
time. I could fix this with a script, but I'm still wondering how the file 
received patches and remain in this state (as in: is there any other scenario 
where this double encoding shows up correct?)

I've created a PR based on the tag 4.8.0 (#1407)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Daan Hoogland [daan.hoogl...@gmail.com]
Sent: Monday, February 8, 2016 4:00 PM
To: dev
Subject: Spannish translation mangled

@Milamber and other internationalisation specialists. I cannot get access
to the spannish strings on transifex. It seems these get mangled into the
source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
access? or some spannish translator correct the strings? or some
internationalization specialist give a transpose algorithm to deal with the
issue?

Thanks,
--
Daan




Re: [GitHub] cloudstack pull request: CLOUDSTACK-9012 :automation of cores feat...

2016-02-09 Thread Sanjeev N
LGTM !!

test1_coreos_VM_creation
(integration.component.test_coreos.TestDeployVmWithCoreosTemplate) ... ===
TestName: test1_coreos_VM_creation | Status : SUCCESS ===
ok

--
Ran 1 test in 754.205s

OK

On Thu, Feb 4, 2016 at 4:29 PM, shwetaag  wrote:

> Github user shwetaag commented on a diff in the pull request:
>
> https://github.com/apache/cloudstack/pull/1011#discussion_r51857877
>
> --- Diff: test/integration/component/test_coreos.py ---
> @@ -0,0 +1,291 @@
> +# Licensed to the Apache Software Foundation (ASF) under one
> +# or more contributor license agreements.  See the NOTICE file
> +# distributed with this work for additional information
> +# regarding copyright ownership.  The ASF licenses this file
> +# to you under the Apache License, Version 2.0 (the
> +# "License"); you may not use this file except in compliance
> +# with the License.  You may obtain a copy of the License at
> +#
> +# http://www.apache.org/licenses/LICENSE-2.0
> +#
> +# Unless required by applicable law or agreed to in writing,
> +# software distributed under the License is distributed on an
> +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +# KIND, either express or implied.  See the License for the
> +# specific language governing permissions and limitations
> +# under the License.
> +
> +""" P1 tests for coreos template and vm
> +"""
> +
> +from marvin.lib.base import (
> +VirtualMachine,
> +ServiceOffering,
> +Account,
> +SSHKeyPair,
> +Host, Template)
> +from marvin.lib.common import (
> +get_zone,
> +get_template,
> +list_routers)
> +from marvin.lib.utils import (
> +cleanup_resources,
> +get_hypervisor_type,
> +get_process_status)
> +from marvin.cloudstackTestCase import cloudstackTestCase
> +# Import System modules
> +import tempfile
> +import time
> +import os
> +import base64
> +from nose.plugins.attrib import attr
> +from marvin.sshClient import SshClient
> +
> +
> +class TestDeployVmWithCoreosTemplate(cloudstackTestCase):
> +"""Tests for deploying VM  using coreos template
> +"""
> +
> +@classmethod
> +def setUpClass(cls):
> +cls._cleanup = []
> +cls.testClient = super(
> +TestDeployVmWithCoreosTemplate,
> +cls).getClsTestClient()
> +cls.api_client = cls.testClient.getApiClient()
> +cls.services = cls.testClient.getParsedTestDataConfig()
> +cls.zone = get_zone(cls.api_client,
> cls.testClient.getZoneForTests())
> +cls.service_offering = ServiceOffering.create(
> +cls.api_client,
> services=cls.services["service_offerings"]["medium"])
> +cls.account = Account.create(
> +cls.api_client, services=cls.services["account"])
> +cls.cleanup = [cls.account]
> +cls.template = get_template(
> +cls.api_client,
> +cls.zone.id,
> +cls.services["ostype"]
> +)
> +cls.services["coreos"][
> +"hypervisor"] = cls.testClient.getHypervisorInfo()
> +cls.userdata = '#cloud-config\n\ncoreos:\n  units:\n-
> name: docker.service\n  command: start\n' \
> +   '- name: web.service\n  command: start\n
> content: |\n[Unit]\n' \
> +   'After=docker.service\n
> Requires=docker.service\nDescription=Starts web server ' \
> +   'container\n[Service]\n
> TimeoutStartSec=0\n' \
> +   'ExecStartPre=/usr/bin/docker pull
> httpd:2.4\n' \
> +   'ExecStart=/usr/bin/docker run -d -p 8000:80
> httpd:2.4'
> +cls.services["virtual_machine"]["userdata"] = cls.userdata
> +
> +cls.keypair = SSHKeyPair.create(
> +cls.api_client,
> +name="coreos",
> +account=cls.account.name,
> +domainid=cls.account.domainid
> +)
> +cls.debug("Created a new keypair with name: %s" %
> cls.keypair.name)
> +
> +cls.debug("Writing the private key to local file")
> +cls.keyPairFilePath = tempfile.gettempdir() + os.sep +
> cls.keypair.name
> +# Clenaup at end of execution
> +cls.cleanup.append(cls.keyPairFilePath)
> +
> +cls.debug("File path: %s" % cls.keyPairFilePath)
> +
> +f = open(cls.keyPairFilePath, "w+")
> +f.write(cls.keypair.privatekey)
> +f.close()
> +os.system("chmod 400 " + cls.keyPairFilePath)
> +cls.mgtSvrDetails = cls.config.__dict_

[GitHub] cloudstack pull request: CLOUDSTACK-8895: Verify if storage on sto...

2016-02-09 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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-9121: Adding VmSnapshot valida...

2016-02-09 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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-9012 :automation of cores feat...

2016-02-09 Thread asfgit
Github user asfgit closed the pull request at:

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


---
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: automated 9277 9276 9275 9274 9273 9179 9...

2016-02-09 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1401#discussion_r52417090
  
--- Diff: test/integration/component/maint/test_escalations_instances.py ---
@@ -0,0 +1,270 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+#Import Local Modules
+from marvin.cloudstackTestCase import cloudstackTestCase
+from marvin.lib.utils import (cleanup_resources,
+  validateList,
+  get_hypervisor_type)
+from marvin.lib.base import (Account,
+ VirtualMachine,
+ ServiceOffering,
+ Volume,
+ DiskOffering,
+ Template,
+ listConfigurations,Configurations)
+from marvin.lib.common import (get_domain,list_isos,
+   get_zone,
+   get_template)
+from nose.plugins.attrib import attr
+from ast import literal_eval
+from marvin.codes import PASS
+from marvin.cloudstackException import CloudstackAPIException
+from marvin.sshClient import SshClient
+from marvin.cloudstackException import CloudstackAPIException
+import time
+
+class TestInstance(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+try:
+cls._cleanup = []
+cls.testClient = super(TestInstance, cls).getClsTestClient()
+cls.api_client = cls.testClient.getApiClient()
+cls.services = cls.testClient.getParsedTestDataConfig()
+# Get Domain, Zone, Template
+cls.domain = get_domain(cls.api_client)
+cls.zone = get_zone(cls.api_client, 
cls.testClient.getZoneForTests())
+cls.template = get_template(
+cls.api_client,
+cls.zone.id,
+cls.services["ostype"]
+)
+if cls.zone.localstorageenabled:
+cls.storagetype = 'local'
+cls.services["service_offerings"]["tiny"]["storagetype"] = 
'local'
+cls.services["disk_offering"]["storagetype"] = 'local'
+else:
+cls.storagetype = 'shared'
+cls.services["service_offerings"]["tiny"]["storagetype"] = 
'shared'
+cls.services["disk_offering"]["storagetype"] = 'shared'
+
+cls.services['mode'] = cls.zone.networktype
+cls.services["virtual_machine"]["hypervisor"] = 
cls.testClient.getHypervisorInfo()
+cls.services["virtual_machine"]["zoneid"] = cls.zone.id
+cls.services["virtual_machine"]["template"] = cls.template.id
+cls.services["custom_volume"]["zoneid"] = cls.zone.id
+# Creating Disk offering, Service Offering and Account
+cls.disk_offering = DiskOffering.create(
+cls.api_client,
+cls.services["disk_offering"]
+)
+cls.service_offering = ServiceOffering.create(
+cls.api_client,
+cls.services["service_offerings"]["small"]
+)
+cls.account = Account.create(
+cls.api_client,
+cls.services["account"],
+domainid=cls.domain.id
+)
+# Getting authentication for user in newly created Account
+cls.user = cls.account.user[0]
+cls.userapiclient = 
cls.testClient.getUserApiClient(cls.user.username, cls.domain.name)
+cls._cleanup.append(cls.disk_offering)
+cls._cleanup.append(cls.service_offering)
+cls._cleanup.append(cls.account)
+cls.mgtSvrDetails = cls.config.__dict__["mgtSvr"][0].__dict__
+except Exception as e:
+cls.tearDownClass()
+raise Exceptio

[GitHub] cloudstack pull request: automated 9277 9276 9275 9274 9273 9179 9...

2016-02-09 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1401#discussion_r52417314
  
--- Diff: test/integration/component/test_escalations_instances.py ---
@@ -2068,6 +2068,94 @@ def test_13_vm_nics(self):
 "VM NIC is not same as expected"
 )
 return
+@attr(tags=["advanced", "basic"], required_hardware="true")
+def test_14_Create_vm_with_same_sshkey(self):
+"""
+@Desc: Test to verify API call Register ssh key pair fails when 
uses same public key for differnet key name
+"""
+
+
+# Listing all the SSH Key pairs
+list_keypairs_before = SSHKeyPair.list(
+self.userapiclient
+)
+list_keypairs_before_size = 0
+if list_keypairs_before is not None:
+list_keypairs_before_size = len(list_keypairs_before)
+
+# Registering first Key pair
+new_keypair1 = SSHKeyPair.register(
+self.userapiclient,
+name="keypair1",
+publickey="ssh-rsa: 
e6:9a:1e:b5:98:75:88:5d:56:bc:92:7b:43:48:05:b2")
+self.assertIsNotNone(
+new_keypair1,
+"New Key pair generation failed"
+)
+self.assertEquals(
+"keypair1",
+new_keypair1.name,
+"Key Pair not created with given name"
+)
+# Listing all the SSH Key pairs again
+list_keypairs_after = SSHKeyPair.list(
+self.userapiclient
+)
+status = validateList(list_keypairs_after)
+self.assertEquals(
+PASS,
+status[0],
+"Listing of Key pairs failed"
+)
+# Verifying that list size is increased by 1
+self.assertEquals(
+list_keypairs_before_size + 1,
+len(list_keypairs_after),
+"List count is not matching"
+)
+try:
+
+# Registering second key pair using same public key
+new_keypair2 = SSHKeyPair.register(
+self.userapiclient,
+name="keypair2",
+publickey="ssh-rsa: 
e6:9a:1e:b5:98:75:88:5d:56:bc:92:7b:43:48:05:b2")
+self.fail("SSH Key creation passed using same public key ")
+except CloudstackAPIException  as e:
+self.assertRaises("Exception Raised : %s" % e)
--- End diff --

Replace self.assertRaises to execute the test completely.


---
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: automated 9277 9276 9275 9274 9273 9179 9...

2016-02-09 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1401#discussion_r52417529
  
--- Diff: test/integration/component/test_project_usage.py ---
@@ -221,10 +219,35 @@ def test_01_vm_usage(self):
 #VM.Destroy and volume .delete Event for the created account
 # 4. Delete the account
 
+projectlist=Project.list(self.apiclient,account=self.account.name,
+ 
domainid=self.account.domainid,id=self.project.id)
+
+self.assertEqual(projectlist[0].vmrunning,0,"vmrunning value is 
not returned")
--- End diff --

Before checking the no.of running and stopped vms, check whether the 
projectlist has vmrunning and vmstopped attributes.


---
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: automated 9277 9276 9275 9274 9273 9179 9...

2016-02-09 Thread sanju1010
Github user sanju1010 commented on a diff in the pull request:

https://github.com/apache/cloudstack/pull/1401#discussion_r52417597
  
--- Diff: test/integration/component/test_project_usage.py ---
@@ -1819,3 +1844,183 @@ def test_01_vpn_usage(self):
 "Check VPN.USER.ADD in events table"
 )
 return
+
+class TestVMSnapshotUsage(cloudstackTestCase):
+
+@classmethod
+def setUpClass(cls):
+cls.testClient = super(TestVMSnapshotUsage, cls).getClsTestClient()
+cls.api_client = cls.testClient.getApiClient()
+cls.hypervisor = cls.testClient.getHypervisorInfo()
+cls.snapshotSupported = True
+cls._cleanup = []
+if cls.hypervisor.lower() in ['hyperv', 'lxc', 'kvm','baremetal']:
+cls.snapshotSupported = False
+return
+cls.services = Services().services
+# Get Zone, Domain and templates
+cls.domain = get_domain(cls.api_client)
+cls.zone = get_zone(cls.api_client, 
cls.testClient.getZoneForTests())
+cls.services['mode'] = cls.zone.networktype
+cls.hypervisor = cls.testClient.getHypervisorInfo()
+template = get_template(
+cls.api_client,
+cls.zone.id,
+cls.services["ostype"]
+)
+cls.services["server"]["zoneid"] = cls.zone.id
+
+cls.services["template"] = template.id
+
+# Create Account, VMs etc
+cls.account = Account.create(
+cls.api_client,
+cls.services["account"],
+domainid=cls.domain.id
+)
+
+cls.services["account"] = cls.account.name
+
+cls.project = Project.create(
+ cls.api_client,
+ cls.services["project"],
+ account=cls.account.name,
+ domainid=cls.account.domainid
+ )
+
+cls.service_offering = ServiceOffering.create(
+cls.api_client,
+
cls.services["service_offering"]
+)
+cls.virtual_machine = VirtualMachine.create(
+cls.api_client,
+cls.services["server"],
+templateid=template.id,
+serviceofferingid=cls.service_offering.id,
+projectid=cls.project.id
+)
+cls._cleanup = [
+cls.project,
+cls.service_offering,
+cls.account,
+]
+return
+
+@classmethod
+def tearDownClass(cls):
+try:
+#Cleanup resources used
+cleanup_resources(cls.api_client, cls._cleanup)
+except Exception as e:
+raise Exception("Warning: Exception during cleanup : %s" % e)
+return
+
+def setUp(self):
+self.apiclient = self.testClient.getApiClient()
+self.dbclient = self.testClient.getDbConnection()
+self.cleanup = []
+if not self.snapshotSupported:
+self.skipTest("Snapshots are not supported on %s" % 
self.hypervisor)
+return
+
+def tearDown(self):
+try:
+#Clean up, terminate the created instance and snapshots
+cleanup_resources(self.apiclient, self.cleanup)
+except Exception as e:
+raise Exception("Warning: Exception during cleanup : %s" % e)
+return
+
+@attr(speed = "slow")
+@attr(tags=["advanced", "basic", "sg", "eip", "advancedns", 
"simulator"], required_hardware="false")
--- End diff --

If the test does not dependent on the zone type, please remove some tags :)


---
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-jdk18 #474

2016-02-09 Thread jenkins
See 

Changes:

[priti.sarap] CLOUDSTACK-8895: Verify if storage can be selected when attaching

[shweta.agarwal] automation of cores feature test path

[priti.sarap] CLOUDSTACK-9121: Adding VmSnapshot validation in 
testpath_revert_snap.py

[shweta.agarwal] added suggested changes to coreos automation

--
[...truncated 425 lines...]
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.61 sec - in 
com.cloud.utils.ScriptTest
Running com.cloud.utils.log.CglibThrowableRendererTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.208 sec - in 
com.cloud.utils.log.CglibThrowableRendererTest
Running com.cloud.utils.UuidUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec - in 
com.cloud.utils.UuidUtilsTest
Running com.cloud.utils.crypto.RSAHelperTest
2016-02-10 06:10:45,570 INFO  [utils.crypt.RSAHelper] (main:) [ignored]error 
during public key encryption: Unsupported format
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.914 sec - in 
com.cloud.utils.crypto.RSAHelperTest
Running com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
2016-02-10 06:10:45,766 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: null
2016-02-10 06:10:45,766 DEBUG [utils.crypt.EncryptionSecretKeyChecker] (main:) 
Encryption Type: file
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec - in 
com.cloud.utils.crypto.EncryptionSecretKeyCheckerTest
Running com.cloud.utils.PropertiesUtilsTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.023 sec - in 
com.cloud.utils.PropertiesUtilsTest
Running com.cloud.utils.exception.ExceptionUtilTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
com.cloud.utils.exception.ExceptionUtilTest
Running com.cloud.utils.storage.QCOW2UtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in 
com.cloud.utils.storage.QCOW2UtilsTest
Running com.cloud.utils.encoding.UrlEncoderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in 
com.cloud.utils.encoding.UrlEncoderTest
Running com.cloud.utils.UriUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.065 sec - in 
com.cloud.utils.UriUtilsTest
Running com.cloud.utils.HttpUtilsTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec - in 
com.cloud.utils.HttpUtilsTest
Running com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
2016-02-10 06:10:46,101 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-1:) 
Thread Thread-1 interrupted while waiting for retry
2016-02-10 06:10:46,204 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
thread started
2016-02-10 06:10:46,204 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) before
2016-02-10 06:10:46,305 DEBUG [backoff.impl.ConstantTimeBackoffTest] (main:) 
testing wakeup
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.31 sec - in 
com.cloud.utils.backoff.impl.ConstantTimeBackoffTest
Running com.cloud.utils.ProcessUtilTest
2016-02-10 06:10:46,308 INFO  [backoff.impl.ConstantTimeBackoff] (Thread-2:) 
Thread Thread-2 interrupted while waiting for retry
2016-02-10 06:10:46,309 DEBUG [backoff.impl.ConstantTimeBackoffTest] 
(Thread-2:) after
2016-02-10 06:10:46,313 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2016-02-10 06:10:46,323 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
2016-02-10 06:10:46,323 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c ps -p 123456 
2016-02-10 06:10:46,412 DEBUG [cloud.utils.ProcessUtil] (main:) Exit value is 1
2016-02-10 06:10:46,413 DEBUG [cloud.utils.ProcessUtil] (main:)   PID TTY   
   TIME CMD
2016-02-10 06:10:46,414 DEBUG [cloud.utils.ProcessUtil] (main:) Executing: bash 
-c echo $PPID 
2016-02-10 06:10:46,417 DEBUG [cloud.utils.ProcessUtil] (main:) Execution is 
successful.
2016-02-10 06:10:46,423 DEBUG [cloud.utils.ProcessUtil] (main:) 
environment.properties could not be opened
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.12 sec - in 
com.cloud.utils.ProcessUtilTest
Running com.cloud.utils.PasswordGeneratorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in 
com.cloud.utils.PasswordGeneratorTest
Running com.cloud.utils.rest.HttpUriRequestBuilderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec - in 
com.cloud.utils.rest.HttpUriRequestBuilderTest
Running com.cloud.utils.rest.HttpStatusCodeHelperTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in 
com.cloud.utils.rest.HttpStatusCodeHelperTest
Running com.cloud.utils.rest.RESTServiceConnectorTest
2016-02-10 06:10:46,709 DEBUG [utils.rest.RESTServiceConnector] (main:) 
Executing retrieve object on /somepath
2016-02-10 06:10:46,709 DEBUG [

RE: Spannish translation mangled

2016-02-09 Thread Nuno Tavares
Hi Milamber,

Not sure where I find my ID... but I'm this guys over here:
https://www.transifex.com/user/profile/ntavares/
:)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Milamber [milam...@apache.org]
Sent: Wednesday, February 10, 2016 12:13 AM
To: dev@cloudstack.apache.org
Subject: Re: Spannish translation mangled

Hum/Oups! Provide me your transifex account id to allow me to add to the
maintainers team.


On 09/02/2016 22:56, Nuno Tavares wrote:
> Hi Milamber, thanks for the pointers... but apparently:
>
> $ tx push -s -t
> Pushing translations for resource CloudStack_UI.48xmessagesproperties:
> Exception: Only maintainers are allowed to update the source file.
>
> -NT
>
>
> Kind regards,
>
> Nuno Tavares
> Senior DevOps Infra Specialist
> LeaseWeb Technologies B.V.
>
> T: +31 20 316 0235
> M:
> E: n.tava...@tech.leaseweb.com
> W: http://www.leaseweb.com
>
> Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
>
>
> 
> From: Milamber [milam...@apache.org]
> Sent: Tuesday, February 9, 2016 1:49 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Spannish translation mangled
>
> Thanks
>
> Your can update the localization files on transifex using the little
> utility on tools/transifex folder in source tree
>
> Requirement: Transifex client installed
>
> (go to the 4.8 branch)
>
> cd ./tools/transifex/
> ./sync-transifex-ui.sh upload-l10n-languages
> CloudStack_UI.48xmessagesproperties
>
> (all languages will be update from repo to transifex, you can reduce to
> ES only if you editing the sync-transifex-ui.sh and change the LIST_LANG
> value)
>
>
>
> On 09/02/2016 11:23, Nuno Tavares wrote:
>> Hi all,
>>
>> I checked this issue yesterday with Daan, the problem is double UNICODE 
>> encoding, and it's the source in Transifex that is broken. There are ~250 
>> broken characters, so fixing one by one in Transifex is a bit of a waste of 
>> time. I could fix this with a script, but I'm still wondering how the file 
>> received patches and remain in this state (as in: is there any other 
>> scenario where this double encoding shows up correct?)
>>
>> I've created a PR based on the tag 4.8.0 (#1407)
>>
>> -NT
>>
>> Kind regards,
>>
>> Nuno Tavares
>> Senior DevOps Infra Specialist
>> LeaseWeb Technologies B.V.
>>
>> T: +31 20 316 0235
>> M:
>> E: n.tava...@tech.leaseweb.com
>> W: http://www.leaseweb.com
>>
>> Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
>>
>>
>> 
>> From: Daan Hoogland [daan.hoogl...@gmail.com]
>> Sent: Monday, February 8, 2016 4:00 PM
>> To: dev
>> Subject: Spannish translation mangled
>>
>> @Milamber and other internationalisation specialists. I cannot get access
>> to the spannish strings on transifex. It seems these get mangled into the
>> source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
>> ```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
>> access? or some spannish translator correct the strings? or some
>> internationalization specialist give a transpose algorithm to deal with the
>> issue?
>>
>> Thanks,
>> --
>> Daan



Re: Spannish translation mangled

2016-02-09 Thread Milamber


Nuno, you are now Mainteners in the Web UI project. You can upload the 
resources files to fix this charset issue.


On 10/02/2016 06:58, Nuno Tavares wrote:

Hi Milamber,

Not sure where I find my ID... but I'm this guys over here:
https://www.transifex.com/user/profile/ntavares/
:)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Milamber [milam...@apache.org]
Sent: Wednesday, February 10, 2016 12:13 AM
To: dev@cloudstack.apache.org
Subject: Re: Spannish translation mangled

Hum/Oups! Provide me your transifex account id to allow me to add to the
maintainers team.


On 09/02/2016 22:56, Nuno Tavares wrote:

Hi Milamber, thanks for the pointers... but apparently:

$ tx push -s -t
Pushing translations for resource CloudStack_UI.48xmessagesproperties:
Exception: Only maintainers are allowed to update the source file.

-NT


Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Milamber [milam...@apache.org]
Sent: Tuesday, February 9, 2016 1:49 PM
To: dev@cloudstack.apache.org
Subject: Re: Spannish translation mangled

Thanks

Your can update the localization files on transifex using the little
utility on tools/transifex folder in source tree

Requirement: Transifex client installed

(go to the 4.8 branch)

cd ./tools/transifex/
./sync-transifex-ui.sh upload-l10n-languages
CloudStack_UI.48xmessagesproperties

(all languages will be update from repo to transifex, you can reduce to
ES only if you editing the sync-transifex-ui.sh and change the LIST_LANG
value)



On 09/02/2016 11:23, Nuno Tavares wrote:

Hi all,

I checked this issue yesterday with Daan, the problem is double UNICODE 
encoding, and it's the source in Transifex that is broken. There are ~250 
broken characters, so fixing one by one in Transifex is a bit of a waste of 
time. I could fix this with a script, but I'm still wondering how the file 
received patches and remain in this state (as in: is there any other scenario 
where this double encoding shows up correct?)

I've created a PR based on the tag 4.8.0 (#1407)

-NT

Kind regards,

Nuno Tavares
Senior DevOps Infra Specialist
LeaseWeb Technologies B.V.

T: +31 20 316 0235
M:
E: n.tava...@tech.leaseweb.com
W: http://www.leaseweb.com

Luttenbergweg 8, 1101 EC Amsterdam, Netherlands



From: Daan Hoogland [daan.hoogl...@gmail.com]
Sent: Monday, February 8, 2016 4:00 PM
To: dev
Subject: Spannish translation mangled

@Milamber and other internationalisation specialists. I cannot get access
to the spannish strings on transifex. It seems these get mangled into the
source base. for instnce ```label.traffic.type=Tipo de Tráfico``` or
```label.total.of.vm=Total de máquinas virtuales```. Can someone give me
access? or some spannish translator correct the strings? or some
internationalization specialist give a transpose algorithm to deal with the
issue?

Thanks,
--
Daan




Re: Unable Create/CleanUp Virual Router After upgraded to ACS 4.6.2

2016-02-09 Thread mvs babu
Hi,


Any one tested ACS 4.6.x/4.7.x successfully? If yes which system VM Template is 
used?


We have created a VM with system VM template and tested “from flask import 
Flask” and it was imported. But in ACS 4.3.1 upgrade process it is thowing 
error “ImportError: No module name flask” and router gets shutdown. Please help 
to fix this issue.





Thank you,
Suneel Mallela
AxiomIO.





From: mvs babu
Sent: ‎Wednesday‎, ‎February‎ ‎3‎, ‎2016 ‎6‎:‎42‎ ‎PM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org





I think its “pip install Flask” and we need to execute this on system VM 
template before build release.






Thank you,
Suneel Mallela
AxiomIO.





From: Nux!
Sent: ‎Wednesday‎, ‎February‎ ‎3‎, ‎2016 ‎3‎:‎50‎ ‎PM
To: us...@cloudstack.apache.org
Cc: dev@cloudstack.apache.org





Hello,

If you "apt-get install python-flask" in the VR you try to clean up, does it 
make a difference?

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "mvs babu" 
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Sent: Monday, 1 February, 2016 12:02:18
> Subject: Re: Unable Create/CleanUp Virual Router After upgraded to ACS 4.6.2

> Hi All,
> 
> 
> I have tested ACS 4.7.1 with 4.6 template and getting same below “flask” error
> in Virtual Router, due to this error we are unable to create new 
> networks/clean
> up existing Virtual Router.
> 
> 
> File “/opt/cloud/bin/baremetal-vr.py”, line 28, in 
> 
> 
> 
> 
> from flask import Flask
> 
> ImportError: No module name flask
> 
> 
> Thank you,
> Suneel Mallela
> AxiomIO.
> 
> 
> 
> 
> 
> From: mvs babu
> Sent: ‎Friday‎, ‎January‎ ‎29‎, ‎2016 ‎6‎:‎36‎ ‎PM
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> 
> 
> 
> 
> 
> Sure, I will test with 4.7.1 and get back with status.
> 
> Simon, I din not get you on below, can you please elaborate it.
> 
> 
> 
> “The new method of pushing features into the virtual routers is to utilize the
> mounted ISO for deployment”
> 
> 
> Thank you,
> Suneel Mallela
> 
> AxiomIO
> 
> 
> 
> From: Simon Weller
> Sent: ‎Friday‎, ‎January‎ ‎29‎, ‎2016 ‎6‎:‎29‎ ‎PM
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> 
> 
> 
> 
> 
> 
> Suneel,
> 
> The 4.6.x virtual routers work with 4.7+ now. The new method of pushing 
> features
> into the virtual routers is to utilize the mounted ISO for deployment.
> 
> Not having to upgrade the routers with every release saves a huge amount of 
> time
> and also simplifies deployment of new releases.
> 
> - Si
> 
> 
> 
> From: mvs babu 
> Sent: Friday, January 29, 2016 6:24 AM
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> Subject: Re: Unable Create/CleanUp Virual Router After upgraded to ACS 4.6.2
> 
> Hi Remi,
> 
> Thanks for suggestion, sure we will test with 4.7. But, there is no System VM
> Template available for 4.7.
> 
> 
> Thank you,
> Suneel Mallela
> 
> AxiomIO.
> 
> 
> 
> From: Remi Bergsma
> Sent: ‎Friday‎, ‎January‎ ‎29‎, ‎2016 ‎5‎:‎45‎ ‎PM
> To: us...@cloudstack.apache.org
> Cc: dev@cloudstack.apache.org
> 
> 
> 
> 
> 
> Hi Suneel,
> 
> If you want to upgrade, use 4.7.1 instead of 4.6.x as many bugs have been 
> fixed.
> In another thread we discussed a timeout setting you can bump to make it work,
> too.
> 
> Regards,
> Remi
> 
> 
> 
> 
> On 29/01/16 12:17, "mvs babu"  wrote:
> 
>>Hi All,
>>
>>Getting same issue (http://picpaste.com/pics/VPC-rhH48Qao.1454066282.PNG) with
>>below stable/latest builds of System VM Template.
>>
>>
>>
>>http://jenkins.buildacloud.org/job/build-systemvm64-master/lastStableBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-xen.vhd.bz2
>>
>>http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-master-4.6.0-xen.vhd.bz2
>>
>>Please help to resolve this issue ASAP, because we planning to upgrade our
>>production environment from 4.3.1.
>>
>>
>>Thank you,
>>Suneel Mallela
>>
>>
>>
>>
>>
>>From: mvs babu
>>Sent: ‎Wednesday‎, ‎January‎ ‎27‎, ‎2016 ‎5‎:‎34‎ ‎PM
>>To: us...@cloudstack.apache.org
>>Cc: dev@cloudstack.apache.org
>>
>>
>>
>>
>>
>>Hi,
>>
>>
>>Thank you for response.
>>
>>
>>Followed below documentation,
>>http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.6.0/upgrade/upgrade-4.3.html
>>
>>
>>and templates are,
>>http://cloudstack.apt-get.eu/systemvm/4.5/systemvm64template-4.5-xen.vhd.bz2
>>http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-xen.vhd.bz2
>>
>>
>>
>>
>>
>>
>>Thank you,
>>Suneel Mallela
>>
>>
>>
>>
>>
>>From: Harikrishna Patnala
>>Sent: ‎Wednesday‎, ‎January‎ ‎27‎, ‎2016 ‎5‎:‎26‎ ‎PM
>>To: us...@cloudstack.apache.org
>>Cc: dev@cloudstack.apache.org
>>
>>
>>
>>
>>
>>Hi,
>>
>>Latest system vm template has flask installed in it. Can you please let us 
>>which
>>system vm template you have used.
>>
>>Thanks,
>>Harikrishna
>>
>>
>>On 27-Jan-2016, at 4