Re: [ASF40][QA][DOCS] Management server and Hypervisor host installation docs
One more proposal; Our CI/Jenkins builds many builds daily, how about it bundles tar balls and at the same time, upload these rpms/debs to a daily rpm/deb repository. This way QA won't have to download these tar balls (they would still can, can install using install.sh), but configure their package managers with the repo URL and do stuff like: apt-get install cloud-server etc.; apt-get upgrade etc. This repo will just hold daily builds and not any releases. Regards. On 27-Sep-2012, at 12:54 AM, Wido den Hollander w...@widodh.nl wrote: On 09/26/2012 08:45 AM, Rohit Yadav wrote: On 26-Sep-2012, at 3:22 AM, Wido den Hollander w...@widodh.nl wrote: Hi, I've been working on the Management Server and Hypervisor installation docs lately. About everything was focused on RHEL/CentOS and around install.sh I agree, a debian user and fan myself, I want us to focus on debian too. There is still a lot of work to do, but I'd want to ask the QA team to test the documentation. All my documentation is going into master and I hope this gets cherry picked into the 4.0 branch. Take a look at: http://jenkins.cloudstack.org/view/master/job/docs-master/lastSuccessfulBuild/artifact/Apache_CloudStack-4.0-cloudstack-en-US.pdf Most of my works has gone into Chapter #2: Installation. The big changes: * Document the Debian DEB repository * No longer use install.sh but use Apt * Don't let cloud-setup-agent do everything, but document the steps needed to be done (libvirt, firewall, apparmor, selinux) * Make the documentation useable on both RHEL and Ubuntu Also if we can have a rpm repository too, so we have same kind of workflow; yum install pkg-name and aptitude install same-pkg-name Install.sh can stay as well, for both, in case use has downloaded a tar ball of debs or rpms. I don't know if there will still be a tarball with debs or rpms? CloudStack itself is only doing a source release, so where should this tarball come from? Wido I'll be working on this the whole week, so it will keep changing these days. Also, Chip is sending out RC3 tomorrow, so I'll update the packages on the Ubuntu repository to RC3 by then as well. Setting up the RPM mirror is something to be done, hopefully this week as well. Any comments or thoughts? Hopefully I'm in the good direction! +1 Wido
fail to add rbd primary storage
if this step is documented. RADOS user = client.admin RADOS secret = key correspond to client.admin. what else should i do on ceph-nodes? 2012-09-27 21:03:52,128 WARN [cloud.storage.StorageManagerImpl] (catalina-exec-24:null) Unable to establish a connection between Host[-6-Routing] and Pool[203|RBD] com.cloud.exception.StorageUnavailableException: Resource [StoragePool:203] is unreachable: Unable establish connection from storage head to storage pool 203 due to java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:563) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2066) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1027) at com.cloud.agent.Agent.processRequest(Agent.java:518) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) at com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:1685) at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1450) at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:215) at com.cloud.api.commands.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:120) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 21:03:52,137 WARN [cloud.storage.StorageManagerImpl] (catalina-exec-24:null) No host can access storage pool Pool[203|RBD] on cluster 1 2012-09-27 21:03:52,140 WARN [cloud.api.ApiDispatcher] (catalina-exec-24:null) class com.cloud.api.ServerApiException : Failed to add storage pool At 2012-07-06 23:11:47,Wido den Hollander w...@widodh.nl wrote: On 07/05/2012 11:34 PM, Senner, Talin wrote: Awesomeness Wido. +10. I'd be happy to do any testing on my Ubuntu 12.04 cluster + ceph .48... Testing is needed. Be aware, on Ubuntu 12.04 there is the bug with libvirt and the secrets. If you run into problems, check if libvirtd is linked against libroken: $ ldd /usr/sbin/libvirtd If you are running without Cephx you will need the patched version of Qemu where it explicitly adds auth_supported=none to the Qemu args, this is commit: ccb94785007d33365d49dd566e194eb0a022148d Wido Talin On Thu, Jul 5, 2012 at 8:50 AM, Wido den Hollander w...@widodh.nl wrote: Other than these limitations, everything works. You can create instances and attach RBD disks. It also supports cephx authorization, so no problem there! I found a bug in libvirt under Ubuntu 12.04. In short, the base64 encoding/decoding inside libvirt is broken due to a third party library. For more information:
[jira] [Created] (CLOUDSTACK-217) Count of active sessions in console proxy do not descrease as VNC session close
Mice Xia created CLOUDSTACK-217: --- Summary: Count of active sessions in console proxy do not descrease as VNC session close Key: CLOUDSTACK-217 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-217 Project: CloudStack Issue Type: Bug Components: VNC Proxy Affects Versions: pre-4.0.0 Reporter: Mice Xia Assignee: Mice Xia Fix For: 4.0.0 [reproduce steps] 1) setting global config consoleproxy.capacity.standby = 3 consoleproxy.session.max = 5 2) open 6 VNC console 3) take note of 'active sessions' in console proxy detail page 4) close these consoles 5) check 'active sessions' after about 10 mins [expected result] active sessions should be zero [observed result] count of active sessions did not decrease -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-217) Count of active sessions in console proxy do not descrease as VNC session close
[ https://issues.apache.org/jira/browse/CLOUDSTACK-217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464505#comment-13464505 ] Mice Xia commented on CLOUDSTACK-217: - [root cause] in ConsoleProxyGCThread, there is a thread checking expired VNC session and reporting the session info to mgmt server, but the report related codes are not reachable and will never be executed. Count of active sessions in console proxy do not descrease as VNC session close --- Key: CLOUDSTACK-217 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-217 Project: CloudStack Issue Type: Bug Components: VNC Proxy Affects Versions: pre-4.0.0 Reporter: Mice Xia Assignee: Mice Xia Fix For: 4.0.0 [reproduce steps] 1) setting global config consoleproxy.capacity.standby = 3 consoleproxy.session.max = 5 2) open 6 VNC console 3) take note of 'active sessions' in console proxy detail page 4) close these consoles 5) check 'active sessions' after about 10 mins [expected result] active sessions should be zero [observed result] count of active sessions did not decrease -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CLOUDSTACK-213) Local storage usage data format is incorrect in zoneChart
[ https://issues.apache.org/jira/browse/CLOUDSTACK-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mice Xia resolved CLOUDSTACK-213. - Resolution: Duplicate duplicate of 214 Local storage usage data format is incorrect in zoneChart -- Key: CLOUDSTACK-213 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-213 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Mice Xia Assignee: Mice Xia Priority: Minor Fix For: pre-4.0.0 instead of showing bytes, should show GB, refer to screenshot -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLOUDSTACK-213) Local storage usage data format is incorrect in zoneChart
[ https://issues.apache.org/jira/browse/CLOUDSTACK-213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mice Xia closed CLOUDSTACK-213. --- Local storage usage data format is incorrect in zoneChart -- Key: CLOUDSTACK-213 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-213 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Mice Xia Assignee: Mice Xia Priority: Minor Fix For: pre-4.0.0 instead of showing bytes, should show GB, refer to screenshot -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Missing Ubuntu Pkg dependency for libtcnative-1
On 27-Sep-2012, at 10:46 AM, Sudha Ponnaganti sudha.ponnaga...@citrix.com wrote: Shankar, Can you log issues in Jira so that these can be addressed appropriately. Even if there are workarounds, need to get those fixed properly for release Will do. Thanks.
Re: Review Request: admin guide files that are missed to add to apache repo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7284/#review11970 --- Please remove the Installation files from the patch. They are already checked in. docs/en-US/cloudstack_features.xml https://reviews.apache.org/r/7284/#comment25529 Don't add this file. This was replaced by feature-overview.xml. docs/en-US/install-database-on-management-server-node.xml https://reviews.apache.org/r/7284/#comment25530 This was already checked in as management-server-install-db-local.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/install-database-on-separate-node.xml https://reviews.apache.org/r/7284/#comment25531 This was already checked in as management-server-install-db-external.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/install-management-server-multi-nodes.xml https://reviews.apache.org/r/7284/#comment25533 This was already checked in as management-server-install-multi-node.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/install-management-server.xml https://reviews.apache.org/r/7284/#comment25532 This was already checked in as management-server-install-client.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/manage-network-traffic.xml https://reviews.apache.org/r/7284/#comment25534 You will find this in the commercial repo as networks.xml, with quite a few more subsections included. Please check in that one instead. docs/en-US/prepare-nfs-shares.xml https://reviews.apache.org/r/7284/#comment25535 This was already checked in as management-server-install-nfs-shares.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/prepare-os.xml https://reviews.apache.org/r/7284/#comment25536 This was already checked in as management-server-install-prepare-os.xml. Also, this is not part of the Admin Guide, so it doesn't belong in this patch. docs/en-US/tagging-resources.xml https://reviews.apache.org/r/7284/#comment25537 This is included in my updated manage-cloud.xml. I need to check that in. - Jessica Tomechak On Sept. 26, 2012, 1:15 p.m., Radhika PC wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7284/ --- (Updated Sept. 26, 2012, 1:15 p.m.) Review request for cloudstack and David Nalley. Description --- admin guide files that are missed to add to apache repo Diffs - docs/en-US/add-clusters-kvm-xenserver.xml PRE-CREATION docs/en-US/add-clusters-vsphere.xml PRE-CREATION docs/en-US/api-overview.xml PRE-CREATION docs/en-US/cloudstack_features.xml PRE-CREATION docs/en-US/create-vr-network-offering.xml PRE-CREATION docs/en-US/global-config.xml PRE-CREATION docs/en-US/install-database-on-management-server-node.xml PRE-CREATION docs/en-US/install-database-on-separate-node.xml PRE-CREATION docs/en-US/install-management-server-multi-nodes.xml PRE-CREATION docs/en-US/install-management-server.xml PRE-CREATION docs/en-US/manage-network-traffic.xml PRE-CREATION docs/en-US/prepare-nfs-shares.xml PRE-CREATION docs/en-US/prepare-os.xml PRE-CREATION docs/en-US/provisioning.xml PRE-CREATION docs/en-US/storage-overview.xml PRE-CREATION docs/en-US/tagging-resources.xml PRE-CREATION docs/en-US/virtual-machines.xml PRE-CREATION Diff: https://reviews.apache.org/r/7284/diff/ Testing --- Thanks, Radhika PC
[jira] [Created] (CLOUDSTACK-218) Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance
Shanker Balan created CLOUDSTACK-218: Summary: Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance Key: CLOUDSTACK-218 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-218 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: 4.0.0 Environment: Fresh Ubuntu 12.04 AWS instance of type m1.medium root@ip-10-145-150-14:/var/log/cloud/management# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise root@ip-10-145-150-14:/var/log/cloud/management# root@ip-10-145-150-14:/var/log/cloud/management# dpkg -l | grep cloud ii cloud-client 1:4.0.0-1beta1 CloudStack client ii cloud-client-ui 1:4.0.0-1beta1 CloudStack management server UI ii cloud-core 1:4.0.0-1beta1 CloudStack core library ii cloud-deps 1:4.0.0-1beta1 CloudStack library dependencies ii cloud-init 0.6.3-0ubuntu1 Init scripts for cloud instances ii cloud-initramfs-growroot 0.4ubuntu1 automatically resize the root partition on first boot ii cloud-initramfs-rescuevol0.4ubuntu1 boot off a rescue volume rather than root filesystem ii cloud-python 1:4.0.0-1beta1 CloudStack Python library ii cloud-scripts1:4.0.0-1beta1 CloudStack scripts ii cloud-server 1:4.0.0-1beta1 CloudStack server library ii cloud-setup 1:4.0.0-1beta1 CloudStack client ii cloud-system-iso 1:4.0.0-1beta1 CloudStack system iso ii cloud-utils 1:4.0.0-1beta1 CloudStack utility library Reporter: Shanker Balan Priority: Trivial Fix For: 4.0.0 To reproduce: Create new AWS instance running Ubuntu precise deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 wget -O - http://cloudstack.apt-get.eu/release.asc|sudo apt-key add - sudo apt-get update sudo apt-get install cloud-client sudo apt-get install mysql-server sudo cloud-setup-databases cloud:password@localhost --deploy-as=root:password sudo cloud-setup-management sudo /etc/init.d/cloud-management restart tail -f management-server.log ubuntu@ip-10-145-150-14:~$ ls -al total 40 drwxr-xr-x 6 ubuntu ubuntu 4096 Sep 27 07:10 . drwxr-xr-x 3 root root 4096 Aug 22 05:48 .. -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 15:58 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 15:58 .bashrc drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 27 07:08 .byobu drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:44 .cache -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 15:58 .profile -rw-rw-r-- 1 ubuntu ubuntu0 Sep 27 06:47 .screenrc drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:42 .ssh -rw-r--r-- 1 ubuntu ubuntu0 Sep 27 06:47 .sudo_as_admin_successful drwxr-xr-x 2 root root 4096 Sep 27 07:10 systemvm_mnt -rw--- 1 root root672 Sep 27 06:47 .viminfo ubuntu@ip-10-145-150-14:~$ pwd /home/ubuntu ubuntu@ip-10-145-150-14:~$ id uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin) ubuntu@ip-10-145-150-14:~$ sudo tail -2 /etc/sudoers #includedir /etc/sudoers.d cloud ALL =NOPASSWD : ALL snip 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib/cloud/common 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Executing: /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh /var/lib/cloud/management/.ssh/id_rsa.pub /var/lib/cloud/management/.ssh/id_rsa /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,901 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Exit value is 5 2012-09-27 07:10:46,902 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) mount: warning: /home/ubuntu/systemvm_mnt seems to be mounted read-only.mkdir: cannot create directory `/home/ubuntu/tmp': Permission deniedinjectkeys.sh: Could not find/create temporary dir /home/ubuntu/tmp/cloud/systemvm 2012-09-27
[jira] [Created] (CLOUDSTACK-219) Fake bug: This is to test review board tool
Rohit Yadav created CLOUDSTACK-219: -- Summary: Fake bug: This is to test review board tool Key: CLOUDSTACK-219 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-219 Project: CloudStack Issue Type: Bug Reporter: Rohit Yadav Assignee: Rohit Yadav Don't do anything, just a fake bug to test my review board tool fork. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-218) Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464539#comment-13464539 ] Shanker Balan commented on CLOUDSTACK-218: -- I manually ran sudo /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh /var/lib/cloud/management/.ssh/id_rsa.pub /var/lib/cloud/management/.ssh/id_rsa /usr/lib/cloud/common/vms/systemvm.iso and we seem to have made progress. Cloud server is finally up. Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance - Key: CLOUDSTACK-218 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-218 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: 4.0.0 Environment: Fresh Ubuntu 12.04 AWS instance of type m1.medium root@ip-10-145-150-14:/var/log/cloud/management# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise root@ip-10-145-150-14:/var/log/cloud/management# root@ip-10-145-150-14:/var/log/cloud/management# dpkg -l | grep cloud ii cloud-client 1:4.0.0-1beta1 CloudStack client ii cloud-client-ui 1:4.0.0-1beta1 CloudStack management server UI ii cloud-core 1:4.0.0-1beta1 CloudStack core library ii cloud-deps 1:4.0.0-1beta1 CloudStack library dependencies ii cloud-init 0.6.3-0ubuntu1 Init scripts for cloud instances ii cloud-initramfs-growroot 0.4ubuntu1 automatically resize the root partition on first boot ii cloud-initramfs-rescuevol0.4ubuntu1 boot off a rescue volume rather than root filesystem ii cloud-python 1:4.0.0-1beta1 CloudStack Python library ii cloud-scripts1:4.0.0-1beta1 CloudStack scripts ii cloud-server 1:4.0.0-1beta1 CloudStack server library ii cloud-setup 1:4.0.0-1beta1 CloudStack client ii cloud-system-iso 1:4.0.0-1beta1 CloudStack system iso ii cloud-utils 1:4.0.0-1beta1 CloudStack utility library Reporter: Shanker Balan Priority: Trivial Fix For: 4.0.0 To reproduce: Create new AWS instance running Ubuntu precise deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 wget -O - http://cloudstack.apt-get.eu/release.asc|sudo apt-key add - sudo apt-get update sudo apt-get install cloud-client sudo apt-get install mysql-server sudo cloud-setup-databases cloud:password@localhost --deploy-as=root:password sudo cloud-setup-management sudo /etc/init.d/cloud-management restart tail -f management-server.log ubuntu@ip-10-145-150-14:~$ ls -al total 40 drwxr-xr-x 6 ubuntu ubuntu 4096 Sep 27 07:10 . drwxr-xr-x 3 root root 4096 Aug 22 05:48 .. -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 15:58 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 15:58 .bashrc drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 27 07:08 .byobu drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:44 .cache -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 15:58 .profile -rw-rw-r-- 1 ubuntu ubuntu0 Sep 27 06:47 .screenrc drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:42 .ssh -rw-r--r-- 1 ubuntu ubuntu0 Sep 27 06:47 .sudo_as_admin_successful drwxr-xr-x 2 root root 4096 Sep 27 07:10 systemvm_mnt -rw--- 1 root root672 Sep 27 06:47 .viminfo ubuntu@ip-10-145-150-14:~$ pwd /home/ubuntu ubuntu@ip-10-145-150-14:~$ id uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin) ubuntu@ip-10-145-150-14:~$ sudo tail -2 /etc/sudoers #includedir /etc/sudoers.d cloud ALL =NOPASSWD : ALL snip 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib/cloud/common 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG
[jira] [Created] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
Sailaja Mada created CLOUDSTACK-220: --- Summary: Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: Enabling autoScaled VMs to be provisioned in the loadbalancer's network.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7288/#review11974 --- server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java https://reviews.apache.org/r/7288/#comment25542 please include zone id while throwing the execption server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java https://reviews.apache.org/r/7288/#comment25543 refine the comment to say it does not reach NetScaler resource layer - Ram Ganesh On Sept. 26, 2012, 6:13 p.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7288/ --- (Updated Sept. 26, 2012, 6:13 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- The loadbalancer's network and it's VMs are present in the same network. Enabling autoScaled VMs to be provisioned in the loadbalancer's network. This addresses bug CS-15938. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a api/src/com/cloud/network/lb/LoadBalancingRule.java 6647b8e plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 server/src/com/cloud/network/as/AutoScaleManagerImpl.java 62b5e47 server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 59ae8e6 Diff: https://reviews.apache.org/r/7288/diff/ Testing --- Create autoscale config DeployVirtualMachine command sent from NS succeeded. Thanks, Vijay Venkatachalam
[jira] [Updated] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-220: Attachment: screenshot-1.jpg Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer -- Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Attachments: api-server.log, management-server.log, screenshot-1.jpg Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see:
[jira] [Updated] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-220: Attachment: management-server.log api-server.log Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer -- Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Attachments: api-server.log, management-server.log, screenshot-1.jpg Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more
[jira] [Updated] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-220: Description: Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[ 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. was: Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled
[jira] [Updated] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-220: Description: Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[CloudStack-non-OSS-39.tar] 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. was: Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[ 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl]
[jira] [Updated] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-220: Attachment: ns.log Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer -- Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Attachments: api-server.log, management-server.log, ns.log, screenshot-1.jpg Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[CloudStack-non-OSS-39.tar] 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 13:27:01,763 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-28:job-22) Complete async job-22, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 13:27:01,787 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-28:job-22) Sync queue (1) is currently empty 2012-09-27 13:27:02,938 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) Async job-22 completed Netscaler : VLAN are created, LB server is created. sh ru | grep Cloud add server Cloud-Server--10.0.33.182 10.0.33.182 add service Cloud-Service-10.0.33.182-80 Cloud-Server--10.0.33.182 HTTP 80 -gslb NONE -maxClient 0 -maxReq 0 -cip DISABLED -usip NO -useproxyport YES -sp ON -cltTimeout 180 -svrTimeout 360 -CKA NO -TCPB NO -CMP NO add lb vserver Cloud-VirtualServer-10.102.125.73-80 HTTP 10.102.125.73 80 -persistenceType NONE -lbMethod ROUNDROBIN -cltTimeout 180 bind lb vserver Cloud-VirtualServer-10.102.125.73-80 Cloud-Service-10.0.33.182-80 sh vlan 1) VLAN ID: 1 Member Interfaces : 1/1 1/2 LO/1Tagged: None 2) VLAN ID: 300VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.3.85 Mask: 255.255.240.0 4) VLAN ID: 302VLAN Alias Name: Member Interfaces : 1/2 Tagged: 1/2 IP: 10.0.39.93 Mask: 255.255.240.0 Done Attached logs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA
Re: CloudStack Development tutorial for newbies
Hello, I have one more question. I have successfully build rpm`s but if try to switch it with orginal rpms i can`t install them. Error Downloading Packages: cloud-deps-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-deps-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-core-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-core-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-python-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-python-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-server-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-server-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-client-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-client-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-utils-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-utils-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-aws-api-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-aws-api-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-client-ui-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-client-ui-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-setup-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-setup-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. cloud-scripts-4.0.0-0.209.el6.4.0.x86_64: failure: cloud-scripts-4.0.0-0.209.el6.4.0.x86_64.rpm from cloud-temp: [Errno 256] No more mirrors to try. I spouse it is connected with keys generated fo each rpm. So, how can I build my own install.sh script and repodata directory? 2012/9/25 Edison Su edison...@citrix.com From http://jenkins.cloudstack.org/job/build-4.0-rhel63/ and http://jenkins.cloudstack.org/view/master/job/build-master-rhel63/, you can get latest RPM build, then install them on your host. -Original Message- From: Kamil Gardziejczyk [mailto:belussi...@gmail.com] Sent: Sunday, September 23, 2012 12:33 PM To: cloudstack-dev@incubator.apache.org Subject: Re: CloudStack Development tutorial for newbies OK. I successfully build rpms ;) What do you mean saying deploy as normal? I want install management server and agent using install.sh script because this is the easist way ;) Is there any place where I can download latest official build and just replace rpms? 2012/9/23 Gavin Lee gavin@gmail.com You may build the source and package into rpm/deb, then deploy as normal, see [1]. After that, you can replace the scripts/modules with yours for dev/debug purpose. May not help you more since I don't have much experience on this part. [1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Ma ven On Sun, Sep 23, 2012 at 10:08 PM, Kamil Gardziejczyk belussi...@gmail.com wrote: Oliver: You just have to add ant-nodeps-1.7.1.jar file to classpath. Find that file on you file system. I had in at /usr/share/nat/lib. export CLASSPATH=/path/to/your/ant-nodeps-1.7.1.jar:$CLASSPATH Gavin: I`m asking about deploying CS Agent on the same machine as management server because I just want to make some development on this. I`m sure that is possible. Could you help me with this? I mean, write short tutorial how to deploy agent? ;) I have already installed KVM host. Do I need to do some special KVM configuration? 2012/9/23 Gavin Lee gavin@gmail.com KVM agent will be installed on KVM hypervisor, do you plan to use host for both management server and KVM hypervisor? Suggest install the agent on a clean KVM hypervisor. On Sun, Sep 23, 2012 at 6:11 PM, Kamil Gardziejczyk belussi...@gmail.com wrote: Ok. My managment service is working fine ;) Now i have a quastion about KVM agnet. How to deploy it from source? with ant? Should I install it on a separted machin or can it be shared with management server? 2012/9/23 Kamil Gardziejczyk belussi...@gmail.com Hmmm There is also issue with ant. I had installed ant before and everthing works fine...e compile-utils: [mkdir] Created dir: /root/workspace/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud- 4.0.0/target/classes/cloud-utils.jar BUILD FAILED /root/workspace/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud- 4.0.0/build/build-cloud.xml:180: The following error occurred while executing this line: /root/workspace/incubator-cloudstack/artifacts/rpmbuild/BUILD/cloud- 4.0.0/build/build-common.xml:62: Problem: failed to create task or type depend Cause: the class org.apache.tools.ant.taskdefs.optional.depend.Depend was not found.
[jira] [Commented] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464569#comment-13464569 ] Sailaja Mada commented on CLOUDSTACK-220: - Other Issue: 1. Though it gave error while configuring LB rules , it added the rules and instances . 2. But when i tried to delete LB Rules , It gave the same error and did not allow to delete LB Rules. 2012-09-27 14:43:32,720 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-37:job-27) Network Rules for network 204 were handled by Netscaler 2012-09-27 14:43:32,726 ERROR [cloud.api.ApiDispatcher] (Job-Executor-37:job-27) Exception while executing DeleteLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.deleteLoadBalancerRule(LoadBalancingRulesManagerImpl.java:661) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.deleteLoadBalancerRule(LoadBalancingRulesManagerImpl.java:607) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.DeleteLoadBalancerRuleCmd.execute(DeleteLoadBalancerRuleCmd.java:90) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 14:43:32,727 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-37:job-27) Complete async job-27, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Unable to identify the provider by name F5ExternalLoadBalancerElement 2012-09-27 14:43:32,749 DEBUG [cloud.async.SyncQueueManagerImpl] (Job-Executor-37:job-27) Sync queue (1) is currently empty 2012-09-27 14:43:34,924 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-19:null) Async job-27 completed Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer -- Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Attachments: api-server.log, management-server.log, ns.log, screenshot-1.jpg Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[CloudStack-non-OSS-39.tar] 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at
[jira] [Updated] (CLOUDSTACK-218) Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wido den Hollander updated CLOUDSTACK-218: -- Assignee: Wido den Hollander Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance - Key: CLOUDSTACK-218 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-218 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: 4.0.0 Environment: Fresh Ubuntu 12.04 AWS instance of type m1.medium root@ip-10-145-150-14:/var/log/cloud/management# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise root@ip-10-145-150-14:/var/log/cloud/management# root@ip-10-145-150-14:/var/log/cloud/management# dpkg -l | grep cloud ii cloud-client 1:4.0.0-1beta1 CloudStack client ii cloud-client-ui 1:4.0.0-1beta1 CloudStack management server UI ii cloud-core 1:4.0.0-1beta1 CloudStack core library ii cloud-deps 1:4.0.0-1beta1 CloudStack library dependencies ii cloud-init 0.6.3-0ubuntu1 Init scripts for cloud instances ii cloud-initramfs-growroot 0.4ubuntu1 automatically resize the root partition on first boot ii cloud-initramfs-rescuevol0.4ubuntu1 boot off a rescue volume rather than root filesystem ii cloud-python 1:4.0.0-1beta1 CloudStack Python library ii cloud-scripts1:4.0.0-1beta1 CloudStack scripts ii cloud-server 1:4.0.0-1beta1 CloudStack server library ii cloud-setup 1:4.0.0-1beta1 CloudStack client ii cloud-system-iso 1:4.0.0-1beta1 CloudStack system iso ii cloud-utils 1:4.0.0-1beta1 CloudStack utility library Reporter: Shanker Balan Assignee: Wido den Hollander Priority: Trivial Fix For: 4.0.0 To reproduce: Create new AWS instance running Ubuntu precise deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 wget -O - http://cloudstack.apt-get.eu/release.asc|sudo apt-key add - sudo apt-get update sudo apt-get install cloud-client sudo apt-get install mysql-server sudo cloud-setup-databases cloud:password@localhost --deploy-as=root:password sudo cloud-setup-management sudo /etc/init.d/cloud-management restart tail -f management-server.log ubuntu@ip-10-145-150-14:~$ ls -al total 40 drwxr-xr-x 6 ubuntu ubuntu 4096 Sep 27 07:10 . drwxr-xr-x 3 root root 4096 Aug 22 05:48 .. -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 15:58 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 15:58 .bashrc drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 27 07:08 .byobu drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:44 .cache -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 15:58 .profile -rw-rw-r-- 1 ubuntu ubuntu0 Sep 27 06:47 .screenrc drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:42 .ssh -rw-r--r-- 1 ubuntu ubuntu0 Sep 27 06:47 .sudo_as_admin_successful drwxr-xr-x 2 root root 4096 Sep 27 07:10 systemvm_mnt -rw--- 1 root root672 Sep 27 06:47 .viminfo ubuntu@ip-10-145-150-14:~$ pwd /home/ubuntu ubuntu@ip-10-145-150-14:~$ id uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin) ubuntu@ip-10-145-150-14:~$ sudo tail -2 /etc/sudoers #includedir /etc/sudoers.d cloud ALL =NOPASSWD : ALL snip 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib/cloud/common 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Executing: /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh /var/lib/cloud/management/.ssh/id_rsa.pub /var/lib/cloud/management/.ssh/id_rsa /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,901 DEBUG
[jira] [Commented] (CLOUDSTACK-218) Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464576#comment-13464576 ] Wido den Hollander commented on CLOUDSTACK-218: --- The management server seems to think it's homedirectory is /home/ubuntu because you used sudo. That seems like a bug, I'll check that. Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance - Key: CLOUDSTACK-218 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-218 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: 4.0.0 Environment: Fresh Ubuntu 12.04 AWS instance of type m1.medium root@ip-10-145-150-14:/var/log/cloud/management# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise root@ip-10-145-150-14:/var/log/cloud/management# root@ip-10-145-150-14:/var/log/cloud/management# dpkg -l | grep cloud ii cloud-client 1:4.0.0-1beta1 CloudStack client ii cloud-client-ui 1:4.0.0-1beta1 CloudStack management server UI ii cloud-core 1:4.0.0-1beta1 CloudStack core library ii cloud-deps 1:4.0.0-1beta1 CloudStack library dependencies ii cloud-init 0.6.3-0ubuntu1 Init scripts for cloud instances ii cloud-initramfs-growroot 0.4ubuntu1 automatically resize the root partition on first boot ii cloud-initramfs-rescuevol0.4ubuntu1 boot off a rescue volume rather than root filesystem ii cloud-python 1:4.0.0-1beta1 CloudStack Python library ii cloud-scripts1:4.0.0-1beta1 CloudStack scripts ii cloud-server 1:4.0.0-1beta1 CloudStack server library ii cloud-setup 1:4.0.0-1beta1 CloudStack client ii cloud-system-iso 1:4.0.0-1beta1 CloudStack system iso ii cloud-utils 1:4.0.0-1beta1 CloudStack utility library Reporter: Shanker Balan Assignee: Wido den Hollander Priority: Trivial Fix For: 4.0.0 To reproduce: Create new AWS instance running Ubuntu precise deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 wget -O - http://cloudstack.apt-get.eu/release.asc|sudo apt-key add - sudo apt-get update sudo apt-get install cloud-client sudo apt-get install mysql-server sudo cloud-setup-databases cloud:password@localhost --deploy-as=root:password sudo cloud-setup-management sudo /etc/init.d/cloud-management restart tail -f management-server.log ubuntu@ip-10-145-150-14:~$ ls -al total 40 drwxr-xr-x 6 ubuntu ubuntu 4096 Sep 27 07:10 . drwxr-xr-x 3 root root 4096 Aug 22 05:48 .. -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 15:58 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 15:58 .bashrc drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 27 07:08 .byobu drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:44 .cache -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 15:58 .profile -rw-rw-r-- 1 ubuntu ubuntu0 Sep 27 06:47 .screenrc drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:42 .ssh -rw-r--r-- 1 ubuntu ubuntu0 Sep 27 06:47 .sudo_as_admin_successful drwxr-xr-x 2 root root 4096 Sep 27 07:10 systemvm_mnt -rw--- 1 root root672 Sep 27 06:47 .viminfo ubuntu@ip-10-145-150-14:~$ pwd /home/ubuntu ubuntu@ip-10-145-150-14:~$ id uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin) ubuntu@ip-10-145-150-14:~$ sudo tail -2 /etc/sudoers #includedir /etc/sudoers.d cloud ALL =NOPASSWD : ALL snip 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib/cloud/common 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Executing:
[jira] [Commented] (CLOUDSTACK-118) Status of host resorce stuck in ErrorInMaintenance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464580#comment-13464580 ] prashant kumar mishra commented on CLOUDSTACK-118: -- I am facing same error ErrorInMaintenance with KVM host also. ** Details *** Setup --- --- MS :Rhel6.3 Hypervisor : KVM(Rhl6.3) Advance Zone Build :CloudStack-oss-4.0.0-184.tar.bz2 Git Revision: 995bab60385f7d663680ef6f5342056c6db3d305 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- Step to reproduce: - -- 1-Create an advance zone-pod-cluster. 2-Add 2 hosts in same cluster. 3-Deploy a HA enabled VM . 4-put host(on which SSVM ,CPVM and VR are running ) in maintenance mode . Expected result : -- -- resource status =maintenance Actual result: resource state=ErrorInMaintenance Status of host resorce stuck in ErrorInMaintenance - Key: CLOUDSTACK-118 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-118 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Environment: XS 6.0.2 MS Rhl6.3 Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: prashant kumar mishra Assignee: Abhinandan Prateek Fix For: pre-4.0.0 Attachments: access_log.2012-09-17.txt, access_log.2012-09-26.txt, api-server.log, api-server.log, catalina.2012-09-26.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log, management-server.log.2012-09-16.gz, screenshot-1.jpg, screenshot-2.jpg In a cluster of 2 host if you try to put master in maintenance mode ,resource state will be stuck in ErrorInMaintenance Step to reproduce: - -- 1-Create an advance zone-pod-cluster. 2-Add 2 hosts in same cluster. 3-Deploy a HA enabled VM . 4-put host(one which is pool master ) in maintenance mode . Expected result : -- -- status =UP; resource status =maintenance Actual result: status=UP; resource state=ErrorInMaintenance -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CLOUDSTACK-221) Warnings while installing Management Server [RHEL 6.3](warning: user cloud does not exist - using root)
Sailaja Mada created CLOUDSTACK-221: --- Summary: Warnings while installing Management Server [RHEL 6.3](warning: user cloud does not exist - using root) Key: CLOUDSTACK-221 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-221 Project: CloudStack Issue Type: Bug Components: Install and Setup Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Priority: Minor Setup: Management server : RHEL 6.3 . OSS build : CloudStack-oss-4.0.0-211.tar Steps: 1. Setup RHEL Repo 2. Install Management Server with 211 build. 3. Installation went thru with below warnings. Installing : tomcat6-el-2.1-api-6.0.24-45.el6.noarch 43/48 Installing : tomcat6-lib-6.0.24-45.el6.noarch 44/48 Installing : tomcat6-6.0.24-45.el6.noarch 45/48 Installing : cloud-aws-api-4.0.0-0.211.el6.4.0.x86_64 46/48 warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root warning: user cloud does not exist - using root warning: group cloud does not exist - using root Installing : cloud-client-ui-4.0.0-0.211.el6.4.0.x86_64 47/48 Installing : cloud-client-4.0.0-0.211.el6.4.0.x86_64 48/48 ls: cannot access /usr/share/cloud/bridge/lib: No such file or directory rhel/productid | 1.7 kB 00:00 ... Installed products updated. Expected results : Install should go thru without any failures/warnings. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in ErrorInMaintenance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] prashant kumar mishra updated CLOUDSTACK-118: - Attachment: management-server.log MS Log for CS + KVM host setup Status of host resorce stuck in ErrorInMaintenance - Key: CLOUDSTACK-118 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-118 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Environment: XS 6.0.2 MS Rhl6.3 Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: prashant kumar mishra Assignee: Abhinandan Prateek Fix For: pre-4.0.0 Attachments: access_log.2012-09-17.txt, access_log.2012-09-26.txt, api-server.log, api-server.log, catalina.2012-09-26.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log, management-server.log, management-server.log.2012-09-16.gz, screenshot-1.jpg, screenshot-2.jpg In a cluster of 2 host if you try to put master in maintenance mode ,resource state will be stuck in ErrorInMaintenance Step to reproduce: - -- 1-Create an advance zone-pod-cluster. 2-Add 2 hosts in same cluster. 3-Deploy a HA enabled VM . 4-put host(one which is pool master ) in maintenance mode . Expected result : -- -- status =UP; resource status =maintenance Actual result: status=UP; resource state=ErrorInMaintenance -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-118) Status of host resorce stuck in ErrorInMaintenance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] prashant kumar mishra updated CLOUDSTACK-118: - Priority: Blocker (was: Major) Status of host resorce stuck in ErrorInMaintenance - Key: CLOUDSTACK-118 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-118 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Environment: XS 6.0.2 MS Rhl6.3 Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: prashant kumar mishra Assignee: Abhinandan Prateek Priority: Blocker Fix For: pre-4.0.0 Attachments: access_log.2012-09-17.txt, access_log.2012-09-26.txt, api-server.log, api-server.log, catalina.2012-09-26.log, catalina.out, cloud-backup.dmp, management-server.log, management-server.log, management-server.log, management-server.log, management-server.log.2012-09-16.gz, screenshot-1.jpg, screenshot-2.jpg In a cluster of 2 host if you try to put master in maintenance mode ,resource state will be stuck in ErrorInMaintenance Step to reproduce: - -- 1-Create an advance zone-pod-cluster. 2-Add 2 hosts in same cluster. 3-Deploy a HA enabled VM . 4-put host(one which is pool master ) in maintenance mode . Expected result : -- -- status =UP; resource status =maintenance Actual result: status=UP; resource state=ErrorInMaintenance -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: doc files for inter vlan routing
On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: Some of the image file names don't match the introductory text, which makes me wonder whether it's the correct image file. It might be, if the same file is being reused for different tasks. Minor issue: some of the alt texts don't match the image file names. Do you prefer to add multiple copies of the same image with diff names, or what currently followed is fine ? On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/delete-reset-vpn.xml, line 75 https://reviews.apache.org/r/7106/diff/1/?file=155074#file155074line75 This alt text doesn't match the .png filename. this is a correct image file. same file has been reused for diff tasks On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/delete-reset-vpn.xml, line 84 https://reviews.apache.org/r/7106/diff/1/?file=155074#file155074line84 This alt text doesn't match the .png file name. this is a correct image file. same file has been reused for diff tasks On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/release-ip-for-vpc.xml, line 72 https://reviews.apache.org/r/7106/diff/1/?file=155077#file155077line72 Shouldn't this refer to release-ip-icon.png? this is a correct image file. same file has been reused for diff tasks On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/release-ip-for-vpc.xml, line 75 https://reviews.apache.org/r/7106/diff/1/?file=155077#file155077line75 This alt text has a typo, an extra e at the end. Also doesn't exactly match the .png file name. removed. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/remove-vpc.xml, line 43 https://reviews.apache.org/r/7106/diff/1/?file=155079#file155079line43 This is correct only if the icon for removing a VPC is the same as the icon for destroying an instance. this is a correct image file. same file has been reused for diff tasks. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/remove-vpc.xml, line 46 https://reviews.apache.org/r/7106/diff/1/?file=155079#file155079line46 This alt text doesn't match the current .png file name in the imagedata tag. this is a correct image file. same file has been reused for diff tasks. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/remove-vpc.xml, line 55 https://reviews.apache.org/r/7106/diff/1/?file=155079#file155079line55 This alt text doesn't match the .png file name in the imagedata tag. this is a correct image file. same file has been reused for diff tasks. - Radhika --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7106/#review11968 --- On Sept. 14, 2012, 12:36 p.m., Radhika PC wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7106/ --- (Updated Sept. 14, 2012, 12:36 p.m.) Review request for cloudstack and David Nalley. Description --- files for VPC/inter vlan routing Diffs - docs/en-US/acquire-new-ip-for-vpc.xml PRE-CREATION docs/en-US/add-gateway-vpc.xml PRE-CREATION docs/en-US/add-loadbalancer-rule-vpc.xml PRE-CREATION docs/en-US/add-portforward-rule-vpc.xml PRE-CREATION docs/en-US/add-tier.xml PRE-CREATION docs/en-US/add-vm-to-tier.xml PRE-CREATION docs/en-US/add-vpc.xml PRE-CREATION docs/en-US/configure-acl.xml PRE-CREATION docs/en-US/configure-vpc.xml PRE-CREATION docs/en-US/delete-reset-vpn.xml PRE-CREATION docs/en-US/enable-disable-static-nat-vpc.xml PRE-CREATION docs/en-US/inter-vlan-routing.xml PRE-CREATION docs/en-US/release-ip-for-vpc.xml PRE-CREATION docs/en-US/remove-tier.xml PRE-CREATION docs/en-US/remove-vpc.xml PRE-CREATION Diff: https://reviews.apache.org/r/7106/diff/ Testing --- Thanks, Radhika PC
Status of host resource stuck in ErrorInMaintenance
Hi, I am facing problem ErrorInMaintenance for Xen 6.0.2 and KVM (Rhel 6.3) for more detail please follow this link https://issues.apache.org/jira/browse/CLOUDSTACK-118#comment-13464580. I am blocked because of this issue .Need a solution for further progress on my test plan. Thanks and regards Prashant Kumar Mishra
Re: Review Request: Enable AutoScale Vms to be named as AutoScale-LB-lbname
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7296/#review11977 --- Ship it! Ship It! - Ram Ganesh On Sept. 26, 2012, 6:40 p.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7296/ --- (Updated Sept. 26, 2012, 6:40 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- Enable AutoScale Vms to be named as AutoScale-LB-lbname This addresses bug CS-15927. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a api/src/com/cloud/network/lb/LoadBalancingRule.java 6647b8e plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 59ae8e6 setup/db/create-schema.sql bcdccab Diff: https://reviews.apache.org/r/7296/diff/ Testing --- Created AutoScale Config for LB with name autolb AutoScaledVMs got created with display name AutoScale-LB-autolb Thanks, Vijay Venkatachalam
Re: Review Request: Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7299/#review11978 --- Ship it! Ship It! - Ram Ganesh On Sept. 26, 2012, 7:10 p.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7299/ --- (Updated Sept. 26, 2012, 7:10 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup Basically, create the service group in netscaler with CloudStack generated uuid for AutoScale Vm Group. This addresses bug CS-16066. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 Diff: https://reviews.apache.org/r/7299/diff/ Testing --- Create AutoScale config. Check the servicegroup created for AutoScale config in NetScaler using show servicegroup, the service group should have a name similar to Cloudf3cf2775b42346e0a93ca07edf96573a. Thanks, Vijay Venkatachalam
[jira] [Created] (CLOUDSTACK-222) Admin UI prompts to restart Management server with cancel edit operation
Sailaja Mada created CLOUDSTACK-222: --- Summary: Admin UI prompts to restart Management server with cancel edit operation Key: CLOUDSTACK-222 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-222 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Priority: Minor Setup: Management server : RHE 6.3 , Hypervisor : Xen 6.0.2 Steps: 1. Install and Configure Management server. 2. Access admin UI - Global settings 3. Click on edit with any of the global parameter . I tried with expunge.interval 4. Do not perform any modifications to the value set and click on cancel edit[x] Observation: Admin UI prompts to restart Management server with cancel edit operation saying Please restart your management server(s) for your new settings to take effect Expected Results: Message to restart Management server should not be prompted when there are no modifications and cancel edit option is used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-222) Admin UI prompts to restart Management server with cancel edit operation
[ https://issues.apache.org/jira/browse/CLOUDSTACK-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sailaja Mada updated CLOUDSTACK-222: Attachment: screenshot-1.jpg Admin UI prompts to restart Management server with cancel edit operation - Key: CLOUDSTACK-222 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-222 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Priority: Minor Attachments: screenshot-1.jpg Setup: Management server : RHE 6.3 , Hypervisor : Xen 6.0.2 Steps: 1. Install and Configure Management server. 2. Access admin UI - Global settings 3. Click on edit with any of the global parameter . I tried with expunge.interval 4. Do not perform any modifications to the value set and click on cancel edit[x] Observation: Admin UI prompts to restart Management server with cancel edit operation saying Please restart your management server(s) for your new settings to take effect Expected Results: Message to restart Management server should not be prompted when there are no modifications and cancel edit option is used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CLOUDSTACK-222) Admin UI prompts to restart Management server with cancel edit operation
[ https://issues.apache.org/jira/browse/CLOUDSTACK-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464612#comment-13464612 ] Sailaja Mada commented on CLOUDSTACK-222: - This issue is observed with ASF 4.0 and 3.0.5 Admin UI prompts to restart Management server with cancel edit operation - Key: CLOUDSTACK-222 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-222 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Priority: Minor Attachments: screenshot-1.jpg Setup: Management server : RHE 6.3 , Hypervisor : Xen 6.0.2 Steps: 1. Install and Configure Management server. 2. Access admin UI - Global settings 3. Click on edit with any of the global parameter . I tried with expunge.interval 4. Do not perform any modifications to the value set and click on cancel edit[x] Observation: Admin UI prompts to restart Management server with cancel edit operation saying Please restart your management server(s) for your new settings to take effect Expected Results: Message to restart Management server should not be prompted when there are no modifications and cancel edit option is used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: admin guide files that are missed to add to apache repo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7284/ --- (Updated Sept. 27, 2012, 11:10 a.m.) Review request for cloudstack and David Nalley. Description --- admin guide files that are missed to add to apache repo Diffs - docs/en-US/add-clusters-kvm-xenserver.xml PRE-CREATION docs/en-US/add-clusters-vsphere.xml PRE-CREATION docs/en-US/api-overview.xml PRE-CREATION docs/en-US/cloudstack_features.xml PRE-CREATION docs/en-US/create-vr-network-offering.xml PRE-CREATION docs/en-US/global-config.xml PRE-CREATION docs/en-US/install-database-on-management-server-node.xml PRE-CREATION docs/en-US/install-database-on-separate-node.xml PRE-CREATION docs/en-US/install-management-server-multi-nodes.xml PRE-CREATION docs/en-US/install-management-server.xml PRE-CREATION docs/en-US/manage-network-traffic.xml PRE-CREATION docs/en-US/prepare-nfs-shares.xml PRE-CREATION docs/en-US/prepare-os.xml PRE-CREATION docs/en-US/provisioning.xml PRE-CREATION docs/en-US/storage-overview.xml PRE-CREATION docs/en-US/tagging-resources.xml PRE-CREATION docs/en-US/virtual-machines.xml PRE-CREATION Diff: https://reviews.apache.org/r/7284/diff/ Testing --- Thanks, Radhika PC
Review Request: Fix for https://reviews.apache.org/r/7284/ (missed out files of admin guide)
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7327/ --- Review request for cloudstack and David Nalley. Description --- Fixed issues of the patch submitted at https://reviews.apache.org/r/7284/ (missed out admin guide files- removed the extra install guide files) Diffs - docs/en-US/add-clusters-kvm-xenserver.xml PRE-CREATION docs/en-US/add-clusters-vsphere.xml PRE-CREATION docs/en-US/api-overview.xml PRE-CREATION docs/en-US/create-vr-network-offering.xml PRE-CREATION docs/en-US/global-config.xml PRE-CREATION docs/en-US/networks.xml PRE-CREATION docs/en-US/provisioning.xml PRE-CREATION docs/en-US/storage-overview.xml PRE-CREATION docs/en-US/virtual-machines.xml PRE-CREATION Diff: https://reviews.apache.org/r/7327/diff/ Testing --- Thanks, Radhika PC
Re: Review Request: Next set of Admin Guide files-Setting Resource Limits for Projects
On Sept. 27, 2012, 7:02 a.m., Jessica Tomechak wrote: set-global-project-resource-limits and set-per-project-resource-limits.xml should both be included as sub-sections inside set-resource-limits-for-projects.xml. fixed in the new patch attached. On Sept. 27, 2012, 7:02 a.m., Jessica Tomechak wrote: docs/en-US/set-pre-project-resource-limits.xml, line 21 https://reviews.apache.org/r/7250/diff/1/?file=159797#file159797line21 The ID, and the file name, should be set-per-project-resource-limits, not set-pre-... fixed in the new patch attached. On Sept. 27, 2012, 7:02 a.m., Jessica Tomechak wrote: docs/en-US/set-pre-project-resource-limits.xml, line 42 https://reviews.apache.org/r/7250/diff/1/?file=159797#file159797line42 Missing period at end of sentence. fixed in the new patch attached. - Radhika --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7250/#review11969 --- On Sept. 27, 2012, 9:32 a.m., Radhika PC wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7250/ --- (Updated Sept. 27, 2012, 9:32 a.m.) Review request for cloudstack and David Nalley. Description --- XML files for the section Setting Resource Limits for Projects in the Admin Guide. Diffs - docs/en-US/re-install-hosts.xml PRE-CREATION docs/en-US/set-global-project-resource-limits.xml PRE-CREATION docs/en-US/set-pre-project-resource-limits.xml PRE-CREATION docs/en-US/set-projects-creator-permissions.xml 1d9309f Diff: https://reviews.apache.org/r/7250/diff/ Testing --- Thanks, Radhika PC
[jira] [Commented] (CLOUDSTACK-220) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer
[ https://issues.apache.org/jira/browse/CLOUDSTACK-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464630#comment-13464630 ] Sailaja Mada commented on CLOUDSTACK-220: - Network is failed to delete when the account with which network is created : 2012-09-27 16:46:02,405 DEBUG [cloud.network.NetworkManagerImpl] (UserVm-Scavenger-3:null) Network Rules for network 204 were handled by Netscaler 2012-09-27 16:46:02,405 WARN [cloud.vm.UserVmManagerImpl] (UserVm-Scavenger-3:null) Unable to expunge VM[User|sailajansoffernw1Instance1] com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeVmFromLoadBalancers(LoadBalancingRulesManagerImpl.java:586) at com.cloud.vm.UserVmManagerImpl.cleanupVmResources(UserVmManagerImpl.java:1275) at com.cloud.vm.UserVmManagerImpl.expunge(UserVmManagerImpl.java:1226) at com.cloud.vm.UserVmManagerImpl$ExpungeTask.run(UserVmManagerImpl.java:1736) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Error while configuring Loadbalncing Rules when Netscaler is used as Load Balancer -- Key: CLOUDSTACK-220 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-220 Project: CloudStack Issue Type: Bug Components: Network Devices Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Attachments: api-server.log, management-server.log, ns.log, screenshot-1.jpg Setup: Management Server is on RHEL 6.3 , Hypervisor : Xen 6.0.2 , Netscaler is 9.3 VPX Steps : 1. Configure Advanced Networking Zone using non-oss build[CloudStack-non-OSS-39.tar] 2. Add Netscaler device and enable it 3. Create a new account and Network offering with DNS,DHCP,Source NAT as Virtual Router , Load Balancing as Netscaler . 4. Create Network using this offering 5. Deploy the instance using this network 6. Access Guest Network Configuration, Acquire New Public IP 7. Configure Load balancing rule with 80 to 80 Observation : Error is observed while adding LB rules : Unable to identify the provider by name F5ExternalLoadBalancerElement. 2012-09-27 13:27:01,755 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-28:job-22) Network Rules for network 204 were handled by Netscaler 2012-09-27 13:27:01,762 ERROR [cloud.api.ApiDispatcher] (Job-Executor-28:job-22) Exception while executing RemoveFromLoadBalancerRuleCmd: com.cloud.utils.exception.CloudRuntimeException: Unable to identify the provider by name F5ExternalLoadBalancerElement at com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:3677) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerRules(LoadBalancingRulesManagerImpl.java:922) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.applyLoadBalancerConfig(LoadBalancingRulesManagerImpl.java:896) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancerInternal(LoadBalancingRulesManagerImpl.java:527) at com.cloud.network.lb.LoadBalancingRulesManagerImpl.removeFromLoadBalancer(LoadBalancingRulesManagerImpl.java:501) at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36) at com.cloud.api.commands.RemoveFromLoadBalancerRuleCmd.execute(RemoveFromLoadBalancerRuleCmd.java:99) at
Re: Review Request: Enabling autoScaled VMs to be provisioned in the loadbalancer's network.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7288/ --- (Updated Sept. 27, 2012, 11:42 a.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Changes --- Database id's cannot be thrown to user. I have corrected it to throw a generic error message, but have logged the id information. Also, this error condition is a rare case, by the time it comes to this layer zone for the most cases would exist. Thanks, Vijay. Description --- The loadbalancer's network and it's VMs are present in the same network. Enabling autoScaled VMs to be provisioned in the loadbalancer's network. This addresses bug CS-15938. Diffs (updated) - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a api/src/com/cloud/network/lb/LoadBalancingRule.java 6647b8e plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 server/src/com/cloud/network/as/AutoScaleManagerImpl.java 62b5e47 server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 59ae8e6 Diff: https://reviews.apache.org/r/7288/diff/ Testing --- Create autoscale config DeployVirtualMachine command sent from NS succeeded. Thanks, Vijay Venkatachalam
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:634) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:605) ... 7 more Can anyone provide insight here? Thanks, James
Re: Review Request: Enabling autoScaled VMs to be provisioned in the loadbalancer's network.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7288/#review11980 --- Ship it! Ship It! - Devdeep Singh On Sept. 27, 2012, 11:42 a.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7288/ --- (Updated Sept. 27, 2012, 11:42 a.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- The loadbalancer's network and it's VMs are present in the same network. Enabling autoScaled VMs to be provisioned in the loadbalancer's network. This addresses bug CS-15938. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a api/src/com/cloud/network/lb/LoadBalancingRule.java 6647b8e plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 server/src/com/cloud/network/as/AutoScaleManagerImpl.java 62b5e47 server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 59ae8e6 Diff: https://reviews.apache.org/r/7288/diff/ Testing --- Create autoscale config DeployVirtualMachine command sent from NS succeeded. Thanks, Vijay Venkatachalam
RE: Problem with VM private IP
Hi (again), I have applied the patch for hairpin Nat with vrvm but here come another problems, CS always said Fail to enable static NAT each time I Nat public IP for VM. I also tried to upgrade to 3.0.4 and the problem hadn't gone away. In VRVM, the hairpin Nat rule were also disappeared. Please help! !! Sent from my HTC© On Sep 25, 2012 3:48 PM, Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com wrote: There is no hair pin NAT related rule in the NAT table. Hairpin NAT issue is fixed in 3.0.3. http://bugs.cloudstack.org/browse/CS-13500 Thanks, Jayapal -Original Message- From: Hieu Le [mailto:hieul...@gmail.com] Sent: Tuesday, September 25, 2012 12:24 PM To: cloudstack-dev@incubator.apache.org Subject: Re: Problem with VM private IP Here is VR iptables rules: root@r-17-VRDLAB:~# iptables -nL -v --line-numbers -t filter Chain INPUT (policy DROP 124 packets, 9432 bytes) num pkts bytes target prot opt in out source destination 10 0 ACCEPT all -- * * 0.0.0.0/0 224.0.0.18 20 0 ACCEPT all -- * * 0.0.0.0/0 225.0.0.50 3 38 3648 ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 411168 1852K ACCEPT all -- eth1 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 55 526 ACCEPT all -- eth2 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 6 102 8520 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 75 293 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 8 29 9614 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:67 9 23 1787 ACCEPT udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp dpt:53 10 629 37740 ACCEPT tcp -- eth1 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:3922 11 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8080 12 0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80 Chain FORWARD (policy DROP 0 packets, 0 bytes) num pkts bytes target prot opt in out source destination 10 0 ACCEPT all -- eth0 eth10.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 2160 ACCEPT all -- eth2 eth00.0.0.0/0 10.1.1.118 state NEW 33 164 ACCEPT all -- eth2 eth00.0.0.0/0 10.1.1.132 state NEW 4 21 9986 ACCEPT all -- eth2 eth00.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 5 29 1600 ACCEPT all -- eth0 eth20.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 280 packets, 48879 bytes) num pkts bytes target prot opt in out source destination root@r-17-VRDLAB:~# iptables -nL -v --line-numbers -t nat Chain PREROUTING (policy ACCEPT 143 packets, 10644 bytes) num pkts bytes target prot opt in out source destination 1160 DNAT all -- eth2 * 0.0.0.0/0 192.168.3.120 to:10.1.1.118 23 164 DNAT all -- eth2 * 0.0.0.0/0 192.168.3.115 to:10.1.1.132 Chain POSTROUTING (policy ACCEPT 4 packets, 224 bytes) num pkts bytes target prot opt in out source destination 1296 SNAT all -- * eth210.1.1.132 0.0.0.0/0 to:192.168.3.115 24 192 SNAT all -- * eth210.1.1.118 0.0.0.0/0 to:192.168.3.120 32 138 SNAT all -- * eth20.0.0.0/0 0.0.0.0/0 to:192.168.3.116 Chain OUTPUT (policy ACCEPT 2 packets, 138 bytes) num pkts bytes target prot opt in out source destination root@r-17-VRDLAB:~# iptables -nL -v --line-numbers -t mangle Chain PREROUTING (policy ACCEPT 543 packets, 44292 bytes) num pkts bytes target prot opt in out source destination 1 552 346K VPN_192.168.3.116 all -- * * 0.0.0.0/0 192.168.3.116 2 13 5167 FIREWALL_192.168.3.120 all -- * * 0.0.0.0/0 192.168.3.120 3 22 5571 FIREWALL_192.168.3.115 all -- * * 0.0.0.0/0 192.168.3.115 4 118 5980 FIREWALL_192.168.3.116 all -- * * 0.0.0.0/0 192.168.3.116 511705 1887K CONNMARK all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED CONNMARK restore 6160 MARK all -- eth2 * 0.0.0.0/0 192.168.3.120 state NEW MARK set 0x2 7160 CONNMARK all -- eth2 * 0.0.0.0/0 192.168.3.120 state NEW CONNMARK save 8 124 10012 MARK all -- eth0 * 10.1.1.118 0.0.0.0/0 state NEW MARK set 0x2 9 124 10012 CONNMARK all -- eth0 * 10.1.1.118 0.0.0.0/0 state NEW CONNMARK save 10 3 164 MARK all -- eth2 *
[jira] [Updated] (CLOUDSTACK-223) Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build
[ https://issues.apache.org/jira/browse/CLOUDSTACK-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Roy updated CLOUDSTACK-223: --- Description: Description : == Templates other than the systemvm template are not getting downloaded after deploying an Advanced zone CS setup with vmware 5.0 hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource was: Description : == Templates other than the systemvm template are not getting downloaded after deploying a Basic/Advanced zone CS setup with KVM hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build -- Key: CLOUDSTACK-223 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-223 Project: CloudStack Issue Type: Bug Components: Install and Setup, Template Affects Versions: pre-4.0.0 Environment: MS OS : Rhel 6.3 Hypervisor : vmware Build : http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-42.tar.bz2 [Git Revision: 9951d8973c046e7b258198342e0e746aa901e774 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git ] Reporter: Abhinav Roy Priority: Blocker Fix For: pre-4.0.0 Description : == Templates other than the systemvm template are not getting downloaded after deploying an Advanced zone CS setup with vmware 5.0 hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CLOUDSTACK-223) Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build
Abhinav Roy created CLOUDSTACK-223: -- Summary: Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build Key: CLOUDSTACK-223 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-223 Project: CloudStack Issue Type: Bug Components: Install and Setup, Template Affects Versions: pre-4.0.0 Environment: MS OS : Rhel 6.3 Hypervisor : vmware Build : http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-42.tar.bz2 [Git Revision: 9951d8973c046e7b258198342e0e746aa901e774 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git ] Reporter: Abhinav Roy Priority: Blocker Fix For: pre-4.0.0 Description : == Templates other than the systemvm template are not getting downloaded after deploying a Basic/Advanced zone CS setup with KVM hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: Enable AutoScale Vms to be named as AutoScale-LB-lbname
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7296/#review11981 --- This patch doesn't apply cleanly because of trailing white space errors. Vijay , could you please have a look at it once again and send an updated patch ? This is the point where it throws the error - 0002-CS-15927-Able-to-add-autoscale-VMs-to-static-LB-rule.patch:235: trailing whitespace. INDEX `i_autoscale_vmgroups__load_balancer_id`(`load_balancer_id`) : server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java:277 error: server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java: patch does not apply Thanks ! - Pranav Saxena On Sept. 26, 2012, 6:40 p.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7296/ --- (Updated Sept. 26, 2012, 6:40 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- Enable AutoScale Vms to be named as AutoScale-LB-lbname This addresses bug CS-15927. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 9a58d9a api/src/com/cloud/network/lb/LoadBalancingRule.java 6647b8e plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java b78e770 server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 59ae8e6 setup/db/create-schema.sql bcdccab Diff: https://reviews.apache.org/r/7296/diff/ Testing --- Created AutoScale Config for LB with name autolb AutoScaledVMs got created with display name AutoScale-LB-autolb Thanks, Vijay Venkatachalam
[RBTool] Update on RBTool
I've update RBTool to make me more productive, just sharing in case you want to use it; Get it from https://github.com/bhaisaab/RBTool and follow README file. Changelog: - Upgraded base fork to 0.4.2 - Creates review request based on git patch itself, no need to fill the description, summary etc. manually - Post it from terminal, opens in browser - Upload and strings fix - Listing API to list pending reviews, update field checks last_update field for last 5 days, and last non-submitter comment. Regards. Example pending review listing: $ rbtool-cs -l [18:32:25] Found 28 pending review requests for cloudstack #ID | Submitter | Branch | Reviewer | Update | Last Review by non-submitter - 5655 | Spark404| master | || alexhu- It shouldn't use the hardcoded string but the Config.XenCheckHvm. Please correc 5806 | deeptid | 3.0.x | || nitin- 6473 | jamshid | | || chiradeep- I committed this to master. I did not see JmDns in the pom.xml so I removed it f 6492 | krishna | | || vijayvenkat- 6523 | rohityadav | master | nitin, || nitin- 6614 | krishna | | || alexhu- I might be in the wrong here but none of the test methods seem to be verifying t 6702 | vijayendrabvs | master | kishan, || kishan- 6733 | gregburd| master | || chip.childers- Ship It! 6781 | rohityadav | master | aprateek, alena1108, chiradeep, || alena1108- 1)long dcId = dest.getDataCenter().getId(); 6881 | jief| | || ke4qqq- Jie: 6937 | satoshi-k | | || 6941 | kawai | master, 4.0 | || ke4qqq- I don't see a problem with this specific change - the if statement is pretty lim 7018 | bharatk | | nitin, || nitin- Ship It! 7083 | pradeepso | | chip.childers, edison, | Yes| rohityadav- Ship It! 7099 | mlsorensen | master | | Yes| 7106 | radhikap| master | ke4qqq, | Yes| jtomechak- Some of the image file names don't match the introductory text, which makes me w 7130 | rohityadav | | aprateek, alena1108, alexhu, | Yes| alena1108- Could you also please add warn log statement on the case when account can't be f 7168 | rohityadav | master | aprateek, kishan, nitin, alena1108, alexhu, | Yes| alexhu- Does this need to go into 4.0? 7243 | mattycourtney | | | Yes| edison- Ship It! 7250 | radhikap| | ke4qqq, | Yes| jtomechak- set-global-project-resource-limits and set-per-project-resource-limits.xml shoul 7251 | sebgoa | | tsp, edison, | Yes| 7280 | radhikap| | ke4qqq, | Yes| 7285 | rohityadav | | edison, alexhu, | Yes| ke4qqq- Why 6.2? 7288 | vijayvenkat | autoscale | devdeep, ramganesh, | Yes| devdeep- Ship It! 7296 | vijayvenkat | autoscale | devdeep, ramganesh, | Yes| pranavs- This patch doesn't apply cleanly because of trailing white space errors. Vijay , 7299 | vijayvenkat | autoscale | devdeep, ramganesh, | Yes| ramganesh- Ship It! 7302 | yichi.lu| junit-tests | | Yes| 7327 | radhikap| | ke4qqq, | Yes| On
[jira] [Commented] (CLOUDSTACK-223) Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build
[ https://issues.apache.org/jira/browse/CLOUDSTACK-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464701#comment-13464701 ] Rohit Yadav commented on CLOUDSTACK-223: vmware-base and plugin-vmware should go in to agent? Right now, they go only into the server package. This needs checking and may be cause of this issue. Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build -- Key: CLOUDSTACK-223 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-223 Project: CloudStack Issue Type: Bug Components: Install and Setup, Template Affects Versions: pre-4.0.0 Environment: MS OS : Rhel 6.3 Hypervisor : vmware Build : http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-42.tar.bz2 [Git Revision: 9951d8973c046e7b258198342e0e746aa901e774 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git ] Reporter: Abhinav Roy Priority: Blocker Fix For: pre-4.0.0 Description : == Templates other than the systemvm template are not getting downloaded after deploying an Advanced zone CS setup with vmware 5.0 hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CLOUDSTACK-219) Fake bug: This is to test review board tool
[ https://issues.apache.org/jira/browse/CLOUDSTACK-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav resolved CLOUDSTACK-219. Resolution: Invalid Fake bug: This is to test review board tool --- Key: CLOUDSTACK-219 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-219 Project: CloudStack Issue Type: Bug Reporter: Rohit Yadav Assignee: Rohit Yadav Don't do anything, just a fake bug to test my review board tool fork. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLOUDSTACK-219) Fake bug: This is to test review board tool
[ https://issues.apache.org/jira/browse/CLOUDSTACK-219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav closed CLOUDSTACK-219. -- Fake bug: This is to test review board tool --- Key: CLOUDSTACK-219 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-219 Project: CloudStack Issue Type: Bug Reporter: Rohit Yadav Assignee: Rohit Yadav Don't do anything, just a fake bug to test my review board tool fork. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: CLOUDSTACK-43 : Jenkins build process needs to allow for setting the appropriate version number within the built JARs.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7083/#review11982 --- To be reviewed after 4.0, if that is fine. - Rohit Yadav On Sept. 25, 2012, 12:46 p.m., Pradeep Soundararajan wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7083/ --- (Updated Sept. 25, 2012, 12:46 p.m.) Review request for cloudstack, Chip Childers and edison su. Description --- The Jenkins binary build processes are producing JAR files that contain version numbers like 4.0.0-SNAPSHOT. We need a way to set a parameter within the build to set the version from SNAPSHOT to RC1 or even drop the pre-release identifier entirely (so that we can generate an actual release). Removed the occurrences of SNAPSHOT Diffs - agent/pom.xml a559580 api/pom.xml db14775 awsapi/pom.xml a583384 client/pom.xml 50b85e9 cloud.spec 908a411 console-proxy/pom.xml 8bfb753 core/pom.xml 510cb04 debian/cloud-deps.install 74aade1 deps/XenServerJava/pom.xml 1337514 deps/pom.xml 1e20083 patches/pom.xml d62fc86 plugins/deployment-planners/user-concentrated-pod/pom.xml ca2fae1 plugins/deployment-planners/user-dispersing/pom.xml 6e1ffc6 plugins/file-systems/netapp/pom.xml f10e5a4 plugins/host-allocators/random/pom.xml ad66c0e plugins/hypervisors/kvm/pom.xml 4863085 plugins/hypervisors/ovm/pom.xml a8b23d0 plugins/hypervisors/vmware/pom.xml 435ae38 plugins/hypervisors/xen/pom.xml bf38e47 plugins/network-elements/elastic-loadbalancer/pom.xml c1ab2c5 plugins/network-elements/f5/pom.xml 0cba48c plugins/network-elements/juniper-srx/pom.xml 38a2b55 plugins/network-elements/midokura-midonet/pom.xml 7f2e2d3 plugins/network-elements/netscaler/pom.xml 377e6e0 plugins/network-elements/nicira-nvp/pom.xml 37c3a3a plugins/network-elements/ovs/pom.xml 02d455c plugins/pom.xml 206d4a1 plugins/storage-allocators/random/pom.xml 6cb60cd plugins/user-authenticators/ldap/pom.xml 7facc3f plugins/user-authenticators/md5/pom.xml 1dac92d plugins/user-authenticators/plain-text/pom.xml a4280a3 pom.xml e3e535a server/pom.xml f7178d8 test/pom.xml f70a89f usage/pom.xml 92e5e72 utils/pom.xml e8d7827 vmware-base/pom.xml 1dabe83 wscript_build 4264822 Diff: https://reviews.apache.org/r/7083/diff/ Testing --- Able to execute mvn install successfully after the changes... Thanks, Pradeep Soundararajan
[jira] [Resolved] (CLOUDSTACK-211) Using nonoss build, when adding a Vmware host, an exception due to missing jar
[ https://issues.apache.org/jira/browse/CLOUDSTACK-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav resolved CLOUDSTACK-211. Resolution: Fixed Fixed with this patch http://bhaisaab.org/patches/cloudstack/0001-BUILD-Make-CloudStack-buildable-with-nonoss-libs.patch which is used by jenkins to build rpms Using nonoss build, when adding a Vmware host, an exception due to missing jar -- Key: CLOUDSTACK-211 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-211 Project: CloudStack Issue Type: Bug Components: Install and Setup Affects Versions: pre-4.0.0 Reporter: Pedro Navarro Pérez Assignee: Rohit Yadav Missing vmware-lib-jaxrpc.jar in the classpath 2012-09-26 12:10:32,240 DEBUG [vmware.resource.VmwareContextFactory] (catalina-exec-22:null) initialize VmwareContext. url: https://192.168.124.100/sdk/vimService, username: Administrator, password: C** 2012-09-26 12:10:33,761 ERROR [cloud.api.ApiDispatcher] (catalina-exec-22:null) Exception while executing AddClusterCmd: java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/Deserializer at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at com.vmware.apputils.vim.ServiceConnection.init(ServiceConnection.java:26) at com.vmware.apputils.vim.ServiceConnection.CreateServiceConnection(ServiceConnection.java:32) at com.vmware.apputils.AppUtil.setup(AppUtil.java:81) at com.vmware.apputils.AppUtil.init(AppUtil.java:76) at com.vmware.apputils.version.ExtendedAppUtil.init(ExtendedAppUtil.java:31) at com.vmware.apputils.version.ExtendedAppUtil.initialize(ExtendedAppUtil.java:11) at com.vmware.apputils.version.ExtendedAppUtil.initialize(ExtendedAppUtil.java:26) at com.cloud.hypervisor.vmware.resource.VmwareContextFactory.create(VmwareContextFactory.java:53) at com.cloud.hypervisor.vmware.VmwareServerDiscoverer.find(VmwareServerDiscoverer.java:145) at com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.java:464) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.api.commands.AddClusterCmd.execute(AddClusterCmd.java:153) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at
[jira] [Resolved] (CLOUDSTACK-203) Unable to add F5 Device to the CloudStack Setup due to ClassNotFoundException: javax.xml.rpc.Stub
[ https://issues.apache.org/jira/browse/CLOUDSTACK-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav resolved CLOUDSTACK-203. Resolution: Fixed Fixed in jenkins build. Reopen if problem still exists, with latest nonoss builds. Unable to add F5 Device to the CloudStack Setup due to ClassNotFoundException: javax.xml.rpc.Stub - Key: CLOUDSTACK-203 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-203 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Assignee: Rohit Yadav Priority: Blocker Fix For: pre-4.0.0 . Steps to Reproduce: 1. Add a F5 Device to Advanced Zone CloudStack Setup ClassNotFoundException: 2012-09-25 22:05:15,824 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) submit async job-19, details: AsyncJobVO {id:19, userId: 2, accountId: 2, sessionKey: null, instanceType: PhysicalNetworkServiceProvider, instanceId: 7, cmd: com.cloud.api.commands.AddNetworkServiceProviderCmd, cmdOriginator: null, cmdInfo: {id:7,physicalnetworkid:6c5c0857-ca27-4e6d-97ad-64d82230db24,response:json,sessionkey:URiAQGsOR+SuVo6MgRa9qP6hgz4\u003d,ctxUserId:2,name:F5BigIp,_:1348636200410,ctxAccountId:2,ctxStartEventId:80}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-25 22:05:15,830 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-19:job-19) Executing com.cloud.api.commands.AddNetworkServiceProviderCmd for job-19 2012-09-25 22:05:15,852 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-19:job-19) Complete async job-19, jobStatus: 1, resultCode: 0, result: com.cloud.api.response.ProviderResponse@5d81d783 2012-09-25 22:05:15,875 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-19:job-19) Done executing com.cloud.api.commands.AddNetworkServiceProviderCmd for job-19 2012-09-25 22:05:19,115 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-8:null) Async job-19 completed 2012-09-25 22:05:19,220 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) submit async job-20, details: AsyncJobVO {id:20, userId: 2, accountId: 2, sessionKey: null, instanceType: None, instanceId: null, cmd: com.cloud.api.commands.AddF5LoadBalancerCmd, cmdOriginator: null, cmdInfo: {physicalnetworkid:6c5c0857-ca27-4e6d-97ad-64d82230db24,response:json,sessionkey:URiAQGsOR+SuVo6MgRa9qP6hgz4\u003d,username:admin,ctxUserId:2,networkdevicetype:F5BigIpLoadBalancer,_:1348636204059,ctxAccountId:2,ctxStartEventId:84,password:Suite219,url:https://10.223.60.3?publicinterface\u003d1.2\u0026privateinterface\u003d1.1\u0026numretries\u003d2\u0026lbdevicededicated\u003dfalse}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-25 22:05:19,224 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-20:job-20) Executing com.cloud.api.commands.AddF5LoadBalancerCmd for job-20 2012-09-25 22:05:19,277 ERROR [cloud.api.ApiDispatcher] (Job-Executor-20:job-20) Exception while executing AddF5LoadBalancerCmd: java.lang.NoClassDefFoundError: javax/xml/rpc/Stub at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at com.cloud.network.resource.F5BigIpResource.login(F5BigIpResource.java:601) at com.cloud.network.resource.F5BigIpResource.configure(F5BigIpResource.java:185) at com.cloud.network.ExternalLoadBalancerDeviceManagerImpl.addExternalLoadBalancer(ExternalLoadBalancerDeviceManagerImpl.java:235) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at
[jira] [Commented] (CLOUDSTACK-209) Upgrade from CS-3.0.2 to ASF 4.0 fails with com.cloud.utils.exception.CloudRuntimeException: Unable to find key inject script scripts/vm/systemvm/injectkeys.sh
[ https://issues.apache.org/jira/browse/CLOUDSTACK-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464777#comment-13464777 ] Abhinav Roy commented on CLOUDSTACK-209: Hey sorry. I see that the commit is made to the ASF but I still see the same issue even with the latest build. Hence, reopening the bug. Upgrade from CS-3.0.2 to ASF 4.0 fails with com.cloud.utils.exception.CloudRuntimeException: Unable to find key inject script scripts/vm/systemvm/injectkeys.sh --- Key: CLOUDSTACK-209 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-209 Project: CloudStack Issue Type: Bug Components: Install and Setup, Management Server Affects Versions: pre-4.0.0 Environment: MS : Rhel 6.2 HOST : KVM ( Rhel 6.2) BUILDS : CS-3.0.2 - CloudStack-3.0.2-1-rhel6.2.tar.gz ASF 4.0 - CloudStack-oss-4.0.0-187.tar.bz2 Reporter: Abhinav Roy Assignee: Wido den Hollander Priority: Blocker Fix For: pre-4.0.0 Attachments: agent.log, api-server.log, management-server.log, SQL_09_26.dmp Steps : == 1. Deploy an advanced zone setup with CS-3.0.2 and KVM host (Rhel 6.2) 2. Create a VM instance. 3. Stop Management server. 4. Upgrade to ASF 4.0 5. Stop agent services on the host. 6. Upgrade to ASF 4.0 7. Start agent on the host. 8. Start management server services. Expected Behaviour : == The upgrade should happen smoothly without any error. Observed Behaviour : == 1. After executing above steps, following exception is seen in the logs 2012-09-26 17:44:41,571 DEBUG [utils.script.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /var/lib/cloud/management/./scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,571 DEBUG [utils.script.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /var/lib/cloud/management/./scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,571 WARN [utils.script.Script] (main:null) Unable to find script scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,574 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in the classpath 2012-09-26 17:44:41,574 DEBUG [utils.script.Script] (main:null) System resource: null 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Current binaries reside at /usr/share/java 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib64/cloud/common 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/common/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/common/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Searching in the current directory 2012-09-26 17:44:41,579 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /var/lib/cloud/management/./vms/systemvm.iso 2012-09-26 17:44:41,579 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /var/lib/cloud/management/./vms/systemvm.iso 2012-09-26 17:44:41,579 WARN [utils.script.Script] (main:null) Unable to find script vms/systemvm.iso
What version of MySQL to use?
Quick question about what version of MySQL to use. In the 5.1 range, MySQL offers towards 5.1.65. However, their latest seems to be 5.5 What version are people using? Does it matter? DL
Re: What version of MySQL to use?
On 09/27/2012 04:36 PM, Donal Lafferty wrote: Quick question about what version of MySQL to use. In the 5.1 range, MySQL offers towards 5.1.65. However, their latest seems to be 5.5 What version are people using? Does it matter? I'm running both 5.1 and 5.5. Both will work just fine, I haven't seen any issues. Wido DL
Re: Review Request: Enable AutoScale Vms to be named as AutoScale-LB-lbname
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7296/ --- (Updated Sept. 27, 2012, 2:42 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Changes --- The problem happened because the parent patch had changed. I am sure 7299 is also affected. So will update the diff for that one as well. Can you help applying this one first? Thanks, Vijay. Description --- Enable AutoScale Vms to be named as AutoScale-LB-lbname This addresses bug CS-15927. Diffs (updated) - api/src/com/cloud/agent/api/to/LoadBalancerTO.java be366a1 api/src/com/cloud/network/lb/LoadBalancingRule.java c4e8dca plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java f49251d server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 9014213 setup/db/create-schema.sql bcdccab Diff: https://reviews.apache.org/r/7296/diff/ Testing --- Created AutoScale Config for LB with name autolb AutoScaledVMs got created with display name AutoScale-LB-autolb Thanks, Vijay Venkatachalam
Re: fail to add rbd primary storage
Hi, As requested, could you try to define the RBD storage pool manually on the Hypervisor first? Create a file secret.xml secret ephemeral='no' private='no' uuid7a91dc24-b072-43c4-98fb-4b2415322b0f/uuid usage type='ceph' nameadmin/name /usage /secret Then run: $ virsh secret-define secret.xml $ virsh secret-set-value 7a91dc24-b072-43c4-98fb-4b2415322b0f key Where key is your cephx key. Now, create a file rbd-pool.xml pool type='rbd' namemycephpool/name uuidf959641f-f518-4505-9e85-17d994e2a398/uuid source host name='1.2.3.4' port='6789'/ namerbd/name auth username='admin' type='ceph' secret uuid='7a91dc24-b072-43c4-98fb-4b2415322b0f'/ /auth /source /pool Obviously, replace 1.2.3.4 by the IP/hostname of your monitor. Then define the pool: $ virsh define-pool rbd-pool.xml Let me know how that works out. It's just to rule out it's not a problem with your libvirt or Ceph cluster. Wido On 09/27/2012 08:52 AM, coudstacks wrote: if this step is documented. RADOS user = client.admin RADOS secret = key correspond to client.admin. what else should i do on ceph-nodes? 2012-09-27 21:03:52,128 WARN [cloud.storage.StorageManagerImpl] (catalina-exec-24:null) Unable to establish a connection between Host[-6-Routing] and Pool[203|RBD] com.cloud.exception.StorageUnavailableException: Resource [StoragePool:203] is unreachable: Unable establish connection from storage head to storage pool 203 due to java.lang.NullPointerException at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:563) at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2066) at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1027) at com.cloud.agent.Agent.processRequest(Agent.java:518) at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831) at com.cloud.utils.nio.Task.run(Task.java:83) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) at com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:1685) at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1450) at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:215) at com.cloud.api.commands.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:120) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 21:03:52,137 WARN [cloud.storage.StorageManagerImpl] (catalina-exec-24:null) No host can access storage pool Pool[203|RBD] on cluster 1 2012-09-27 21:03:52,140 WARN [cloud.api.ApiDispatcher] (catalina-exec-24:null) class com.cloud.api.ServerApiException : Failed to add storage pool At
Re: Review Request: Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7299/ --- (Updated Sept. 27, 2012, 2:55 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Changes --- Regenerated the patch after a rebase! Can you attempt to apply now? Description --- Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup Basically, create the service group in netscaler with CloudStack generated uuid for AutoScale Vm Group. This addresses bug CS-16066. Diffs (updated) - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 1a8093c plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java 7c8f88c Diff: https://reviews.apache.org/r/7299/diff/ Testing --- Create AutoScale config. Check the servicegroup created for AutoScale config in NetScaler using show servicegroup, the service group should have a name similar to Cloudf3cf2775b42346e0a93ca07edf96573a. Thanks, Vijay Venkatachalam
Re: Review Request: Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7299/#review11983 --- Merged the patch with asf/autoscale. This was a clean patch without any warnings or errors. Please mark the relevant tickets as Submitted. - Pranav Saxena On Sept. 27, 2012, 2:55 p.m., Vijay Venkatachalam wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7299/ --- (Updated Sept. 27, 2012, 2:55 p.m.) Review request for cloudstack, Devdeep Singh and Ram Ganesh. Description --- Create AutoScale Config in NetScaler with uniquie identifier based on VmGroup Basically, create the service group in netscaler with CloudStack generated uuid for AutoScale Vm Group. This addresses bug CS-16066. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 1a8093c plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java 7c8f88c Diff: https://reviews.apache.org/r/7299/diff/ Testing --- Create AutoScale config. Check the servicegroup created for AutoScale config in NetScaler using show servicegroup, the service group should have a name similar to Cloudf3cf2775b42346e0a93ca07edf96573a. Thanks, Vijay Venkatachalam
Re: Review Request: unit test suite for api project
Hi, Chip: I checked out that junit-tests branch, and made modifications there. However, when I tried to generate patch file, I got nothing. The patch has zero byte. Did I do anything wrong? Please advise. Yichi On Wed, Sep 26, 2012 at 6:31 PM, Chip Childers chip.child...@sungard.comwrote: Hey Yichi, Can you generate new diff files and update accordingly? That way, we commit things properly. You can just modify the current reviewboard requests to add the new diff version, and to update the branch value for completeness. -chip On Wed, Sep 26, 2012 at 5:38 PM, Yichi Lu yichi...@sungard.com wrote: Sorry guys. I just submitted a new review request and realized I did not used that junit-test branch, and I did not add ASF license header either. I'll do those next time. Yichi On Mon, Sep 24, 2012 at 10:22 AM, Chip Childers chip.child...@sungard.com wrote: Yichi, I just committed this, but realized that I didn't catch the fact that we are missing the ASF license header in api/unittest/src/com/cloud/agent/api/AttachIsoCommandTest.java. Can you please submit another patch to correct that? -chip On Mon, Sep 24, 2012 at 11:21 AM, Chip Childers chip.child...@sungard.com wrote: This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7204/ Ship it! Committed to the junit-tests branch. Please close this review as submitted. commit c3fafec8c0f75b0a6cfc724ac18fc1bd4364eb88 Author: Yichi Lu yichi...@sungard.com Date: Mon Sep 24 11:19:47 2012 -0400 Adding api/unittest files Signed-off-by: Chip Childers chip.child...@gmail.com commit 1ea6b11d9fdfb3a2842dc05d1aadf3f8c64ca044 Author: Yichi Lu yichi...@sungard.com Date: Mon Sep 24 11:18:07 2012 -0400 Start of unit test suite for api project Signed-off-by: Chip Childers chip.child...@gmail.com - Chip On September 21st, 2012, 3:41 a.m., Yichi Lu wrote: Review request for cloudstack. By Yichi Lu. *Updated Sept. 21, 2012, 3:41 a.m.* Description A junit test suite against api project. All unit tests are to be executed at the api/unittest directory level by running $ mvn test. A directory: unittest was created under the project api. The unit tests are used to test java classes and their methods. They are intended to complement, not replace, the existing tests written in python marvin. packages used: surefire (v2.12.3), junit (v4.8.2). While this particular suite is junit test suite against api project, it is envisioned that eventually other suites be developed against other cloudstack projects. Testing One test class, AttachIsoCommand.java, with one test case against getVmName() method of api/src/com/cloud/agent/api/AttachIsoCommand class. USLT-205731:unittest yichi.lu$ pwd /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest USLT-205731:unittest http://yichi.lu/CloudStack/incubator-cloudstack/api/unittestUSLT-205731:unittest yichi.lu$ mvn test [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building Apache CloudStack API Unittest 4.0.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ cloud-api-unittest --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cloud-api-unittest --- [INFO] Compiling 221 source files to /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/target/classes [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ cloud-api-unittest --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 0 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cloud-api-unittest --- [INFO] Compiling 1 source file to /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/src/com/cloud/agent/api [INFO] [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ cloud-api-unittest --- [INFO] Surefire report directory: /Users/yichi.lu/CloudStack/incubator-cloudstack/api/unittest/target/surefire-reports --- T E S T S --- Running com.cloud.agent.api.AttachIsoCommandTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.097 sec Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total
[jira] [Created] (CLOUDSTACK-224) Installation of management server on Ubuntu 12.04 is failing with the latest build!!
Abhinav Roy created CLOUDSTACK-224: -- Summary: Installation of management server on Ubuntu 12.04 is failing with the latest build!! Key: CLOUDSTACK-224 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-224 Project: CloudStack Issue Type: Bug Components: Install and Setup, Management Server Affects Versions: pre-4.0.0 Environment: MS - Ubuntu 12.04 BUILD : http://jenkins.cloudstack.org/job/build-4.0-ubuntu1204/lastSuccessfulBuild/artifact/CloudStack-oss-4.0.0-208.tar.bz2 Git Revision: 8ed8b8b8b66084e0e5409ae5fcc9dc1caca53519 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: Abhinav Roy Priority: Blocker Fix For: pre-4.0.0 Installation of MS fails with the following error : Welcome to the Apache CloudStack (Incubating) Installer. What would you like to do? M) Install the Management Server A) Install the Agent S) Install the Usage Monitor D) Install the database server Q) Quit m Installing the Management Server... The following NEW packages will be installed: cloud-client cloud-client-ui{a} cloud-core{a} cloud-deps{a} cloud-python{a} cloud-scripts{a} cloud-server{a} cloud-setup{a} cloud-system-iso{a} cloud-utils{a} 0 packages upgraded, 10 newly installed, 0 to remove and 39 not upgraded. Need to get 0 B/20.9 MB of archives. After unpacking 27.6 MB will be used. Do you want to continue? [Y/n/?] y WARNING: untrusted versions of the following packages will be installed! Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you want to do. cloud-client-ui cloud-setup cloud-system-iso cloud-python cloud-deps cloud-utils cloud-scripts cloud-core Do you want to ignore this warning and proceed anyway? To continue, enter Yes; to abort, enter No: yes 91% [Working]Selecting previously unselected package cloud-deps. (Reading database ... 55658 files and directories currently installed.) Unpacking cloud-deps (from .../cloud-deps_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-utils. Unpacking cloud-utils (from .../cloud-utils_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-core. Unpacking cloud-core (from .../cloud-core_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-scripts. Unpacking cloud-scripts (from .../cloud-scripts_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-server. Unpacking cloud-server (from .../cloud-server_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-client-ui. Unpacking cloud-client-ui (from .../cloud-client-ui_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-python. Unpacking cloud-python (from .../cloud-python_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-setup. Unpacking cloud-setup (from .../cloud-setup_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-system-iso. Unpacking cloud-system-iso (from .../cloud-system-iso_4.0.0-beta1_amd64.deb) ... Selecting previously unselected package cloud-client. Unpacking cloud-client (from .../cloud-client_4.0.0-beta1_amd64.deb) ... Processing triggers for ureadahead ... Setting up cloud-deps (1:4.0.0-beta1) ... Setting up cloud-utils (1:4.0.0-beta1) ... Setting up cloud-core (1:4.0.0-beta1) ... Setting up cloud-scripts (1:4.0.0-beta1) ... Setting up cloud-server (1:4.0.0-beta1) ... Setting up cloud-python (1:4.0.0-beta1) ... Setting up cloud-setup (1:4.0.0-beta1) ... Setting up cloud-system-iso (1:4.0.0-beta1) ... Setting up cloud-client-ui (1:4.0.0-beta1) ... Setting up cloud-client (1:4.0.0-beta1) ... chmod: cannot access `/etc/cloud/management/db.properties': No such file or directory dpkg: error processing cloud-client (--configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Errors were encountered while processing: cloud-client E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up cloud-client (1:4.0.0-beta1) ... chmod: cannot access `/etc/cloud/management/db.properties': No such file or directory dpkg: error processing cloud-client (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: cloud-client Done -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
RE: Review Request: Add the dependence library (JNA) for maven exec:java goal
Please let me know what exception has been raised. I think we have to add the plugin exec-maven-plugin in our pom files to execute exec:java related. Otherwise, it will throw some warnings during the execution. Thanks, Pradeep.S -Original Message- From: Satoshi Kobayashi [mailto:nore...@reviews.apache.org] On Behalf Of Satoshi Kobayashi Sent: Thursday, September 06, 2012 8:52 AM To: cloudstack; Satoshi Kobayashi Subject: Review Request: Add the dependence library (JNA) for maven exec:java goal --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6937/ --- Review request for cloudstack. Description --- Add the dependence library (JNA) for maven exec:java goal It is required to run on development environment for KVM Agent Diffs - plugins/hypervisors/kvm/pom.xml 8cdaa8681571b5070bfc501014df91c9986479e3 Diff: https://reviews.apache.org/r/6937/diff/ Testing --- 1) mvn compile -Dnonoss 2) prepare agent.properties 3) mvn exec:java -pl plugins/hypervisors/kvm \ -Dexec.mainClass=com.cloud.agent.AgentShell \ -Dnonoss result: An exception does not be raised. Thanks, Satoshi Kobayashi
[jira] [Commented] (CLOUDSTACK-120) Failed to deploy Router with KVM hyperviosor [ Can't find the mapping of guest os: Debian GNU/Linux 5.0 (32-bit)]
[ https://issues.apache.org/jira/browse/CLOUDSTACK-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464845#comment-13464845 ] Sailaja Mada commented on CLOUDSTACK-120: - Tried with 211 oss build. With this build, 1. There is no need to restart the host 2. Router Vm and instance Deployment is successful. Failed to deploy Router with KVM hyperviosor [ Can't find the mapping of guest os: Debian GNU/Linux 5.0 (32-bit)] -- Key: CLOUDSTACK-120 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-120 Project: CloudStack Issue Type: Bug Components: KVM, Management Server Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Assignee: edison su Priority: Blocker Fix For: pre-4.0.0 Attachments: agent.log, agent.log.gz, agentlog_reopen120, api-server.log, management-server.log, mslog_reopen120.log Steps: 1. Setup Management server 2. Setup KVM host with Cloudstack Agent installed 3. Setup Basic Zone with SG service offering 4. After having all the system VM's running , tried to deploy the first instance Observation : First Instance deployment failed as the router failed start . MS Error log : 2012-09-17 15:10:27,255 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers. 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] (AgentManager-Handler-14:null) Seq 3-1151271005: Processing: { Ans: , MgmtId: 55487956346259, via: 3, Ver: v1, Flags: 110, [{StartAnswer:{vm:{id:4,name:r-4-VM,type:DomainRouter,cpus:1,speed:500,minRam:134217728,maxRam:134217728,arch:x86_64,os:Debian GNU/Linux 5.0 (32-bit),bootArgs: template=domP name=r-4-VM eth0ip=10.102.125.188 eth0mask=255.255.255.0 gateway=10.102.125.1 domain=cs1cloud.internal dhcprange=10.102.125.1 eth1ip=169.254.1.202 eth1mask=255.255.0.0 type=dhcpsrvr disable_rp_filter=true dns1=10.103.128.15,rebootOnCrash:false,enableHA:true,limitCpuUse:false,vncPassword:fa3d755b18ba1297,params:{},uuid:6e5680fa-14b1-447d-9024-1bed9cb59268,disks:[{id:4,name:/cloudstack/sailaja/pri1/,mountPoint:0614e5e3-77ce-46da-b356-4e528752aa9d,path:0614e5e3-77ce-46da-b356-4e528752aa9d,size:725811200,type:ROOT,storagePoolType:NetworkFilesystem,storagePoolUuid:e95f2598-5038-3ceb-a326-5309b3295012,deviceId:0}],nics:[{deviceId:0,networkRateMbps:200,defaultNic:true,uuid:a6b006af-039e-4a00-bdeb-97ac623fb56e,ip:10.102.125.188,netmask:255.255.255.0,gateway:10.102.125.1,mac:06:bb:c4:00:00:09,dns1:10.103.128.15,broadcastType:Native,type:Guest,broadcastUri:vlan://untagged,isolationUri:ec2://untagged,isSecurityGroupEnabled:false},{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:e694c359-0609-42b6-872b-f2191ee20241,ip:169.254.1.202,netmask:255.255.0.0,gateway:169.254.0.1,mac:0e:00:a9:fe:01:ca,broadcastType:LinkLocal,type:Control,isSecurityGroupEnabled:false}]},result:true,wait:0}},{check.CheckSshAnswer:{result:true,wait:0}},{GetDomRVersionAnswer:{result:false,details:GetDomRVersionCmd failed,wait:0}},{Answer:{result:false,details:Stopped by previous failure,wait:0}}] } 2012-09-17 15:10:31,882 DEBUG [agent.transport.Request] (Job-Executor-8:job-8) Seq 3-1151271005: Received: { Ans: , MgmtId: 55487956346259, via: 3, Ver: v1, Flags: 110, { StartAnswer, CheckSshAnswer, GetDomRVersionAnswer, Answer } } 2012-09-17 15:10:31,884 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-14:null) Seq 3-1151271005: No more commands found 2012-09-17 15:10:31,888 WARN [network.router.VirtualNetworkApplianceManagerImpl] (Job-Executor-8:job-8) Unable to get the template/scripts version of router r-4-VM due to: GetDomRVersionCmd failed 2012-09-17 15:10:31,888 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-8:job-8) The guru did not like the answers so stopping VM[DomainRouter|r-4-VM] 2012-09-17 15:10:31,890 DEBUG [agent.transport.Request] (Job-Executor-8:job-8) Seq 3-1151271010: Sending { Cmd , MgmtId: 55487956346259, via: 3, Ver: v1, Flags: 100111, [{StopCommand:{isProxy:false,vmName:r-4-VM,wait:0}}] } Cloud Agent Error log : 2012-09-17 15:44:06,178 DEBUG [kvm.resource.KVMGuestOsMapper] (agentRequest-Handler-5:null) Can't find the mapping of guest os: Debian GNU/Linux 5.0 (32-bit) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CLOUDSTACK-222) Admin UI prompts to restart Management server with cancel edit operation
[ https://issues.apache.org/jira/browse/CLOUDSTACK-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonny Chhen reassigned CLOUDSTACK-222: -- Assignee: Jessica Wang Admin UI prompts to restart Management server with cancel edit operation - Key: CLOUDSTACK-222 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-222 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Assignee: Jessica Wang Priority: Minor Attachments: screenshot-1.jpg Setup: Management server : RHE 6.3 , Hypervisor : Xen 6.0.2 Steps: 1. Install and Configure Management server. 2. Access admin UI - Global settings 3. Click on edit with any of the global parameter . I tried with expunge.interval 4. Do not perform any modifications to the value set and click on cancel edit[x] Observation: Admin UI prompts to restart Management server with cancel edit operation saying Please restart your management server(s) for your new settings to take effect Expected Results: Message to restart Management server should not be prompted when there are no modifications and cancel edit option is used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (CLOUDSTACK-145) Establish legal use of patches/systemvm/debian/config/etc/ssh/sshd_config
[ https://issues.apache.org/jira/browse/CLOUDSTACK-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chip Childers reassigned CLOUDSTACK-145: Assignee: Chip Childers (was: Joe Brockmeier) Establish legal use of patches/systemvm/debian/config/etc/ssh/sshd_config - Key: CLOUDSTACK-145 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-145 Project: CloudStack Issue Type: Bug Affects Versions: pre-4.0.0 Reporter: Chip Childers Assignee: Chip Childers Priority: Blocker Labels: licensing Fix For: 4.0.0 Attachments: LICENCE We need to establish if the following file is one of the following: 1) Written specifically for CloudStack 2) Taken (and perhaps modified) from a source that has an ASLv2 compatible license 3) Taken (and perhaps modified) from a source that does not have a compatible license, and then figure out what to do about it. patches/systemvm/debian/config/etc/ssh/sshd_config -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CLOUDSTACK-218) Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance
[ https://issues.apache.org/jira/browse/CLOUDSTACK-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wido den Hollander resolved CLOUDSTACK-218. --- Resolution: Fixed Fixed by commit 82e57f8f40e73783f600e1925ca335c41eb54595 We now use /tmp to use as a temporary mount location. Permission problem while running /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh on Ubuntu 12.04 AWS Instance - Key: CLOUDSTACK-218 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-218 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: 4.0.0 Environment: Fresh Ubuntu 12.04 AWS instance of type m1.medium root@ip-10-145-150-14:/var/log/cloud/management# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 12.04.1 LTS Release:12.04 Codename: precise root@ip-10-145-150-14:/var/log/cloud/management# root@ip-10-145-150-14:/var/log/cloud/management# dpkg -l | grep cloud ii cloud-client 1:4.0.0-1beta1 CloudStack client ii cloud-client-ui 1:4.0.0-1beta1 CloudStack management server UI ii cloud-core 1:4.0.0-1beta1 CloudStack core library ii cloud-deps 1:4.0.0-1beta1 CloudStack library dependencies ii cloud-init 0.6.3-0ubuntu1 Init scripts for cloud instances ii cloud-initramfs-growroot 0.4ubuntu1 automatically resize the root partition on first boot ii cloud-initramfs-rescuevol0.4ubuntu1 boot off a rescue volume rather than root filesystem ii cloud-python 1:4.0.0-1beta1 CloudStack Python library ii cloud-scripts1:4.0.0-1beta1 CloudStack scripts ii cloud-server 1:4.0.0-1beta1 CloudStack server library ii cloud-setup 1:4.0.0-1beta1 CloudStack client ii cloud-system-iso 1:4.0.0-1beta1 CloudStack system iso ii cloud-utils 1:4.0.0-1beta1 CloudStack utility library Reporter: Shanker Balan Assignee: Wido den Hollander Priority: Trivial Fix For: 4.0.0 To reproduce: Create new AWS instance running Ubuntu precise deb http://cloudstack.apt-get.eu/ubuntu precise 4.0 wget -O - http://cloudstack.apt-get.eu/release.asc|sudo apt-key add - sudo apt-get update sudo apt-get install cloud-client sudo apt-get install mysql-server sudo cloud-setup-databases cloud:password@localhost --deploy-as=root:password sudo cloud-setup-management sudo /etc/init.d/cloud-management restart tail -f management-server.log ubuntu@ip-10-145-150-14:~$ ls -al total 40 drwxr-xr-x 6 ubuntu ubuntu 4096 Sep 27 07:10 . drwxr-xr-x 3 root root 4096 Aug 22 05:48 .. -rw-r--r-- 1 ubuntu ubuntu 220 Apr 3 15:58 .bash_logout -rw-r--r-- 1 ubuntu ubuntu 3486 Apr 3 15:58 .bashrc drwxrwxr-x 2 ubuntu ubuntu 4096 Sep 27 07:08 .byobu drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:44 .cache -rw-r--r-- 1 ubuntu ubuntu 675 Apr 3 15:58 .profile -rw-rw-r-- 1 ubuntu ubuntu0 Sep 27 06:47 .screenrc drwx-- 2 ubuntu ubuntu 4096 Sep 27 06:42 .ssh -rw-r--r-- 1 ubuntu ubuntu0 Sep 27 06:47 .sudo_as_admin_successful drwxr-xr-x 2 root root 4096 Sep 27 07:10 systemvm_mnt -rw--- 1 root root672 Sep 27 06:47 .viminfo ubuntu@ip-10-145-150-14:~$ pwd /home/ubuntu ubuntu@ip-10-145-150-14:~$ id uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),110(netdev),111(admin) ubuntu@ip-10-145-150-14:~$ sudo tail -2 /etc/sudoers #includedir /etc/sudoers.d cloud ALL =NOPASSWD : ALL snip 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib/cloud/common 2012-09-27 07:10:46,743 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib/cloud/common/vms/systemvm.iso 2012-09-27 07:10:46,743 DEBUG [cloud.server.ConfigurationServerImpl] (main:null) Executing: /usr/lib/cloud/common/scripts/vm/systemvm/injectkeys.sh
[jira] [Updated] (CLOUDSTACK-185) install script says No package cloud-premium available
[ https://issues.apache.org/jira/browse/CLOUDSTACK-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh updated CLOUDSTACK-185: Summary: install script says No package cloud-premium available (was: install script for usage server asking for JSVC package) install script says No package cloud-premium available - Key: CLOUDSTACK-185 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-185 Project: CloudStack Issue Type: Bug Components: Install and Setup, Management Server Environment: Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.gi Reporter: sadhu suresh Assignee: Pradeep Soundararajan Fix For: 4.0.0 Steps: 1.Download the new build rhel6.3 2.Install the management server 3.try to install the usage server Actual result: fail to install the usage server and it looking for depency package for JSVC.i think we don't require this package for usage server. Also installer says no package cloud-premium package available [root@rhel63 hh]# ./install.sh Setting up the temporary repository... Cleaning Yum cache... Loaded plugins: product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Cleaning repos: cloud-temp rhel 2 metadata files removed Welcome to the Cloud.com CloudStack Installer. What would you like to do? A) Install the Agent B) Install BareMetal Agent S) Install the Usage Monitor U) Upgrade the CloudStack packages installed on this computer R) Stop any running CloudStack services and remove the CloudStack packages from this computer E) Remove the MySQL server (will not remove the MySQL databases) Q) Quit s Installing the Usage Server... Loaded plugins: product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity cloud-temp | 1.3 kB 00:00 ... rhel | 4.0 kB 00:00 ... Setting up Install Process No package cloud-premium available. Resolving Dependencies -- Running transaction check --- Package cloud-usage.x86_64 0:4.0.0-0.22.el6.4.0 will be installed -- Processing Dependency: jsvc for package: cloud-usage-4.0.0-0.22.el6.4.0.x86_64 -- Finished Dependency Resolution Error: Package: cloud-usage-4.0.0-0.22.el6.4.0.x86_64 (cloud-temp) Requires: jsvc You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CLOUDSTACK-185) install script says No package cloud-premium available
[ https://issues.apache.org/jira/browse/CLOUDSTACK-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh reopened CLOUDSTACK-185: - Change the description as original bug has 2 issue and one issue become invlid and other issue need to be addressed. install script says No package cloud-premium available - Key: CLOUDSTACK-185 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-185 Project: CloudStack Issue Type: Bug Components: Install and Setup, Management Server Environment: Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.gi Reporter: sadhu suresh Assignee: Pradeep Soundararajan Fix For: 4.0.0 Steps: 1.Download the new build rhel6.3 2.Install the management server 3.try to install the usage server Actual result: fail to install the usage server and it looking for depency package for JSVC.i think we don't require this package for usage server. Also installer says no package cloud-premium package available [root@rhel63 hh]# ./install.sh Setting up the temporary repository... Cleaning Yum cache... Loaded plugins: product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity Cleaning repos: cloud-temp rhel 2 metadata files removed Welcome to the Cloud.com CloudStack Installer. What would you like to do? A) Install the Agent B) Install BareMetal Agent S) Install the Usage Monitor U) Upgrade the CloudStack packages installed on this computer R) Stop any running CloudStack services and remove the CloudStack packages from this computer E) Remove the MySQL server (will not remove the MySQL databases) Q) Quit s Installing the Usage Server... Loaded plugins: product-id, subscription-manager Updating certificate-based repositories. Unable to read consumer identity cloud-temp | 1.3 kB 00:00 ... rhel | 4.0 kB 00:00 ... Setting up Install Process No package cloud-premium available. Resolving Dependencies -- Running transaction check --- Package cloud-usage.x86_64 0:4.0.0-0.22.el6.4.0 will be installed -- Processing Dependency: jsvc for package: cloud-usage-4.0.0-0.22.el6.4.0.x86_64 -- Finished Dependency Resolution Error: Package: cloud-usage-4.0.0-0.22.el6.4.0.x86_64 (cloud-temp) Requires: jsvc You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [ASF40][QA][DOCS] Management server and Hypervisor host installation docs
On 09/27/2012 08:08 AM, Rohit Yadav wrote: One more proposal; Our CI/Jenkins builds many builds daily, how about it bundles tar balls and at the same time, upload these rpms/debs to a daily rpm/deb repository. This way QA won't have to download these tar balls (they would still can, can install using install.sh), but configure their package managers with the repo URL and do stuff like: apt-get install cloud-server etc.; apt-get upgrade etc. This repo will just hold daily builds and not any releases. I've been thinking about that, but we don't increment our package versions every day, so apt won't notice any new packages. We could have indeed have a daily section on the repository, but we need to think of a way of incrementing the version numbers which apt will pick up. Wido Regards. On 27-Sep-2012, at 12:54 AM, Wido den Hollander w...@widodh.nl wrote: On 09/26/2012 08:45 AM, Rohit Yadav wrote: On 26-Sep-2012, at 3:22 AM, Wido den Hollander w...@widodh.nl wrote: Hi, I've been working on the Management Server and Hypervisor installation docs lately. About everything was focused on RHEL/CentOS and around install.sh I agree, a debian user and fan myself, I want us to focus on debian too. There is still a lot of work to do, but I'd want to ask the QA team to test the documentation. All my documentation is going into master and I hope this gets cherry picked into the 4.0 branch. Take a look at: http://jenkins.cloudstack.org/view/master/job/docs-master/lastSuccessfulBuild/artifact/Apache_CloudStack-4.0-cloudstack-en-US.pdf Most of my works has gone into Chapter #2: Installation. The big changes: * Document the Debian DEB repository * No longer use install.sh but use Apt * Don't let cloud-setup-agent do everything, but document the steps needed to be done (libvirt, firewall, apparmor, selinux) * Make the documentation useable on both RHEL and Ubuntu Also if we can have a rpm repository too, so we have same kind of workflow; yum install pkg-name and aptitude install same-pkg-name Install.sh can stay as well, for both, in case use has downloaded a tar ball of debs or rpms. I don't know if there will still be a tarball with debs or rpms? CloudStack itself is only doing a source release, so where should this tarball come from? Wido I'll be working on this the whole week, so it will keep changing these days. Also, Chip is sending out RC3 tomorrow, so I'll update the packages on the Ubuntu repository to RC3 by then as well. Setting up the RPM mirror is something to be done, hopefully this week as well. Any comments or thoughts? Hopefully I'm in the good direction! +1 Wido
Review Request: Supporting network element independent counter parameters for AutoScale.
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7328/ --- Review request for cloudstack and Chiradeep Vittal. Description --- 1. The autoscale counters capabilities are passed from NetworkElement layer to the service layers using json (i have piggy backed on lb stickiness policies). This enables validation checks, for ex. snmpcommunity is a mandatory parameter, so if user does not pass it, the service layer throws an error. 2. I have set the db length of the consolidated counter_params field to 1024. PS: I am OFF on long vacation. Will check for comments once I come back on 5th of October. This addresses bug CS-16209. Diffs - api/src/com/cloud/agent/api/to/LoadBalancerTO.java 24ea702 api/src/com/cloud/api/ApiConstants.java 4d84f3c api/src/com/cloud/api/commands/CreateAutoScaleVmProfileCmd.java f5b21a8 api/src/com/cloud/api/commands/UpdateAutoScaleVmProfileCmd.java c613a34 api/src/com/cloud/api/response/AutoScaleVmProfileResponse.java 842fa3a api/src/com/cloud/network/as/AutoScaleCounter.java PRE-CREATION api/src/com/cloud/network/as/AutoScaleVmProfile.java 7fc6191 plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java 49c3b08 plugins/network-elements/netscaler/src/com/cloud/network/resource/NetscalerResource.java 9900e01 server/src/com/cloud/api/ApiResponseHelper.java 4e5ee43 server/src/com/cloud/network/as/AutoScaleManagerImpl.java b536b0b server/src/com/cloud/network/as/AutoScaleVmProfileVO.java d963eef server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java 03b2181 setup/db/create-schema.sql 020c0ab utils/src/com/cloud/utils/net/NetUtils.java 39853f4 Diff: https://reviews.apache.org/r/7328/diff/ Testing --- 1. Create autoscale vm profile with new format for parameters Ex. command=createAutoScaleVmProfile...counterparam[0].name=snmpcommunitycounterparam[0].value=public1counterparam[1].name=snmpportcounterparam[1].value=123. 2. Update autoscale vm profile with new format 3. Create AutoScale config with the profile created in Step 1. Thanks, Vijay Venkatachalam
RE: Status of host resource stuck in ErrorInMaintenance
Abhi, Currently the bug(https://issues.apache.org/jira/browse/CLOUDSTACK-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel) in in your Q, if your not fixing, can you move to someone else? Srini// From: Prashant Kumar Mishra Sent: Thursday, September 27, 2012 3:53 PM To: Anthony Xu; Edison Su; Sudha Ponnaganti; Rohit Yadav; Suresh Sadhu; Shweta Agarwal; Sowmya Krishnan; Sailaja Mada; Abhinav Roy; cloudstack-dev@incubator.apache.org Cc: Srinivas Vejalla Subject: Status of host resource stuck in ErrorInMaintenance Hi, I am facing problem ErrorInMaintenance for Xen 6.0.2 and KVM (Rhel 6.3) for more detail please follow this link https://issues.apache.org/jira/browse/CLOUDSTACK-118#comment-13464580. I am blocked because of this issue .Need a solution for further progress on my test plan. Thanks and regards Prashant Kumar Mishra
[OFFLINE] Sept 27th - October 4th
Hi, I will be away from September 27th till October 4th. Will get back if there are any mails specifically related to AutoScale on October 5th. Thanks, Vijay V.
[jira] [Commented] (CLOUDSTACK-223) Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build
[ https://issues.apache.org/jira/browse/CLOUDSTACK-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464906#comment-13464906 ] edison su commented on CLOUDSTACK-223: -- Yes, vmware related package need to be put in system vm iso. You can take a look at commit 5ae15f8bbf9a8ffdd07dda3008e6c239b1d1e621, which removes all the non oss. Then you can reverse engineering based on it. Templates other than SystemVM template are not getting downloaded on Rhel 6.3 on a vmware setup with non-oss build -- Key: CLOUDSTACK-223 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-223 Project: CloudStack Issue Type: Bug Components: Install and Setup, Template Affects Versions: pre-4.0.0 Environment: MS OS : Rhel 6.3 Hypervisor : vmware Build : http://jenkins.cloudstack.org/job/build-4.0-nonoss-rhel63/lastSuccessfulBuild/artifact/CloudStack-non-OSS-42.tar.bz2 [Git Revision: 9951d8973c046e7b258198342e0e746aa901e774 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git ] Reporter: Abhinav Roy Priority: Blocker Fix For: pre-4.0.0 Description : == Templates other than the systemvm template are not getting downloaded after deploying an Advanced zone CS setup with vmware 5.0 hypervisor. Steps : == Deploy a CS setup with vmware host using a non-oss build. == Zone should be successfully deployed, system VMS should be created and the default template should be deployed. 1. Zone deployment is successful. 2. system-vms get created successfully. 3. But the problem is that there is no sign of deployment of any other template (nothing seen in logs too), even if I try to manually register and deploy a template it doesn't happen. 4. Restarting system vm or management server doesn't change the behaviour. Here is the corresponding error in the system-vm logs : 2012-09-27 12:18:02,308 ERROR [cloud.agent.AgentShell] (Main :) Unable to start agent : Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to : java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:634) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:605) ... 7 more Can anyone provide insight here? Thanks, James
Re: Review Request: CLOUDSTACK-43 : Jenkins build process needs to allow for setting the appropriate version number within the built JARs.
On Sept. 27, 2012, 1:30 p.m., Rohit Yadav wrote: To be reviewed after 4.0, if that is fine. Agreed - this is for after 4.0. - Chip --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7083/#review11982 --- On Sept. 25, 2012, 12:46 p.m., Pradeep Soundararajan wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7083/ --- (Updated Sept. 25, 2012, 12:46 p.m.) Review request for cloudstack, Chip Childers and edison su. Description --- The Jenkins binary build processes are producing JAR files that contain version numbers like 4.0.0-SNAPSHOT. We need a way to set a parameter within the build to set the version from SNAPSHOT to RC1 or even drop the pre-release identifier entirely (so that we can generate an actual release). Removed the occurrences of SNAPSHOT Diffs - agent/pom.xml a559580 api/pom.xml db14775 awsapi/pom.xml a583384 client/pom.xml 50b85e9 cloud.spec 908a411 console-proxy/pom.xml 8bfb753 core/pom.xml 510cb04 debian/cloud-deps.install 74aade1 deps/XenServerJava/pom.xml 1337514 deps/pom.xml 1e20083 patches/pom.xml d62fc86 plugins/deployment-planners/user-concentrated-pod/pom.xml ca2fae1 plugins/deployment-planners/user-dispersing/pom.xml 6e1ffc6 plugins/file-systems/netapp/pom.xml f10e5a4 plugins/host-allocators/random/pom.xml ad66c0e plugins/hypervisors/kvm/pom.xml 4863085 plugins/hypervisors/ovm/pom.xml a8b23d0 plugins/hypervisors/vmware/pom.xml 435ae38 plugins/hypervisors/xen/pom.xml bf38e47 plugins/network-elements/elastic-loadbalancer/pom.xml c1ab2c5 plugins/network-elements/f5/pom.xml 0cba48c plugins/network-elements/juniper-srx/pom.xml 38a2b55 plugins/network-elements/midokura-midonet/pom.xml 7f2e2d3 plugins/network-elements/netscaler/pom.xml 377e6e0 plugins/network-elements/nicira-nvp/pom.xml 37c3a3a plugins/network-elements/ovs/pom.xml 02d455c plugins/pom.xml 206d4a1 plugins/storage-allocators/random/pom.xml 6cb60cd plugins/user-authenticators/ldap/pom.xml 7facc3f plugins/user-authenticators/md5/pom.xml 1dac92d plugins/user-authenticators/plain-text/pom.xml a4280a3 pom.xml e3e535a server/pom.xml f7178d8 test/pom.xml f70a89f usage/pom.xml 92e5e72 utils/pom.xml e8d7827 vmware-base/pom.xml 1dabe83 wscript_build 4264822 Diff: https://reviews.apache.org/r/7083/diff/ Testing --- Able to execute mvn install successfully after the changes... Thanks, Pradeep Soundararajan
Re: Ongoing configuration licensing checks
I wouldn't think of this as being some java thing... ;-) Whisker's turning out to be really helpful as a simple command line tool for generating our legal docs from a more structured source (tools/whisker/descriptor.xml) For CloudStack, we have so many integration points and external libraries, it was much nicer to have a structured way to define everything. On Wed, Sep 26, 2012 at 4:26 AM, Noah Slater nsla...@tumbolia.org wrote: Ah, some Java thing. Guess some of this is going to take some getting used to for me. ;) Thanks! On Tue, Sep 25, 2012 at 9:24 PM, Chip Childers chip.child...@sungard.comwrote: On Tue, Sep 25, 2012 at 5:24 AM, Noah Slater nsla...@tumbolia.org wrote: Hey, Just been browsing through the JIRA tickets for the ongoing configuration licensing checks. Great work! I did just want to add that when we have established that a file is a derivative work (but we can keep it because the license is compatible) then we do need to note this somewhere, along with author. Even if the file has been placed into the public domain, or we have been given permission to include it. Here's an example of us being told that a configuration file can be regarded as being the public domain: https://issues.apache.org/jira/browse/CLOUDSTACK-146 To quote ASF policy[1]: Many of these licenses have specific attribution terms that need to be adhered to, for example CC-A, often by adding them to the NOTICE file. Ensure you are doing this when including these works. [...] Works in the public domain (or covered by a license treated similarly) may be included within Apache products. Attribution is required (in a similar fashion to permissive licenses). Perhaps something like this could be added to NOTICE: This product also includes the following third-party components: * vpcdnsmasq.conf (http://www.thekelleys.org.uk/dnsmasq/doc.html) Public domain, Simon Kelley And then for another file which actually retains copyright, we could add: * foo.conf (http://example.org/foo) Copyright 2012, Some Author This format is taken from: https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=blob_plain;f=NOTICE;hb=HEAD Thanks, -- NS Noah, For completeness, we are using Apache Whisker to generate the LICENSE and NOTICE files. For public domain items, the results of that generation look like this (from the LICENSE file): Within the patches/systemvm/debian/config/etc directory placed in the public domain by Simon Kelley dnsmasq.conf vpcdnsmasq.conf -chip -- NS
[jira] [Commented] (CLOUDSTACK-106) Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13464929#comment-13464929 ] sadhu suresh commented on CLOUDSTACK-106: - Tested with latest build still see the probem by default we are not allowing egress traffic. unable to ping google.com Steps: ** Create a VPC. Create few networks in this VPC. Deploy few vms as part of this VPC. From with in these Vms , try to access any server like ping google.com We are NOT allowed access. oot@r-5-VM:~# iptables-save | grep OUTBOUND :ACL_OUTBOUND_eth2 - [0:0] -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 -A ACL_OUTBOUND_eth2 -j DROP Machine IP:10.147.29.102(root/password) cloud-sccs Git Revision: 8ed8b8b8b66084e0e5409ae5fcc9dc1caca53519 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. It should be open for all egress traffic until first egress rule is added. -- Key: CLOUDSTACK-106 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-106 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Environment: Tested with: Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: Sangeetha Hariharan Assignee: Anthony Xu Fix For: pre-4.0.0 Inter Vlan - When Vms are deployed as part of VPC , all egress traffic is blocked. Its should be open for all egress traffic until first egress rule is added. Steps to reproduce the problem: Create a VPC. Create few networks in this VPC. Deploy few vms as part of this VPC. From with in these Vms , try to access any server like ping google.com We are NOT allowed access. Expected Behavior: By default , It should be open for all egress traffic until first egress rule is added. root@r-10-ASF:/opt/cloud/bin# iptables-save | grep OUTBOUND :ACL_OUTBOUND_eth2 - [0:0] :ACL_OUTBOUND_eth3 - [0:0] -A PREROUTING -s 10.1.1.0/24 ! -d 10.1.1.1/32 -i eth2 -m state --state NEW -j ACL_OUTBOUND_eth2 -A PREROUTING -s 10.1.2.0/24 ! -d 10.1.2.1/32 -i eth3 -m state --state NEW -j ACL_OUTBOUND_eth3 -A ACL_OUTBOUND_eth2 -j DROP -A ACL_OUTBOUND_eth3 -j DROP -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CLOUDSTACK-225) API Docs: Request params repeated with different descriptions
Will Stevens created CLOUDSTACK-225: --- Summary: API Docs: Request params repeated with different descriptions Key: CLOUDSTACK-225 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-225 Project: CloudStack Issue Type: Bug Components: API, Doc Affects Versions: 4.0.0 Reporter: Will Stevens On the page: http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/listVPCs.html Both 'account' and 'domainid' are listed twice with different descriptions. I am not sure if the problem affect other API calls. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-225) API Docs: Request params repeated with different descriptions
[ https://issues.apache.org/jira/browse/CLOUDSTACK-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Will Stevens updated CLOUDSTACK-225: Description: On the page: http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/listVPCs.html Both 'account' and 'domainid' are listed twice with different descriptions. I am not sure if the problem affects other API calls. was: On the page: http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/listVPCs.html Both 'account' and 'domainid' are listed twice with different descriptions. I am not sure if the problem affect other API calls. API Docs: Request params repeated with different descriptions - Key: CLOUDSTACK-225 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-225 Project: CloudStack Issue Type: Bug Components: API, Doc Affects Versions: 4.0.0 Reporter: Will Stevens On the page: http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/user/listVPCs.html Both 'account' and 'domainid' are listed twice with different descriptions. I am not sure if the problem affects other API calls. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLOUDSTACK-184) inter-vlan:fail to apply the load balancer rule
[ https://issues.apache.org/jira/browse/CLOUDSTACK-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] sadhu suresh closed CLOUDSTACK-184. --- verified and found to be oK.able to apply the lB rules. cloud-sccs Git Revision: 8ed8b8b8b66084e0e5409ae5fcc9dc1caca53519 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git inter-vlan:fail to apply the load balancer rule --- Key: CLOUDSTACK-184 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-184 Project: CloudStack Issue Type: Bug Components: Network Controller Affects Versions: 4.0.0 Environment: Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git Reporter: sadhu suresh Assignee: Anthony Xu Priority: Critical Fix For: pre-4.0.0 Attachments: management-server.rar Steps: 1. Create a VPC with cidr - 10.1.2.0/16 2. Add network1(10.1.1.0/24) to this VPC. 3. Deploy vm1 and vm2 in network1 4.acquire an IP and create a PF rule using TCP protocol on port 22 for vm1. 5. Acquire another IP . 6. try to Create an LB rule for vm1 and vm2. Actual result: able to add PF rules successfully but while trying to add LB rule its throws exception. Expected result: addition of LB rule should be successful without any errors. Machine Credentials MSIP:10.147.29.102(root/password) content of management log: * 2012-09-21 16:02:42,239 DEBUG [agent.transport.Request] (Job-Executor-28:job-45) Seq 1-1619984674: Sending { Cmd , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 11, [{routing.LoadBalancerConfigCommand:{loadBalancers:[{srcIp:10.147.49.29,srcPort:22,protocol:tcp,algorithm:roundrobin,revoked:false,alreadyAdded:false,destinations:[{destIp:10.1.2.24,destPort:22,revoked:false,alreadyAdded:false},{destIp:10.1.2.228,destPort:22,revoked:false,alreadyAdded:false}]}],lbStatsVisibility:global,lbStatsPublicIP:10.147.49.28,lbStatsPrivateIP:169.254.1.18,lbStatsGuestIP:10.1.2.1,lbStatsPort:8081,lbStatsSrcCidrs:0/0,lbStatsAuth:admin1:AdMiN123,lbStatsUri:/admin?stats,nic:{deviceId:2,networkRateMbps:200,defaultNic:false,uuid:2b564dd2-bbb6-4314-91ba-79d3e5e7d04b,ip:10.1.2.1,netmask:255.255.255.0,gateway:10.1.2.1,mac:02:00:1e:a5:00:02,broadcastType:Vlan,type:Guest,broadcastUri:vlan://1003,isolationUri:vlan://1003,isSecurityGroupEnabled:false},vpcId:3,accessDetails:{router.guest.ip:10.1.2.1,zone.network.type:Advanced,router.ip:169.254.1.18,router.name:r-8-VM},wait:0}}] } 2012-09-21 16:02:42,239 DEBUG [agent.transport.Request] (Job-Executor-28:job-45) Seq 1-1619984674: Executing: { Cmd , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 11, [{routing.LoadBalancerConfigCommand:{loadBalancers:[{srcIp:10.147.49.29,srcPort:22,protocol:tcp,algorithm:roundrobin,revoked:false,alreadyAdded:false,destinations:[{destIp:10.1.2.24,destPort:22,revoked:false,alreadyAdded:false},{destIp:10.1.2.228,destPort:22,revoked:false,alreadyAdded:false}]}],lbStatsVisibility:global,lbStatsPublicIP:10.147.49.28,lbStatsPrivateIP:169.254.1.18,lbStatsGuestIP:10.1.2.1,lbStatsPort:8081,lbStatsSrcCidrs:0/0,lbStatsAuth:admin1:AdMiN123,lbStatsUri:/admin?stats,nic:{deviceId:2,networkRateMbps:200,defaultNic:false,uuid:2b564dd2-bbb6-4314-91ba-79d3e5e7d04b,ip:10.1.2.1,netmask:255.255.255.0,gateway:10.1.2.1,mac:02:00:1e:a5:00:02,broadcastType:Vlan,type:Guest,broadcastUri:vlan://1003,isolationUri:vlan://1003,isSecurityGroupEnabled:false},vpcId:3,accessDetails:{router.guest.ip:10.1.2.1,zone.network.type:Advanced,router.ip:169.254.1.18,router.name:r-8-VM},wait:0}}] } 2012-09-21 16:02:42,239 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-14:null) Seq 1-1619984674: Executing request 2012-09-21 16:02:42,442 WARN [xen.resource.CitrixResourceBase] (DirectAgent-14:null) callHostPlugin failed for cmd: createFileInDomr with args filepath: /etc/haproxy/haproxy.cfg.new, domrip: 169.254.1.18, filecontents: global log 127.0.0.1:3914 local0 warning maxconn 4096 chroot /var/lib/haproxy user haproxy group haproxy daemon defaults log global modetcp option dontlognull retries 3 option redispatch option forwardfor option forceclose timeout connect5000 timeout client 5 timeout server 5 timeout server 5 listen stats_on_public 10.147.49.28:8081 mode http option httpclose stats enable stats uri /admin?stats stats realm Haproxy\ Statistics stats authadmin1:AdMiN123 listen 10_147_49_29-22 10.147.49.29:22 balance roundrobin server
[jira] [Closed] (CLOUDSTACK-145) Establish legal use of patches/systemvm/debian/config/etc/ssh/sshd_config
[ https://issues.apache.org/jira/browse/CLOUDSTACK-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chip Childers closed CLOUDSTACK-145. Fix in: commit 7e1c3ec3cc3ddcc9e278a15bc81ee9cacd14f39b Author: Chip Childers chip.child...@gmail.com Date: Thu Sep 27 14:47:57 2012 -0400 CLOUDSTACK-145 - Added licensing for ssh config Establish legal use of patches/systemvm/debian/config/etc/ssh/sshd_config - Key: CLOUDSTACK-145 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-145 Project: CloudStack Issue Type: Bug Affects Versions: pre-4.0.0 Reporter: Chip Childers Assignee: Chip Childers Priority: Blocker Labels: licensing Fix For: 4.0.0 Attachments: LICENCE We need to establish if the following file is one of the following: 1) Written specifically for CloudStack 2) Taken (and perhaps modified) from a source that has an ASLv2 compatible license 3) Taken (and perhaps modified) from a source that does not have a compatible license, and then figure out what to do about it. patches/systemvm/debian/config/etc/ssh/sshd_config -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: doc files for inter vlan routing
On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: Some of the image file names don't match the introductory text, which makes me wonder whether it's the correct image file. It might be, if the same file is being reused for different tasks. Minor issue: some of the alt texts don't match the image file names. Radhika PC wrote: Do you prefer to add multiple copies of the same image with diff names, or what currently followed is fine ? It could be argued either way. I would lean toward re-using files, to keep the image directory smaller. However, making appropriately named copies makes the code much easier to read. It might be worth bringing up with the community. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/delete-reset-vpn.xml, line 75 https://reviews.apache.org/r/7106/diff/1/?file=155074#file155074line75 This alt text doesn't match the .png filename. Radhika PC wrote: this is a correct image file. same file has been reused for diff tasks The actual file name at the start of the phrase, RemoveVPN.png, doesn't match the file name in the imagedata tag above it. The file names should match, as that's part of the purpose of the alt text. Even for our own use, it's very helpful in debugging missing image files. Actually, most of the file names in alt texts throughout these files don't match *exactly,* but I only flagged the ones where the name was radically different. It would be great to fix them all to be verbatim copies of the actual file names. Sorry I was not clear enough about what was not matching. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/release-ip-for-vpc.xml, line 72 https://reviews.apache.org/r/7106/diff/1/?file=155077#file155077line72 Shouldn't this refer to release-ip-icon.png? Radhika PC wrote: this is a correct image file. same file has been reused for diff tasks Then we can delete release-ip-icon.png, since it is just a renamed duplicate of destroy-instance.png. On Sept. 27, 2012, 6:49 a.m., Jessica Tomechak wrote: docs/en-US/delete-reset-vpn.xml, line 84 https://reviews.apache.org/r/7106/diff/1/?file=155074#file155074line84 This alt text doesn't match the .png file name. Radhika PC wrote: this is a correct image file. same file has been reused for diff tasks - Jessica --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7106/#review11968 --- On Sept. 14, 2012, 12:36 p.m., Radhika PC wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7106/ --- (Updated Sept. 14, 2012, 12:36 p.m.) Review request for cloudstack and David Nalley. Description --- files for VPC/inter vlan routing Diffs - docs/en-US/acquire-new-ip-for-vpc.xml PRE-CREATION docs/en-US/add-gateway-vpc.xml PRE-CREATION docs/en-US/add-loadbalancer-rule-vpc.xml PRE-CREATION docs/en-US/add-portforward-rule-vpc.xml PRE-CREATION docs/en-US/add-tier.xml PRE-CREATION docs/en-US/add-vm-to-tier.xml PRE-CREATION docs/en-US/add-vpc.xml PRE-CREATION docs/en-US/configure-acl.xml PRE-CREATION docs/en-US/configure-vpc.xml PRE-CREATION docs/en-US/delete-reset-vpn.xml PRE-CREATION docs/en-US/enable-disable-static-nat-vpc.xml PRE-CREATION docs/en-US/inter-vlan-routing.xml PRE-CREATION docs/en-US/release-ip-for-vpc.xml PRE-CREATION docs/en-US/remove-tier.xml PRE-CREATION docs/en-US/remove-vpc.xml PRE-CREATION Diff: https://reviews.apache.org/r/7106/diff/ Testing --- Thanks, Radhika PC
[jira] [Closed] (CLOUDSTACK-166) Establish legal use of patches/systemvm/debian/config/root/redundant_router/conntrackd.conf.templ
[ https://issues.apache.org/jira/browse/CLOUDSTACK-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chip Childers closed CLOUDSTACK-166. Resolution: Fixed commit 220107c93e58e24b0edb6f667d497591b5df276d Author: Chip Childers chip.child...@gmail.com Date: Thu Sep 27 14:55:42 2012 -0400 CLOUDSTACK-166 - Marking conntrackd.conf.templ as public domain Establish legal use of patches/systemvm/debian/config/root/redundant_router/conntrackd.conf.templ - Key: CLOUDSTACK-166 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-166 Project: CloudStack Issue Type: Bug Affects Versions: pre-4.0.0 Reporter: Chip Childers Assignee: Chip Childers Priority: Blocker Labels: licensing Fix For: 4.0.0 Attachments: email_conntrack We need to establish if the following file is one of the following: 1) Written specifically for CloudStack 2) Taken (and perhaps modified) from a source that has an ASLv2 compatible license 3) Taken (and perhaps modified) from a source that does not have a compatible license, and then figure out what to do about it. patches/systemvm/debian/config/root/redundant_router/conntrackd.conf.templ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: Review Request: CLOUDSTACK-102: Update INSTALL.txt before ASF 4.0
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7285/#review11993 --- Rohit, I've seen that you actually updating the installation instructions on the wiki for windows, mac os, and linux (not done yet). Good work! I think that's actually better than making changes in this file. Why not just put that link in this file and be done with it? That way people can always get the latest including different variants of linux as they are submitted by others? I think this file should have the following. 1. Link to install source code 2. Link to install tools dependencies for different OSes 3. Link to install source dependencies for different OSes 4. Link to install IDE environments 5. Link to build and deploy 6. Link to user/administrative guides --Alex - Alex Huang On Sept. 26, 2012, 3:46 p.m., Rohit Yadav wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7285/ --- (Updated Sept. 26, 2012, 3:46 p.m.) Review request for cloudstack, edison su and Alex Huang. Description --- Download original patch and git am patch: http://bhaisaab.org/patches/cloudstack/0001-CLOUDSTACK-102-Update-INSTALL.txt-to-recent-changes.patch Diffs - Diff: https://reviews.apache.org/r/7285/diff/ Testing --- Based on CentOS 6.2 x86_64 Thanks, Rohit Yadav
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 and 3306. marvin requires pymysql , installable from easy_install I think the .cfg file that's in there is buggy, but I can patch. Let me know if that brings you closer. -sebastien On Sep 27, 2012, at 7:42 PM, James Martin jmar...@basho.com wrote: Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:634) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:605) ... 7 more Can anyone provide insight here? Thanks, James
[jira] [Created] (CLOUDSTACK-226) UpdatePhysicalNetworkcommand failed due to java.sql.BatchUpdateException ; Tried to extend the existing Guest VLAN Range of one physical network into the Guest VLAN
Chandan Purushothama created CLOUDSTACK-226: --- Summary: UpdatePhysicalNetworkcommand failed due to java.sql.BatchUpdateException ; Tried to extend the existing Guest VLAN Range of one physical network into the Guest VLAN range of the other physical network Key: CLOUDSTACK-226 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-226 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Fix For: pre-4.0.0 === Steps to Reproduce: === 1. Deploy an Advanced Zone setup with two Physical Networks where Physical Network 1 carries management,storage,public and guest traffic while Physical Network 2 carries only guest traffic. 2. Provide Guest VLAN Range 2480 to 2500 on Physical Network 1 during deployment of the setup. 3. Provide Guest VLAN Range 2501 to 2520 on Physical Network 2 during deployment of the setup. 4. Once the deployment is done, edit the guest network details of Physical Network 1 such that the End Guest VLAN is edited from 2500 to 2510. 5. Click on Apply and observe the observation mentioned below. == Before Extending the Guest VLAN Range of Physical Network: == mysql select * from physical_network \G *** 1. row *** id: 200 uuid: 6c5c0857-ca27-4e6d-97ad-64d82230db24 name: Physical Network 1 data_center_id: 1 vnet: 2481-2500 speed: NULL domain_id: NULL broadcast_domain_range: ZONE state: Enabled created: 2012-09-26 01:51:55 removed: NULL *** 2. row *** id: 201 uuid: 01736ead-fbf2-49b5-8e23-754db2e8afa1 name: Physical Network 2 data_center_id: 1 vnet: 2501-2520 speed: NULL domain_id: NULL broadcast_domain_range: ZONE state: Enabled created: 2012-09-26 01:51:55 removed: NULL 2 rows in set (0.00 sec) = UpdatePhysicalNetworkCmd Job: = 2012-09-27 14:15:18,835 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-16:null) submit async job-70, details: AsyncJobVO {id:70, userId: 2, accountId: 2, sessionKey: null, instanceType: PhysicalNetwork, instanceId: null, cmd: com.cloud.api.commands.UpdatePhysicalNetworkCmd, cmdOriginator: null, cmdInfo: {tags:guest1,response:json,id:6c5c0857-ca27-4e6d-97ad-64d82230db24,sessionkey:zXjqIlsgiABR8Ty4cYpLI+hNitE\u003d,ctxUserId:2,vlan:2481-2510,_:1348780808027,ctxAccountId:2,ctxStartEventId:294}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-27 14:15:18,840 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-47:job-70) Executing com.cloud.api.commands.UpdatePhysicalNetworkCmd for job-70 2012-09-27 14:15:18,852 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-47:job-70) ISOLATION METHODS:[VLAN] 2012-09-27 14:15:18,861 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-47:job-70) Adding vnet range 2501-2510 for the physicalNetwork id= 200 and zone id=1 as a part of updatePhysicalNetwork call 2012-09-27 14:15:18,885 DEBUG [db.Transaction.Transaction] (Job-Executor-47:job-70) Rolling back the transaction: Time = 23 Name = -AsyncJobManagerImpl$1.run:398-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:679; called by -Transaction.rollback:887-Transaction.removeUpTo:830-Transaction.close:649-DatabaseCallback.interceptComplete:71-DatabaseCallback.intercept:36-DataCenterDaoImpl.addVnet:251-DatabaseCallback.intercept:34-NetworkManagerImpl.updatePhysicalNetwork:5411-ComponentLocator$InterceptorDispatcher.intercept:1231-UpdatePhysicalNetworkCmd.execute:101-ApiDispatcher.dispatch:138-AsyncJobManagerImpl$1.run:432 2012-09-27 14:15:18,897 ERROR [cloud.api.ApiDispatcher] (Job-Executor-47:job-70) Exception while executing UpdatePhysicalNetworkCmd: com.cloud.utils.exception.CloudRuntimeException: Exception caught adding vnet at com.cloud.dc.dao.DataCenterVnetDaoImpl.add(DataCenterVnetDaoImpl.java:94) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at com.cloud.dc.dao.DataCenterDaoImpl.addVnet(DataCenterDaoImpl.java:251) at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:34) at
[jira] [Assigned] (CLOUDSTACK-222) Admin UI prompts to restart Management server with cancel edit operation
[ https://issues.apache.org/jira/browse/CLOUDSTACK-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sonny Chhen reassigned CLOUDSTACK-222: -- Assignee: Pranav Saxena (was: Jessica Wang) Admin UI prompts to restart Management server with cancel edit operation - Key: CLOUDSTACK-222 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-222 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Sailaja Mada Assignee: Pranav Saxena Priority: Minor Attachments: screenshot-1.jpg Setup: Management server : RHE 6.3 , Hypervisor : Xen 6.0.2 Steps: 1. Install and Configure Management server. 2. Access admin UI - Global settings 3. Click on edit with any of the global parameter . I tried with expunge.interval 4. Do not perform any modifications to the value set and click on cancel edit[x] Observation: Admin UI prompts to restart Management server with cancel edit operation saying Please restart your management server(s) for your new settings to take effect Expected Results: Message to restart Management server should not be prompted when there are no modifications and cancel edit option is used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (CLOUDSTACK-227) ReconnectHostCmd: NullPointerException: Unable to get host Information for XenServer 6.0.2 host - on intentionally changing the traffic labels on the physical network
Chandan Purushothama created CLOUDSTACK-227: --- Summary: ReconnectHostCmd: NullPointerException: Unable to get host Information for XenServer 6.0.2 host - on intentionally changing the traffic labels on the physical network Key: CLOUDSTACK-227 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-227 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Priority: Minor Fix For: pre-4.0.0 Steps To Reproduce: 1. Create Advanced zone with all supported traffic types (Management, Guest, Public, Storage) i) PhyNet1 - Mgmt,public,Guest, Storage (Traffic label = NIC0) - Tags = cloud-xenbr0 ii) PhyNet2 - Guest (Traffic label = NIC1) - Tags = cloud-xenbr1 2. Add XenServer 6.0.2 host with two nics where NIC0 has network-tag cloud-xenbr0 and NIC1 has network-tag cloud-xenbr1. 3. Deploy Guest VMs using above physical networks 4. Change traffic labels of each traffic type to different values that do not exist on hypervisor. 5. Reconnect the Host and observe the NPE. Host is stuck in Disconnected State NullPointerException - ReconnectHost Job: 2012-09-27 15:06:19,303 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-10:null) submit async job-85, details: AsyncJobVO {id:85, userId: 2, accountId: 2, sessionKey: null, instanceType: Host, instanceId: 1, cmd: com.cloud.api.commands.ReconnectHostCmd, cmdOriginator: null, cmdInfo: {id:d6c8a9a3-e998-4462-9db8-91adc80e12b8,response:json,sessionkey:zXjqIlsgiABR8Ty4cYpLI+hNitE\u003d,ctxUserId:2,_:1348783868314,ctxAccountId:2,ctxStartEventId:339}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-27 15:06:19,307 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-62:job-85) Executing com.cloud.api.commands.ReconnectHostCmd for job-85 2012-09-27 15:06:19,321 INFO [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Host 1 is disconnecting with event ShutdownRequested 2012-09-27 15:06:19,324 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) The next status of agent 1is Disconnected, current status is Up 2012-09-27 15:06:19,325 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Deregistering link for 1 with state Disconnected 2012-09-27 15:06:19,325 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Remove Agent : 1 2012-09-27 15:06:19,325 DEBUG [agent.manager.DirectAgentAttache] (AgentTaskPool-3:null) Processing disconnect 1 2012-09-27 15:06:19,325 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer$$EnhancerByCGLIB$$eee040ed 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.hypervisor.vmware.manager.VmwareManagerImpl$$EnhancerByCGLIB$$20bd3dd8 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.vm.ClusteredVirtualMachineManagerImpl$$EnhancerByCGLIB$$eba8cb92 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.network.security.SecurityGroupListener 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.storage.listener.StoragePoolMonitor 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.storage.secondary.SecondaryStorageListener 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.network.NetworkManagerImpl$$EnhancerByCGLIB$$9568aaae 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.agent.manager.AgentMonitor$$EnhancerByCGLIB$$6092d0e 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.storage.download.DownloadListener 2012-09-27 15:06:19,326 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect to listener: com.cloud.storage.upload.UploadListener 2012-09-27 15:06:19,326 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-62:job-85) Complete async job-85, jobStatus: 1, resultCode: 0, result: com.cloud.api.response.HostResponse@d9f134e 2012-09-27 15:06:19,328 DEBUG [agent.manager.AgentManagerImpl] (AgentTaskPool-3:null) Sending Disconnect
[jira] [Created] (CLOUDSTACK-228) UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt
Chandan Purushothama created CLOUDSTACK-228: --- Summary: UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt Key: CLOUDSTACK-228 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-228 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Priority: Minor Fix For: pre-4.0.0 Attachments: UIBug56.PNG The corresponding screenshot of the button and the error is attached to the bug report. === ServerApiException: === 2012-09-27 16:52:35,990 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, sessionKey: null, instanceType: Host, instanceId: 1, cmd: com.cloud.api.commands.ReconnectHostCmd, cmdOriginator: null, cmdInfo: {id:d6c8a9a3-e998-4462-9db8-91adc80e12b8,response:json,sessionkey:RkP7zS3VeWcNLPexbJSuJJYWZg8\u003d,ctxUserId:2,_:1348790245154,ctxAccountId:2,ctxStartEventId:362}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-27 16:52:35,994 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Executing com.cloud.api.commands.ReconnectHostCmd for job-93 2012-09-27 16:52:35,998 INFO [agent.manager.AgentManagerImpl] (Job-Executor-70:job-93) Unable to disconnect host because it is not in the correct state: host=1; Status=Disconnected 2012-09-27 16:52:35,998 WARN [api.commands.ReconnectHostCmd] (Job-Executor-70:job-93) Exception: com.cloud.api.ServerApiException at com.cloud.api.commands.ReconnectHostCmd.execute(ReconnectHostCmd.java:108) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 16:52:35,998 WARN [cloud.api.ApiDispatcher] (Job-Executor-70:job-93) class com.cloud.api.ServerApiException : null 2012-09-27 16:52:35,999 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Complete async job-93, jobStatus: 2, resultCode: 530, result: Error Code: 534 Error text: null === Git Info: === Git Revision: 30b19887fd05c7694f8fdf45be9fe9b02d90b1d1 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-228) UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt
[ https://issues.apache.org/jira/browse/CLOUDSTACK-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chandan Purushothama updated CLOUDSTACK-228: Attachment: UIBug56.PNG UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt --- Key: CLOUDSTACK-228 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-228 Project: CloudStack Issue Type: Bug Components: Management Server Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Priority: Minor Fix For: pre-4.0.0 Attachments: UIBug56.PNG The corresponding screenshot of the button and the error is attached to the bug report. === ServerApiException: === 2012-09-27 16:52:35,990 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, sessionKey: null, instanceType: Host, instanceId: 1, cmd: com.cloud.api.commands.ReconnectHostCmd, cmdOriginator: null, cmdInfo: {id:d6c8a9a3-e998-4462-9db8-91adc80e12b8,response:json,sessionkey:RkP7zS3VeWcNLPexbJSuJJYWZg8\u003d,ctxUserId:2,_:1348790245154,ctxAccountId:2,ctxStartEventId:362}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-27 16:52:35,994 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Executing com.cloud.api.commands.ReconnectHostCmd for job-93 2012-09-27 16:52:35,998 INFO [agent.manager.AgentManagerImpl] (Job-Executor-70:job-93) Unable to disconnect host because it is not in the correct state: host=1; Status=Disconnected 2012-09-27 16:52:35,998 WARN [api.commands.ReconnectHostCmd] (Job-Executor-70:job-93) Exception: com.cloud.api.ServerApiException at com.cloud.api.commands.ReconnectHostCmd.execute(ReconnectHostCmd.java:108) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 16:52:35,998 WARN [cloud.api.ApiDispatcher] (Job-Executor-70:job-93) class com.cloud.api.ServerApiException : null 2012-09-27 16:52:35,999 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Complete async job-93, jobStatus: 2, resultCode: 530, result: Error Code: 534 Error text: null === Git Info: === Git Revision: 30b19887fd05c7694f8fdf45be9fe9b02d90b1d1 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CLOUDSTACK-228) UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt
[ https://issues.apache.org/jira/browse/CLOUDSTACK-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chandan Purushothama updated CLOUDSTACK-228: Component/s: (was: Management Server) UI UI provides an option to reconnect a disconnected host - ServerApiException is thrown on an attempt --- Key: CLOUDSTACK-228 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-228 Project: CloudStack Issue Type: Bug Components: UI Affects Versions: pre-4.0.0 Reporter: Chandan Purushothama Priority: Minor Fix For: pre-4.0.0 Attachments: UIBug56.PNG The corresponding screenshot of the button and the error is attached to the bug report. === ServerApiException: === 2012-09-27 16:52:35,990 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, sessionKey: null, instanceType: Host, instanceId: 1, cmd: com.cloud.api.commands.ReconnectHostCmd, cmdOriginator: null, cmdInfo: {id:d6c8a9a3-e998-4462-9db8-91adc80e12b8,response:json,sessionkey:RkP7zS3VeWcNLPexbJSuJJYWZg8\u003d,ctxUserId:2,_:1348790245154,ctxAccountId:2,ctxStartEventId:362}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 7471666038533, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2012-09-27 16:52:35,994 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Executing com.cloud.api.commands.ReconnectHostCmd for job-93 2012-09-27 16:52:35,998 INFO [agent.manager.AgentManagerImpl] (Job-Executor-70:job-93) Unable to disconnect host because it is not in the correct state: host=1; Status=Disconnected 2012-09-27 16:52:35,998 WARN [api.commands.ReconnectHostCmd] (Job-Executor-70:job-93) Exception: com.cloud.api.ServerApiException at com.cloud.api.commands.ReconnectHostCmd.execute(ReconnectHostCmd.java:108) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-27 16:52:35,998 WARN [cloud.api.ApiDispatcher] (Job-Executor-70:job-93) class com.cloud.api.ServerApiException : null 2012-09-27 16:52:35,999 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-70:job-93) Complete async job-93, jobStatus: 2, resultCode: 530, result: Error Code: 534 Error text: null === Git Info: === Git Revision: 30b19887fd05c7694f8fdf45be9fe9b02d90b1d1 Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (CLOUDSTACK-205) Reboot of the KVM host (rhel 6.3) is required before adding it to Management server in ASF 4.0
[ https://issues.apache.org/jira/browse/CLOUDSTACK-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] edison su closed CLOUDSTACK-205. Resolution: Fixed should be fixed by 635155090a52d050968e66fcfc5eaa4314f05d4f Reboot of the KVM host (rhel 6.3) is required before adding it to Management server in ASF 4.0 --- Key: CLOUDSTACK-205 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-205 Project: CloudStack Issue Type: Bug Components: Install and Setup, KVM, Management Server Affects Versions: pre-4.0.0 Environment: Management server : Rhel 6.3 Host : KVM (Rhel 6.3) ASF build : http://jenkins.cloudstack.org/job/build-4.0-rhel63/163/artifact/CloudStack-oss-4.0.0-163.tar.bz2 Reporter: Abhinav Roy Fix For: pre-4.0.0 Attachments: agent.log, api-server.log, management-server.log Steps : == 1. Deploy an advanced zone on a fresh CS setup. 2. Install agent on a freshly configured KVM host (Rhel 6.3) 3. Add host to the management server. Expected Behaviour : == The KVM host should be added successfully to the MS. Observed Behaviour : == While adding a KVM host (Rhel 6.3) to the management server we are getting this error and the addition of host fails: 2012-09-25 12:35:14,214 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Trying to add a new host athttp://10.102.125.13 in data center 1 2012-09-25 12:35:14,594 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-17:null) Executing cmd: lsmod|grep kvm 2012-09-25 12:35:16,759 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-17:null) Executing cmd: lsmod|grep kvm 2012-09-25 12:35:18,818 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-17:null) Executing cmd: lsmod|grep kvm 2012-09-25 12:35:20,875 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-17:null) It's not a KVM enabled machine 2012-09-25 12:35:20,876 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-17:null) Unable to find the server resources at http://10.102.125.13 2012-09-25 12:35:20,877 WARN [api.commands.AddHostCmd] (catalina-exec-17:null) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544) at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-25 12:35:20,879 WARN [cloud.api.ApiDispatcher] (catalina-exec-17:null) class com.cloud.api.ServerApiException : Unable to add the host 2012-09-25 12:35:30,140 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Sebastien, It seems deployDataCenter.py is dependent on cloudstackAPI python $HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter.py, line 19, in module import configGenerator File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/configGenerator.py, line 21, in module import jsonHelper File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/jsonHelper.py, line 21, in module from cloudstackAPI import * ImportError: No module named cloudstackAPI I've also tried this method: python -m marvin.deployDataCenter -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCenter.py, line 430, in module deploy.deploy() File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCenter.py, line 414, in deploy self.createZones(self.config.zones) File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCenter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' Thanks, James On Thu, Sep 27, 2012 at 5:05 PM, Sebastien Goasguen run...@gmail.com wrote: Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 and 3306. marvin requires pymysql , installable from easy_install I think the .cfg file that's in there is buggy, but I can patch. Let me know if that brings you closer. -sebastien On Sep 27, 2012, at 7:42 PM, James Martin jmar...@basho.com wrote: Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(AgentManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect(XcpServerDiscoverer.java:634) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:605) ... 7 more Can anyone provide insight here? Thanks, James
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Did you try ant build-apidocs cd tools/marvin/marvin python deployDataCenter.py On 9/27/12 5:24 PM, James Martin jmar...@basho.com wrote: Sebastien, It seems deployDataCenter.py is dependent on cloudstackAPI python $HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter .py -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/deploy DataCenter.py, line 19, in module import configGenerator File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/config Generator.py, line 21, in module import jsonHelper File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/jsonHe lper.py, line 21, in module from cloudstackAPI import * ImportError: No module named cloudstackAPI I've also tried this method: python -m marvin.deployDataCenter -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 430, in module deploy.deploy() File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 414, in deploy self.createZones(self.config.zones) File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' Thanks, James On Thu, Sep 27, 2012 at 5:05 PM, Sebastien Goasguen run...@gmail.com wrote: Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 and 3306. marvin requires pymysql , installable from easy_install I think the .cfg file that's in there is buggy, but I can patch. Let me know if that brings you closer. -sebastien On Sep 27, 2012, at 7:42 PM, James Martin jmar...@basho.com wrote: Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Ag entManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(Agen tManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceMana gerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceMana gerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentMa nagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j ava:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.ClassCastException: com.cloud.agent.api.Answer cannot be cast to com.cloud.agent.api.SetupAnswer at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.processConnect (XcpServerDiscoverer.java:634) at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Ag entManagerImpl.java:605) ... 7 more Can anyone provide insight here? Thanks, James
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
I did the ant build-apidocs as you said and then from tools/marvin/marvin ran: python deployDataCenter.py -i ../../devcloud/devcloud.cfg Traceback (most recent call last): File deployDataCenter.py, line 430, in module deploy.deploy() File deployDataCenter.py, line 414, in deploy self.createZones(self.config.zones) File deployDataCenter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' - James On Thu, Sep 27, 2012 at 8:29 PM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote: Did you try ant build-apidocs cd tools/marvin/marvin python deployDataCenter.py On 9/27/12 5:24 PM, James Martin jmar...@basho.com wrote: Sebastien, It seems deployDataCenter.py is dependent on cloudstackAPI python $HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter .py -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/deploy DataCenter.py, line 19, in module import configGenerator File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/config Generator.py, line 21, in module import jsonHelper File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/jsonHe lper.py, line 21, in module from cloudstackAPI import * ImportError: No module named cloudstackAPI I've also tried this method: python -m marvin.deployDataCenter -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 430, in module deploy.deploy() File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 414, in deploy self.createZones(self.config.zones) File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' Thanks, James On Thu, Sep 27, 2012 at 5:05 PM, Sebastien Goasguen run...@gmail.com wrote: Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 and 3306. marvin requires pymysql , installable from easy_install I think the .cfg file that's in there is buggy, but I can patch. Let me know if that brings you closer. -sebastien On Sep 27, 2012, at 7:42 PM, James Martin jmar...@basho.com wrote: Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Ag entManagerImpl.java:624) at com.cloud.agent.manager.AgentManagerImpl.handleDirectConnectAgent(Agen tManagerImpl.java:1500) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceMana gerImpl.java:1631) at com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceMana gerImpl.java:1668) at com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentMa nagerImpl.java:1195) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j ava:1110) at
Re: Review Request: Add the dependence library (JNA) for maven exec:java goal
Hi Pradeep 2012/9/28 Pradeep Soundararajan pradeep.soundarara...@citrix.com: Please let me know what exception has been raised. I have remembered that it was probably ClassNotFoundException of com.sun.jna package (Callback class?). I do not have environment to replay at right now. I make and check it later. I think we have to add the plugin exec-maven-plugin in our pom files to execute exec:java related. Otherwise, it will throw some warnings during the execution. I think that a POM configuration is required in order to omit arguments at a command line. A exception did not be raised in my environment. But, I think that a POM configuration is kinder. Since I looked at it in another patch, I did not include it in this patch. Thanks, Pradeep.S -Original Message- From: Satoshi Kobayashi [mailto:nore...@reviews.apache.org] On Behalf Of Satoshi Kobayashi Sent: Thursday, September 06, 2012 8:52 AM To: cloudstack; Satoshi Kobayashi Subject: Review Request: Add the dependence library (JNA) for maven exec:java goal --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6937/ --- Review request for cloudstack. Description --- Add the dependence library (JNA) for maven exec:java goal It is required to run on development environment for KVM Agent Diffs - plugins/hypervisors/kvm/pom.xml 8cdaa8681571b5070bfc501014df91c9986479e3 Diff: https://reviews.apache.org/r/6937/diff/ Testing --- 1) mvn compile -Dnonoss 2) prepare agent.properties 3) mvn exec:java -pl plugins/hypervisors/kvm \ -Dexec.mainClass=com.cloud.agent.AgentShell \ -Dnonoss result: An exception does not be raised. Thanks, Satoshi Kobayashi
Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer
Could you try ant install-marvin and let me know if it succeeds? Also is the zone partially configured on your setup? Can you clean up and start afresh without a zone/pod and retry? - Original Message - From: James Martin [mailto:jmar...@basho.com] Sent: Friday, September 28, 2012 06:59 AM To: cloudstack-dev@incubator.apache.org cloudstack-dev@incubator.apache.org Subject: Re: error building devcloud: ClassCastException: com.cloud.agent.api.Answer I did the ant build-apidocs as you said and then from tools/marvin/marvin ran: python deployDataCenter.py -i ../../devcloud/devcloud.cfg Traceback (most recent call last): File deployDataCenter.py, line 430, in module deploy.deploy() File deployDataCenter.py, line 414, in deploy self.createZones(self.config.zones) File deployDataCenter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' - James On Thu, Sep 27, 2012 at 8:29 PM, Chiradeep Vittal chiradeep.vit...@citrix.com wrote: Did you try ant build-apidocs cd tools/marvin/marvin python deployDataCenter.py On 9/27/12 5:24 PM, James Martin jmar...@basho.com wrote: Sebastien, It seems deployDataCenter.py is dependent on cloudstackAPI python $HOME/work/code/cloudstack/cloudstack/tools/marvin/marvin/deployDataCenter .py -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/deploy DataCenter.py, line 19, in module import configGenerator File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/config Generator.py, line 21, in module import jsonHelper File /Users/jmartin/work/code/cloudstack/cloudstack/tools/marvin/marvin/jsonHe lper.py, line 21, in module from cloudstackAPI import * ImportError: No module named cloudstackAPI I've also tried this method: python -m marvin.deployDataCenter -i devcloud.cfg Traceback (most recent call last): File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 162, in _run_module_as_main __main__, fname, loader, pkg_name) File /Users/jmartin/.homebrew/Cellar/python/2.7.3/Frameworks/Python.framework/ Versions/2.7/lib/python2.7/runpy.py, line 72, in _run_code exec code in run_globals File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 430, in module deploy.deploy() File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 414, in deploy self.createZones(self.config.zones) File /Users/jmartin/.homebrew/lib/python2.7/site-packages/marvin/deployDataCen ter.py, line 287, in createZones zoneId = zoneresponse.id AttributeError: 'NoneType' object has no attribute 'id' Thanks, James On Thu, Sep 27, 2012 at 5:05 PM, Sebastien Goasguen run...@gmail.com wrote: Hi James, if you build marvin (ant build-marvin) on your host, you should be able to do: python /path/to/src/tools/marvin/marvin/deployDataCenter.py -i devcloud.cfg This will talk to your Vbox vm where you are setting up devcloud. Assuming you set it up on localhost with port forwarding 8096 and 3306. marvin requires pymysql , installable from easy_install I think the .cfg file that's in there is buggy, but I can patch. Let me know if that brings you closer. -sebastien On Sep 27, 2012, at 7:42 PM, James Martin jmar...@basho.com wrote: Sebastien, Sorry, let me give a better example. I'm trying to run a script that will provide an initial configuration of cloudstack so I don't have to go through the initial wizard on a fresh install. I see the devcloud.cfg marvin you are mentioning, but I can't figure out how it is suppose to be used to configure a fresh install. James On Thu, Sep 27, 2012 at 7:46 AM, Sebastien Goasguen run...@gmail.com wrote: Hi James, What do you mean by populate ? adding a host ? If that's the case, I believe the thinking was to use marvin (/tools/marvin) deployDataCenter and use the devcloud.cfg file that's in the devcloud dir to setup the db/zones/pods etc of devcloud. -Sebastien On Sep 27, 2012, at 1:02 AM, James Martin jmar...@basho.com wrote: I'm using the cs-bootstrap-s3.py script to populate a working devcloud instance: during the run of the script I get the error: urllib2.HTTPError: HTTP Error 530: Cannot transit agent status with event AgentDisconnected for host 1, mangement server id is 8796761548538,Unable to transition to a new state from Creating via AgentDisconnected in the in the $CATALINA_HOME/bin/vmops.log it seems to correlate to : 2012-09-26 22:25:08,989 WARN [cloud.resource.ResourceManagerImpl] (AgentTaskPool-1:null) Unable to connect due to com.cloud.utils.exception.CloudRuntimeException: Unable to connect 1 at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(Ag entManagerImpl.java:624) at
Review Request: fix 4.0 build failure (invalid constructor argument)
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7337/ --- Review request for cloudstack. Description --- This patch fixes build error displayed in http://jenkins.cloudstack.org/job/build-4.0/91/ Diffs - server/src/com/cloud/network/rules/RulesManagerImpl.java 37cae90 Diff: https://reviews.apache.org/r/7337/diff/ Testing --- Thanks, Hiroaki Kawai
Re: Review Request: CLOUDSTACK-102: Update INSTALL.txt before ASF 4.0
On Sept. 27, 2012, 8:27 p.m., Alex Huang wrote: Rohit, I've seen that you actually updating the installation instructions on the wiki for windows, mac os, and linux (not done yet). Good work! I think that's actually better than making changes in this file. Why not just put that link in this file and be done with it? That way people can always get the latest including different variants of linux as they are submitted by others? I think this file should have the following. 1. Link to install source code 2. Link to install tools dependencies for different OSes 3. Link to install source dependencies for different OSes 4. Link to install IDE environments 5. Link to build and deploy 6. Link to user/administrative guides --Alex Alex, in the INSTALL.md I've mentioned links to wiki; I had the same idea in mind, as it's not maintainable to have multiple doc resources. Okay I'll add links to these resources and re-post the patch. This is the link for users to get information on getting the tools/deps, source code: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment This the link for 'em to build and deploy, and integrate with IDE (which is a TODO): https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment - Rohit --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7285/#review11993 --- On Sept. 26, 2012, 3:46 p.m., Rohit Yadav wrote: --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7285/ --- (Updated Sept. 26, 2012, 3:46 p.m.) Review request for cloudstack, edison su and Alex Huang. Description --- Download original patch and git am patch: http://bhaisaab.org/patches/cloudstack/0001-CLOUDSTACK-102-Update-INSTALL.txt-to-recent-changes.patch Diffs - Diff: https://reviews.apache.org/r/7285/diff/ Testing --- Based on CentOS 6.2 x86_64 Thanks, Rohit Yadav
[jira] [Commented] (CLOUDSTACK-121) Incorrect username/domainId login causes NullPointerException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13465345#comment-13465345 ] sadhu suresh commented on CLOUDSTACK-121: - Try to login with invalid user name causes NUll pointer exception...priority should be major. 2012-09-28 10:00:45,990 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-25:null) Attempting to log in user: adddadmin in domain 1 2012-09-28 10:00:45,990 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-25:null) Retrieving user: adddadmin 2012-09-28 10:00:45,991 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-25:null) Unable to find user with adddadmin in domain 1 2012-09-28 10:00:45,991 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-25:null) Retrieving user: adddadmin 2012-09-28 10:00:45,992 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-25:null) Unable to find user with adddadmin in domain 1 2012-09-28 10:00:45,992 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-25:null) Unable to authenticate user with username adddadmin in domain 1 2012-09-28 10:00:45,992 ERROR [cloud.api.ApiServlet] (catalina-exec-25:null) unknown exception writing api response java.lang.NullPointerException at com.cloud.user.AccountManagerImpl.getUserAccount(AccountManagerImpl.java:1865) at com.cloud.user.AccountManagerImpl.authenticateUser(AccountManagerImpl.java:1705) at com.cloud.api.ApiServer.loginUser(ApiServer.java:797) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:210) at com.cloud.api.ApiServlet.doPost(ApiServlet.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) 2012-09-28 10:00:51,355 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM 2012-09-28 10:00:51,451 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy 2012-09-28 10:00:51,800 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 3 routers. 2012-09-28 10:00:59,117 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-295:null) Ping from 1 2012-09-28 10:00:59,593 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-431:null) Seq 1-1655504898: Executing request 2012-09-28 10:00:59,873 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-431:null) Seq 1-1655504898: Response Received: 2012-09-28 10:00:59,873 DEBUG [agent.transport.Request] (DirectAgent-431:null) Seq 1-1655504898: Processing: { Ans: , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 10, [{ClusterSyncAnswer:{_clusterId:1,_newStates:{},_isExecuted:false,result:true,wait:0}}] } 2012-09-28 10:01:00,271 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running... Incorrect username/domainId login causes NullPointerException - Key: CLOUDSTACK-121 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-121 Project: CloudStack Issue Type: Bug Reporter: Rohit Yadav Assignee: Rohit Yadav Priority: Minor Fix For: pre-4.0.0 Steps to reproduce the bug: - Create a subdomain, add a user in it - Login with that user and
RE: [jira] [Reopened] (CLOUDSTACK-209) Upgrade from CS-3.0.2 to ASF 4.0 fails with com.cloud.utils.exception.CloudRuntimeException: Unable to find key inject script scripts/vm/systemvm/injectkeys.sh
Hi, Is there any update on this? Thanks and regards, Abhinav -Original Message- From: Abhinav Roy (JIRA) [mailto:j...@apache.org] Sent: Thursday, September 27, 2012 8:02 PM To: cloudstack-dev@incubator.apache.org Subject: [jira] [Reopened] (CLOUDSTACK-209) Upgrade from CS-3.0.2 to ASF 4.0 fails with com.cloud.utils.exception.CloudRuntimeException: Unable to find key inject script scripts/vm/systemvm/injectkeys.sh [ https://issues.apache.org/jira/browse/CLOUDSTACK-209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhinav Roy reopened CLOUDSTACK-209: Upgrade from CS-3.0.2 to ASF 4.0 fails with com.cloud.utils.exception.CloudRuntimeException: Unable to find key inject script scripts/vm/systemvm/injectkeys.sh -- -- --- Key: CLOUDSTACK-209 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-209 Project: CloudStack Issue Type: Bug Components: Install and Setup, Management Server Affects Versions: pre-4.0.0 Environment: MS : Rhel 6.2 HOST : KVM ( Rhel 6.2) BUILDS : CS-3.0.2 - CloudStack-3.0.2-1-rhel6.2.tar.gz ASF 4.0 - CloudStack-oss-4.0.0-187.tar.bz2 Reporter: Abhinav Roy Assignee: Wido den Hollander Priority: Blocker Fix For: pre-4.0.0 Attachments: agent.log, api-server.log, management-server.log, SQL_09_26.dmp Steps : == 1. Deploy an advanced zone setup with CS-3.0.2 and KVM host (Rhel 6.2) 2. Create a VM instance. 3. Stop Management server. 4. Upgrade to ASF 4.0 5. Stop agent services on the host. 6. Upgrade to ASF 4.0 7. Start agent on the host. 8. Start management server services. Expected Behaviour : == The upgrade should happen smoothly without any error. Observed Behaviour : == 1. After executing above steps, following exception is seen in the logs 2012-09-26 17:44:41,571 DEBUG [utils.script.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /var/lib/cloud/management/./scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,571 DEBUG [utils.script.Script] (main:null) Looking for scripts/vm/systemvm/injectkeys.sh in /var/lib/cloud/management/./scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,571 WARN [utils.script.Script] (main:null) Unable to find script scripts/vm/systemvm/injectkeys.sh 2012-09-26 17:44:41,574 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in the classpath 2012-09-26 17:44:41,574 DEBUG [utils.script.Script] (main:null) System resource: null 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Current binaries reside at /usr/share/java 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/java/vms/systemvm.iso 2012-09-26 17:44:41,575 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/share/vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) Searching in environment.properties 2012-09-26 17:44:41,576 DEBUG [utils.script.Script] (main:null) environment.properties says scripts should be in /usr/lib64/cloud/common 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/common/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/common/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/cloud/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/lib64/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /usr/vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /vms/systemvm.iso 2012-09-26 17:44:41,578 DEBUG [utils.script.Script] (main:null) Searching in the current directory 2012-09-26 17:44:41,579 DEBUG [utils.script.Script] (main:null) Looking for vms/systemvm.iso in /var/lib/cloud/management/./vms/systemvm.iso 2012-09-26