Re: [PROPOSAL] Remove SNAPSHOT from versioning and keep tags on the release branch

2014-10-27 Thread Rohit Yadav
Hi Hugo and Nate,

I look forward to your comments on my replies on this thread. If we’re in 
agreement, I would like to start a voting thread.

Regards.

> On 23-Oct-2014, at 3:03 pm, Hugo Trippaers  wrote:
>
> I’m -1 on dropping the SNAPSHOT tag.
>
> Snapshots are an integral part of maven building the project. A snapshot is 
> mavens way of telling that a particular release is still in development and 
> causes different behavior in how it resolves artifacts. For a developer 
> working only local the problem could be minimal and in case of problems he 
> could wipe his .m2 directory. However for people using centralized maven 
> repositories it could cause unintended behavior if snapshot is dropped as 
> maven states that repositories should never replace an artifact that is 
> pushed as a release artifact (without -SNAPSHOT).
>
> The net result of this could be that developers are recompiling a build, but 
> actually running/testing a completely different version because the 
> repository was not refreshed because a release version already exists. I 
> would propose to keep the -SNAPSHOT until we have a version that we actually 
> want to release to the public. Personally i would even be in favor of naming 
> a RC something like 4.4.99-SNAPSHOT until we push the final build, but that 
> would interfere with the way we sign and mark releases.
>
> I wouldn’t mind dropping -SNAPSHOT in packaging scripts or anything else that 
> happens with the source after we finish working on it, but i would like not 
> to have anything without -SNAPSHOT in our git unless its a final release (or 
> RC in our current way of working).
>
> Cheers,
>
> Hugo
>
>
>
>> On 23 okt. 2014, at 16:31, Rohit Yadav  wrote:
>>
>> Hi,
>>
>>> On 22-Oct-2014, at 7:12 pm, Pierre-Luc Dion  wrote:
>>>
>>> Does packages from  j.bac.o  will have a -SNAPSHOT or - suffix in
>>> packages and acs version from the API ?
>>
>> If you add -SNAPSHOT, -date or any suffix it will be packages names (the 
>> deb/rpm file etc) but no in version returned from API (I think version info 
>> in API/DB should be something like 4.4.1 and not 4.4.1-SNAPSHOT)
>>
>>> I don't think the suffix addition
>>> should be to user discretion but be there by default when using documented
>>> build procedure. also, if I compare to lot of other free software dev, the
>>> current working version is always pre release version number, as example
>>> for us:  working on 4.5.0 would mean that the current version in pom.xmls
>>> would be 4.4.99 and at the release commit for GA, the version would be bump
>>> to 4.5.0.
>>
>> Regarding 4.4.99-> 4.5.0 etc, this is entirely different versioning scheme. 
>> I’m not proposing to change versioning conventions, just that we remove 
>> -SNAPSHOT if we don’t really need it.
>>
>> To differentiate between GA and other releases, other ways of adding 
>> suffixes on package names (such as filenames of the deb/rpm packages, or 
>> filenames of tarballs etc) can be used.
>>
>>> I'm concerned on having a dev branch like 4.5 having pom.xml
>>> package(rpm/deb) version set to a non GA 4.5.0, because if somewone build
>>> is own RPMs or use  those from j.bac.o, how can he know afterward that he
>>> is running on a non GA version ?
>>
>> I see j.bac.o only for test builds and not for production, because you’re 
>> right we don’t know if it was GA or some other build. What we can do is, we 
>> store the git SHA used for building/packaging in cloudstack-common package 
>> in a text file. So, in future if someone is not sure they can read the SHA 
>> and compare if it was GA or not.
>>
>> ShapeBlue is going to release a public CloudStack repo/systemvmtemplate/doc 
>> etc. hosting for everyone soon. It tries to solve the information issue for 
>> users, for example people don’t know which deb/rpm version/build they 
>> installed and they may not know what git SHA or tag was used to build them, 
>> or if it was GA/official-release or patched.
>>
>> 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 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 a

[Need help] cloudstack 4.4.0 source code build failed

2014-10-27 Thread zen...@conac.cn
Hi CS dev group,

This is Jack Zeng from CONAC Cloud Research Group. Recently we are working on 
the CS development environment setup, we meet the some error when we ran the 
command "mvn test"during the APM building. Could you please give us some help 
or suggestion? Thanks a lot in advance and expect your reply.

The detailed information is below:
1, OS version: CentOS6.3 x64
CS version: apache-cloudstack-4.4.0-src.tar.bz2 
 *comments: we download the source code directly on the Apache website: 
http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.4.0/apache-cloudstack-4.4.0-src.tar.bz2
2, The working branch: 
4.4.0, master 
3, Build environment:
only use the Maven to test. 
4,The detailed message during the APM building.

Failed tests: 
runUploadSslCertBadkeyAlgo(org.apache.cloudstack.network.lb.CertServiceTest) 
runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServiceTest) 
runUploadSslCertBadChain(org.apache.cloudstack.network.lb.CertServiceTest) 
runUploadSslCertNoRootCert(org.apache.cloudstack.network.lb.CertServiceTest) 
runUploadSslCertNoChain(org.apache.cloudstack.network.lb.CertServiceTest) 

Tests in error: 
runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest): 
Error parsing certificate data Certificate expired or not valid 
runUploadSslCertSelfSignedNoPassword(org.apache.cloudstack.network.lb.CertServiceTest):
 Error parsing certificate data Certificate expired or not valid 
runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.CertServiceTest):
 Error parsing certificate data Certificate expired or not valid 

Tests run: 139, Failures: 5, Errors: 3, Skipped: 1


[INFO]  
[INFO] Reactor Summary: 
[INFO] 
[INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS 
[8.201s] 
[INFO] Apache CloudStack . SUCCESS [2.836s] 
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.335s] 
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [5.058s] 
[INFO] Apache CloudStack Utils ... SUCCESS [22.108s] 
[INFO] Apache CloudStack Framework ... SUCCESS [0.090s] 
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.717s] 
[INFO] Apache CloudStack Framework - Configuration ... SUCCESS [7.190s] 
[INFO] Apache CloudStack API . SUCCESS [24.591s] 
[INFO] Apache CloudStack Framework - REST  SUCCESS [4.550s] 
[INFO] Apache CloudStack Framework - IPC . SUCCESS [8.496s] 
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.058s] 
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [6.813s] 
[INFO] Apache CloudStack Framework - Security  SUCCESS [3.292s] 
[INFO] Apache CloudStack Core  SUCCESS [17.587s] 
[INFO] Apache CloudStack Agents .. SUCCESS [9.923s] 
[INFO] Apache CloudStack Framework - Clustering .. SUCCESS [4.526s] 
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.240s] 
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [22.376s] 
[INFO] Apache CloudStack Framework - Jobs  SUCCESS [9.565s] 
[INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [5.471s] 
[INFO] Apache CloudStack Server .. FAILURE [1:16.272s] 
[INFO] Apache CloudStack Usage Server  SKIPPED 
[INFO] Apache XenSource XAPI . SKIPPED 
[INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED 
[INFO] Apache CloudStack Cloud Services .. SKIPPED 
[INFO] Apache CloudStack Secondary Storage ... SKIPPED 
[INFO] Apache CloudStack Secondary Storage Service ... SKIPPED 
[INFO] Apache CloudStack Engine Storage Component  SKIPPED 
[INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED 
[INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED 
[INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED 
[INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED 
[INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED 
[INFO] Apache CloudStack Cloud Engine API  SKIPPED 
[INFO] Apache CloudStack Cloud Engine Service  SKIPPED 
[INFO] Apache CloudStack Plugin POM .. SKIPPED 
[INFO] Apache CloudStack Plugin - API Rate Limit . SKIPPED 
[INFO] Apache CloudStack Plugin - API Discovery .. SKIPPED 
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED 
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SKIPPED 
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED 
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner 
SKIPPED 
[INFO] Apache CloudSta

Re: [Need help] cloudstack 4.4.0 source code build failed

2014-10-27 Thread Rohit Yadav
Hi,

The certificate used in the unit test has expired. As Frank mentioned in the 
other thread, simply remove the CertServiceTest.java file from the source and 
rebuild. Can you please stop creating new threads for the same issue, have you 
subscribed to the mailing list that you’re sending emails?

> On 27-Oct-2014, at 7:37 am, zen...@conac.cn wrote:
>
> Hi CS dev group,
>
> This is Jack Zeng from CONAC Cloud Research Group. Recently we are working on 
> the CS development environment setup, we meet the some error when we ran the 
> command "mvn test"during the APM building. Could you please give us some help 
> or suggestion? Thanks a lot in advance and expect your reply.
>
> The detailed information is below:
> 1, OS version: CentOS6.3 x64
>CS version: apache-cloudstack-4.4.0-src.tar.bz2
> *comments: we download the source code directly on the Apache 
> website: 
> http://www.apache.org/dyn/closer.cgi/cloudstack/releases/4.4.0/apache-cloudstack-4.4.0-src.tar.bz2
> 2, The working branch:
>4.4.0, master
> 3, Build environment:
>only use the Maven to test.
> 4,The detailed message during the APM building.
>
> Failed tests: 
> runUploadSslCertBadkeyAlgo(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertBadkeyPair(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertBadChain(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertNoRootCert(org.apache.cloudstack.network.lb.CertServiceTest)
> runUploadSslCertNoChain(org.apache.cloudstack.network.lb.CertServiceTest)
>
> Tests in error:
> runUploadSslCertWithCAChain(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
> runUploadSslCertSelfSignedNoPassword(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
> runUploadSslCertSelfSignedWithPassword(org.apache.cloudstack.network.lb.CertServiceTest):
>  Error parsing certificate data Certificate expired or not valid
>
> Tests run: 139, Failures: 5, Errors: 3, Skipped: 1
>
>
> [INFO] 
> 
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CloudStack Developer Tools - Checkstyle Configuration SUCCESS 
> [8.201s]
> [INFO] Apache CloudStack . SUCCESS [2.836s]
> [INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.335s]
> [INFO] Apache CloudStack Framework - Managed Context . SUCCESS [5.058s]
> [INFO] Apache CloudStack Utils ... SUCCESS [22.108s]
> [INFO] Apache CloudStack Framework ... SUCCESS [0.090s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [13.717s]
> [INFO] Apache CloudStack Framework - Configuration ... SUCCESS [7.190s]
> [INFO] Apache CloudStack API . SUCCESS [24.591s]
> [INFO] Apache CloudStack Framework - REST  SUCCESS [4.550s]
> [INFO] Apache CloudStack Framework - IPC . SUCCESS [8.496s]
> [INFO] Apache CloudStack Cloud Engine  SUCCESS [0.058s]
> [INFO] Apache CloudStack Cloud Engine API  SUCCESS [6.813s]
> [INFO] Apache CloudStack Framework - Security  SUCCESS [3.292s]
> [INFO] Apache CloudStack Core  SUCCESS [17.587s]
> [INFO] Apache CloudStack Agents .. SUCCESS [9.923s]
> [INFO] Apache CloudStack Framework - Clustering .. SUCCESS [4.526s]
> [INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [2.240s]
> [INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [22.376s]
> [INFO] Apache CloudStack Framework - Jobs  SUCCESS [9.565s]
> [INFO] Apache CloudStack Cloud Engine Internal Components API SUCCESS [5.471s]
> [INFO] Apache CloudStack Server .. FAILURE [1:16.272s]
> [INFO] Apache CloudStack Usage Server  SKIPPED
> [INFO] Apache XenSource XAPI . SKIPPED
> [INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED
> [INFO] Apache CloudStack Cloud Services .. SKIPPED
> [INFO] Apache CloudStack Secondary Storage ... SKIPPED
> [INFO] Apache CloudStack Secondary Storage Service ... SKIPPED
> [INFO] Apache CloudStack Engine Storage Component  SKIPPED
> [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED
> [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED
> [INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED
> [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED
> [INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED
> [INFO] Apache CloudStack Cloud Engine API  SKIPPED
> [INFO] Apache CloudStack Cloud Engine Service  SKIPPED
> [INFO] Apache CloudStack Plugin POM .. SKIPPED
> [

Review Request 27222: Usage Events to be captured based on Volume State Machine

2014-10-27 Thread Damodar Reddy Talakanti

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27222/
---

Review request for cloudstack, Kishan Kavala and Koushik Das.


Bugs: CLOUDSTACK-7792
https://issues.apache.org/jira/browse/CLOUDSTACK-7792


Repository: cloudstack-git


Description
---

Currently in CloudStack the Usage Events for Volume related actions are 
captured directly at various places.

But actually Volume has a State Machine which can be used to capture Usage 
Events for volume similar to VM Usage Events


Diffs
-

  api/src/com/cloud/storage/Volume.java b67a395 
  api/src/com/cloud/vm/VirtualMachine.java 99152d6 
  
engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/ObjectInDataStoreStateMachine.java
 b21616a 
  
engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
 4b40d5a 
  engine/schema/src/com/cloud/storage/VolumeVO.java e328253 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeObject.java
 f2b4c95 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
 9174d89 
  server/src/com/cloud/storage/StorageManagerImpl.java 153c25a 
  server/src/com/cloud/storage/VolumeApiServiceImpl.java b70d753 
  server/src/com/cloud/storage/listener/VolumeStateListener.java 0ba2969 

Diff: https://reviews.apache.org/r/27222/diff/


Testing
---

Tested on Simulator. Also tested on XenServer for the following use cases

1. Add Volume (Migrate, Destroy)
2. Attach Volume (Live Migration and normal Migration)
3. Upload Volume (Attach also)
4. Delete Volume
5. Deploy VM (With Data Disk and with out Data Disk)
6. Destroy VM (With Data Disk and with out Data Disk)
7. Recover VM
8. Restore VM


Thanks,

Damodar Reddy Talakanti



[API] Create/update user issue

2014-10-27 Thread Meghna Kale
Hi,

I'm was trying to call Cloudstack create/update user API from a python
script.
But when I add or update timezone it fails with 401 error code. I debugged
and found that timezone has a special character '/'. I replaced it with
'%2F', the API call returns success but it updates the timezone with the
'%2F' string in DB.

Can anyone help me with this.

Thanks
Meghna.


RE: UI: where has "Acquire new IP" button disappeared?

2014-10-27 Thread Gabor Apati-Nagy
I mean gridview is the table that the page displays. This has a row with the IP 
Address, that should display the button, but I see it is not there... 
Let me look into this later.

Thanks
Gabor

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: 24 October 2014 16:42
To: dev@cloudstack.apache.org
Subject: Re: UI: where has "Acquire new IP" button disappeared?

Hello,

This might sound stupid, but what is this "gridview" you are talking of?
This is what I am seeing http://imgur.com/9fl6ERD

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Gabor Apati-Nagy" 
> To: dev@cloudstack.apache.org
> Sent: Friday, 24 October, 2014 14:26:40
> Subject: RE: UI: where has "Acquire new IP" button disappeared?

> Hi Lucian,
> 
> The "View secondary IP" button should be displayed next to the IP 
> Address in the gridview. Clicking on that this page should display the 
> "Acquire new secondary IP" button. I have tested this in master and we 
> seem to have the same code in 4.4.
> Could you double check this? It could be confusing that the first 
> button is not in the heading, but is located in the grid.
> 
> Cheers,
> Gabor
> 
> 
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro]
> Sent: 24 October 2014 09:44
> To: dev@cloudstack.apache.org
> Subject: Re: UI: where has "Acquire new IP" button disappeared?
> 
> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7782 for this.
> 
> Anyone knows who we can bug for a fix?
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Nux!" 
>> To: dev@cloudstack.apache.org
>> Sent: Friday, 24 October, 2014 00:32:55
>> Subject: UI: where has "Acquire new IP" button disappeared?
> 
>> Hi,
>> 
>> Only now I notice that the option in the NIC tab of a VM
>> (Basic/Adv+SG) no longer has the "Acquire secondary" button, nor does 
>> it list the Secondary IPs.
>> I can set and see the extra IPs in cloudmonkey though if I run:
>> 
>> add iptonic nicid=XXX
>> list nics nicid=XXX virtualmachineid=XXX
>> 
>> 
>> This is not OK ... alas I notice it too late. Promise to test more next 
>> release.
>> 
>> Any way I can get that back? I have people using the UI who rely on 
>> this feature.
>> 
>> Lucian
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
> > www.nux.ro


Re: UI: where has "Acquire new IP" button disappeared?

2014-10-27 Thread Jayapal Reddy Uradi


Please check similar bug fix
https://issues.apache.org/jira/browse/CLOUDSTACK-6590

-Jayapal

On 27-Oct-2014, at 3:40 PM, Gabor Apati-Nagy 
 wrote:

> I mean gridview is the table that the page displays. This has a row with the 
> IP Address, that should display the button, but I see it is not there... 
> Let me look into this later.
> 
> Thanks
> Gabor
> 
> -Original Message-
> From: Nux! [mailto:n...@li.nux.ro] 
> Sent: 24 October 2014 16:42
> To: dev@cloudstack.apache.org
> Subject: Re: UI: where has "Acquire new IP" button disappeared?
> 
> Hello,
> 
> This might sound stupid, but what is this "gridview" you are talking of?
> This is what I am seeing http://imgur.com/9fl6ERD
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro
> 
> - Original Message -
>> From: "Gabor Apati-Nagy" 
>> To: dev@cloudstack.apache.org
>> Sent: Friday, 24 October, 2014 14:26:40
>> Subject: RE: UI: where has "Acquire new IP" button disappeared?
> 
>> Hi Lucian,
>> 
>> The "View secondary IP" button should be displayed next to the IP 
>> Address in the gridview. Clicking on that this page should display the 
>> "Acquire new secondary IP" button. I have tested this in master and we 
>> seem to have the same code in 4.4.
>> Could you double check this? It could be confusing that the first 
>> button is not in the heading, but is located in the grid.
>> 
>> Cheers,
>> Gabor
>> 
>> 
>> -Original Message-
>> From: Nux! [mailto:n...@li.nux.ro]
>> Sent: 24 October 2014 09:44
>> To: dev@cloudstack.apache.org
>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>> 
>> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7782 for this.
>> 
>> Anyone knows who we can bug for a fix?
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "Nux!" 
>>> To: dev@cloudstack.apache.org
>>> Sent: Friday, 24 October, 2014 00:32:55
>>> Subject: UI: where has "Acquire new IP" button disappeared?
>> 
>>> Hi,
>>> 
>>> Only now I notice that the option in the NIC tab of a VM
>>> (Basic/Adv+SG) no longer has the "Acquire secondary" button, nor does 
>>> it list the Secondary IPs.
>>> I can set and see the extra IPs in cloudmonkey though if I run:
>>> 
>>> add iptonic nicid=XXX
>>> list nics nicid=XXX virtualmachineid=XXX
>>> 
>>> 
>>> This is not OK ... alas I notice it too late. Promise to test more next 
>>> release.
>>> 
>>> Any way I can get that back? I have people using the UI who rely on 
>>> this feature.
>>> 
>>> Lucian
>>> 
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro



Re: [API] Create/update user issue

2014-10-27 Thread Rohit Yadav
Hi,

> On 27-Oct-2014, at 2:58 pm, Meghna Kale  wrote:
>
> I'm was trying to call Cloudstack create/update user API from a python
> script.

Can you share the python script? Perhaps it was assume some data?

> But when I add or update timezone it fails with 401 error code. I debugged
> and found that timezone has a special character '/'. I replaced it with
> '%2F', the API call returns success but it updates the timezone with the
> '%2F' string in DB.

Url encode when you make API requests. The default timezone is GMT, unless 
you’ve passed timezone arg.

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 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: UI: where has "Acquire new IP" button disappeared?

2014-10-27 Thread Nux!
Thanks for that, the new javascript file fixed the issue.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=ui/scripts/ui/widgets/detailView.js;h=9c73911f3dcaecd8327f76c84043c115fdb184d9;hb=d9fcb87

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jayapal Reddy Uradi" 
> To: "" 
> Sent: Monday, 27 October, 2014 10:24:14
> Subject: Re: UI: where has "Acquire new IP" button disappeared?

> Please check similar bug fix
> https://issues.apache.org/jira/browse/CLOUDSTACK-6590
> 
> -Jayapal
> 
> On 27-Oct-2014, at 3:40 PM, Gabor Apati-Nagy 
> wrote:
> 
>> I mean gridview is the table that the page displays. This has a row with the 
>> IP
>> Address, that should display the button, but I see it is not there...
>> Let me look into this later.
>> 
>> Thanks
>> Gabor
>> 
>> -Original Message-
>> From: Nux! [mailto:n...@li.nux.ro]
>> Sent: 24 October 2014 16:42
>> To: dev@cloudstack.apache.org
>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>> 
>> Hello,
>> 
>> This might sound stupid, but what is this "gridview" you are talking of?
>> This is what I am seeing http://imgur.com/9fl6ERD
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "Gabor Apati-Nagy" 
>>> To: dev@cloudstack.apache.org
>>> Sent: Friday, 24 October, 2014 14:26:40
>>> Subject: RE: UI: where has "Acquire new IP" button disappeared?
>> 
>>> Hi Lucian,
>>> 
>>> The "View secondary IP" button should be displayed next to the IP
>>> Address in the gridview. Clicking on that this page should display the
>>> "Acquire new secondary IP" button. I have tested this in master and we
>>> seem to have the same code in 4.4.
>>> Could you double check this? It could be confusing that the first
>>> button is not in the heading, but is located in the grid.
>>> 
>>> Cheers,
>>> Gabor
>>> 
>>> 
>>> -Original Message-
>>> From: Nux! [mailto:n...@li.nux.ro]
>>> Sent: 24 October 2014 09:44
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>>> 
>>> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7782 for this.
>>> 
>>> Anyone knows who we can bug for a fix?
>>> 
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro
>>> 
>>> - Original Message -
 From: "Nux!" 
 To: dev@cloudstack.apache.org
 Sent: Friday, 24 October, 2014 00:32:55
 Subject: UI: where has "Acquire new IP" button disappeared?
>>> 
 Hi,
 
 Only now I notice that the option in the NIC tab of a VM
 (Basic/Adv+SG) no longer has the "Acquire secondary" button, nor does
 it list the Secondary IPs.
 I can set and see the extra IPs in cloudmonkey though if I run:
 
 add iptonic nicid=XXX
 list nics nicid=XXX virtualmachineid=XXX
 
 
 This is not OK ... alas I notice it too late. Promise to test more next 
 release.
 
 Any way I can get that back? I have people using the UI who rely on
 this feature.
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
> >>> www.nux.ro


[DISCUSS] Paddling for CloudMonkey 5.3.0 release

2014-10-27 Thread Rohit Yadav
Hi,

Since CloudMonkey 5.2.0 release, the CloudMonkey master branch has received few 
bug fixes and command line usage enhancements such as writing errors to stderr 
(correct exit number is still tricky), command line flags to control display 
behaviours, filters for default output format etc.

Please let me know if you need any new feature(s) or issues you would like to 
be fixed. Patches and contributions are welcome. I would like to start a 
release process for 5.3.0 soon. Thanks.

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 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] Paddling for CloudMonkey 5.3.0 release

2014-10-27 Thread Nux!
It fits all my needs for now, but thanks for asking!

Keep up the good job,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Rohit Yadav" 
> To: "dev" 
> Sent: Monday, 27 October, 2014 10:59:43
> Subject: [DISCUSS] Paddling for CloudMonkey 5.3.0 release

> Hi,
> 
> Since CloudMonkey 5.2.0 release, the CloudMonkey master branch has received 
> few
> bug fixes and command line usage enhancements such as writing errors to stderr
> (correct exit number is still tricky), command line flags to control display
> behaviours, filters for default output format etc.
> 
> Please let me know if you need any new feature(s) or issues you would like to 
> be
> fixed. Patches and contributions are welcome. I would like to start a release
> process for 5.3.0 soon. Thanks.
> 
> 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 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: Review Request 27222: Usage Events to be captured based on Volume State Machine

2014-10-27 Thread Damodar Reddy Talakanti

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27222/
---

(Updated Oct. 27, 2014, 11:53 a.m.)


Review request for cloudstack, Kishan Kavala and Koushik Das.


Changes
---

Handled the Resize Case


Bugs: CLOUDSTACK-7792
https://issues.apache.org/jira/browse/CLOUDSTACK-7792


Repository: cloudstack-git


Description
---

Currently in CloudStack the Usage Events for Volume related actions are 
captured directly at various places.

But actually Volume has a State Machine which can be used to capture Usage 
Events for volume similar to VM Usage Events


Diffs (updated)
-

  api/src/com/cloud/storage/Volume.java b67a395 
  api/src/com/cloud/vm/VirtualMachine.java 99152d6 
  
engine/api/src/org/apache/cloudstack/engine/subsystem/api/storage/ObjectInDataStoreStateMachine.java
 b21616a 
  
engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java
 4b40d5a 
  engine/schema/src/com/cloud/storage/VolumeVO.java e328253 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeObject.java
 f2b4c95 
  
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
 9174d89 
  server/src/com/cloud/storage/StorageManagerImpl.java 153c25a 
  server/src/com/cloud/storage/VolumeApiServiceImpl.java b70d753 
  server/src/com/cloud/storage/listener/VolumeStateListener.java 0ba2969 

Diff: https://reviews.apache.org/r/27222/diff/


Testing (updated)
---

Tested on Simulator. Also tested on XenServer for the following use cases

1. Add Volume (Migrate, Destroy)
2. Attach Volume (Live Migration and normal Migration)
3. Upload Volume (Attach also)
4. Delete Volume
5. Deploy VM (With Data Disk and with out Data Disk)
6. Destroy VM (With Data Disk and with out Data Disk)
7. Recover VM
8. Restore VM
9. Resize Volume


Thanks,

Damodar Reddy Talakanti



Issue with Snapshot push to Swift

2014-10-27 Thread Francois Gaudreault

Hi,

I am facing a weird issue where the volume snapshots are not pushed to 
Swift, but the system thinks it's there. Any ideas where to start 
troubleshooting? We are using XenServer.


In the snapshot_spool_ref, I see the database entries for my snapshot, 
but in reality, the file is not in Swift (verified using CyberDuck):


| 500 |7 | 193 | 2014-10-27 15:21:44 | 
NULL| NULL   | Primary| 68719476736 | 0 
|  0 | 
20831aa6-bcc6-41c6-94e9-77e480e807c3   | Ready 
|2 |   0 | 2014-10-27 15:21:47 |   965 |
---> | 502 |4 | 193 | 2014-10-27 15:21:47 | 
NULL| NULL   | Image  |   0 | 0 
|  0 | 
S-965/fc30d0e5-dc26-42db-b5ca-5e7cf8ef3ef8.vhd | Ready 
|2 |   0 | 2014-10-27 15:25:22 |   965 |


Thanks

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

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



Edit rights to Wiki

2014-10-27 Thread Gabor Apati-Nagy
Hi,
I'd like to update UI section of Browser-based Template / Volume 
upload
 on wiki [1].
Could someone please grant me the permissions needed?
Thanks,
Gabor
[1] https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=39620237



Re: [PROPOSAL] Remove SNAPSHOT from versioning and keep tags on the release branch

2014-10-27 Thread Nate Gordon
Sorry for not responding sooner, I took a few days off to lay 300 sqft of
tile.

I have a local Artifactory server that I'm publishing to based on builds
that are triggered from key branches in the ACS repo. I'm not using
something that is publicly available. For CCP, it is primarily the same
codebase, so we rely on that to have a single version of our plugins that
works for both.

For the reasons why dropping -SNAPSHOT is desired, I don't see git history
divergence being an actual problem. Every maven project has this exact
setup. The deb/rpm issue is more valid, but I feel is a solvable problem
without dropping -SNAPSHOT.

On Fri, Oct 24, 2014 at 12:29 AM, Rohit Yadav 
wrote:

> Hi Nate,
>
> > On 24-Oct-2014, at 2:28 am, Nate Gordon  wrote:
> >
> > The jars are used when developing plugins outside of the core repo. My
> > company develops plugins which are self contained jars for our customers.
> > We do this without modifying the core code so that we aren't forking ACS
> in
> > the process and to support CCP.
>
> Interesting use-case, how do you get the jars? From which maven repository?
>
> Of the main sources of publicly published jars, I cannot find any
> CloudStack projects or jars (for all official releases);
> http://search.maven.org/#search%7Cga%7C1%7Ccloudstack
> http://mvnrepository.com/search?q=cloudstack
> http://repo.maven.apache.org/maven2/org/apache
>
> In case of ACS, how do you get the jars if you’re not using a published
> repo and extracting jars from it?
>
> In case of CCP, they are not opensource (or that their changes/interfaces
> are documented) or publish jars on a some maven repository (not to mention
> they use the same artifact ID etc), so the only way to get CCP’s jars is to
> get a package tarball, extract the debs/rpms and get the jars.
>
> If in future we decide to do something like publish jars on a public maven
> repository for GA releases, then we can consider adding -SNAPSHOT otherwise
> I would encourage pragmatism over a pedantic approach. By not keeping
> -SNAPSHOT, we reduce the git history divergence and deb/rpm build issues we
> see too often.
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>



-- 


*Nate Gordon*Director of Technology | Appcore - the business of cloud
computing®

Office +1.800.735.7104  |  Direct +1.515.612.7787
nate.gor...@appcore.com  |  www.appcore.com

--

The information in this message is intended for the named recipients only.
It may contain information that is privileged, confidential or otherwise
protected from disclosure. If you are not the intended recipient, you are
hereby notified that any disclosure, copying, distribution, or the taking
of any action in reliance on the contents of this message is strictly
prohibited. If you have received this e-mail in error, do not print it or
disseminate it or its contents. In such event, please notify the sender by
return e-mail and delete the e-mail file immediately thereafter. Thank you.


Re: Issue with Snapshot push to Swift

2014-10-27 Thread Francois Gaudreault

Further details. Looks like the swift script fails on my dom0 with:
Oct 27 12:00:47 cca-c7-xen01 xapi: 
[debug|cca-c7-xen01|11232208|Async.host.call_plugin 
R:59f11fa92646|dispatcher] Server_helpers.exec exception_handler: Got 
exception XENAPI_PLUGIN_FAILURE: [ swift; TypeError; unsubscriptable 
object ]


What can cause this?

FG

On 2014-10-27 11:29 AM, Francois Gaudreault wrote:

Hi,

I am facing a weird issue where the volume snapshots are not pushed to 
Swift, but the system thinks it's there. Any ideas where to start 
troubleshooting? We are using XenServer.


In the snapshot_spool_ref, I see the database entries for my snapshot, 
but in reality, the file is not in Swift (verified using CyberDuck):


| 500 |7 | 193 | 2014-10-27 15:21:44 | 
NULL| NULL   | Primary| 68719476736 | 
0 |  0 | 
20831aa6-bcc6-41c6-94e9-77e480e807c3   | Ready 
|2 |   0 | 2014-10-27 15:21:47 | 965 |
---> | 502 |4 | 193 | 2014-10-27 15:21:47 | 
NULL| NULL   | Image  |   0 | 
0 |  0 | 
S-965/fc30d0e5-dc26-42db-b5ca-5e7cf8ef3ef8.vhd | Ready 
|2 |   0 | 2014-10-27 15:25:22 | 965 |


Thanks




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

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



RE: UI: where has "Acquire new IP" button disappeared?

2014-10-27 Thread Gabor Apati-Nagy
It seems that this fix for Critical bug CLOUDSTACK-6590 (commit 
d9fcb877309ce176d5458e63bfd1a174344b5fce) is only in master, but not in 4.4.

In order to fix this in 4.4 as well, I would suggest it to be cherry-picked to 
4.4. 
Brian, is this feasible?

Thanks,
Gabor

-Original Message-
From: Nux! [mailto:n...@li.nux.ro] 
Sent: 27 October 2014 10:45
To: dev@cloudstack.apache.org
Subject: Re: UI: where has "Acquire new IP" button disappeared?

Thanks for that, the new javascript file fixed the issue.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=ui/scripts/ui/widgets/detailView.js;h=9c73911f3dcaecd8327f76c84043c115fdb184d9;hb=d9fcb87

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jayapal Reddy Uradi" 
> To: "" 
> Sent: Monday, 27 October, 2014 10:24:14
> Subject: Re: UI: where has "Acquire new IP" button disappeared?

> Please check similar bug fix
> https://issues.apache.org/jira/browse/CLOUDSTACK-6590
> 
> -Jayapal
> 
> On 27-Oct-2014, at 3:40 PM, Gabor Apati-Nagy 
> 
> wrote:
> 
>> I mean gridview is the table that the page displays. This has a row 
>> with the IP Address, that should display the button, but I see it is not 
>> there...
>> Let me look into this later.
>> 
>> Thanks
>> Gabor
>> 
>> -Original Message-
>> From: Nux! [mailto:n...@li.nux.ro]
>> Sent: 24 October 2014 16:42
>> To: dev@cloudstack.apache.org
>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>> 
>> Hello,
>> 
>> This might sound stupid, but what is this "gridview" you are talking of?
>> This is what I am seeing http://imgur.com/9fl6ERD
>> 
>> --
>> Sent from the Delta quadrant using Borg technology!
>> 
>> Nux!
>> www.nux.ro
>> 
>> - Original Message -
>>> From: "Gabor Apati-Nagy" 
>>> To: dev@cloudstack.apache.org
>>> Sent: Friday, 24 October, 2014 14:26:40
>>> Subject: RE: UI: where has "Acquire new IP" button disappeared?
>> 
>>> Hi Lucian,
>>> 
>>> The "View secondary IP" button should be displayed next to the IP 
>>> Address in the gridview. Clicking on that this page should display 
>>> the "Acquire new secondary IP" button. I have tested this in master 
>>> and we seem to have the same code in 4.4.
>>> Could you double check this? It could be confusing that the first 
>>> button is not in the heading, but is located in the grid.
>>> 
>>> Cheers,
>>> Gabor
>>> 
>>> 
>>> -Original Message-
>>> From: Nux! [mailto:n...@li.nux.ro]
>>> Sent: 24 October 2014 09:44
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>>> 
>>> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7782 for this.
>>> 
>>> Anyone knows who we can bug for a fix?
>>> 
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>> 
>>> Nux!
>>> www.nux.ro
>>> 
>>> - Original Message -
 From: "Nux!" 
 To: dev@cloudstack.apache.org
 Sent: Friday, 24 October, 2014 00:32:55
 Subject: UI: where has "Acquire new IP" button disappeared?
>>> 
 Hi,
 
 Only now I notice that the option in the NIC tab of a VM
 (Basic/Adv+SG) no longer has the "Acquire secondary" button, nor 
 does it list the Secondary IPs.
 I can set and see the extra IPs in cloudmonkey though if I run:
 
 add iptonic nicid=XXX
 list nics nicid=XXX virtualmachineid=XXX
 
 
 This is not OK ... alas I notice it too late. Promise to test more next 
 release.
 
 Any way I can get that back? I have people using the UI who rely on 
 this feature.
 
 Lucian
 
 --
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
> >>> www.nux.ro


Re: Pulling Resource usage for domain or account

2014-10-27 Thread Logan Barfield
Yeah, that doesn't give all of the information though.  I'll file an
enhancement to add this functionality to the listDomains call I suppose.
Until next year I guess we'll need to hack in a workaround.


Thank You,

Logan Barfield
Tranquil Hosting

On Fri, Oct 24, 2014 at 5:58 PM, Nitin Mehta  wrote:

> I think listAccounts api also gives that info ? If this is not easy to
> find please find an enhancement on JIRA. Thanks.
>
> -Nitin
>
> On 24/10/14 11:51 AM, "Logan Barfield"  wrote:
>
> >We have a cluster that is dedicated to a specific domain, and that domain
> >has resource limits set.
> >
> >What would be the best way to display the currently utilized resources to
> >the user of that domain?
> >
> >It's fairly easy with an API call to get the "Max" for each resource, but
> >so far I've been unable to find a good way to grab the currently utilized
> >resources (memory, primary storage, secondary storage) via the
> >Domain-Admin
> >or User APIs.
> >
> >I can do it via the Admin API, but even then it takes a few different
> >calls
> >to grab the data before cleaning it up and formatting it.
>
>


Re: Review Request 26053: UI: Upgrade jquery-validate lib to the latest 1.13.0 version with the additional-methods included.

2014-10-27 Thread Gabor Apati-Nagy

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26053/
---

(Updated Oct. 27, 2014, 5:10 p.m.)


Review request for cloudstack, Brian Federle and Jessica Wang.


Changes
---

Fixed core.js where obsolete function was called, changed jQuery.format to 
jQuery.validator.format.


Bugs: CLOUDSTACK-7659
https://issues.apache.org/jira/browse/CLOUDSTACK-7659


Repository: cloudstack-git


Description
---

This patch upgrades jquery-validation library and also adds the 
additional-methods.js extension that offers additional validation options (same 
license applies, same publisher). I also updated the LICENSE file to show the 
added file as well.


Diffs (updated)
-

  LICENSE 497323bffce2b2afab28c187cfdafa960944ed94 
  ui/index.jsp 42973f70855d0ef00391cf69ddd895d0b832aa8a 
  ui/lib/jquery.validate.additional-methods.js PRE-CREATION 
  ui/lib/jquery.validate.js 72296a61f208298f2e54ac7b54b70557f41e0f84 
  ui/scripts/ui/core.js add7d06dedb1101b152fee53caa300d0104ab2cc 

Diff: https://reviews.apache.org/r/26053/diff/


Testing
---

Tested that the validation is still working as expected.


Thanks,

Gabor Apati-Nagy



RE: vm.password.length issue in 4.4.1-SNAPSHOT

2014-10-27 Thread Demetrius Tsitrelis
What about changing the system VM random passwords to use 
generateRandomPassword() instead of generatePresharedKey()?  Seems like it 
should be the same function.

-Original Message-
From: Ian Duffy [mailto:i...@ianduffy.ie] 
Sent: Friday, October 24, 2014 6:00 PM
To: CloudStack Dev
Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT

>  I agree adding 3 characters is a bug and willing to fix it.

Me too.. I find it very worrying that the code base has tests that cater 
for bugs to be valid input.
Really makes me wonder about the quality of the product.

Anyways... I did a grep of the codebase for usage of the method. Its not used 
anywhere else... (Which does make me wonder why it existed in the first place 
and if its functionality has been duplicated else where)

>  Any objections to setting the minimum to 8, the previous default?

No objections from me.

On 25 October 2014 01:41, Amogh Vasekar  wrote:

> Do note that the password generated here is considered temporary, as 
> previously pointed out by Chiradeep in another thread.
>
> Thanks
> Amogh
>
> On 10/24/14 5:31 PM, "Nux!"  wrote:
>
> >Imho, considering the password is not very secure (it's missing 
> >symbols), we should increase the length.
> >For my personal stuff I default to 15 chars.
> >
> >--
> >Sent from the Delta quadrant using Borg technology!
> >
> >Nux!
> >www.nux.ro
> >
> >- Original Message -
> >> From: "Amogh Vasekar" 
> >> To: dev@cloudstack.apache.org
> >> Cc: "laszlo hornyak" 
> >> Sent: Saturday, 25 October, 2014 00:37:07
> >> Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT
> >
> >> Hi Laszlo,
> >>
> >> Any comments on the below? I agree adding 3 characters is a bug and 
> >> willing to fix it.
> >>
> >> In addition, Ian, I believe we should set a minimum allowed value 
> >>for the  config value vm.password.length. Any objections to setting 
> >>the minimum to  8, the previous default?
> >>
> >> Thanks
> >> Amogh
> >>
> >> On 10/13/14 5:34 PM, "Ian Duffy"  wrote:
> >>
> >>>The only other usage of it is within 
> >>>server/src/com/cloud/server/ConfigurationServerImpl.java
> >>>Its used for creating a Secondary storage vm copy password.
> >>>
> >>>I'm seeing absolutely no reason why we have 3 values going in no 
> >>>matter what, I'm willing to say its a bug. I'm curious to why the 
> >>>tests are written to deal with it though
> >>>
> >>>On 14 October 2014 00:26, Nux!  wrote:
> >>>
>  Well, it's a bit messy, but still better than the old password length.
>  Ideally this should get clarified/fixed, but for now I am happy 
> with my
>  long+3 password! :)
> 
> 
>  Cheers,
>  Lucian
> 
>  --
>  Sent from the Delta quadrant using Borg technology!
> 
>  Nux!
>  www.nux.ro
> 
>  - Original Message -
>  > From: "Ian Duffy" 
>  > To: "CloudStack Dev" 
>  > Cc: "laszlo hornyak" 
>  > Sent: Monday, 13 October, 2014 19:54:53
>  > Subject: Re: vm.password.length issue in 4.4.1-SNAPSHOT
> 
>  > Hey Nux,
>  >
>  > So I passed this work off to a util class that was already 
>  > present
> in
> the
>  > code base "PasswordGenerator"
>  >
>  >@Override
>  >public String generateRandomPassword() {
>  >Integer passwordLength = 
>  > Integer.parseInt(_configDao.getValue("vm.password.length"));
>  >return
> PasswordGenerator.generateRandomPassword(passwordLength);
>  >}
>  >
>  > Not a clue why but the generateRandomPassword method creates a
> random
>  > 3-character string first then loops through to generate n 
>  > random
>  characters.
>  >
>  >public static String generateRandomPassword(int num) {
>  >Random r = new SecureRandom();
>  >StringBuilder password = new StringBuilder();
>  >
>  >// Generate random 3-character string with a lowercase
> character,
>  >// uppercase character, and a digit
>  >
>  >
> 
> password.append(generateLowercaseChar(r)).append(generateUppercase
> Char(
> r)
> ).append(generateDigit(r));
>  >
>  >// Generate a random n-character string with only lowercase
>  >// characters
>  >for (int i = 0; i < num; i++) {
>  >password.append(generateLowercaseChar(r));
>  >}
>  >
>  >return password.toString();
>  >}
>  >
>  > The unit tests seem to accommodate for this aswell:
>  >
>  >// actual length is requested length + 3
>  >
>  >
> Assert.assertTrue(PasswordGenerator.generateRandomPassword(0).leng
> th()
> ==
>  > 3);
>  >
>  >
> Assert.assertTrue(PasswordGenerator.generateRandomPassword(1).leng
> th()
> ==
>  > 4);
>  >
>  > I'm guessing there's some reasoning for this CCing Laszlo 
>  > who
>  according
>

Re: [API] Create/update user issue

2014-10-27 Thread Meghna Kale
Thanks Rohit for the reply.
Python script -
I just found it on internet.
   request_type = 'GET'
params = {
'command':'updateUser',
'id':user_id
}
if email:   params['email'] = email
if first_name:  params['firstname'] = first_name
if last_name:   params['lastname'] = last_name
if password:params['password'] = password
if timezone:params['timezone'] = timezone
if user_name:   params['username'] = user_name

params['response'] = 'json'
params['apiKey'] = self.api_key

# build the query string
query_params = map(lambda (k,v):k+"="+urllib.quote(str(v)),
params.items())
query_string = "&".join(query_params)

# build signature
query_params.sort()
signature_string = "&".join(query_params).lower()
signature =
urllib.quote(base64.b64encode(hmac.new(self.secret_key, signature_string,
hashlib.sha1).digest()))

# final query string...
url =
self.protocol+"://"+self.host+self.uri+"?"+query_string+"&signature="+signature
print url
output = None
try:
output = json.loads(urllib2.urlopen(url).read())
Thanks
Meghna.

On Mon, Oct 27, 2014 at 4:02 PM, Rohit Yadav 
wrote:

> Hi,
>
> > On 27-Oct-2014, at 2:58 pm, Meghna Kale 
> wrote:
> >
> > I'm was trying to call Cloudstack create/update user API from a python
> > script.
>
> Can you share the python script? Perhaps it was assume some data?
>
> > But when I add or update timezone it fails with 401 error code. I
> debugged
> > and found that timezone has a special character '/'. I replaced it with
> > '%2F', the API call returns success but it updates the timezone with the
> > '%2F' string in DB.
>
> Url encode when you make API requests. The default timezone is GMT, unless
> you’ve passed timezone arg.
>
> Regards,
> Rohit Yadav
> Software Architect, ShapeBlue
> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
> Blog: bhaisaab.org | Twitter: @_bhaisaab
>
>
>
> Find out more about ShapeBlue and our range of CloudStack related services
>
> IaaS Cloud Design & Build<
> http://shapeblue.com/iaas-cloud-design-and-build//>
> CSForge – rapid IaaS deployment framework
> CloudStack Consulting
> CloudStack Infrastructure Support<
> http://shapeblue.com/cloudstack-infrastructure-support/>
> CloudStack Bootcamp Training Courses<
> http://shapeblue.com/cloudstack-training/>
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
> a company registered by The Republic of South Africa and is traded under
> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>


RE: UI: where has "Acquire new IP" button disappeared?

2014-10-27 Thread Brian Federle
Gabor, yes, that shouldn't be a problem to cherry-pick it into 4.4.

-Brian

From: Gabor Apati-Nagy
Sent: Monday, October 27, 2014 9:26 AM
To: dev@cloudstack.apache.org
Cc: Brian Federle
Subject: RE: UI: where has "Acquire new IP" button disappeared?

It seems that this fix for Critical bug CLOUDSTACK-6590 (commit 
d9fcb877309ce176d5458e63bfd1a174344b5fce) is only in master, but not in 4.4.

In order to fix this in 4.4 as well, I would suggest it to be cherry-picked to 
4.4.
Brian, is this feasible?

Thanks,
Gabor

-Original Message-
From: Nux! [mailto:n...@li.nux.ro]
Sent: 27 October 2014 10:45
To: dev@cloudstack.apache.org
Subject: Re: UI: where has "Acquire new IP" button disappeared?

Thanks for that, the new javascript file fixed the issue.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob_plain;f=ui/scripts/ui/widgets/detailView.js;h=9c73911f3dcaecd8327f76c84043c115fdb184d9;hb=d9fcb87

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -
> From: "Jayapal Reddy Uradi" 
> To: "" 
> Sent: Monday, 27 October, 2014 10:24:14
> Subject: Re: UI: where has "Acquire new IP" button disappeared?

> Please check similar bug fix
> https://issues.apache.org/jira/browse/CLOUDSTACK-6590
>
> -Jayapal
>
> On 27-Oct-2014, at 3:40 PM, Gabor Apati-Nagy
> 
> wrote:
>
>> I mean gridview is the table that the page displays. This has a row
>> with the IP Address, that should display the button, but I see it is not 
>> there...
>> Let me look into this later.
>>
>> Thanks
>> Gabor
>>
>> -Original Message-
>> From: Nux! [mailto:n...@li.nux.ro]
>> Sent: 24 October 2014 16:42
>> To: dev@cloudstack.apache.org
>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>>
>> Hello,
>>
>> This might sound stupid, but what is this "gridview" you are talking of?
>> This is what I am seeing http://imgur.com/9fl6ERD
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> - Original Message -
>>> From: "Gabor Apati-Nagy" 
>>> To: dev@cloudstack.apache.org
>>> Sent: Friday, 24 October, 2014 14:26:40
>>> Subject: RE: UI: where has "Acquire new IP" button disappeared?
>>
>>> Hi Lucian,
>>>
>>> The "View secondary IP" button should be displayed next to the IP
>>> Address in the gridview. Clicking on that this page should display
>>> the "Acquire new secondary IP" button. I have tested this in master
>>> and we seem to have the same code in 4.4.
>>> Could you double check this? It could be confusing that the first
>>> button is not in the heading, but is located in the grid.
>>>
>>> Cheers,
>>> Gabor
>>>
>>>
>>> -Original Message-
>>> From: Nux! [mailto:n...@li.nux.ro]
>>> Sent: 24 October 2014 09:44
>>> To: dev@cloudstack.apache.org
>>> Subject: Re: UI: where has "Acquire new IP" button disappeared?
>>>
>>> Opened https://issues.apache.org/jira/browse/CLOUDSTACK-7782 for this.
>>>
>>> Anyone knows who we can bug for a fix?
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>> - Original Message -
 From: "Nux!" 
 To: dev@cloudstack.apache.org
 Sent: Friday, 24 October, 2014 00:32:55
 Subject: UI: where has "Acquire new IP" button disappeared?
>>>
 Hi,

 Only now I notice that the option in the NIC tab of a VM
 (Basic/Adv+SG) no longer has the "Acquire secondary" button, nor
 does it list the Secondary IPs.
 I can set and see the extra IPs in cloudmonkey though if I run:

 add iptonic nicid=XXX
 list nics nicid=XXX virtualmachineid=XXX


 This is not OK ... alas I notice it too late. Promise to test more next 
 release.

 Any way I can get that back? I have people using the UI who rely on
 this feature.

 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
> >>> www.nux.ro


Re: [API] Create/update user issue

2014-10-27 Thread Rohit Yadav
Hi Meghna,

The timezone [2] that you provide to this python script already URL encodes the 
string in the param dictionary [1]. So, if you give it a timezone with a “/“ 
character, for example in case of “Asia/Kolkata” if you give it 
“Asia%2FKolkata” then the URL encoded value is “Asia%252FSeoul”.

The CloudStack ApiServer URL decode parameters received in an API request [1] 
so the timezone string becomes “Asia%2FSeoul” on decoding, therefore it is 
stored with the %2F string in DB and not “/“. So, please don’t double URL 
encode.

I tried the following for myself against 4.3.1 and it works for me;
cloudmonkey update user id= timezone=Asia/Kolkata

[1] http://cloudstack.apache.org/docs/api/apidocs-4.3/user/updateUser.html
[2] http://docs.cloudstack.apache.org/en/latest/dev.html#time-zones

> On 27-Oct-2014, at 10:54 pm, Meghna Kale  wrote:
>
> Thanks Rohit for the reply.
> Python script -
> I just found it on internet.
>   request_type = 'GET'
>params = {
>'command':'updateUser',
>'id':user_id
>}
>if email:   params['email'] = email
>if first_name:  params['firstname'] = first_name
>if last_name:   params['lastname'] = last_name
>if password:params['password'] = password
>if timezone:params['timezone'] = timezone
>if user_name:   params['username'] = user_name
>
>params['response'] = 'json'
>params['apiKey'] = self.api_key
>
># build the query string
>query_params = map(lambda (k,v):k+"="+urllib.quote(str(v)),
> params.items())
>query_string = "&".join(query_params)
>
># build signature
>query_params.sort()
>signature_string = "&".join(query_params).lower()
>signature =
> urllib.quote(base64.b64encode(hmac.new(self.secret_key, signature_string,
> hashlib.sha1).digest()))
>
># final query string...
>url =
> self.protocol+"://"+self.host+self.uri+"?"+query_string+"&signature="+signature
>print url
>output = None
>try:
>output = json.loads(urllib2.urlopen(url).read())
> Thanks
> Meghna.
>
> On Mon, Oct 27, 2014 at 4:02 PM, Rohit Yadav 
> wrote:
>
>> Hi,
>>
>>> On 27-Oct-2014, at 2:58 pm, Meghna Kale 
>> wrote:
>>>
>>> I'm was trying to call Cloudstack create/update user API from a python
>>> script.
>>
>> Can you share the python script? Perhaps it was assume some data?
>>
>>> But when I add or update timezone it fails with 401 error code. I
>> debugged
>>> and found that timezone has a special character '/'. I replaced it with
>>> '%2F', the API call returns success but it updates the timezone with the
>>> '%2F' string in DB.
>>
>> Url encode when you make API requests. The default timezone is GMT, unless
>> you’ve passed timezone arg.
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>

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 Infrastruct

Fwd: Management server is stuck after upgrade to 4.4.1

2014-10-27 Thread Thomas Schneider
Hi,

I solved the problem.

The column display from the snapshot _policy was missing after update.

Just do: ALTER TABLE  `snapshot_policy` ADD  `display` TINYINT( 1 ) NOT
NULL DEFAULT  '1'

Regards,


 Message original 
Sujet:  Management server is stuck after upgrade to 4.4.1
Date :  Fri, 24 Oct 2014 14:39:20 +0200
De :Thomas Schneider 
Pour :  dev@cloudstack.apache.org



Hello,

I tried yo upgrade Cloudstack from 4.4.0 to 4.4.1, following the
instructions of the release note.
When I restarted the MS the update of the database worked as expected
but after the server is stuck.

Regards,

Partial log output:

2014-10-24 14:01:54,283 INFO  [c.c.u.d.T.Transaction] (main:null) Is
Data Base High Availiability enabled? Ans : false
2014-10-24 14:01:54,843 DEBUG [c.c.u.d.ConnectionConcierge] (main:null)
Registering a database connection for LockMaster1
2014-10-24 14:01:54,843 INFO  [c.c.u.d.Merovingian2] (main:null)
Cleaning up locks for 7012003873552
2014-10-24 14:01:54,853 INFO  [c.c.u.d.Merovingian2] (main:null)
Released 0 locks for 7012003873552
2014-10-24 14:01:54,895 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
(main:null) Running system integrity checker
com.cloud.upgrade.DatabaseUpgradeChecker@6345943f
2014-10-24 14:01:54,896 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
Grabbing lock to check for database upgrade.
2014-10-24 14:01:55,111 DEBUG [c.c.u.d.VersionDaoImpl] (main:null)
Checking to see if the database is at a version before it was the
version table is created
2014-10-24 14:01:55,140 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
DB version = 4.4.0 Code Version = 4.4.1
2014-10-24 14:01:55,142 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
Database upgrade must be performed from 4.4.0 to 4.4.1
2014-10-24 14:01:55,142 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
Running upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Looking for
db/schema-440to441.sql in the classpath
2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) System
resource: file:/usr/share/cloudstack-management/setup/db/schema-440to441.sql
2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Absolute path
=  /usr/share/cloudstack-management/setup/db/schema-440to441.sql
...
2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- Fix
CLOUDSTACK-7624
2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) ALTER
TABLE `cloud`.`configuration` MODIFY default_value varchar(8191), MODIFY
value varchar(8191)
2014-10-24 14:01:55,398 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating System Vm template IDs
2014-10-24 14:01:55,406 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating KVM System Vms
2014-10-24 14:01:55,410 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating XenServer System Vms
2014-10-24 14:01:55,414 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating VMware System Vms
2014-10-24 14:01:55,414 WARN  [c.c.u.d.Upgrade440to441] (main:null)
4.4.0 VMware SystemVm template not found. VMware hypervisor is not used,
so not failing upgrade
2014-10-24 14:01:55,415 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating Hyperv System Vms
2014-10-24 14:01:55,416 WARN  [c.c.u.d.Upgrade440to441] (main:null)
4.4.0 Hyperv SystemVm template not found. Hyperv hypervisor is not used,
so not failing upgrade
2014-10-24 14:01:55,416 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating LXC System Vms
2014-10-24 14:01:55,417 WARN  [c.c.u.d.Upgrade440to441] (main:null)
4.4.0 LXC SystemVm template not found. LXC hypervisor is not used, so
not failing upgrade
2014-10-24 14:01:55,417 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
Updating System Vm Template IDs Complete
2014-10-24 14:01:55,525 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
Cleaning upgrades because all management server are now at the same version
2014-10-24 14:01:55,530 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
Upgrading to version 4.4.1...
2014-10-24 14:01:55,531 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
Cleanup upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Looking for
db/schema-440to441-cleanup.sql in the classpath
2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) System
resource:
file:/usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Absolute path
=  /usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
Licensed to the Apache Software Foundation (ASF) under one
2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- or
more contributor license agreements.  See the NOTICE file
2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
distributed with this work for additional information
2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
regarding copyright owne

Contrail compilation issue

2014-10-27 Thread Amogh Vasekar
Hi,

Anyone else seeing this issue?
Error code 503 suggests http://repository.apache.org/snapshots is down.
Any quick workarounds to get builds running again?


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
(default) on project cloud-client-ui: Error resolving project artifact:
Could not transfer artifact
net.juniper.contrail:juniper-contrail-api:pom:1.0-SNAPSHOT from/to
apache.snapshots (http://repository.apache.org/snapshots): Failed to look
for file:
http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contrai
l-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom.
Return code is:
503 for project net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT

Thanks
Amogh




Re: Review Request 26053: UI: Upgrade jquery-validate lib to the latest 1.13.0 version with the additional-methods included.

2014-10-27 Thread Brian Federle

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26053/#review58680
---

Ship it!


Ship It!

- Brian Federle


On Oct. 27, 2014, 5:10 p.m., Gabor Apati-Nagy wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26053/
> ---
> 
> (Updated Oct. 27, 2014, 5:10 p.m.)
> 
> 
> Review request for cloudstack, Brian Federle and Jessica Wang.
> 
> 
> Bugs: CLOUDSTACK-7659
> https://issues.apache.org/jira/browse/CLOUDSTACK-7659
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> This patch upgrades jquery-validation library and also adds the 
> additional-methods.js extension that offers additional validation options 
> (same license applies, same publisher). I also updated the LICENSE file to 
> show the added file as well.
> 
> 
> Diffs
> -
> 
>   LICENSE 497323bffce2b2afab28c187cfdafa960944ed94 
>   ui/index.jsp 42973f70855d0ef00391cf69ddd895d0b832aa8a 
>   ui/lib/jquery.validate.additional-methods.js PRE-CREATION 
>   ui/lib/jquery.validate.js 72296a61f208298f2e54ac7b54b70557f41e0f84 
>   ui/scripts/ui/core.js add7d06dedb1101b152fee53caa300d0104ab2cc 
> 
> Diff: https://reviews.apache.org/r/26053/diff/
> 
> 
> Testing
> ---
> 
> Tested that the validation is still working as expected.
> 
> 
> Thanks,
> 
> Gabor Apati-Nagy
> 
>



Re: Contrail compilation issue

2014-10-27 Thread David Nalley
repo.apache.org was down for maintenance.

On Mon, Oct 27, 2014 at 4:39 PM, Amogh Vasekar  wrote:
> Hi,
>
> Anyone else seeing this issue?
> Error code 503 suggests http://repository.apache.org/snapshots is down.
> Any quick workarounds to get builds running again?
>
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.3:process
> (default) on project cloud-client-ui: Error resolving project artifact:
> Could not transfer artifact
> net.juniper.contrail:juniper-contrail-api:pom:1.0-SNAPSHOT from/to
> apache.snapshots (http://repository.apache.org/snapshots): Failed to look
> for file:
> http://repository.apache.org/snapshots/net/juniper/contrail/juniper-contrai
> l-api/1.0-SNAPSHOT/juniper-contrail-api-1.0-SNAPSHOT.pom.
> Return code is:
> 503 for project net.juniper.contrail:juniper-contrail-api:jar:1.0-SNAPSHOT
>
> Thanks
> Amogh
>
>


Re: Management server is stuck after upgrade to 4.4.1

2014-10-27 Thread David Nalley
Thomas:

Please file a bug for this.

Thanks,


--David

On Mon, Oct 27, 2014 at 2:20 PM, Thomas Schneider
 wrote:
> Hi,
>
> I solved the problem.
>
> The column display from the snapshot _policy was missing after update.
>
> Just do: ALTER TABLE  `snapshot_policy` ADD  `display` TINYINT( 1 ) NOT
> NULL DEFAULT  '1'
>
> Regards,
>
>
>  Message original 
> Sujet:  Management server is stuck after upgrade to 4.4.1
> Date :  Fri, 24 Oct 2014 14:39:20 +0200
> De :Thomas Schneider 
> Pour :  dev@cloudstack.apache.org
>
>
>
> Hello,
>
> I tried yo upgrade Cloudstack from 4.4.0 to 4.4.1, following the
> instructions of the release note.
> When I restarted the MS the update of the database worked as expected
> but after the server is stuck.
>
> Regards,
>
> Partial log output:
>
> 2014-10-24 14:01:54,283 INFO  [c.c.u.d.T.Transaction] (main:null) Is
> Data Base High Availiability enabled? Ans : false
> 2014-10-24 14:01:54,843 DEBUG [c.c.u.d.ConnectionConcierge] (main:null)
> Registering a database connection for LockMaster1
> 2014-10-24 14:01:54,843 INFO  [c.c.u.d.Merovingian2] (main:null)
> Cleaning up locks for 7012003873552
> 2014-10-24 14:01:54,853 INFO  [c.c.u.d.Merovingian2] (main:null)
> Released 0 locks for 7012003873552
> 2014-10-24 14:01:54,895 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
> (main:null) Running system integrity checker
> com.cloud.upgrade.DatabaseUpgradeChecker@6345943f
> 2014-10-24 14:01:54,896 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Grabbing lock to check for database upgrade.
> 2014-10-24 14:01:55,111 DEBUG [c.c.u.d.VersionDaoImpl] (main:null)
> Checking to see if the database is at a version before it was the
> version table is created
> 2014-10-24 14:01:55,140 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> DB version = 4.4.0 Code Version = 4.4.1
> 2014-10-24 14:01:55,142 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Database upgrade must be performed from 4.4.0 to 4.4.1
> 2014-10-24 14:01:55,142 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Running upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Looking for
> db/schema-440to441.sql in the classpath
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) System
> resource: file:/usr/share/cloudstack-management/setup/db/schema-440to441.sql
> 2014-10-24 14:01:55,149 DEBUG [c.c.u.s.Script] (main:null) Absolute path
> =  /usr/share/cloudstack-management/setup/db/schema-440to441.sql
> ...
> 2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) -- Fix
> CLOUDSTACK-7624
> 2014-10-24 14:01:55,293 DEBUG [c.c.u.d.ScriptRunner] (main:null) ALTER
> TABLE `cloud`.`configuration` MODIFY default_value varchar(8191), MODIFY
> value varchar(8191)
> 2014-10-24 14:01:55,398 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating System Vm template IDs
> 2014-10-24 14:01:55,406 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating KVM System Vms
> 2014-10-24 14:01:55,410 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating XenServer System Vms
> 2014-10-24 14:01:55,414 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating VMware System Vms
> 2014-10-24 14:01:55,414 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 VMware SystemVm template not found. VMware hypervisor is not used,
> so not failing upgrade
> 2014-10-24 14:01:55,415 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating Hyperv System Vms
> 2014-10-24 14:01:55,416 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 Hyperv SystemVm template not found. Hyperv hypervisor is not used,
> so not failing upgrade
> 2014-10-24 14:01:55,416 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating LXC System Vms
> 2014-10-24 14:01:55,417 WARN  [c.c.u.d.Upgrade440to441] (main:null)
> 4.4.0 LXC SystemVm template not found. LXC hypervisor is not used, so
> not failing upgrade
> 2014-10-24 14:01:55,417 DEBUG [c.c.u.d.Upgrade440to441] (main:null)
> Updating System Vm Template IDs Complete
> 2014-10-24 14:01:55,525 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Cleaning upgrades because all management server are now at the same version
> 2014-10-24 14:01:55,530 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
> Upgrading to version 4.4.1...
> 2014-10-24 14:01:55,531 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
> Cleanup upgrade Upgrade440to441 to upgrade from 4.4.0-4.4.1 to 4.4.1
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Looking for
> db/schema-440to441-cleanup.sql in the classpath
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) System
> resource:
> file:/usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
> 2014-10-24 14:01:55,532 DEBUG [c.c.u.s.Script] (main:null) Absolute path
> =  /usr/share/cloudstack-management/setup/db/schema-440to441-cleanup.sql
> 2014-10-24 14:01:55,533 DEBUG [c.c.u.d.ScriptRunner] (main:null) --
> Licensed to the Apache Software Foundation (ASF) under one
> 2014-10-24 14:01:55,533 DEBUG [c.

Build failed in Jenkins: build-4.5 #46

2014-10-27 Thread jenkins
See 

Changes:

[Frank Zhang] CLOUDSTACK-7795

--
[...truncated 2867 lines...]
[ERROR] 
:[44,32]
 error: cannot find symbol
[ERROR]   symbol:   class ListBaremetalRctCmd
  location: package org.apache.cloudstack.api
:[230,17]
 error: cannot find symbol
[INFO] 2 errors 
[INFO] -
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Palo Alto
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Network Netscaler
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Network Nicira NVP
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Network Brocade VCS
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Stratosphere SSP
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - Network Opendaylight
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - User Authenticator LDAP
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - User Authenticator MD5
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 
[INFO] 
[INFO] Skipping Apache CloudStack Plugin - User Authenticator SAML2
[INFO] This project has been banned from the build due to previous failures.
[INFO] 
[INFO] 

Re: [PROPOSAL] Remove SNAPSHOT from versioning and keep tags on the release branch

2014-10-27 Thread David Nalley
We used to publish snapshots to https://repository.apache.org for much
that same reason:

i.e: 
https://repository.apache.org/service/local/repo_groups/snapshots-group/content/org/apache/cloudstack/cloud-console-proxy/4.1.0-SNAPSHOT/cloud-console-proxy-4.1.0-20130125.154919-473.jar

However, we moved our builds off of ASF infra, so we lost the ability
to publish to repository.a.o.

--David


On Mon, Oct 27, 2014 at 12:14 PM, Nate Gordon  wrote:
> Sorry for not responding sooner, I took a few days off to lay 300 sqft of
> tile.
>
> I have a local Artifactory server that I'm publishing to based on builds
> that are triggered from key branches in the ACS repo. I'm not using
> something that is publicly available. For CCP, it is primarily the same
> codebase, so we rely on that to have a single version of our plugins that
> works for both.
>
> For the reasons why dropping -SNAPSHOT is desired, I don't see git history
> divergence being an actual problem. Every maven project has this exact
> setup. The deb/rpm issue is more valid, but I feel is a solvable problem
> without dropping -SNAPSHOT.
>
> On Fri, Oct 24, 2014 at 12:29 AM, Rohit Yadav 
> wrote:
>
>> Hi Nate,
>>
>> > On 24-Oct-2014, at 2:28 am, Nate Gordon  wrote:
>> >
>> > The jars are used when developing plugins outside of the core repo. My
>> > company develops plugins which are self contained jars for our customers.
>> > We do this without modifying the core code so that we aren't forking ACS
>> in
>> > the process and to support CCP.
>>
>> Interesting use-case, how do you get the jars? From which maven repository?
>>
>> Of the main sources of publicly published jars, I cannot find any
>> CloudStack projects or jars (for all official releases);
>> http://search.maven.org/#search%7Cga%7C1%7Ccloudstack
>> http://mvnrepository.com/search?q=cloudstack
>> http://repo.maven.apache.org/maven2/org/apache
>>
>> In case of ACS, how do you get the jars if you’re not using a published
>> repo and extracting jars from it?
>>
>> In case of CCP, they are not opensource (or that their changes/interfaces
>> are documented) or publish jars on a some maven repository (not to mention
>> they use the same artifact ID etc), so the only way to get CCP’s jars is to
>> get a package tarball, extract the debs/rpms and get the jars.
>>
>> If in future we decide to do something like publish jars on a public maven
>> repository for GA releases, then we can consider adding -SNAPSHOT otherwise
>> I would encourage pragmatism over a pedantic approach. By not keeping
>> -SNAPSHOT, we reduce the git history divergence and deb/rpm build issues we
>> see too often.
>>
>> Regards,
>> Rohit Yadav
>> Software Architect, ShapeBlue
>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>
>>
>>
>> Find out more about ShapeBlue and our range of CloudStack related services
>>
>> IaaS Cloud Design & Build<
>> http://shapeblue.com/iaas-cloud-design-and-build//>
>> CSForge – rapid IaaS deployment framework
>> CloudStack Consulting
>> CloudStack Infrastructure Support<
>> http://shapeblue.com/cloudstack-infrastructure-support/>
>> CloudStack Bootcamp Training Courses<
>> http://shapeblue.com/cloudstack-training/>
>>
>> This email and any attachments to it may be confidential and are intended
>> solely for the use of the individual to whom it is addressed. Any views or
>> opinions expressed are solely those of the author and do not necessarily
>> represent those of Shape Blue Ltd or related companies. If you are not the
>> intended recipient of this email, you must neither take any action based
>> upon its contents, nor copy or show it to anyone. Please contact the sender
>> if you believe you have received this email in error. Shape Blue Ltd is a
>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>> company incorporated in India and is operated under license from Shape Blue
>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>> a company registered by The Republic of South Africa and is traded under
>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>
>
>
>
> --
>
>
> *Nate Gordon*Director of Technology | Appcore - the business of cloud
> computing®
>
> Office +1.800.735.7104  |  Direct +1.515.612.7787
> nate.gor...@appcore.com  |  www.appcore.com
>
> --
>
> The information in this message is intended for the named recipients only.
> It may contain information that is privileged, confidential or otherwise
> protected from disclosure. If you are not the intended recipient, you are
> hereby notified that any disclosure, copying, distribution, or the taking
> of any action in reliance on the contents of this message is strictly
> prohibited. If you have received this e-

Jenkins build is back to normal : build-4.5 #47

2014-10-27 Thread jenkins
See 



Review Request 27269: CLOUDSTACK-7800: VMware - Hot plug/unplug NIC to/from VM only when vmware tools are installed, else assert for exception

2014-10-27 Thread Gaurav Aradhye

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27269/
---

Review request for cloudstack and SrikanteswaraRao Talluri.


Bugs: CLOUDSTACK-7800
https://issues.apache.org/jira/browse/CLOUDSTACK-7800


Repository: cloudstack-git


Description
---

Starting vCenter 5.5 it has been made strict that hot unplug requires vmware 
tools installed on the guest os.

VMware will report error if the vmtools are not installed.

The tests that are trying hot plug and unplug of nic on vms running on vmware, 
must check for vmware tools running on the vm.
if the vm does not have tools => assert true for the exception.
if vm has vm tools running => Then only try for plug/unplug of nic.

In case of any other hypervisor, test suite will perform all the steps as it is.


Other changes:
1. Pep8 fixes
2. Changing from import * to specific imports


Diffs
-

  test/integration/smoke/test_nic.py 488ed0a 

Diff: https://reviews.apache.org/r/27269/diff/


Testing
---

Tested with vmware tools not installed on VM scenario. (KVM and Vmware)
I could not get the tools installed on VM.

Log:
Test to add and update added nic to a virtual machine ... === TestName: 
test_01_nic | Status : SUCCESS ===
ok

--
Ran 1 test in 304.106s

OK


Thanks,

Gaurav Aradhye



Re: [PROPOSAL] Remove SNAPSHOT from versioning and keep tags on the release branch

2014-10-27 Thread Rohit Yadav
Thanks people, I guess the issues that some of us have raised are valid enough 
to drop this proposal. I’ll see if somehow we can fix our packaging to 
automatically accommodate changes in version string without dropping -SNAPSHOT.

Regards.

> On 28-Oct-2014, at 5:18 am, David Nalley  wrote:
>
> We used to publish snapshots to https://repository.apache.org for much
> that same reason:
>
> i.e: 
> https://repository.apache.org/service/local/repo_groups/snapshots-group/content/org/apache/cloudstack/cloud-console-proxy/4.1.0-SNAPSHOT/cloud-console-proxy-4.1.0-20130125.154919-473.jar
>
> However, we moved our builds off of ASF infra, so we lost the ability
> to publish to repository.a.o.
>
> --David
>
>
> On Mon, Oct 27, 2014 at 12:14 PM, Nate Gordon  wrote:
>> Sorry for not responding sooner, I took a few days off to lay 300 sqft of
>> tile.
>>
>> I have a local Artifactory server that I'm publishing to based on builds
>> that are triggered from key branches in the ACS repo. I'm not using
>> something that is publicly available. For CCP, it is primarily the same
>> codebase, so we rely on that to have a single version of our plugins that
>> works for both.
>>
>> For the reasons why dropping -SNAPSHOT is desired, I don't see git history
>> divergence being an actual problem. Every maven project has this exact
>> setup. The deb/rpm issue is more valid, but I feel is a solvable problem
>> without dropping -SNAPSHOT.
>>
>> On Fri, Oct 24, 2014 at 12:29 AM, Rohit Yadav 
>> wrote:
>>
>>> Hi Nate,
>>>
 On 24-Oct-2014, at 2:28 am, Nate Gordon  wrote:

 The jars are used when developing plugins outside of the core repo. My
 company develops plugins which are self contained jars for our customers.
 We do this without modifying the core code so that we aren't forking ACS
>>> in
 the process and to support CCP.
>>>
>>> Interesting use-case, how do you get the jars? From which maven repository?
>>>
>>> Of the main sources of publicly published jars, I cannot find any
>>> CloudStack projects or jars (for all official releases);
>>> http://search.maven.org/#search%7Cga%7C1%7Ccloudstack
>>> http://mvnrepository.com/search?q=cloudstack
>>> http://repo.maven.apache.org/maven2/org/apache
>>>
>>> In case of ACS, how do you get the jars if you’re not using a published
>>> repo and extracting jars from it?
>>>
>>> In case of CCP, they are not opensource (or that their changes/interfaces
>>> are documented) or publish jars on a some maven repository (not to mention
>>> they use the same artifact ID etc), so the only way to get CCP’s jars is to
>>> get a package tarball, extract the debs/rpms and get the jars.
>>>
>>> If in future we decide to do something like publish jars on a public maven
>>> repository for GA releases, then we can consider adding -SNAPSHOT otherwise
>>> I would encourage pragmatism over a pedantic approach. By not keeping
>>> -SNAPSHOT, we reduce the git history divergence and deb/rpm build issues we
>>> see too often.
>>>
>>> Regards,
>>> Rohit Yadav
>>> Software Architect, ShapeBlue
>>> M. +91 88 262 30892 | rohit.ya...@shapeblue.com
>>> Blog: bhaisaab.org | Twitter: @_bhaisaab
>>>
>>>
>>>
>>> Find out more about ShapeBlue and our range of CloudStack related services
>>>
>>> IaaS Cloud Design & Build<
>>> http://shapeblue.com/iaas-cloud-design-and-build//>
>>> CSForge – rapid IaaS deployment framework
>>> CloudStack Consulting
>>> CloudStack Infrastructure Support<
>>> http://shapeblue.com/cloudstack-infrastructure-support/>
>>> CloudStack Bootcamp Training Courses<
>>> http://shapeblue.com/cloudstack-training/>
>>>
>>> This email and any attachments to it may be confidential and are intended
>>> solely for the use of the individual to whom it is addressed. Any views or
>>> opinions expressed are solely those of the author and do not necessarily
>>> represent those of Shape Blue Ltd or related companies. If you are not the
>>> intended recipient of this email, you must neither take any action based
>>> upon its contents, nor copy or show it to anyone. Please contact the sender
>>> if you believe you have received this email in error. Shape Blue Ltd is a
>>> company incorporated in England & Wales. ShapeBlue Services India LLP is a
>>> company incorporated in India and is operated under license from Shape Blue
>>> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
>>> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
>>> a company registered by The Republic of South Africa and is traded under
>>> license from Shape Blue Ltd. ShapeBlue is a registered trademark.
>>>
>>
>>
>>
>> --
>>
>>
>> *Nate Gordon*Director of Technology | Appcore - the business of cloud
>> computing®
>>
>> Office +1.800.735.7104  |  Direct +1.515.612.7787
>> nate.gor...@appcore.com  |  www.appcore.com
>>
>> --
>>
>> The info