Error running cloudstack-setup-management in 4.2

2013-12-16 Thread Nguyen Anh Tu
Dear guys,

I do a fresh setup cloudstack version 4.2 from repo. I'm using Centos 6.4.
When setting up MS, I get this error:

bash-4.1# *cloudstack-setup-management*
Starting to configure CloudStack Management Server:
Configure sudoers ... [OK]
Configure Firewall ...[OK]
Configure CloudStack Management Server ...[Failed]
Failed to configure CloudStack Management Server, please see the
/var/log/cloudstack/setupManagement.log for detail
Try to restore your system:
Restore sudoers ...   [OK]
Restore Firewall ...  [OK]
Restore CloudStack Management Server ...[OK]

Log from /var/log/cloudstack/management/setupManagement.log:
(/var/log/cloudstack/setupManagement.log doesn't exist)

DEBUG:root:execute:hostname -f
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8080
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 7080
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8250
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 9090
DEBUG:root:execute:iptables-save > /etc/sysconfig/iptables
DEBUG:root:execute:service iptables status
DEBUG:root:execute:service iptables status
DEBUG:root:execute:service iptables start
DEBUG:root:execute:rm -f /etc/cloudstack/management/server.xml
DEBUG:root:execute:rm -f /etc/cloudstack/management/tomcat6.conf
DEBUG:root:execute:ln -s /etc/cloudstack/management/server-nonssl.xml
/etc/cloudstack/management/server.xml
DEBUG:root:execute:ln -s /etc/cloudstack/management/tomcat6-nonssl.conf
/etc/cloudstack/management/tomcat6.conf
DEBUG:root:execute:hostname --fqdn
DEBUG:root:execute:mkdir /var/log/cloudstack-management/
DEBUG:root:Failed to execute:mkdir: cannot create directory
`/var/log/cloudstack-management/': File exists
DEBUG:root:execute:service tomcat6 status
DEBUG:root:Failed to execute:tomcat6 is stopped[  OK  ]
DEBUG:root:execute:chkconfig --del tomcat6
DEBUG:root:execute:service cloudstack-management status
DEBUG:root:Failed to execute:cloudstack-management is stopped
The pid file locates at /var/run/cloudstack-management.pid and lock file at
/var/lock/subsys/cloudstack-management.
Starting cloudstack-management will take care of them or you can
manually clean up.
DEBUG:root:execute:chkconfig --level 2345 cloudstack-management on
DEBUG:root:execute:service cloudstack-management status
DEBUG:root:Failed to execute:cloudstack-management is stopped
The pid file locates at /var/run/cloudstack-management.pid and lock file at
/var/lock/subsys/cloudstack-management.
Starting cloudstack-management will take care of them or you can
manually clean up.
DEBUG:root:execute:service cloudstack-management start
DEBUG:root:Failed to execute:Starting cloudstack-management[FAILED]code 4
DEBUG:root:None

What's error code 4?

I found a similar issue from jira:
https://issues.apache.org/jira/browse/CLOUDSTACK-1694

However it's not my situation.

Need help,


--Tuna


Review Request 16315: CLOUDSTACK-5495 Unable to stop VM

2013-12-16 Thread bharat kumar

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

Review request for cloudstack and Koushik Das.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-5495 Unable to stop VM
This patch makes the execute.in.sequence.hypervisor.commands configurable for 
stopvm command.


Diffs
-

  engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java bc6a32f 
  server/src/com/cloud/configuration/Config.java b994ce3 

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


Testing
---

Tested on 4.3


Thanks,

bharat kumar



Re: [DISCUSS][PROPOSAL] (CLOUDSTACK-3272)

2013-12-16 Thread Murali Reddy

Sonal,

There may be mix up on the problem statement of the bug 3272. Sorry I did
not elaborate enough in the bug.

So there are multiple event types that are generated by CS, action events,
usage events, resource state change events and alerts. Current problem is
all the events gets published on the event bus when event bus is enabled.
Intent of the bug is to introduce global setting config parameters to
specify which category of events to be published or not be published on
the event bus. For e.g if global config param says to publish only usage
events, then only usage events should be published on the event bus.

If your intent is to create generic mechanism to add meta-data to events
that event bus can interpret and do specific action/configuration then it
might make sense to open a different bug and elaborate what you want to
address.

Thanks,
Murali  


On 16/12/13 1:11 PM, "Sonal Ojha"  wrote:

>As per the problem statement the config parameters would be the deciding
>factor for the behavior of the events on the event bus. A subscriber would
>never decide the behavior , instead the publisher of the event would add
>config parameters to the events. On basis of these parameters the wrapper
>over the queue broker could decide the actions to be performed on the
>events. For example, the publisher of vm start event added a configuration
>parameter "expiry" to the event. On basis of this parameter the wrapper
>over the message queue broker would decide when should the vm start event
>be expired / deleted from the queue. The subscriber of the event will be
>able to read / fetch the event until its expired.
>
>There could be more than one config parameters attached to an event and so
>the proposal is to add all these config parameters into a Map instead of
>having only one config parameter added as a variable to the EventCategory
>class.
>
>
>On Fri, Dec 13, 2013 at 11:26 PM, Chiradeep Vittal <
>chiradeep.vit...@citrix.com> wrote:
>
>>  Forgive me for my ignorance , why can't this be done by the client that
>> is receiving the events? Note that multiple clients can subscribe to the
>> event bus: this requirement is specific to one client?
>>
>>   From: Sonal Ojha 
>> Date: Wednesday, December 11, 2013 11:36 PM
>> To: Chiradeep Vittal 
>> Cc: "dev@cloudstack.apache.org" 
>> Subject: Re: [DISCUSS][PROPOSAL] (CLOUDSTACK-3272)
>>
>>   One of the use case be to delete only vm power on/off events from the
>> event queue, other be to persist all the update events on virtual
>>machines
>> on the queue. The map of configuration parameters would be helpful to
>> decide such behaviors.
>>
>>
>> On Thu, Dec 12, 2013 at 3:26 AM, Chiradeep Vittal <
>> chiradeep.vit...@citrix.com> wrote:
>>
>>> Some more description of the use cases would be helpful. What is the
>>>pain
>>> point it is addressing?
>>>
>>> On 12/11/13 3:26 AM, "Sonal Ojha"  wrote:
>>>
>>> >Hello,
>>> >
>>> >As per the description in the bug I would like to propose to
>>>introduce a
>>> >new instance variable configParameters of type HashMap to the
>>> >EventCategory
>>> >class.Currently, it could store one config parameter
>>> >"publish.action.events"(key as String) and True (value as Boolean) but
>>> >later it could add more config parameters to change the behavior of
>>> >events.
>>> >
>>> >Thoughts / suggestions ?
>>> >
>>> >
>>> >--
>>> >
>>> >Thanks and Regards,
>>> >
>>>  >*Sonal Ojha* € Senior Engineer Product Development €  SunGard IT
>>>  >Availability
>>> >
>>> >Mobile +91-9922412645€ E-Mail: sonal.o...@sungard.com
>>>
>>>
>>>
>>
>>
>>  --
>>
>> Thanks and Regards,
>>
>> *Sonal Ojha* • Senior Engineer Product Development •  SunGard IT
>> Availability
>>
>> Mobile +91-9922412645• E-Mail: sonal.o...@sungard.com
>>
>
>
>
>-- 
>
>Thanks and Regards,
>
>*Sonal Ojha* • Senior Engineer Product Development •  SunGard IT
>Availability
>
>Mobile +91-9922412645• E-Mail: sonal.o...@sungard.com
>




Build failed in Jenkins: build-master » Apache CloudStack #246

2013-12-16 Thread jenkins
See 


Changes:

[likitha.shetty] CLOUDSTACK-5519. [VMWARE] Cancel vCenter tasks if the task 
invoked by CloudStack failes with timeout error

--
maven31-agent.jar already up to date
maven31-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
<===[JENKINS REMOTING CAPACITY]===>channel started
   log4j:WARN No appenders could be found for logger 
(org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f 

 -Pawsapi,systemvm clean test
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.cloudstack:xapi:jar:5.6.100-1-SNAPSHOT
[WARNING] The expression ${parent.version} is deprecated. Please use 
${project.parent.version} instead.
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache CloudStack
[INFO] Apache CloudStack Maven Conventions Parent
[INFO] Apache CloudStack Checkstyle Configuration
[INFO] Apache CloudStack Framework - Managed Context
[INFO] Apache CloudStack Utils
[INFO] Apache CloudStack Framework
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Framework - Configuration
[INFO] Apache CloudStack API
[INFO] Apache CloudStack Framework - REST
[INFO] Apache CloudStack Framework - IPC
[INFO] Apache CloudStack Cloud Engine
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Core
[INFO] Apache CloudStack Agents
[INFO] Apache CloudStack Framework - Clustering
[INFO] Apache CloudStack Framework - Jobs
[INFO] Apache CloudStack Cloud Engine Schema Component
[INFO] Apache CloudStack Framework - Event Notification
[INFO] Apache CloudStack Cloud Engine Internal Components API
[INFO] Apache CloudStack Server
[INFO] Apache CloudStack Usage Server
[INFO] Apache XenSource XAPI
[INFO] Apache CloudStack Cloud Engine Orchestration Component
[INFO] Apache CloudStack Cloud Services
[INFO] Apache CloudStack Secondary Storage Service
[INFO] Apache CloudStack Engine Storage Component
[INFO] Apache CloudStack Engine Storage Volume Component
[INFO] Apache CloudStack Engine Storage Image Component
[INFO] Apache CloudStack Engine Storage Data Motion Component
[INFO] Apache CloudStack Engine Storage Cache Component
[INFO] Apache CloudStack Engine Storage Snapshot Component
[INFO] Apache CloudStack Cloud Engine API
[INFO] Apache CloudStack Cloud Engine Service
[INFO] Apache CloudStack Plugin POM
[INFO] Apache CloudStack Plugin - API Rate Limit
[INFO] Apache CloudStack Plugin - API Discovery
[INFO] Apache CloudStack Plugin - ACL Static Role Based
[INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor
[INFO] Apache CloudStack Plugin - Explicit Dedication Processor
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner
[INFO] Apache CloudStack Plugin - Implicit Dedication Planner
[INFO] Apache CloudStack Plugin - Host Allocator Random
[INFO] Apache CloudStack Plugin - Dedicated Resources
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor Xen
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal
[INFO] Apache CloudStack Plugin - Hypervisor UCS
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer
[INFO] Apache CloudStack Plugin - Network Juniper Contrail
[INFO] Apache CloudStack Plugin - Palo Alto
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] Apache CloudStack Plugin - Midokura Midonet
[INFO] Apache Cloudstack Plugin - Stratosphere SSP
[INFO] Apache CloudStack Plugin - Storage Allocator Random
[INFO] Apache CloudStack Plugin - User Authenticator LDAP
[INFO] Apache CloudStack Plugin - User Authenticator MD5
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
[INFO] Apache CloudStack Plugin - Dns Notifier Example
[INFO] Apache CloudStack Plugin - Storage Image S3
[INFO] Apache CloudStack Plugin - Storage Image Swift provider
[INFO] Apache CloudStack Plugin - Storage Image default 

Build failed in Jenkins: build-master #246

2013-12-16 Thread jenkins
See 

Changes:

[likitha.shetty] CLOUDSTACK-5519. [VMWARE] Cancel vCenter tasks if the task 
invoked by CloudStack failes with timeout error

--
[...truncated 77 lines...]
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM
[INFO] Apache CloudStack Plugin - Open vSwitch
[INFO] Apache CloudStack Plugin - Hypervisor Xen
[INFO] Apache CloudStack Plugin - Hypervisor KVM
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus
[INFO] Apache CloudStack Plugin - Hypervisor Baremetal
[INFO] Apache CloudStack Plugin - Hypervisor UCS
[INFO] Apache CloudStack Plugin - Hypervisor Hyper-V
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer
[INFO] Apache CloudStack Plugin - Network Internal Load Balancer
[INFO] Apache CloudStack Plugin - Network Juniper Contrail
[INFO] Apache CloudStack Plugin - Palo Alto
[INFO] Apache CloudStack Plugin - Network Nicira NVP
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment
[INFO] Apache CloudStack Plugin - Midokura Midonet
[INFO] Apache Cloudstack Plugin - Stratosphere SSP
[INFO] Apache CloudStack Plugin - Storage Allocator Random
[INFO] Apache CloudStack Plugin - User Authenticator LDAP
[INFO] Apache CloudStack Plugin - User Authenticator MD5
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted
[INFO] Apache CloudStack Plugin - Dns Notifier Example
[INFO] Apache CloudStack Plugin - Storage Image S3
[INFO] Apache CloudStack Plugin - Storage Image Swift provider
[INFO] Apache CloudStack Plugin - Storage Image default provider
[INFO] Apache CloudStack Plugin - Storage Image sample provider
[INFO] Apache CloudStack Plugin - Storage Volume SolidFire Provider
[INFO] Apache CloudStack Plugin - Storage Volume default provider
[INFO] Apache CloudStack Plugin - Storage Volume sample provider
[INFO] Apache CloudStack Plugin - SNMP Alerts
[INFO] Apache CloudStack Plugin - Syslog Alerts
[INFO] Apache CloudStack Plugin - Network VXLAN
[INFO] Apache CloudStack Framework - Spring Life Cycle
[INFO] cloud-framework-spring-module
[INFO] Apache CloudStack Test
[INFO] Apache CloudStack Console Proxy
[INFO] Apache CloudStack Console Proxy - Server
[INFO] Apache CloudStack System VM
[INFO] Apache CloudStack Client UI
[INFO] Apache CloudStack Console Proxy - RDP Client
[INFO] Apache CloudStack Framework - QuickCloud
[INFO] Apache CloudStack AWS API Bridge
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack 4.4.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloudstack ---
[INFO] Deleting  
(includes = [**/*], excludes = [])
[INFO] Deleting  (includes 
= [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.11:check (default) @ cloudstack ---
[INFO] Starting audit...
:328:
 Line has trailing spaces.
Audit done.

[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . FAILURE [59.924s]
[INFO] Apache CloudStack Maven Conventions Parent  SKIPPED
[INFO] Apache CloudStack Checkstyle Configuration  SKIPPED
[INFO] Apache CloudStack Framework - Managed Context . SKIPPED
[INFO] Apache CloudStack Utils ... SKIPPED
[INFO] Apache CloudStack Framework ... SKIPPED
[INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
[INFO] Apache CloudStack Framework - Configuration ... SKIPPED
[INFO] Apache CloudStack API . SKIPPED
[INFO] Apache CloudStack Framework - REST  SKIPPED
[INFO] Apache CloudStack Framework - IPC . SKIPPED
[INFO] Apache CloudStack Cloud Engine  SKIPPED
[INFO] Apache CloudStack Cloud Engine API  SKIPPED
[INFO] Apache CloudStack Core  SKIPPED
[INFO] Apache CloudStack Agents .. SKIPPED
[INFO] Apache CloudStack Framework - Clustering .. SKIPPED
[INFO] Apache CloudStack Framework - Jobs  SKIPPED
[INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED
[INFO] Apache CloudStack Framework - Event Notification .. SKIPPED
[INFO] Apache CloudStack Cloud Engine Internal Components API  SKIPPED
[INFO] Apache CloudStack Server .. SKIPPED
[INFO] Apache CloudStack Usage Server  SKIPPED
[INFO] Apache XenSource XAPI ...

Re: Entity UUID and Type missing on ActionEvent event notifications

2013-12-16 Thread Murali Reddy
Yes, they are not in master and 4.3. For master/4.3 we will have to use
generic CallContext.current().putContextParameter() to store the entity
details as key/value pairs.

On 16/12/13 10:28 PM, "Alex Ough"  wrote:

>A little confusion here because 'setEntityDetails' in 'UserContext' is
>no longer used in master.
>Is this functionality only for 4.2 and not supported in master?
>
>Thanks
>Alex Ough
>
>On Mon, Dec 16, 2013 at 8:35 AM, Murali Reddy 
>wrote:
>> David,
>>
>> Your analysis is right. There is no single place to put logic which
>>will fix
>> all api commands. So adding setEntityDetails call on each of the method
>>that
>> is annotated with ActionEvent is right approach.
>>
>> Thanks,
>> Murali
>>
>> From: David Grizzanti 
>> Date: Thursday, 12 December 2013 10:16 PM
>> To: Murali Reddy , "dev@cloudstack.apache.org"
>> , Alex Ough , Nitin
>>Mehta
>> 
>> Subject: Re: Entity UUID and Type missing on ActionEvent event
>>notifications
>>
>> Murali/All,
>>
>> Opening this discussion back up to decide how to approach fixing this.
>>I
>> looked over what Nitin mentioned, but given that I don't know a whole
>>lot
>> about the inner working of the code I don't see anywhere that it would
>>make
>> sense to put this logic so that it applies to all API commands.  At the
>> outset of the API command where UserContext/CallContext get
>>initialized, the
>> resource is not created yet (for Creation cases, so it doesn't yet have
>>a
>> UUID).  At the completion of the API command, the Action Event has
>>already
>> been generated.
>>
>> It seems that there are already places where details are being added to
>>the
>> UserContext in implementation classes:
>> server/src/com/cloud/projects/ProjectManagerImpl.java:
>> UserContext.current().setEventDetails("Project id=" + project.getId());
>>
>> Let me know what other thoughts you may have, otherwise I'd like to
>>proceed
>> with adding a setEntityDetails call to each of the places where
>> setEventDetails are placed to accomplish this.
>>
>> --
>> David Grizzanti
>> Software Engineer
>> Sungard Availability Services
>>
>> e: david.grizza...@sungard.com
>> w: 215.446.1431
>> c: 570.575.0315
>>
>> On December 11, 2013 at 6:33:25 AM, Murali Reddy
>>(murali.re...@citrix.com)
>> wrote:
>>
>> On 11/12/13 3:01 AM, "David Grizzanti" 
>>wrote:
>>
>>>Murali,
>>>
>>>I spoke with Alex regarding this issue and it appears there may have
>>>been
>>>some mix up in what the original intent of the bug was and what actually
>>>got fixed. To me, the idea behind this was to address the bug that the
>>>entity UUID was not getting added to ActionEvents for all resource
>>>types.
>>> When I looked at this fix today and spoke with Alex, I think what was
>>>fixed was only for accounts/users/domains.
>>
>> David,
>>
>> You are right. Original intent of the bug is to fix all the action
>>events
>> corresponding to all entities. I added a mechanism to persist the entity
>> type and entity UUID into the CallContext/UserContext, these details are
>> retrieved in the action event interceptor and published on to the event
>> bus. Unfortunately there is no single place where we can persist entity
>> UUID & type in the CallContext, so that all the action events are taken
>> care automatically. So in 4.2 for account/user/domain sync across the
>> zones for regions feature, I just fixed action events related to these
>> three entities. There was regression in 4.3, which Alex's fix will fix
>>it.
>> But generally original intent of the bug 3190 is not fixed yet. May its
>> better we open a different bug, as wrong commits went in to the bug.
>>
>> Thanks,
>> Murali
>>
>>>
>>>Not sure where the break down happened, but was wondering how you
>>>thought
>>>we should address this? Open a new Jira to track the changes given the
>>>history of the existing one or re-open
>>>https://issues.apache.org/jira/browse/CLOUDSTACK-3190?
>>>
>>>Thanks
>>>
>>>--
>>>David Grizzanti
>>>Software Engineer
>>>Sungard Availability Services
>>>
>>>e: david.grizza...@sungard.com
>>>w: 215.446.1431
>>>c: 570.575.0315
>>>
>>>On December 6, 2013 at 4:26:40 PM, Alex Ough (alex.o...@sungard.com)
>>>wrote:
>>>
>>>I modified the fix to make a little simpler, so can you review it
>>>please?
>>>
>>>
>>>I'd like to finalize this as soon as possible to move on with
>>>CLOUDSTACK-4992.
>>>
>>>Thanks
>>>Alex Ough
>>>
>>>On Thu, Dec 5, 2013 at 1:32 PM, Alex Ough  wrote:
 All,

 I submitted the review request, so please review it and let me know if
there
 is anything missing/incorrect.

 Thanks
 Alex Ough


 On Wed, Dec 4, 2013 at 11:29 PM, Murali Reddy


 wrote:
>
> On 05/12/13 12:01 AM, "Alex Ough"  wrote:
>
> >All,
> >
> >I made a comment on its jira,
>
>>CLOUDSTACK-3190>>,
>>
> >so can anyone confirm what I found?
> >I guess it is related with some refactoring related with
>'CallCont

Re: kvm - why just qcow2

2013-12-16 Thread Marcus Sorensen
No. You have to do qcow2 for KVM and VHD for XenServer as it is now,
by the way.  But if we allowes multiple types I think we'd want to
convert to a single 'preferred' format for each primary storage,
rather than messing with all different support between primary
storage, image formats, and their respective support for snapshots,
etc. So a file-based primary storage would always copy the template as
qcow2 (from vmdk, vdi, raw, whaterver), and a raw based primary
storage (like LVM or RBD) would always convert to raw (as it already
does), when copying template to primary storage.

On Mon, Dec 16, 2013 at 5:44 PM, Nux!  wrote:
> On 16.12.2013 05:05, Marcus Sorensen wrote:
>>
>> Actually, I'm wrong. It used to qemu-img convert qcow2 to qcow2, but
>> not any more. Qemu is actually just using vmdk natively.
>
>
> Disappointment. I was going to build some "hv agnostic" templates, but I
> really don't want my KVM to run vmdk files etc.
> To clarify, if I add a raw template to CS, will it do any conversion to VHD
> if it's a Xenserver or to Qcow2 if it's KVM?
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro


Re: kvm - why just qcow2

2013-12-16 Thread Chiradeep Vittal
I thought the limitation was that qemu cannot take snapshots of vmdk

On 12/16/13 3:04 PM, "Marcus Sorensen"  wrote:

>In looking at the processors, I'm noticing that there's a
>VmdkProcessor, but it seems to want ova format, not vmdk (it expects
>.ova extension, for example). Sort of confusing if we want to support
>both vmdk and ova.
>
>On Sun, Dec 15, 2013 at 10:05 PM, Marcus Sorensen 
>wrote:
>> Actually, I'm wrong. It used to qemu-img convert qcow2 to qcow2, but
>> not any more. Qemu is actually just using vmdk natively.
>>
>> On Sun, Dec 15, 2013 at 9:33 PM, Marcus Sorensen 
>>wrote:
>>> I've been playing with this a little, and it seems that, interestingly
>>> enough, if I simply add 'vmdk' to the enum in
>>> api/src/com/cloud/storage/Storage.java, and tell CS about the file
>>> extension in 
>>>server/src/com/cloud/template/HypervisorTemplateAdapter.java,
>>> KVM just seems to work with it. qemu-img autodetects the input format
>>> and converts it where it would normally would convert qcow2. This is
>>> partially enabled by the fact that we seem to qemu-img convert even
>>> qcow2 to qcow2 when copying templates to primary storage, so it just
>>> converted the vmdk as necessary. So as long as qemu-img has support
>>> for it, it seems you can upload any format and cloudstack will
>>> normalize to qcow2 (or raw, depending on primary storage format) when
>>> copying from secondary to primary.
>>>
>>> The preprocessor idea is interesting, but I do like the idea of
>>> eventually working toward having a single .qcow2 or .vmdk or .vhd that
>>> can be used by any hypervisor that's capable of converting it to
>>> native format upon copying to primary storage.
>>>
>>> On Sat, Dec 14, 2013 at 9:05 AM, Marcus Sorensen 
>>>wrote:
 Sure, I'll take a look, it might just do the trick. I imagine this
would be
 run in the SSVM? On the other hand, if we pass off format
conversation to
 the hypervisors template copy as discussed, we could move toward multi
 hypervisor templates, where you can upload and store a single vmdk or
vdi
 and the hypervisors just convert as necessary when copying to primary
 storage.

 On Dec 14, 2013 8:04 AM, "Alex Huang"  wrote:
>
> Marcus,
>
> When I refactored the template upload process ages ago, I left in an
> interface called Processor.java.  The whole purpose of which was to
>allow
> others to add post processing of the template once its been
>uploaded.  Such
> conversions can be done there.  Take a look and see if it suits your
> purposes.
>
> --Alex
>
> > -Original Message-
> > From: Marcus Sorensen [mailto:shadow...@gmail.com]
> > Sent: Saturday, December 14, 2013 12:06 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: kvm - why just qcow2
> >
> > I suppose it would be best, and probably easiest, to accept
>templates in
> > vmdk, vdi, etc, but qemu-img convert to qcow2 during the copy to
>primary
> > storage, to keep the agent code from dealing with many formats.
>There's
> > a
> > lot of code that would need rework to deal with non-qcow2 file
>based
> > disks.
> > On Dec 13, 2013 10:39 PM, "Marcus Sorensen" 
> > wrote:
> >
> > > Is there any reason why we only support qcow2 format on KVM? It
>seems
> > > like it would be fairly simple to support other formats,
>qemu-img can
> > > handle going from VMDK to RAW for example, and qemu-kvm can even
> > use
> > > VMDK, QED, and other formats. It even seems like QemuImg.java was
> > > written with other formats in mind. It seems like it wouldn't be
>a lot
> > > of work to simply let other formats come through, we might have
>to
> > > change LibvirtVMDef a bit so it can make the proper XML.
> > >



Re: kvm - why just qcow2

2013-12-16 Thread Nux!

On 16.12.2013 05:05, Marcus Sorensen wrote:

Actually, I'm wrong. It used to qemu-img convert qcow2 to qcow2, but
not any more. Qemu is actually just using vmdk natively.


Disappointment. I was going to build some "hv agnostic" templates, but 
I really don't want my KVM to run vmdk files etc.
To clarify, if I add a raw template to CS, will it do any conversion to 
VHD if it's a Xenserver or to Qcow2 if it's KVM?


Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: kvm - why just qcow2

2013-12-16 Thread Marcus Sorensen
In looking at the processors, I'm noticing that there's a
VmdkProcessor, but it seems to want ova format, not vmdk (it expects
.ova extension, for example). Sort of confusing if we want to support
both vmdk and ova.

On Sun, Dec 15, 2013 at 10:05 PM, Marcus Sorensen  wrote:
> Actually, I'm wrong. It used to qemu-img convert qcow2 to qcow2, but
> not any more. Qemu is actually just using vmdk natively.
>
> On Sun, Dec 15, 2013 at 9:33 PM, Marcus Sorensen  wrote:
>> I've been playing with this a little, and it seems that, interestingly
>> enough, if I simply add 'vmdk' to the enum in
>> api/src/com/cloud/storage/Storage.java, and tell CS about the file
>> extension in server/src/com/cloud/template/HypervisorTemplateAdapter.java,
>> KVM just seems to work with it. qemu-img autodetects the input format
>> and converts it where it would normally would convert qcow2. This is
>> partially enabled by the fact that we seem to qemu-img convert even
>> qcow2 to qcow2 when copying templates to primary storage, so it just
>> converted the vmdk as necessary. So as long as qemu-img has support
>> for it, it seems you can upload any format and cloudstack will
>> normalize to qcow2 (or raw, depending on primary storage format) when
>> copying from secondary to primary.
>>
>> The preprocessor idea is interesting, but I do like the idea of
>> eventually working toward having a single .qcow2 or .vmdk or .vhd that
>> can be used by any hypervisor that's capable of converting it to
>> native format upon copying to primary storage.
>>
>> On Sat, Dec 14, 2013 at 9:05 AM, Marcus Sorensen  wrote:
>>> Sure, I'll take a look, it might just do the trick. I imagine this would be
>>> run in the SSVM? On the other hand, if we pass off format conversation to
>>> the hypervisors template copy as discussed, we could move toward multi
>>> hypervisor templates, where you can upload and store a single vmdk or vdi
>>> and the hypervisors just convert as necessary when copying to primary
>>> storage.
>>>
>>> On Dec 14, 2013 8:04 AM, "Alex Huang"  wrote:

 Marcus,

 When I refactored the template upload process ages ago, I left in an
 interface called Processor.java.  The whole purpose of which was to allow
 others to add post processing of the template once its been uploaded.  Such
 conversions can be done there.  Take a look and see if it suits your
 purposes.

 --Alex

 > -Original Message-
 > From: Marcus Sorensen [mailto:shadow...@gmail.com]
 > Sent: Saturday, December 14, 2013 12:06 AM
 > To: dev@cloudstack.apache.org
 > Subject: Re: kvm - why just qcow2
 >
 > I suppose it would be best, and probably easiest, to accept templates in
 > vmdk, vdi, etc, but qemu-img convert to qcow2 during the copy to primary
 > storage, to keep the agent code from dealing with many formats. There's
 > a
 > lot of code that would need rework to deal with non-qcow2 file based
 > disks.
 > On Dec 13, 2013 10:39 PM, "Marcus Sorensen" 
 > wrote:
 >
 > > Is there any reason why we only support qcow2 format on KVM? It seems
 > > like it would be fairly simple to support other formats, qemu-img can
 > > handle going from VMDK to RAW for example, and qemu-kvm can even
 > use
 > > VMDK, QED, and other formats. It even seems like QemuImg.java was
 > > written with other formats in mind. It seems like it wouldn't be a lot
 > > of work to simply let other formats come through, we might have to
 > > change LibvirtVMDef a bit so it can make the proper XML.
 > >


RE: VMEntityVO and VMInstanceVO

2013-12-16 Thread Prachi Damle
Koushik,

This is part of the cloud-engine / orchestration layer refactoring started in 
4.1. The final idea is to separate out the cloudstack API layer and  the 
orchestration logic into different services. Each service will have its own set 
of VO's as per the view the service works with. Thus the VO will 
populate/retrieve only those fields that are visible/essential for that service 
functionality. Hence you see some difference in the two VO's you mention.
The VM deployment API layer works with VMInstanceVO ; while the orchestration 
flow works with VMEntityVO.

There are many other entities for which this has been done so far, Alex has put 
everything under cloud-engine-schema recently where you can find some more of 
such examples.

Prachi

-Original Message-
From: Koushik Das 
Sent: Sunday, December 15, 2013 9:50 PM
To: 
Cc: Prachi Damle
Subject: Re: VMEntityVO and VMInstanceVO

Prachi, From the history I see that you added VMEntityVO. Any specific reason 
for having both?

On 12-Dec-2013, at 2:36 PM, Koushik Das  wrote:

> I see that both the VOs uses the same vm_instance table. What is the need for 
> having 2 VOs for the same table? Should one be removed?
> Also VMEntityVO I see a field called "speed" which is not there in 
> VMInstanceVO. Why this discrepancy?
> 
> Thanks,
> Koushik



Re: Synchronizing projects across regions

2013-12-16 Thread Chip Childers
On Mon, Dec 16, 2013 at 3:25 PM, Bill Jones  wrote:
> Ok, so given that there was no response..
>
> I would like to update the 'createProject' api to be consistent with the
> other organizational APIs (createAccount, createDomain, createUser) to take
> a UUID parameter  so that it can support cross-domain synchronization.
> Before I start, would there be any objections?

+1 from me.  The way I see this, it was a simple miss in the regions
implementation.


Re: Synchronizing projects across regions

2013-12-16 Thread Nitin Mehta
Bill - Do try and use the UUIDManager if you can. I see that there is no
validation at the moment for the UUIDs passed in.
I am also copying the author of Regions feature in case he has any
questions/suggestions for you.

On 16/12/13 12:25 PM, "Bill Jones"  wrote:

>Ok, so given that there was no response..
>
>I would like to update the 'createProject' api to be consistent with the
>other organizational APIs (createAccount, createDomain, createUser) to
>take
>a UUID parameter  so that it can support cross-domain synchronization.
>Before I start, would there be any objections?
>
>/Bill
>
>
>On Wed, Dec 11, 2013 at 6:14 PM, Bill Jones 
>wrote:
>
>> Hi,
>>
>> I'm a little confused why there is no support for syncing projects
>>across
>> regions. Reading through the requirements it states that the entire
>> administrative hierarchy - domains, accounts, users, and projects -
>>would
>> support synchronization. However in the functional spec projects are
>> explicitly excluded.
>>
>> I can see value in cross-region projects. Can someone clarify the reason
>> projects are not supported?
>>
>> Thanks,
>> Bill
>>
>> --
>> Bill Jones
>> Cloud Engineer
>> Sungard Availability Services
>>
>> e: bill.jo...@sungard.com
>> w: 215.446.2667
>> c: 215.879.8788
>>
>>
>
>
>-- 
>Bill Jones
>Cloud Engineer
>Sungard Availability Services
>
>e: bill.jo...@sungard.com
>w: 215.446.2667
>c: 215.879.8788



Re: Synchronizing projects across regions

2013-12-16 Thread Alena Prokharchyk
Bill,

I¹m not quite familiar with Regions feature, so could you please elaborate
what functionality your fix would expose? I was the one who wrote the
original Projects feature, and remember its one limitation - project can¹t
be cross domains, all the accounts participating in it, have to belong to
the same domain. If it doesn¹t contradict with your proposal, I don¹t see
any other objections.

-Alena. 

On 12/16/13, 12:25 PM, "Bill Jones"  wrote:

>Ok, so given that there was no response..
>
>I would like to update the 'createProject' api to be consistent with the
>other organizational APIs (createAccount, createDomain, createUser) to
>take
>a UUID parameter  so that it can support cross-domain synchronization.
>Before I start, would there be any objections?
>
>/Bill
>
>
>On Wed, Dec 11, 2013 at 6:14 PM, Bill Jones 
>wrote:
>
>> Hi,
>>
>> I'm a little confused why there is no support for syncing projects
>>across
>> regions. Reading through the requirements it states that the entire
>> administrative hierarchy - domains, accounts, users, and projects -
>>would
>> support synchronization. However in the functional spec projects are
>> explicitly excluded.
>>
>> I can see value in cross-region projects. Can someone clarify the reason
>> projects are not supported?
>>
>> Thanks,
>> Bill
>>
>> --
>> Bill Jones
>> Cloud Engineer
>> Sungard Availability Services
>>
>> e: bill.jo...@sungard.com
>> w: 215.446.2667
>> c: 215.879.8788
>>
>>
>
>
>-- 
>Bill Jones
>Cloud Engineer
>Sungard Availability Services
>
>e: bill.jo...@sungard.com
>w: 215.446.2667
>c: 215.879.8788



Re: Synchronizing projects across regions

2013-12-16 Thread Bill Jones
Ok, so given that there was no response..

I would like to update the 'createProject' api to be consistent with the
other organizational APIs (createAccount, createDomain, createUser) to take
a UUID parameter  so that it can support cross-domain synchronization.
Before I start, would there be any objections?

/Bill


On Wed, Dec 11, 2013 at 6:14 PM, Bill Jones  wrote:

> Hi,
>
> I'm a little confused why there is no support for syncing projects across
> regions. Reading through the requirements it states that the entire
> administrative hierarchy - domains, accounts, users, and projects - would
> support synchronization. However in the functional spec projects are
> explicitly excluded.
>
> I can see value in cross-region projects. Can someone clarify the reason
> projects are not supported?
>
> Thanks,
> Bill
>
> --
> Bill Jones
> Cloud Engineer
> Sungard Availability Services
>
> e: bill.jo...@sungard.com
> w: 215.446.2667
> c: 215.879.8788
>
>


-- 
Bill Jones
Cloud Engineer
Sungard Availability Services

e: bill.jo...@sungard.com
w: 215.446.2667
c: 215.879.8788


Re: SG broken in Adv zone with multiple shared networks (4.2)

2013-12-16 Thread Alena Prokharchyk
It would indeed be a big change involving fixed in Java/backend
scripts/UI/DB upgrade code. Unfortunately, I can't give you even a rough
ETA as I¹m not an expert in SG code area, you might need to reach out to
folks who¹ve done most of the coding for this part - Anthony and
Chiradeep.  

-Alena.

On 12/16/13, 11:16 AM, "Nux!"  wrote:

>On 16.12.2013 18:29, Alena Prokharchyk wrote:
>> The current CS design is the limitation. As SG is created per VM, not
>> per
>> Nic, the SG rule would apply to all vm¹s nics. Therefore we allow
>> having
>> only one Shared SG enabled network per zone, and if the vm is deployed
>> in
>> this network, it can¹t belong to any other network in the zone.
>> 
>> To overcome the limitation, the SG functionality should be changed to
>> be
>> done per Nic basis.
>> 
>> -Alena.
>
>Hello Alena and thanks for getting back to me.
>This sounds like a serious change. Can you give a very rough ETA for
>when this might land in CS?
>It's a feature that I've been waiting a long time for, can wait a bit
>more.
>
>Regards,
>Lucian
>
>-- 
>Sent from the Delta quadrant using Borg technology!
>
>Nux!
>www.nux.ro



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread Nitin Mehta

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


Facing the following error for diff 6

Nitins-MacBook-Air:cloudstack nitinmehta$ git apply 
0001-Cloudstack-5077-reserve-cpu-and-memory-only-when.patch 
error: patch failed: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:3007
error: 
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java:
 patch does not apply

- Nitin Mehta


On Dec. 16, 2013, 12:32 p.m., bharat kumar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15349/
> ---
> 
> (Updated Dec. 16, 2013, 12:32 p.m.)
> 
> 
> Review request for cloudstack and Nitin Mehta.
> 
> 
> Bugs: Cloudstack-5077.
> https://issues.apache.org/jira/browse/Cloudstack-5077.
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> 
> 1.) This includes the change to reserve cpu and memory only when 
> vmware.reserve.cpu/mem is true, regardless of overcommit. 
> 2.) populate the default value of the cpu overcommit at cluster level form 
> the global setting when up grading. 
> 
> 
> Diffs
> -
> 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
>   engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
>   
> plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
>  71894a8 
>   setup/db/db/schema-420to421.sql fe1e0d4 
> 
> Diff: https://reviews.apache.org/r/15349/diff/
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> bharat kumar
> 
>



Re: SG broken in Adv zone with multiple shared networks (4.2)

2013-12-16 Thread Nux!

On 16.12.2013 18:29, Alena Prokharchyk wrote:
The current CS design is the limitation. As SG is created per VM, not 
per
Nic, the SG rule would apply to all vm’s nics. Therefore we allow 
having
only one Shared SG enabled network per zone, and if the vm is deployed 
in

this network, it can’t belong to any other network in the zone.

To overcome the limitation, the SG functionality should be changed to 
be

done per Nic basis.

-Alena.


Hello Alena and thanks for getting back to me.
This sounds like a serious change. Can you give a very rough ETA for 
when this might land in CS?
It's a feature that I've been waiting a long time for, can wait a bit 
more.


Regards,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Review Request 15902: CLOUDSTACK-4904: Unable to see a derieved template if the parent template is deleted

2013-12-16 Thread Nitin Mehta

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



server/src/com/cloud/api/query/QueryManagerImpl.java


Should this be findByIdIncludingRemoved as well ? See bug 5221 as per the 
comment here. Did you check that ?


- Nitin Mehta


On Dec. 16, 2013, 8:54 a.m., Harikrishna Patnala wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/15902/
> ---
> 
> (Updated Dec. 16, 2013, 8:54 a.m.)
> 
> 
> Review request for cloudstack, Kishan Kavala and Nitin Mehta.
> 
> 
> Bugs: CLOUDSTACK-4904
> https://issues.apache.org/jira/browse/CLOUDSTACK-4904
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> CLOUDSTACK-4904: Unable to see a derieved template if the parent template is 
> deleted
> 
> Added supported for listing all templates/ISOs with showremoved = true
> 
> 
> Diffs
> -
> 
>   api/src/org/apache/cloudstack/api/ApiConstants.java e08923c 
>   api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java c3f558b 
>   
> api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java 
> 4b34909 
>   server/src/com/cloud/api/query/QueryManagerImpl.java 58df38c 
>   server/src/com/cloud/api/query/dao/TemplateJoinDao.java f73f5bd 
>   server/src/com/cloud/api/query/dao/TemplateJoinDaoImpl.java 468fb83 
> 
> Diff: https://reviews.apache.org/r/15902/diff/
> 
> 
> Testing
> ---
> 
> Tested locally.
> 
> http://localhost:8096/client/api?command=listTemplates&listAll=true&page=1&pagesize=20&templatefilter=all&_=1385533457469&showremoved=true
> 
> In the below API response "win" template is removed.
> 
> 3
> 
> f0fdb4d8-fd2f-4fc2-9590-6b45689d2a29
> win
> win
> 
> 
> 7240316e-5299-11e3-b8bd-9d3b4dd13283
> CentOS 5.6(64-bit) no GUI (XenServer)
> CentOS 5.6(64-bit) no GUI (XenServer)
> 
> 
> 723ff2c6-5299-11e3-b8bd-9d3b4dd13283
> SystemVM Template (XenServer)SystemVM Template 
> (XenServer)false2013-11-21T16:16:00+0530truefalseVHDfalsetrue72487d10-5299-11e3-b8bd-9d3b4dd13283Debian
>  GNU/Linux 
> 7(32-bit)system0b267864-376e-43ab-8804-57a1a6b9a135xenDownload
>  
> Complete2101252608SYSTEMXenServerROOT730b0240-5299-11e3-b8bd-9d3b4dd13283falsefb1b6e032a160d86f2c28feb5add6d83falsefalse
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>



Re: SG broken in Adv zone with multiple shared networks (4.2)

2013-12-16 Thread Alena Prokharchyk
The current CS design is the limitation. As SG is created per VM, not per
Nic, the SG rule would apply to all vm’s nics. Therefore we allow having
only one Shared SG enabled network per zone, and if the vm is deployed in
this network, it can’t belong to any other network in the zone.

To overcome the limitation, the SG functionality should be changed to be
done per Nic basis.

-Alena.

On 12/14/13, 7:29 AM, "Nux!"  wrote:

>On 14.12.2013 01:07, Alena Prokharchyk wrote:
>> We do make this check when deployVm is called with multiple networks
>> specified, in SG enabled Advance zone. And don¹t let VM to have a mix
>> of
>> SG enabled and disabled Nics.
>> 
>> However I suspect that this check is missing when Nic is plugged to
>> existing VM via PlugNic API command.
>
>Why can't we use multiple SG network? What is the limitation and what
>can we do to overcome it?
>
>Lucian
>
>-- 
>Sent from the Delta quadrant using Borg technology!
>
>Nux!
>www.nux.ro



Re: Entity UUID and Type missing on ActionEvent event notifications

2013-12-16 Thread Alex Ough
A little confusion here because 'setEntityDetails' in 'UserContext' is
no longer used in master.
Is this functionality only for 4.2 and not supported in master?

Thanks
Alex Ough

On Mon, Dec 16, 2013 at 8:35 AM, Murali Reddy  wrote:
> David,
>
> Your analysis is right. There is no single place to put logic which will fix
> all api commands. So adding setEntityDetails call on each of the method that
> is annotated with ActionEvent is right approach.
>
> Thanks,
> Murali
>
> From: David Grizzanti 
> Date: Thursday, 12 December 2013 10:16 PM
> To: Murali Reddy , "dev@cloudstack.apache.org"
> , Alex Ough , Nitin Mehta
> 
> Subject: Re: Entity UUID and Type missing on ActionEvent event notifications
>
> Murali/All,
>
> Opening this discussion back up to decide how to approach fixing this.  I
> looked over what Nitin mentioned, but given that I don't know a whole lot
> about the inner working of the code I don't see anywhere that it would make
> sense to put this logic so that it applies to all API commands.  At the
> outset of the API command where UserContext/CallContext get initialized, the
> resource is not created yet (for Creation cases, so it doesn't yet have a
> UUID).  At the completion of the API command, the Action Event has already
> been generated.
>
> It seems that there are already places where details are being added to the
> UserContext in implementation classes:
> server/src/com/cloud/projects/ProjectManagerImpl.java:
> UserContext.current().setEventDetails("Project id=" + project.getId());
>
> Let me know what other thoughts you may have, otherwise I'd like to proceed
> with adding a setEntityDetails call to each of the places where
> setEventDetails are placed to accomplish this.
>
> --
> David Grizzanti
> Software Engineer
> Sungard Availability Services
>
> e: david.grizza...@sungard.com
> w: 215.446.1431
> c: 570.575.0315
>
> On December 11, 2013 at 6:33:25 AM, Murali Reddy (murali.re...@citrix.com)
> wrote:
>
> On 11/12/13 3:01 AM, "David Grizzanti"  wrote:
>
>>Murali,
>>
>>I spoke with Alex regarding this issue and it appears there may have been
>>some mix up in what the original intent of the bug was and what actually
>>got fixed. To me, the idea behind this was to address the bug that the
>>entity UUID was not getting added to ActionEvents for all resource types.
>> When I looked at this fix today and spoke with Alex, I think what was
>>fixed was only for accounts/users/domains.
>
> David,
>
> You are right. Original intent of the bug is to fix all the action events
> corresponding to all entities. I added a mechanism to persist the entity
> type and entity UUID into the CallContext/UserContext, these details are
> retrieved in the action event interceptor and published on to the event
> bus. Unfortunately there is no single place where we can persist entity
> UUID & type in the CallContext, so that all the action events are taken
> care automatically. So in 4.2 for account/user/domain sync across the
> zones for regions feature, I just fixed action events related to these
> three entities. There was regression in 4.3, which Alex's fix will fix it.
> But generally original intent of the bug 3190 is not fixed yet. May its
> better we open a different bug, as wrong commits went in to the bug.
>
> Thanks,
> Murali
>
>>
>>Not sure where the break down happened, but was wondering how you thought
>>we should address this? Open a new Jira to track the changes given the
>>history of the existing one or re-open
>>https://issues.apache.org/jira/browse/CLOUDSTACK-3190?
>>
>>Thanks
>>
>>--
>>David Grizzanti
>>Software Engineer
>>Sungard Availability Services
>>
>>e: david.grizza...@sungard.com
>>w: 215.446.1431
>>c: 570.575.0315
>>
>>On December 6, 2013 at 4:26:40 PM, Alex Ough (alex.o...@sungard.com)
>>wrote:
>>
>>I modified the fix to make a little simpler, so can you review it please?
>>
>>
>>I'd like to finalize this as soon as possible to move on with
>>CLOUDSTACK-4992.
>>
>>Thanks
>>Alex Ough
>>
>>On Thu, Dec 5, 2013 at 1:32 PM, Alex Ough  wrote:
>>> All,
>>>
>>> I submitted the review request, so please review it and let me know if
>>>there
>>> is anything missing/incorrect.
>>>
>>> Thanks
>>> Alex Ough
>>>
>>>
>>> On Wed, Dec 4, 2013 at 11:29 PM, Murali Reddy 
>>>
>>> wrote:

 On 05/12/13 12:01 AM, "Alex Ough"  wrote:

 >All,
 >
 >I made a comment on its jira,

>CLOUDSTACK-3190,
>
 >so can anyone confirm what I found?
 >I guess it is related with some refactoring related with
'CallContext'
 >class.

 Alex,

 Yes, it regressed during shift from UserContext to CallContext. Please
go
 ahead with changes

 >
 >If correct, I'd like make changes because it is a blocker of what I'm

 >working on for

>CLOUDSTACK-4992
>
 >.
 >
 >Thanks
 >Alex Ough
 >
 >
 

Re: Maven Issue

2013-12-16 Thread Nguyen Anh Tu
yes, woo hoo

--Tuna


On Mon, Dec 16, 2013 at 10:50 PM, Alex Hitchins  wrote:

> They are intermittent for me - could be the storm and heavy rain out the
> window.
>
> Got maven from the link you sent - cheers.
>
> Regards,
>
> Alex Hitchins
>
> -Original Message-
> From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen
> Anh Tu
> Sent: 16 December 2013 15:44
> To: dev@cloudstack.apache.org
> Subject: Re: Maven Issue
>
> On Mon, Dec 16, 2013 at 10:40 PM, Alex Hitchins <
> alex.hitch...@shapeblue.com
> > wrote:
>
> > Thanks Tuna, page not loading at the moment.
> >
> > Sebastien mentioned the new documentation store - I should have look
> there!
> >
>
> I still can access. Wiki is still the main dev document site at the moment
> I think.
>
>
> --Tuna
> 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 is a
> registered trademark.
>


RE: Maven Issue

2013-12-16 Thread Alex Hitchins
They are intermittent for me - could be the storm and heavy rain out the window.

Got maven from the link you sent - cheers.

Regards,

Alex Hitchins

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 16 December 2013 15:44
To: dev@cloudstack.apache.org
Subject: Re: Maven Issue

On Mon, Dec 16, 2013 at 10:40 PM, Alex Hitchins  wrote:

> Thanks Tuna, page not loading at the moment.
>
> Sebastien mentioned the new documentation store - I should have look there!
>

I still can access. Wiki is still the main dev document site at the moment I 
think.


--Tuna
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 is a registered trademark.


Re: Review Request 16295: Resources leaks, refactoring and testing for sanity check in cloud-usage

2013-12-16 Thread Antonio Fornie

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

(Updated Dec. 16, 2013, 3:49 p.m.)


Review request for cloudstack, daan Hoogland and Hugo Trippaers.


Changes
---

A couple of lines in the pom were actually not needed


Repository: cloudstack-git


Description
---

Resources leaks, refactoring and testing for sanity check in cloud-usage


Diffs (updated)
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade2214to30.java 62fdcf1 
  framework/db/src/com/cloud/utils/db/TransactionLegacy.java b36c027 
  usage/pom.xml a0055cc 
  usage/src/com/cloud/usage/UsageSanityChecker.java 34032bc 
  usage/test/com/cloud/usage/UsageSanityCheckerIT.java PRE-CREATION 
  usage/test/com/cloud/usage/UsageSanityCheckerTest.java PRE-CREATION 
  usage/test/resources/cloud1.xml PRE-CREATION 
  usage/test/resources/cloud2.xml PRE-CREATION 
  usage/test/resources/cloud3.xml PRE-CREATION 
  usage/test/resources/cloud_usage1.xml PRE-CREATION 
  usage/test/resources/cloud_usage2.xml PRE-CREATION 
  usage/test/resources/cloud_usage3.xml PRE-CREATION 

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


Testing
---

Whole Maven lifecycle, Unit Tests and Integrations Tests


Thanks,

Antonio Fornie



Re: Maven Issue

2013-12-16 Thread Nguyen Anh Tu
On Mon, Dec 16, 2013 at 10:40 PM, Alex Hitchins  wrote:

> Thanks Tuna, page not loading at the moment.
>
> Sebastien mentioned the new documentation store - I should have look there!
>

I still can access. Wiki is still the main dev document site at the moment
I think.


--Tuna


RE: Maven Issue

2013-12-16 Thread Alex Hitchins
Thanks Tuna, page not loading at the moment.

Sebastien mentioned the new documentation store - I should have look there!

Regards,

Alex Hitchins

-Original Message-
From: ng.t...@gmail.com [mailto:ng.t...@gmail.com] On Behalf Of Nguyen Anh Tu
Sent: 16 December 2013 15:37
To: dev@cloudstack.apache.org
Subject: Re: Maven Issue

On Mon, Dec 16, 2013 at 10:29 PM, Alex Hitchins  wrote:

> All, just building a linux dev vm and following the guide.
>
> This file no longer seems to exist on the server - does anyone know
> the new link?
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+Clou
> dStack+Development+Environment+on+Linux
>

Alex,

I follow that guide:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack


--Tuna
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 is a registered trademark.


Re: Maven Issue

2013-12-16 Thread Nguyen Anh Tu
On Mon, Dec 16, 2013 at 10:29 PM, Alex Hitchins  wrote:

> All, just building a linux dev vm and following the guide.
>
> This file no longer seems to exist on the server - does anyone know the
> new link?
>
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux
>

Alex,

I follow that guide:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack


--Tuna


Maven Issue

2013-12-16 Thread Alex Hitchins
All, just building a linux dev vm and following the guide.

This file no longer seems to exist on the server - does anyone know the new 
link?

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux



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 is a registered trademark.


Jenkins build is back to normal : build-master » Apache CloudStack AWS API Bridge #240

2013-12-16 Thread jenkins
See 




Jenkins build is back to normal : build-master #240

2013-12-16 Thread jenkins
See 



Review Request 16295: Resources leaks, refactoring and testing for sanity check in cloud-usage

2013-12-16 Thread Antonio Fornie

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

Review request for cloudstack, daan Hoogland and Hugo Trippaers.


Repository: cloudstack-git


Description
---

Resources leaks, refactoring and testing for sanity check in cloud-usage


Diffs
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade2214to30.java 62fdcf1 
  framework/db/src/com/cloud/utils/db/TransactionLegacy.java b36c027 
  usage/pom.xml a0055cc 
  usage/src/com/cloud/usage/UsageSanityChecker.java 34032bc 
  usage/test/com/cloud/usage/UsageSanityCheckerIT.java PRE-CREATION 
  usage/test/com/cloud/usage/UsageSanityCheckerTest.java PRE-CREATION 
  usage/test/resources/cloud1.xml PRE-CREATION 
  usage/test/resources/cloud2.xml PRE-CREATION 
  usage/test/resources/cloud3.xml PRE-CREATION 
  usage/test/resources/cloud_usage1.xml PRE-CREATION 
  usage/test/resources/cloud_usage2.xml PRE-CREATION 
  usage/test/resources/cloud_usage3.xml PRE-CREATION 

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


Testing
---

Whole Maven lifecycle, Unit Tests and Integrations Tests


Thanks,

Antonio Fornie



Build failed in Jenkins: build-master #238

2013-12-16 Thread jenkins
See 

Changes:

[muralimmreddy] CLOUDSTACK-5517: NPE observed during "release portable IPs" as 
part of

--
[...truncated 3845 lines...]
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [1:08.028s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.106s]
[INFO] Apache CloudStack Checkstyle Configuration  SUCCESS [5.383s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.890s]
[INFO] Apache CloudStack

Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #238

2013-12-16 Thread jenkins
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not

Re: Entity UUID and Type missing on ActionEvent event notifications

2013-12-16 Thread Murali Reddy
David,

Your analysis is right. There is no single place to put logic which will fix 
all api commands. So adding setEntityDetails call on each of the method that is 
annotated with ActionEvent is right approach.

Thanks,
Murali

From: David Grizzanti 
mailto:david.grizza...@sungard.com>>
Date: Thursday, 12 December 2013 10:16 PM
To: Murali Reddy mailto:murali.re...@citrix.com>>, 
"dev@cloudstack.apache.org" 
mailto:dev@cloudstack.apache.org>>, Alex Ough 
mailto:alex.o...@sungard.com>>, Nitin Mehta 
mailto:nitin.me...@citrix.com>>
Subject: Re: Entity UUID and Type missing on ActionEvent event notifications

Murali/All,

Opening this discussion back up to decide how to approach fixing this.  I 
looked over what Nitin mentioned, but given that I don't know a whole lot about 
the inner working of the code I don't see anywhere that it would make sense to 
put this logic so that it applies to all API commands.  At the outset of the 
API command where UserContext/CallContext get initialized, the resource is not 
created yet (for Creation cases, so it doesn't yet have a UUID).  At the 
completion of the API command, the Action Event has already been generated.

It seems that there are already places where details are being added to the 
UserContext in implementation classes:
server/src/com/cloud/projects/ProjectManagerImpl.java:
UserContext.current().setEventDetails("Project id=" + project.getId());

Let me know what other thoughts you may have, otherwise I'd like to proceed 
with adding a setEntityDetails call to each of the places where setEventDetails 
are placed to accomplish this.

--
David Grizzanti
Software Engineer
Sungard Availability Services

e: david.grizza...@sungard.com
w: 215.446.1431
c: 570.575.0315


On December 11, 2013 at 6:33:25 AM, Murali Reddy 
(murali.re...@citrix.com) wrote:

On 11/12/13 3:01 AM, "David Grizzanti" 
mailto:david.grizza...@sungard.com>> wrote:

>Murali,
>
>I spoke with Alex regarding this issue and it appears there may have been
>some mix up in what the original intent of the bug was and what actually
>got fixed. To me, the idea behind this was to address the bug that the
>entity UUID was not getting added to ActionEvents for all resource types.
> When I looked at this fix today and spoke with Alex, I think what was
>fixed was only for accounts/users/domains.

David,

You are right. Original intent of the bug is to fix all the action events
corresponding to all entities. I added a mechanism to persist the entity
type and entity UUID into the CallContext/UserContext, these details are
retrieved in the action event interceptor and published on to the event
bus. Unfortunately there is no single place where we can persist entity
UUID & type in the CallContext, so that all the action events are taken
care automatically. So in 4.2 for account/user/domain sync across the
zones for regions feature, I just fixed action events related to these
three entities. There was regression in 4.3, which Alex's fix will fix it.
But generally original intent of the bug 3190 is not fixed yet. May its
better we open a different bug, as wrong commits went in to the bug.

Thanks,
Murali

>
>Not sure where the break down happened, but was wondering how you thought
>we should address this? Open a new Jira to track the changes given the
>history of the existing one or re-open
>https://issues.apache.org/jira/browse/CLOUDSTACK-3190?
>
>Thanks
>
>--
>David Grizzanti
>Software Engineer
>Sungard Availability Services
>
>e: david.grizza...@sungard.com
>w: 215.446.1431
>c: 570.575.0315
>
>On December 6, 2013 at 4:26:40 PM, Alex Ough 
>(alex.o...@sungard.com)
>wrote:
>
>I modified the fix to make a little simpler, so can you review it please?
>
>
>I'd like to finalize this as soon as possible to move on with
>CLOUDSTACK-4992.
>
>Thanks
>Alex Ough
>
>On Thu, Dec 5, 2013 at 1:32 PM, Alex Ough 
>mailto:alex.o...@sungard.com>> wrote:
>> All,
>>
>> I submitted the review request, so please review it and let me know if
>>there
>> is anything missing/incorrect.
>>
>> Thanks
>> Alex Ough
>>
>>
>> On Wed, Dec 4, 2013 at 11:29 PM, Murali Reddy 
>> mailto:murali.re...@citrix.com>>
>>
>> wrote:
>>>
>>> On 05/12/13 12:01 AM, "Alex Ough" 
>>> mailto:alex.o...@sungard.com>> wrote:
>>>
>>> >All,
>>> >
>>> >I made a comment on its jira,
>>>
CLOUDSTACK-3190,

>>> >so can anyone confirm what I found?
>>> >I guess it is related with some refactoring related with
>>>'CallContext'
>>> >class.
>>>
>>> Alex,
>>>
>>> Yes, it regressed during shift from UserContext to CallContext. Please
>>>go
>>> ahead with changes
>>>
>>> >
>>> >If correct, I'd like make changes because it is a blocker of what I'm
>>>
>>> >working on for
>>>
CLOUDSTACK-4992

Jenkins build is back to normal : cloudstack-4.3-maven-build-noredist #173

2013-12-16 Thread jenkins
See 




Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #237

2013-12-16 Thread jenkins
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not

Build failed in Jenkins: build-master #237

2013-12-16 Thread jenkins
See 

Changes:

[muralimmreddy] CLOUDSTACK-4616: When system Vms fail to start when host is 
down , link

--
[...truncated 3845 lines...]
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [1:41.093s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [2.398s]
[INFO] Apache CloudStack Checkstyle Configuration  SUCCESS [7.839s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [30.066s]
[INFO] Apache CloudStac

Build failed in Jenkins: cloudstack-4.3-maven-build-noredist #172

2013-12-16 Thread jenkins
See 


Changes:

[muralimmreddy] CLOUDSTACK-4616: When system Vms fail to start when host is 
down , link

--
[...truncated 5639 lines...]
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-quickcloud ---
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-quickcloud ---
[INFO] Surefire report directory: 


---
 T E S T S
---

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-quickcloud ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-quickcloud ---
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-quickcloud/4.3.0-SNAPSHOT/cloud-quickcloud-4.3.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-quickcloud/4.3.0-SNAPSHOT/cloud-quickcloud-4.3.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.3.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies 

Re: [Help] OVS Tunnel ARP reply storm problem

2013-12-16 Thread Nguyen Anh Tu
I filed the bug here: https://issues.apache.org/jira/browse/CLOUDSTACK-5516

Need anyone who master in networking can help. Temporary I still let
enabled STP. Or we can go back to disabled STP if needed.

Cheers,

--Tuna


On Wed, Dec 11, 2013 at 7:10 PM, Murali Reddy wrote:

> Tuna,
>
> I see you enabled STP on the OVS bridge. I believe STP was intentionally
> disabled for similar concerns of Chandler. Please see [1] for how the
> broadcast traffic was to be handled in non loop free full-mesh topology.
>
> On 11/12/13 3:07 PM, "Chandler Li"  wrote:
>
> >Hi Tuna,
> >
> >Thanks for your reply. It's really helpful to me!
> >
> >Active the STP function on ovs bridge will prevent the storm effectively
> >but it will need large of CPU resource in a large amount of networks
> >scenario. Maybe there are other solutions to solve it easily? (Might be
> >adding more flow rules or else.)
>
> Chandler,
>
> Propagation of broadcast traffic across the tunnels should have been
> suppressed. Its possible there is a bug, could you file a bug? Generally
> effective handling of broadcast traffic is in TODO's [2]
>
> [1]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/OVS+Tunnel+Manager+f
> or+CloudStack
> [2]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enhancements+to+GRE-
> based+SDN+overlay
>
>
> >
> >Chandler
> >
> >
> >2013/12/11 Nguyen Anh Tu 
> >
> >> Hi Chandler,
> >>
> >> This update will help you prevent the storm.
> >>
> >>
> >>
> >>
> http://blog.scottlowe.org/2013/11/22/an-update-on-using-gre-tunnels-with-
> >>open-vswitch/
> >>
> >> I'm taking care about GRE controller in CloudStack. Checking lastest
> >>master
> >> branch now.
> >>
> >> Cheers,
> >>
> >> --Tuna
> >>
> >>
> >> On Wed, Dec 11, 2013 at 3:16 PM, Chandler Li  >> >wrote:
> >>
> >> > Hi,
> >> >
> >> > I am trying to learn the procedure of multi-tenancy network created by
> >> GRE
> >> > tunnel in CloudStack and trying to establish one in Xenserver 6.2
> >> > environment step by step.
> >> >
> >> > According to the sourcecode in ovstunnel, CloudStack need to prevent
> >> > broadcast storm by generating some flow rules on openvswitch. I
> >>create a
> >> > full mash topology using GRE tunnel, create some VMs, and set
> >>broadcast
> >> > storm prevent rules on each ovs.  Unfortunately, amount of ARP reply
> >> storm
> >> > packet flow between all hosts after one VM pings the other VM in
> >>another
> >> > Host.
> >>(https://www.dropbox.com/s/vy1opm7plho9dzs/arp%20reply%20storm.PNG
> >> )
> >> >
> >> > In this case, IP 10.0.0.1's VM is on IP 10.0.75.9's Host, IP
> >>10.0.0.2's
> >> VM
> >> > is on IP 10.0.75.14's Host. The ARP request broadcast packets were
> >> dropped
> >> > successfully by the broadcast storm prevent rules excepted the real
> >> target
> >> > IP 10.0.75.14's Host, but ARP reply packets seems cannot be filtered
> >>by
> >> the
> >> > rules, so the ARP reply storm happened in this loop topology.
> >> >
> >> > Could anyone tell me how CloudStack ovs tunnel avoid ARP reply storm
> >>or
> >> did
> >> > I miss something important? Thanks!
> >> >
> >> > BRs,
> >> > Chandler Li
> >> >
> >>
> >
>
>
>


Review Request 16293: CLOUDSTACK-5264: Xenserver - Full Snapshots are not being created even after snapshot.delta.max is exceeded

2013-12-16 Thread Harikrishna Patnala

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

Review request for cloudstack and Min Chen.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-5264: Xenserver - Full Snapshots are not being created even after 
snapshot.delta.max is exceeded

Fixed the code that decides whether to take full snapshot or not based on the 
configuration parameter "snapshot.delta.max"


Diffs
-

  core/src/org/apache/cloudstack/storage/to/SnapshotObjectTO.java 34e977c 
  
engine/storage/datamotion/src/org/apache/cloudstack/storage/motion/AncientDataMotionStrategy.java
 67cc324 
  
engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/XenserverSnapshotStrategy.java
 69900af 
  
plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
 5a19aee 
  server/src/com/cloud/storage/CreateSnapshotPayload.java 3bc571e 

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


Testing
---

Tested locally by setting the value of "snapshot.delta.max" to 4 and checked 
for 4 delta snapshots.


Thanks,

Harikrishna Patnala



Jenkins build is back to normal : cloudstack-4.3-maven-build-noredist #171

2013-12-16 Thread jenkins
See 




Build failed in Jenkins: build-master #236

2013-12-16 Thread jenkins
See 

Changes:

[kishan] CLOUDSTACK-5145 : Added permission checks while deleting network ACLs

[kishan] CLOUDSTACK-5145 : Added permission checks while deleting network ACLs

--
[...truncated 3845 lines...]
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [1:05.709s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.289s]
[INFO] Apache CloudStack Checkstyle Configuration  SUCCESS [5.140s]
[INFO] Apache CloudStack Frame

Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #236

2013-12-16 Thread jenkins
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not

Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread bharat kumar

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

(Updated Dec. 16, 2013, 12:32 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

patch for master.


Bugs: Cloudstack-5077.
https://issues.apache.org/jira/browse/Cloudstack-5077.


Repository: cloudstack-git


Description
---


1.) This includes the change to reserve cpu and memory only when 
vmware.reserve.cpu/mem is true, regardless of overcommit. 
2.) populate the default value of the cpu overcommit at cluster level form the 
global setting when up grading. 


Diffs (updated)
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 80497d4 
  engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java 51fb0de 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 71894a8 
  setup/db/db/schema-420to421.sql fe1e0d4 

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


Testing
---


Thanks,

bharat kumar



Re: Review Request 15349: Overprivisoning changes needed

2013-12-16 Thread bharat kumar

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

(Updated Dec. 16, 2013, 12:24 p.m.)


Review request for cloudstack and Nitin Mehta.


Changes
---

patch for 4.3


Bugs: Cloudstack-5077.
https://issues.apache.org/jira/browse/Cloudstack-5077.


Repository: cloudstack-git


Description
---


1.) This includes the change to reserve cpu and memory only when 
vmware.reserve.cpu/mem is true, regardless of overcommit. 
2.) populate the default value of the cpu overcommit at cluster level form the 
global setting when up grading. 


Diffs (updated)
-

  engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java c2630b0 
  engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java d7eccc1 
  
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
 d5f3035 
  setup/db/db/schema-420to421.sql 302d44a 

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


Testing
---


Thanks,

bharat kumar



Build failed in Jenkins: build-master #235

2013-12-16 Thread jenkins
See 

Changes:

[likitha.shetty] CLOUDSTACK-5514. Response of listAccounts API call includes 
removed users

--
[...truncated 3844 lines...]
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [1:37.101s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.150s]
[INFO] Apa

Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #235

2013-12-16 Thread jenkins
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not

Build failed in Jenkins: cloudstack-4.3-maven-build-noredist #170

2013-12-16 Thread jenkins
See 


Changes:

[likitha.shetty] CLOUDSTACK-5514. Response of listAccounts API call includes 
removed users

--
[...truncated 5639 lines...]
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-quickcloud ---
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ 
cloud-quickcloud ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ 
cloud-quickcloud ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12:test (default-test) @ cloud-quickcloud ---
[INFO] Surefire report directory: 


---
 T E S T S
---

Results :

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

[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cloud-quickcloud ---
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-quickcloud ---
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ 
cloud-quickcloud ---
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-quickcloud/4.3.0-SNAPSHOT/cloud-quickcloud-4.3.0-SNAPSHOT.jar
[INFO] Installing 

 to 
/jenkins/.m2/repository/org/apache/cloudstack/cloud-quickcloud/4.3.0-SNAPSHOT/cloud-quickcloud-4.3.0-SNAPSHOT.pom
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.3.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependenci

RE: git commit: updated refs/heads/4.2 to 2b34dc5

2013-12-16 Thread Wei Zhou
Abhi, Chips

The issue CLOUDSTACK-4827 happened when one build 4.2 (with xapi-5.6.100-1) if 
compiled 4.1 (with xapi-5.6.100-1-SNAPSHOT) before.

I just tested some times (built 4.1 at first, then 4.2 with xapi-5.6.100-1), 
the issue did not appear. It is weird.
Now I vote +1 on removing -SNAPSHOT as I cannot reproduce it.
If anyone meet this issue later, they can fix it by removing the 
org/apache/cloudstack/xapi/ folder in local maven repository.


Kind Regards,

Wei ZHOU
Innovation Engineer Cloud, LeaseWeb B.V.
w.z...@leaseweb.com

-Original Message-
From: Abhinandan Prateek [mailto:abhinandan.prat...@citrix.com] 
Sent: zaterdag, 14 december, 2013 04:02
To: dev@cloudstack.apache.org
Cc: aprat...@apache.org; Wei Zhou
Subject: Re: git commit: updated refs/heads/4.2 to 2b34dc5



On 13/12/13 9:20 pm, "Chip Childers"  wrote:
>>
>> >  xapi
>> >  5.6.100-1-SNAPSHOT
>> 
>> The specific project version ^^
>> 
>> For all previous releases, we have been releasing this specific 
>> pom.xml file with the appropriate *non SNAPSHOT* versions for both 
>> the parent version number and the XenServerJava project's version 
>> number (specifically setting the latter to 5.6.100-1).
>> 
>> Since we are releasing the XenServerJava code as part of ACS, why 
>> would we leave the SNAPSHOT in there?
>> 
>> Did something change that requires it to be added back?
>> 
>> -chip
>
>I'll also point out that the reason that this is doing a mv then the 
>perl string changes is that there used to be a bug in the mvn versions 
>plugin that changed the XenServerJava version to the ACS version.  This 
>appears to have been fixed (just tested).  So actually, the mv can be 
>removed or not, it doesn't really matter because it's basically a noop.
>
>However -1 still stands unless someone convinces me that we should 
>release the XenServerJava project with -SNAPSHOT.  IIRC, that actually 
>caused problems for us somehow (but I can't find a reference to that to 
>back up my sometimes fuzzy memory).
>

I was pointed to this ticket CLOUDSTACK-4827. The info is not very clear and it 
appears that this fixes probably a bad version for the repo, and not for the 
build. 

-abhi

>



Re: Review Request 16178: CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature

2013-12-16 Thread Ashutosh Kelkar

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

(Updated Dec. 16, 2013, 10:01 a.m.)


Review request for cloudstack, Girish Shilamkar, Santhosh Edukulla, and 
SrikanteswaraRao Talluri.


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


Repository: cloudstack-git


Description
---

Adding Automation tests for feature "Security Group Isolation in advanced zone".

@Santhosh: Please check the change in configGenerator file. Made changes to 
take relative path.


Diffs (updated)
-

  test/integration/component/test_advancedsg_networks.py 4834351 
  tools/marvin/marvin/config/config.cfg PRE-CREATION 
  tools/marvin/marvin/configGenerator.py 6d5b70d 
  tools/marvin/marvin/integration/lib/base.py b43af33 
  tools/marvin/marvin/integration/lib/common.py 096b073 

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


Testing
---

Tested locally on Advanced zone setup with security group enabled.


Thanks,

Ashutosh Kelkar



Re: Review Request 16178: CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature

2013-12-16 Thread Ashutosh Kelkar


> On Dec. 11, 2013, 6:04 p.m., Santhosh Edukulla wrote:
> > test/integration/component/test_advancedsg_networks.py, line 1702
> > 
> >
> > There is no clean up i believe in case of an exception?

The important operations in test cases (Exactly what we are trying to test) 
such as shared network creation, vm creation are covered under try block and 
test cases are failed if exception is raised, but simpler operation like 
account creation do not need it IMO. In that case, we can cover whole test case 
under try block. What do you suggest?


- Ashutosh


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


On Dec. 16, 2013, 9:45 a.m., Ashutosh Kelkar wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16178/
> ---
> 
> (Updated Dec. 16, 2013, 9:45 a.m.)
> 
> 
> Review request for cloudstack, Girish Shilamkar, Santhosh Edukulla, and 
> SrikanteswaraRao Talluri.
> 
> 
> Bugs: CLOUDSTACK-2237
> https://issues.apache.org/jira/browse/CLOUDSTACK-2237
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> ---
> 
> Adding Automation tests for feature "Security Group Isolation in advanced 
> zone".
> 
> @Santhosh: Please check the change in configGenerator file. Made changes to 
> take relative path.
> 
> 
> Diffs
> -
> 
>   test/integration/component/test_advancedsg_networks.py 4834351 
>   tools/marvin/marvin/config/config.cfg PRE-CREATION 
>   tools/marvin/marvin/configGenerator.py 6d5b70d 
>   tools/marvin/marvin/integration/lib/base.py b43af33 
>   tools/marvin/marvin/integration/lib/common.py 096b073 
> 
> Diff: https://reviews.apache.org/r/16178/diff/
> 
> 
> Testing
> ---
> 
> Tested locally on Advanced zone setup with security group enabled.
> 
> 
> Thanks,
> 
> Ashutosh Kelkar
> 
>



Re: Review Request 16178: CLOUDSTACK-2237: Automation - Adding new test cases for security group in advanced zone feature

2013-12-16 Thread Ashutosh Kelkar

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

(Updated Dec. 16, 2013, 9:45 a.m.)


Review request for cloudstack, Girish Shilamkar, Santhosh Edukulla, and 
SrikanteswaraRao Talluri.


Changes
---

Review changes and added few more test cases.


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


Repository: cloudstack-git


Description
---

Adding Automation tests for feature "Security Group Isolation in advanced zone".

@Santhosh: Please check the change in configGenerator file. Made changes to 
take relative path.


Diffs (updated)
-

  test/integration/component/test_advancedsg_networks.py 4834351 
  tools/marvin/marvin/config/config.cfg PRE-CREATION 
  tools/marvin/marvin/configGenerator.py 6d5b70d 
  tools/marvin/marvin/integration/lib/base.py b43af33 
  tools/marvin/marvin/integration/lib/common.py 096b073 

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


Testing
---

Tested locally on Advanced zone setup with security group enabled.


Thanks,

Ashutosh Kelkar



Re: git commit: updated refs/heads/4.2 to 2b34dc5

2013-12-16 Thread Abhinandan Prateek


On 14/12/13 11:49 pm, "Chip Childers"  wrote:

>On Friday, December 13, 2013, Abhinandan Prateek wrote:
>
>>
>>
>> On 13/12/13 9:20 pm, "Chip Childers"
>>>
>> wrote:
>> >>
>> >> >  xapi
>> >> >  5.6.100-1-SNAPSHOT
>> >>
>> >> The specific project version ^^
>> >>
>> >> For all previous releases, we have been releasing this specific
>>pom.xml
>> >> file with the appropriate *non SNAPSHOT* versions for both the parent
>> >> version number and the XenServerJava project's version number
>> >> (specifically setting the latter to 5.6.100-1).
>> >>
>> >> Since we are releasing the XenServerJava code as part of ACS, why
>>would
>> >> we leave the SNAPSHOT in there?
>> >>
>> >> Did something change that requires it to be added back?
>> >>
>> >> -chip
>> >
>> >I'll also point out that the reason that this is doing a mv then the
>> >perl string changes is that there used to be a bug in the mvn versions
>> >plugin that changed the XenServerJava version to the ACS version.  This
>> >appears to have been fixed (just tested).  So actually, the mv can be
>> >removed or not, it doesn't really matter because it's basically a noop.
>> >
>> >However -1 still stands unless someone convinces me that we should
>> >release the XenServerJava project with -SNAPSHOT.  IIRC, that actually
>> >caused problems for us somehow (but I can't find a reference to that to
>> >back up my sometimes fuzzy memory).
>> >
>>
>> I was pointed to this ticket CLOUDSTACK-4827. The info is not very clear
>> and it appears that this fixes probably a bad version for the repo, and
>> not for the build.
>>
>> -abhi

The commit is reverted. Will be re-spinning the 4.2.1 now.

>



Build failed in Jenkins: build-master » Apache CloudStack AWS API Bridge #234

2013-12-16 Thread jenkins
See 


--
[INFO] 
[INFO] 
[INFO] Building Apache CloudStack AWS API Bridge 4.4.0-SNAPSHOT
[INFO] 
[WARNING] The POM for org.apache.rampart:rampart-policy:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.rampart:rampart-trust:jar:1.5.1 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-kernel:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:mex:jar:impl:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.axis2:addressing:mar:1.5.4 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details
[WARNING] The POM for org.apache.ws.security:wss4j:jar:1.5.10 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.apache.santuario:xmlsec:jar:1.4.2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] The POM for org.opensaml:opensaml1:jar:1.1 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for org.slf4j:slf4j-jdk14:jar:1.5.2 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] The POM for bouncycastle:bcprov-jdk14:jar:140 is invalid, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-awsapi ---
[INFO] Deleting 

 (includes = [**/*], excludes = [])
[INFO] Deleting 

 (includes = [target, dist], excludes = [])
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-awsapi 
---
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:axis2-kernel:jar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:mex:jar:impl:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.axis2:axis2-mtompolicy:jar:1.5.4, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.axis2:addressing:mar:1.5.4, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.ws.commons.axiom:axiom-dom:jar:1.2.10, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.ws.security:wss4j:jar:1.5.10, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not

Build failed in Jenkins: build-master #234

2013-12-16 Thread jenkins
See 

Changes:

[girish] CLOUDSTACK-5506: Fixed egress_fw_rules.py, one of hunks was missing.

--
[...truncated 3845 lines...]
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.opensaml:opensaml1:jar:1.1, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.slf4j:slf4j-jdk14:jar:1.5.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for commons-lang:commons-lang:jar:2.3, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for bouncycastle:bcprov-jdk14:jar:140, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid POM for org.apache.rampart:rampart-policy:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.rampart:rampart-trust:jar:1.5.1, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details
[WARNING] Invalid POM for org.apache.santuario:xmlsec:jar:1.4.2, transitive 
dependencies (if any) will not be available, enable debug logging for more 
details
[WARNING] Invalid project model for artifact 
[addressing:org.apache.axis2:1.5.4]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [bcprov-jdk14:bouncycastle:140]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [opensaml1:org.opensaml:1.1]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact [commons-lang:commons-lang:2.3]. 
It will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-trust:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[rampart-policy:org.apache.rampart:1.5.1]. It will be ignored by the remote 
resources Mojo.
[WARNING] Invalid project model for artifact 
[xmlsec:org.apache.santuario:1.4.2]. It will be ignored by the remote resources 
Mojo.
[WARNING] Invalid project model for artifact [mex:org.apache.axis2:1.5.4]. It 
will be ignored by the remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axiom-dom:org.apache.ws.commons.axiom:1.2.10]. It will be ignored by the 
remote resources Mojo.
[WARNING] Invalid project model for artifact 
[axis2-mtompolicy:org.apache.axis2:1.5.4]. It will be ignored by the remote 
resources Mojo.
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-resource) @ cloud-awsapi ---
[INFO] Executing tasks

main:
 [copy] Copying 3 files to 

[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ 
cloud-awsapi ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ cloud-awsapi 
---
[INFO] Compiling 1295 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/mex/1.5.4/mex-1.5.4-impl.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.5.4/axis2-mtompolicy-1.5.4.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/apache/ws/commons/axiom/axiom-dom/1.2.10/axiom-dom-1.2.10.jar;
 error in opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; error in 
opening zip file
[ERROR] error: error reading 
/jenkins/.m2/repository/commons-lang/commons-lang/2.3/commons-lang-2.3.jar; 
error in opening zip file
[INFO] 5 errors 
[INFO] -
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache CloudStack . SUCCESS [1:03.038s]
[INFO] Apache CloudStack Maven Conventions Parent  SUCCESS [1.335s]
[INFO] Apache CloudStack Checkstyle Configuration  SUCCESS [4.953s]
[INFO] Apache CloudStack Framework - Managed Context . SUCCESS [19.283s]
[INFO] Apache CloudStack Utils ...

Jenkins build is back to normal : cloudstack-4.3-maven-build-noredist #169

2013-12-16 Thread jenkins
See 




Re: Review Request 15902: CLOUDSTACK-4904: Unable to see a derieved template if the parent template is deleted

2013-12-16 Thread Harikrishna Patnala

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

(Updated Dec. 16, 2013, 8:54 a.m.)


Review request for cloudstack, Kishan Kavala and Nitin Mehta.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-4904: Unable to see a derieved template if the parent template is 
deleted

Added supported for listing all templates/ISOs with showremoved = true


Diffs
-

  api/src/org/apache/cloudstack/api/ApiConstants.java e08923c 
  api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java c3f558b 
  api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java 
4b34909 
  server/src/com/cloud/api/query/QueryManagerImpl.java 58df38c 
  server/src/com/cloud/api/query/dao/TemplateJoinDao.java f73f5bd 
  server/src/com/cloud/api/query/dao/TemplateJoinDaoImpl.java 468fb83 

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


Testing
---

Tested locally.

http://localhost:8096/client/api?command=listTemplates&listAll=true&page=1&pagesize=20&templatefilter=all&_=1385533457469&showremoved=true

In the below API response "win" template is removed.

3

f0fdb4d8-fd2f-4fc2-9590-6b45689d2a29
win
win


7240316e-5299-11e3-b8bd-9d3b4dd13283
CentOS 5.6(64-bit) no GUI (XenServer)
CentOS 5.6(64-bit) no GUI (XenServer)


723ff2c6-5299-11e3-b8bd-9d3b4dd13283
SystemVM Template (XenServer)SystemVM Template 
(XenServer)false2013-11-21T16:16:00+0530truefalseVHDfalsetrue72487d10-5299-11e3-b8bd-9d3b4dd13283Debian
 GNU/Linux 
7(32-bit)system0b267864-376e-43ab-8804-57a1a6b9a135xenDownload
 
Complete2101252608SYSTEMXenServerROOT730b0240-5299-11e3-b8bd-9d3b4dd13283falsefb1b6e032a160d86f2c28feb5add6d83falsefalse


Thanks,

Harikrishna Patnala



Re: Review Request 15902: CLOUDSTACK-4904: Unable to see a derieved template if the parent template is deleted

2013-12-16 Thread Harikrishna Patnala

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

(Updated Dec. 16, 2013, 8:53 a.m.)


Review request for cloudstack, Kishan Kavala and Nitin Mehta.


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


Repository: cloudstack-git


Description
---

CLOUDSTACK-4904: Unable to see a derieved template if the parent template is 
deleted

Added supported for listing all templates/ISOs with showremoved = true


Diffs
-

  api/src/org/apache/cloudstack/api/ApiConstants.java e08923c 
  api/src/org/apache/cloudstack/api/command/user/iso/ListIsosCmd.java c3f558b 
  api/src/org/apache/cloudstack/api/command/user/template/ListTemplatesCmd.java 
4b34909 
  server/src/com/cloud/api/query/QueryManagerImpl.java 58df38c 
  server/src/com/cloud/api/query/dao/TemplateJoinDao.java f73f5bd 
  server/src/com/cloud/api/query/dao/TemplateJoinDaoImpl.java 468fb83 

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


Testing
---

Tested locally.

http://localhost:8096/client/api?command=listTemplates&listAll=true&page=1&pagesize=20&templatefilter=all&_=1385533457469&showremoved=true

In the below API response "win" template is removed.

3

f0fdb4d8-fd2f-4fc2-9590-6b45689d2a29
win
win


7240316e-5299-11e3-b8bd-9d3b4dd13283
CentOS 5.6(64-bit) no GUI (XenServer)
CentOS 5.6(64-bit) no GUI (XenServer)


723ff2c6-5299-11e3-b8bd-9d3b4dd13283
SystemVM Template (XenServer)SystemVM Template 
(XenServer)false2013-11-21T16:16:00+0530truefalseVHDfalsetrue72487d10-5299-11e3-b8bd-9d3b4dd13283Debian
 GNU/Linux 
7(32-bit)system0b267864-376e-43ab-8804-57a1a6b9a135xenDownload
 
Complete2101252608SYSTEMXenServerROOT730b0240-5299-11e3-b8bd-9d3b4dd13283falsefb1b6e032a160d86f2c28feb5add6d83falsefalse


Thanks,

Harikrishna Patnala