cs+vmware ????????vmfs????
CS4.3+vspherevmfs??nfs ?? ?? 2014-08-13 10:12:59,324 INFO [c.c.h.v.r.VmwareResource] (DirectAgent-160:ctx-17f5a494 10.181.37.18) Executing resource ModifyStoragePoolCommand: {add:true,pool:{id:7,uuid:f3ddd813-7022-339f-85e9-e0c002723836,host:VMFS datastore: /APAC+Cloud/Cloud-Primary,path:/APAC+Cloud/Cloud-Primary,port:0,type:VMFS},localPath:/mnt//40e1b1df-08e2-37ab-9888-613b2fb38732,wait:0} 2014-08-13 10:12:59,355 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-7:ctx-da779050) Seq 1-1512640205: Response Received: 2014-08-13 10:12:59,355 DEBUG [c.c.a.t.Request] (StatsCollector-1:ctx-798b1475) Seq 1-1512640205: Received: { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer } } 2014-08-13 10:12:59,451 ERROR [c.c.h.v.m.DatacenterMO] (DirectAgent-160:ctx-17f5a494 10.181.37.18) Unable to locate DC APAC+Cloud 2014-08-13 10:12:59,457 ERROR [c.c.h.v.u.VmwareContext] (DirectAgent-160:ctx-17f5a494 10.181.37.18) Unable to locate the datacenter specified in path: /APAC+Cloud/Cloud-Primary 2014-08-13 10:12:59,457 ERROR [c.c.h.v.m.HostMO] (DirectAgent-160:ctx-17f5a494 10.181.37.18) Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836 2014-08-13 10:12:59,457 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-160:ctx-17f5a494 10.181.37.18) ModifyStoragePoolCommand failed due to Exception: java.lang.Exception Message: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836 java.lang.Exception: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836 at com.cloud.hypervisor.vmware.mo.HostMO.mountDatastore(HostMO.java:853) at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4818) at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:536) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) 2014-08-13 10:12:59,458 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-160:ctx-17f5a494) Seq 1-1512640207: Response Received: 2014-08-13 10:12:59,458 DEBUG [c.c.a.t.Request] (DirectAgent-160:ctx-17f5a494) Seq 1-1512640207: Processing: { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, [{com.cloud.agent.api.Answer:{result:false,details:ModifyStoragePoolCommand failed due to Exception: java.lang.Exception\nMessage: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836\n,wait:0}}] } 2014-08-13 10:12:59,458 DEBUG [c.c.a.t.Request] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351) Seq 1-1512640207: Received: { Ans: , MgmtId: 345052609028, via: 1, Ver: v1, Flags: 10, { Answer } } 2014-08-13 10:12:59,459 DEBUG [c.c.a.m.AgentManagerImpl] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351) Details from executing class com.cloud.agent.api.ModifyStoragePoolCommand: ModifyStoragePoolCommand failed due to Exception: java.lang.Exception Message: Unable to create VMFS datastore. host: VMFS datastore: /APAC+Cloud/Cloud-Primary, port: 0, path: /APAC+Cloud/Cloud-Primary, uuid: f3ddd8137022339f85e9e0c002723836 2014-08-13 10:12:59,459 WARN [o.a.c.alerts] (catalina-exec-6:ctx-ec5c856b ctx-a1a6d351) alertType:: 7 // dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Unable to attach storage pool7 to the host1 2014-08-13 10:12:59,469 WARN
Re: Zones, Domains and Templates
Thanks for your comments. I have the seen the documentation, talking of adding users and project invitations etc. How to assign virtual resources like a vm (instance), disk/networking to a specific project. As far as domains are concerned, I was thinking as follows, please correct, if any err: create private zone, create domain within that zone, login as domain admin, create vm and apps, create template for vm and create users for that domain. When the user log's in into that domain, he/she should be able to see only the templates in that zone, right? From: Xerex Bueno xbu...@lpsintegration.com To: users@cloudstack.apache.org users@cloudstack.apache.org; Giri Prasad g_p...@yahoo.com; d...@cloudstack.apache.org d...@cloudstack.apache.org Sent: Monday, 11 August 2014 7:05 PM Subject: Re: Zones, Domains and Templates You could create a different domain for each department, or you could create separate projects for every department. I would think projects would be easier in terms of user management if you have lateral movement between those groups. On 8/11/14, 5:36 AM, Giri Prasad g_p...@yahoo.com.INVALID wrote: Hi, I have a customer with several departments like : dept1, dept2, dept3 etc etc. I installed CS and am done with the provisioning process. Now, I want to create a vm for each dept. For ex: vm1-for-dept1, vm2-for-dept2, vm3-for-dept3. Each vm's will have its own set of application suite. The requirement is to assign a user to a dept. And when the user (in a specific dept) log's in, he/she should be able to see only the vm(and its app suite), for that specific dept. Any insights on how to implement the zone, domains, and templates for this scenario. Thanks Regards, Giri This document is PROPRIETARY and CONFIDENTIAL and may not be duplicated, redistributed, or displayed to any other party without the expressed written permission of LPS Integration, Inc. If you are not the intended recipient and have received this email in error, please destroy the email and contact the LPS Integration Security Officer at 866-577-2902 (Phone), 615-349-9009 (Fax) or 230 Great Circle Rd. Suite 218 Nashville, TN 37228 (US Mail)
Re: error api-doc
How can I check I am on master and on latest commit? How to fix these apidoc dependency issues? Thankyou On Tue, Aug 12, 2014 at 9:25 AM, Rajani Karuturi raj...@apache.org wrote: This is the latest commit I see for cloud-apidocs commit 5ddd0cff32c6ea417f31daa82f88b02f0a440c36 Author: Hugo Trippaers htrippa...@schubergphilis.com AuthorDate: Thu Jul 31 12:05:25 2014 +0200 Commit: Hugo Trippaers htrippa...@schubergphilis.com CommitDate: Thu Jul 31 12:06:54 2014 +0200 Fix dependency issue in apidoc, depends on server as that is where ApiXmlDocWriter lives Can you check if you are on master and on latest commit? On Mon, Aug 11, 2014 at 8:53 PM, sandeep khandekar cloudstack.sand...@gmail.com wrote: Dear cloud stackers, I was building cloudstack I got the following error during build everything was success, but cloudapidocs i got the error - can anyone tell me why I got these error. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 14.6 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 18.5 KB/sec) [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack . SKIPPED [INFO] Apache CloudStack Utils ... SKIPPED [INFO] Apache CloudStack API . SKIPPED [INFO] Apache CloudStack Framework ... 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 Cloud Engine Internal Components API SKIPPED [INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED [INFO] Apache CloudStack Core SKIPPED [INFO] Apache CloudStack Agents .. SKIPPED [INFO] Apache CloudStack Framework - Jobs SKIPPED [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED [INFO] Apache CloudStack Server .. SKIPPED [INFO] Apache CloudStack Usage Server SKIPPED [INFO] Apache XenSource XAPI . SKIPPED [INFO] Apache CloudStack Cloud Engine Compute Component .. SKIPPED [INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED [INFO] Apache CloudStack SystemVM Patches SKIPPED [INFO] Apache CloudStack Cloud Services .. SKIPPED [INFO] Apache CloudStack Secondary Storage Service ... SKIPPED [INFO] Apache CloudStack Engine Storage Component SKIPPED [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED [INFO] Apache CloudStack Cloud Engine API SKIPPED [INFO] Apache CloudStack Cloud Engine Service SKIPPED [INFO] Apache CloudStack Plugin POM .. SKIPPED [INFO] Apache CloudStack Plugin - API Rate Limit . SKIPPED [INFO] Apache CloudStack Plugin - API Discovery .. SKIPPED [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SKIPPED [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SKIPPED [INFO] Apache CloudStack Plugin - HA Planner . SKIPPED [INFO] Apache CloudStack Plugin - Host Allocator Random .. SKIPPED [INFO] Apache CloudStack Plugin - Dedicated Resources SKIPPED [INFO] Apache CloudStack Plugin - Hypervisor OracleVM SKIPPED [INFO] Apache CloudStack Plugin - Open vSwitch ... SKIPPED [INFO] Apache
Re: error api-doc
assuming you did a git clone of the repo, doing git remote update git status should tell you. On Tue, Aug 12, 2014 at 12:55 PM, sandeep khandekar cloudstack.sand...@gmail.com wrote: How can I check I am on master and on latest commit? How to fix these apidoc dependency issues? Thankyou On Tue, Aug 12, 2014 at 9:25 AM, Rajani Karuturi raj...@apache.org wrote: This is the latest commit I see for cloud-apidocs commit 5ddd0cff32c6ea417f31daa82f88b02f0a440c36 Author: Hugo Trippaers htrippa...@schubergphilis.com AuthorDate: Thu Jul 31 12:05:25 2014 +0200 Commit: Hugo Trippaers htrippa...@schubergphilis.com CommitDate: Thu Jul 31 12:06:54 2014 +0200 Fix dependency issue in apidoc, depends on server as that is where ApiXmlDocWriter lives Can you check if you are on master and on latest commit? On Mon, Aug 11, 2014 at 8:53 PM, sandeep khandekar cloudstack.sand...@gmail.com wrote: Dear cloud stackers, I was building cloudstack I got the following error during build everything was success, but cloudapidocs i got the error - can anyone tell me why I got these error. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 14.6 KB/sec) Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 18.5 KB/sec) [INFO] [INFO] Reactor Summary: [INFO] [INFO] Apache CloudStack . SKIPPED [INFO] Apache CloudStack Utils ... SKIPPED [INFO] Apache CloudStack API . SKIPPED [INFO] Apache CloudStack Framework ... 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 Cloud Engine Internal Components API SKIPPED [INFO] Apache CloudStack Cloud Engine Schema Component ... SKIPPED [INFO] Apache CloudStack Core SKIPPED [INFO] Apache CloudStack Agents .. SKIPPED [INFO] Apache CloudStack Framework - Jobs SKIPPED [INFO] Apache CloudStack Framework - Event Notification .. SKIPPED [INFO] Apache CloudStack Server .. SKIPPED [INFO] Apache CloudStack Usage Server SKIPPED [INFO] Apache XenSource XAPI . SKIPPED [INFO] Apache CloudStack Cloud Engine Compute Component .. SKIPPED [INFO] Apache CloudStack Cloud Engine Orchestration Component SKIPPED [INFO] Apache CloudStack SystemVM Patches SKIPPED [INFO] Apache CloudStack Cloud Services .. SKIPPED [INFO] Apache CloudStack Secondary Storage Service ... SKIPPED [INFO] Apache CloudStack Engine Storage Component SKIPPED [INFO] Apache CloudStack Engine Storage Volume Component . SKIPPED [INFO] Apache CloudStack Engine Storage Image Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Data Motion Component SKIPPED [INFO] Apache CloudStack Engine Storage Cache Component .. SKIPPED [INFO] Apache CloudStack Engine Storage Snapshot Component SKIPPED [INFO] Apache CloudStack Cloud Engine API SKIPPED [INFO] Apache CloudStack Cloud Engine Service SKIPPED [INFO] Apache CloudStack Plugin POM .. SKIPPED [INFO] Apache CloudStack Plugin - API Rate Limit . SKIPPED [INFO] Apache CloudStack Plugin - API Discovery .. SKIPPED [INFO] Apache CloudStack Plugin - ACL Static Role Based .. SKIPPED [INFO] Apache CloudStack Plugin - Host Anti-Affinity Processor SKIPPED [INFO] Apache CloudStack Plugin - Explicit Dedication Processor SKIPPED [INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner SKIPPED [INFO] Apache CloudStack Plugin - Implicit Dedication Planner SKIPPED [INFO] Apache CloudStack Plugin - HA Planner . SKIPPED
RE: unable to create VM in ACS 4.4 hypervisor XenServer
Hi Harikrishna, Using the newest 4.4 template published on Jenkins 11th of August, console vm pauses on creation, and site2site vpn does not establish, please find the following log (secstorage-1:ctx-e286a12e) Exception while trying to start secondary storage vm java.lang.RuntimeException: Job failed due to exception Resource [Host:1] is unreachable: Host 1: Unable to start instance due to Unable to acquire lock on VMTemplateStoragePool: 1 2014-08-12 15:40:23,424 INFO [o.a.c.s.SecondaryStorageManagerImpl] (secstorage-1:ctx-e286a12e) Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 1, will recycle it and start a new one 2014-08-12 15:40:23,516 WARN [c.c.u.d.Merovingian2] (secstorage-1:ctx-a2a2ee4c) Was unable to find lock for the key vm_instance1 and thread id 1337390742 Unable to start secondary storage vm for standby capacity, secStorageVm vm Id : 1, will recycle it and start a new one 2014-08-12 16:19:54,294 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-12:ctx-db2ae77e ctx-c67a1655) Received unknown parameters for command listNetworks. Unknown parameters : details 2014-08-12 16:20:16,077 ERROR [c.c.u.s.SshHelper] (DirectAgent-62:ctx-2c9a8866) SSH execution of command /opt/cloud/bin/router_proxy.sh ipsectunnel.sh 169.254.1.216 -A -l 192.168.1.52 -n 172.16.0.0/16 -g 192.168.1.1 -r 10.2.2.85 -N 10.10.10.0/24 -e aes128-sha1 -i aes128-sha1;modp1024 -t 86400 -T 3600 -s aminsamir -d 1 has an error status code in return. result output: inet 192.168.1.52/24 brd 192.168.1.255 scope global eth1 2014-08-12 16:20:16,248 WARN [o.a.c.a.c.u.v.CreateVpnConnectionCmd] (API-Job-Executor-20:ctx-79acdf9f job-103 ctx-ac82ecba) Exception: com.cloud.exception.ResourceUnavailableException: Resource [Site2SiteVpnConnection:1] is unreachable: Failed to apply site-to-site VPN 2014-08-12 16:20:16,250 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-20:ctx-79acdf9f job-103) Complete async job-103, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{uuidList:[],errorcode:534,errortext:Resource [Site2SiteVpnConnection:1] is unreachable: Failed to apply site-to-site VPN} Kind Regards -Original Message- From: Harikrishna Patnala [mailto:harikrishna.patn...@citrix.com] Sent: Tuesday, 12 August 2014 12:59 PM To: users@cloudstack.apache.org Subject: Re: unable to create VM in ACS 4.4 hypervisor XenServer Hi, You are trying to deploy a FreeBSD 10 instance right ! Try following the steps mentioned in the blog http://shankerbalan.net/blog/freebsd-10-on-cloudstack-xenserver/ I think you are using the FreeBSD-10.0-RELEASE-amd64-disc1.isohttp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-disc1.iso to deploy VM. Please give a try using FreeBSD-10.0-RELEASE-amd64-bootonly.isohttp://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/10.0/FreeBSD-10.0-RELEASE-amd64-bootonly.iso Thanks Harikrishna On 11-Aug-2014, at 8:28 pm, motty cruz motty.c...@gmail.commailto:motty.c...@gmail.com wrote: Hi Erik, the attached file is my log, virtual router started, I can ping anywhere from virtual router; System VMs are up as well, except I can't build any instances. On Sat, Aug 9, 2014 at 3:44 AM, Erik Weber terbol...@gmail.commailto:terbol...@gmail.com wrote: Yes, paste your log :-) Erik 9. aug. 2014 00:25 skrev motty cruz motty.c...@gmail.commailto:motty.c...@gmail.com følgende: Hello All, I am having the issue Job failed due to exception Unable to create a deployment for VM[User]i-2-18-VM] it was able to create router but not VM. Systems VMs are up, any suggestions? Thanks, i-2-23-vm.txt
Re: working howto for building cloudstack from sources
Andrei, I would use the 4.4 branch (latest 4.4.1 pre-release version) and use the build jobs from jenkins.buildacloud.org as example on how to build. On Tue, Aug 12, 2014 at 5:57 AM, Rajani Karuturi raj...@apache.org wrote: Can you share the error messages? I do not see any exception while running the mvn command on master. Can you share the docs you followed? The one in the install doc worked for me a long time ago http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/building_from_source.html#building-deb-packages On Tue, Aug 12, 2014 at 4:59 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Andrei -- ~Rajani -- Daan
Move VM instances from default view to a Project
Hi, Is there a way to move VMs from the default view to a project that I created? These VMs were created in the default view and now I want them in a project so that the accounts in that project can manipulate them. I can't see anything in the GUI that can be used. Is there a command line way of doing this? TIA
Re: working howto for building cloudstack from sources
On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
Guys, thanks for all your suggestions. I will try it today and update on the progress. Kind regards - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
Erik, just tried to follow the guide in the link that you've sent (http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central (http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
Okay, moved a bit further by running mvn -P deps, but still have an error message: [INFO] Building jar: /home/andrei/cloudstack/cloudstack/plugins/event-bus/rabbitmq/target/cloud-mom-rabbitmq-4.4.0.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-example-dns-notifier --- [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-mom-rabbitmq --- [ERROR] Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2.1: Could not transfer artifact org.apache.maven.plugins:maven-assembly-plugin:pom:2.2.1 from/to central (http://repo.maven.apache.org/maven2): Connection reset - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-planner-skip-heurestics --- [INFO] Building jar: /home/andrei/cloudstack/cloudstack/plugins/deployment-planners/user-concentrated-pod/target/cloud-plugin-planner-user-concentrated-pod-4.4.0.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-planner-user-concentrated-pod --- make: *** [build-indep-stamp] Error 1 Thanks for your help andrei - Original Message - From: Andrei Mikhailovsky and...@arhont.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 12:32:20 PM Subject: Re: working howto for building cloudstack from sources Erik, just tried to follow the guide in the link that you've sent (http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central (http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
Rajani, this is one of the documents that i've used. I can't recall the exact error. I will give it a go once again and paste the error message. Thanks - Original Message - From: Rajani Karuturi raj...@apache.org To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 4:57:21 AM Subject: Re: working howto for building cloudstack from sources Can you share the error messages? I do not see any exception while running the mvn command on master. Can you share the docs you followed? The one in the install doc worked for me a long time ago http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/building_from_source.html#building-deb-packages On Tue, Aug 12, 2014 at 4:59 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Andrei -- ~Rajani
Re: working howto for building cloudstack from sources
12. aug. 2014 13:32 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, just tried to follow the guide in the link that you've sent ( http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset You, or the repo, seem to have connectivity issues. I wrote the guide while doing the debian process for the first time, so sort out those connection resets and it should be fine Erik Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central ( http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
This may not apply to you, or you have already addressed this, but if you are behind a proxy, you need to put something like this; settings proxies proxy activetrue/active protocolhttp/protocol host#PROXYFQDN#/host port80/port nonProxyHosts*.oracle.com|*.oraclecorp.com/nonProxyHosts /proxy /proxies /settings in $HOME/.m2/settings.xml replace the nonProxyHosts with what you need. Seems you have connectivity issues. /Ove On 08/12/2014 02:24 PM, Andrei Mikhailovsky wrote: Okay, moved a bit further by running mvn -P deps, but still have an error message: [INFO] Building jar: /home/andrei/cloudstack/cloudstack/plugins/event-bus/rabbitmq/target/cloud-mom-rabbitmq-4.4.0.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-example-dns-notifier --- [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-mom-rabbitmq --- [ERROR] Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2.1: Could not transfer artifact org.apache.maven.plugins:maven-assembly-plugin:pom:2.2.1 from/to central (http://repo.maven.apache.org/maven2): Connection reset - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-planner-skip-heurestics --- [INFO] Building jar: /home/andrei/cloudstack/cloudstack/plugins/deployment-planners/user-concentrated-pod/target/cloud-plugin-planner-user-concentrated-pod-4.4.0.jar [INFO] [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ cloud-plugin-planner-user-concentrated-pod --- make: *** [build-indep-stamp] Error 1 Thanks for your help andrei - Original Message - From: Andrei Mikhailovsky and...@arhont.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 12:32:20 PM Subject: Re: working howto for building cloudstack from sources Erik, just tried to follow the guide in the link that you've sent (http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central (http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't
Re: working howto for building cloudstack from sources
Erik, I am trying to understand who is having the issue here. I am not behind a proxy and my connectivity to the internet is free of egress rules. Also, I've not had any issues downloading other dependencies while running the mvn -P deps command. Do you know if there is a way to manually download the troublesome dependency locally and have maven use the local copy instead of downloading it from a broken link, etc? Thanks - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 1:53:59 PM Subject: Re: working howto for building cloudstack from sources 12. aug. 2014 13:32 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, just tried to follow the guide in the link that you've sent ( http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset You, or the repo, seem to have connectivity issues. I wrote the guide while doing the debian process for the first time, so sort out those connection resets and it should be fine Erik Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central ( http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
You could try the uk mirror. http://maven.apache.org/guides/mini/guide-mirror-settings.html Erik 12. aug. 2014 16:40 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, I am trying to understand who is having the issue here. I am not behind a proxy and my connectivity to the internet is free of egress rules. Also, I've not had any issues downloading other dependencies while running the mvn -P deps command. Do you know if there is a way to manually download the troublesome dependency locally and have maven use the local copy instead of downloading it from a broken link, etc? Thanks - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 1:53:59 PM Subject: Re: working howto for building cloudstack from sources 12. aug. 2014 13:32 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, just tried to follow the guide in the link that you've sent ( http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset You, or the repo, seem to have connectivity issues. I wrote the guide while doing the debian process for the first time, so sort out those connection resets and it should be fine Erik Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central ( http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: working howto for building cloudstack from sources
Check if your network interface has ipv6 enabled and disable it if so. Erik 12. aug. 2014 16:40 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, I am trying to understand who is having the issue here. I am not behind a proxy and my connectivity to the internet is free of egress rules. Also, I've not had any issues downloading other dependencies while running the mvn -P deps command. Do you know if there is a way to manually download the troublesome dependency locally and have maven use the local copy instead of downloading it from a broken link, etc? Thanks - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 1:53:59 PM Subject: Re: working howto for building cloudstack from sources 12. aug. 2014 13:32 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, just tried to follow the guide in the link that you've sent ( http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset You, or the repo, seem to have connectivity issues. I wrote the guide while doing the debian process for the first time, so sort out those connection resets and it should be fine Erik Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central ( http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Re: Move VM instances from default view to a Project
No, CS doesn’t have API support for that. Once the vm is created for the regular account, it can’t be moved to the project; and the other way around. -Alena. From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 1:40 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Move VM instances from default view to a Project Hi, Is there a way to move VMs from the default view to a project that I created? These VMs were created in the default view and now I want them in a project so that the accounts in that project can manipulate them. I can't see anything in the GUI that can be used. Is there a command line way of doing this? TIA
Re: Move VM instances from default view to a Project
Yes there is no such API but earlier I saw the similar requirement and was done with some DB manual operations Please check the discussion http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E -Harikrishna On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk alena.prokharc...@citrix.com wrote: No, CS doesn’t have API support for that. Once the vm is created for the regular account, it can’t be moved to the project; and the other way around. -Alena. From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 1:40 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Move VM instances from default view to a Project Hi, Is there a way to move VMs from the default view to a project that I created? These VMs were created in the default view and now I want them in a project so that the accounts in that project can manipulate them. I can't see anything in the GUI that can be used. Is there a command line way of doing this? TIA
Re: Move VM instances from default view to a Project
DB hacking is not something we should recommend to the customers/users, as its bugs prone. Plus the procedure is not consistent across releases due to possible DB changes. If the customers need this feature, they should file an enhancement request, so its implemented on the CS the correct way. Thanks, -Alena. From: Harikrishna Patnala harikrishna.patn...@citrix.commailto:harikrishna.patn...@citrix.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 11:29 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Re: Move VM instances from default view to a Project Yes there is no such API but earlier I saw the similar requirement and was done with some DB manual operations Please check the discussion http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E -Harikrishna On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote: No, CS doesn’t have API support for that. Once the vm is created for the regular account, it can’t be moved to the project; and the other way around. -Alena. From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.commailto:oyu...@gmail.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 1:40 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Move VM instances from default view to a Project Hi, Is there a way to move VMs from the default view to a project that I created? These VMs were created in the default view and now I want them in a project so that the accounts in that project can manipulate them. I can't see anything in the GUI that can be used. Is there a command line way of doing this? TIA
Re: working howto for building cloudstack from sources
Erik, I've added the UK mirror and also disabled ipv6. As a result, have fixed the previous errors. I did have to launch the build command a few times as it was failing for various dependencies, but eventually it has successfully finished. Thanks for your help Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 3:58:38 PM Subject: Re: working howto for building cloudstack from sources Check if your network interface has ipv6 enabled and disable it if so. Erik 12. aug. 2014 16:40 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, I am trying to understand who is having the issue here. I am not behind a proxy and my connectivity to the internet is free of egress rules. Also, I've not had any issues downloading other dependencies while running the mvn -P deps command. Do you know if there is a way to manually download the troublesome dependency locally and have maven use the local copy instead of downloading it from a broken link, etc? Thanks - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 1:53:59 PM Subject: Re: working howto for building cloudstack from sources 12. aug. 2014 13:32 skrev Andrei Mikhailovsky and...@arhont.com følgende: Erik, just tried to follow the guide in the link that you've sent ( http://www.terbolo.us/?p=5) and have the following error: [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.SocketException) caught when processing request: Connection reset You, or the repo, seem to have connectivity issues. I wrote the guide while doing the debian process for the first time, so sort out those connection resets and it should be fine Erik Aug 12, 2014 12:29:43 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request [ERROR] The build could not read 1 project - [Help 1] [ERROR] [ERROR] The project org.apache.cloudstack:cloudstack:4.4.0 (/home/andrei/cloudstack/cloudstack/pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not transfer artifact org.apache:apache:pom:11 from/to central ( http://repo.maven.apache.org/maven2): Connection reset and 'parent.relativePath' points at wrong local POM @ line 14, column 11 - [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException make: *** [build-indep-stamp] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Any idea on how to fix it? My build platform is Ubuntu 12.04 Thanks Andrei - Original Message - From: Erik Weber terbol...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 12 August, 2014 10:35:11 AM Subject: Re: working howto for building cloudstack from sources On Tue, Aug 12, 2014 at 1:29 AM, Andrei Mikhailovsky and...@arhont.com wrote: Hello guys, I was hoping someone could share a working howto on building cloudstack from sources. In particular, I am planning to build 4.4.0 .deb packages with several cherrypicks and my build server is Ubuntu 12.04 with the latest updates. I've followed two different howtos, both from the cloudstack website, but unfortunately, they are a bit different and they produce different errors when executing mvn3 -P deps. Thanks Try this: http://www.terbolo.us/?p=5 A word of advice; cherry-picking can have unforseen consequences if done in the wrong order, or if you miss a commit. ie. one commit might depend on another and cause havoc if that isn't there. Erik
Issues with Live Migration on new rollout
Hello all, I have an issue I wonder if someone can help with. I've created a new advanced-network Cloudstack demo farm with 2 KVM hosts, management server, and NFS storage SAN I have enabled advanced networking with guest, public, management, and storage all on physical nic 1 I've created a couple of test vm instances, one from the stock Centos 5 template, and the other a basic load from CD of Windows Server 2008 Rs with SP1. When I try to perform a live migration and click on the icon, I don't get the popup asking for which host to move to. Selecting any system vm or virtual router and migrating to the other host works fine Is there something I need to do to my virtual guests to enable live migration? The administrator guide says to install xen- or vm- tools for Xen or Vmware, but makes no mention of KVM... [JCrystal Signature2013-1]
Re: Migration of cloud environments
Andrei At previous cloudstack collaboration conference in Denver, Alena from Citrix did a talk about how to replicate content across 2 cloudstacks in different datacenters using APIs. While its not exactly import and export, it is in the same category. https://www.youtube.com/watch?v=2YEXC3WNL0s Regards, ilya On 8/12/14, 12:11 PM, Andrei Mikhailovsky wrote: Hello guys, I thought to share some ideas on migrating the cloud environment from one build to another. Let's say you have a cloudstack build with a bunch of domains, users, guest vms and networks and you would like to replicate or move it across to a different setup (It may be a different physical location with different network setup, etc.). At the moment, there is no way of doing this. There is not even a function to reliably export a vm with all of it's volumes and networking settings. Would it not be a great feature to have in ACS - a backup/restore or export/import like functionality which is built in to almost every single commercial software nowadays. The use cases for this are limitless (from a simple recovery of the broken ACS install/database to replication of dev/test/qa/production environments). It would be even more useful if one could choose which hierarchy within ACS to migrate/export/backup. Like account/domain/project/root level backup and restore. The function should go over the existing setup and accumulate all settings required in producing the identical setup elsewhere. This would include not only the guest vms and the attached volumes, but also, the networking setup, access rights, qos settings, snapshots, etc. The end result should be something like a folder with exported data that one could simply point his/her newly created ACS setup and say - Import this cloud setup please. Should ACS has this functionality or is it too complicated and too much to ask? Thanks for your thoughts Andrei
Re: Migration of cloud environments
One other thought, CloudMonkey can print output with JSON format via set display json. If that same output can be fed into CloudStack via CloudMonkey, it would achieve the same result. On 8/12/14, 12:11 PM, Andrei Mikhailovsky wrote: Hello guys, I thought to share some ideas on migrating the cloud environment from one build to another. Let's say you have a cloudstack build with a bunch of domains, users, guest vms and networks and you would like to replicate or move it across to a different setup (It may be a different physical location with different network setup, etc.). At the moment, there is no way of doing this. There is not even a function to reliably export a vm with all of it's volumes and networking settings. Would it not be a great feature to have in ACS - a backup/restore or export/import like functionality which is built in to almost every single commercial software nowadays. The use cases for this are limitless (from a simple recovery of the broken ACS install/database to replication of dev/test/qa/production environments). It would be even more useful if one could choose which hierarchy within ACS to migrate/export/backup. Like account/domain/project/root level backup and restore. The function should go over the existing setup and accumulate all settings required in producing the identical setup elsewhere. This would include not only the guest vms and the attached volumes, but also, the networking setup, access rights, qos settings, snapshots, etc. The end result should be something like a folder with exported data that one could simply point his/her newly created ACS setup and say - Import this cloud setup please. Should ACS has this functionality or is it too complicated and too much to ask? Thanks for your thoughts Andrei
Add new host to a pool XenServer
Hello all. I have a cluster configured with 2 hosts (XS6.2) in XenCenter I added the cluster to CloudStack and recognized the 2 hosts. Now I added a third host to the cluster but CloudStack does not recognize it. what i have to do for CloudStack recognize it? I have to add the new host in CloudStack or it's possible to CloudStack recognize this new host of the exist cluster? thanks -- Hollman Eduardo Enciso R. http://algolibre.com @hollman
Re: Migration of cloud environments
Cloudstack Marvin[1] can do the import if you give the cfg file. Maybe export functionality could be added to it. More details about marvin are in the wiki[2] This is what I usually do to deploy: cloudstack/tools/marvin(master)$ sudo python setup.py install # to install marvin cloudstack/tools/marvin(master)$ python marvin/deployDataCenter.py -i ../../setup/dev/advanced.cfg # to deploy datacenter in the configuration file [1] https://pypi.python.org/pypi/cloudstack-marvin/4.4.0 [2] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python On Wed, Aug 13, 2014 at 2:42 AM, ilya musayev ilya.mailing.li...@gmail.com wrote: One other thought, CloudMonkey can print output with JSON format via set display json. If that same output can be fed into CloudStack via CloudMonkey, it would achieve the same result. On 8/12/14, 12:11 PM, Andrei Mikhailovsky wrote: Hello guys, I thought to share some ideas on migrating the cloud environment from one build to another. Let's say you have a cloudstack build with a bunch of domains, users, guest vms and networks and you would like to replicate or move it across to a different setup (It may be a different physical location with different network setup, etc.). At the moment, there is no way of doing this. There is not even a function to reliably export a vm with all of it's volumes and networking settings. Would it not be a great feature to have in ACS - a backup/restore or export/import like functionality which is built in to almost every single commercial software nowadays. The use cases for this are limitless (from a simple recovery of the broken ACS install/database to replication of dev/test/qa/production environments). It would be even more useful if one could choose which hierarchy within ACS to migrate/export/backup. Like account/domain/project/root level backup and restore. The function should go over the existing setup and accumulate all settings required in producing the identical setup elsewhere. This would include not only the guest vms and the attached volumes, but also, the networking setup, access rights, qos settings, snapshots, etc. The end result should be something like a folder with exported data that one could simply point his/her newly created ACS setup and say - Import this cloud setup please. Should ACS has this functionality or is it too complicated and too much to ask? Thanks for your thoughts Andrei -- ~Rajani
Re: Move VM instances from default view to a Project
Thanks all. And I agree fully that direct DB manipulation should not be attempted. On 12 August 2014 21:08, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: I agree with Alena, Just because we can, does not mean we should. Whilst I originally worked out how to do it via direct DB updating, if this feature is required, a Feature Request should be submitted. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] Sent: 12 August 2014 19:37 To: users@cloudstack.apache.org; Harikrishna Patnala Subject: Re: Move VM instances from default view to a Project DB hacking is not something we should recommend to the customers/users, as its bugs prone. Plus the procedure is not consistent across releases due to possible DB changes. If the customers need this feature, they should file an enhancement request, so its implemented on the CS the correct way. Thanks, -Alena. From: Harikrishna Patnala harikrishna.patn...@citrix.commailto: harikrishna.patn...@citrix.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 11:29 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Re: Move VM instances from default view to a Project Yes there is no such API but earlier I saw the similar requirement and was done with some DB manual operations Please check the discussion http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E -Harikrishna On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote: No, CS doesn’t have API support for that. Once the vm is created for the regular account, it can’t be moved to the project; and the other way around. -Alena. From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.commailto: oyu...@gmail.com Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org mailto:users@cloudstack.apache.org users@cloudstack.apache.org mailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Tuesday, August 12, 2014 at 1:40 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org mailto:users@cloudstack.apache.org users@cloudstack.apache.org mailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Move VM instances from default view to a Project Hi, Is there a way to move VMs from the default view to a project that I created? These VMs were created in the default view and now I want them in a project so that the accounts in that project can manipulate them. I can't see anything in the GUI that can be used. Is there a command line way of doing this? TIA Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Build http://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courses http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.