Hello guys, I have a question the connection CCP to Hypervisor, please inform how establish the connection?, the CLoudPlatform install agent to hypervisor? how platform send the command for create the vm or network?, thanks
CloudPlatform 4.x
Other links
Hello guys, please your collaboration in this moment I have 2 Primary Storage, one have not tag and other have tag, but I need that all vm create with the offerings that not have tags will create in storage that not have tag, because i test and the platform for default generate vm and allocated in one storage and create another vm and generate in other, but I need that the platform create vm in specific storage, remember the offering not have storage tag and the one storage not have tag, thanks
CloudPlatform - Mngmnt IP page loads, nothing displays :8080/client
All,
Have followed the directions for a POC with CP. Centos 6.3 as Mngmnt server on XenServer.
When opening Chrome going to Mnmgmnt IP of http:// 192.168.x.x:8080/client the web page loads just fine, yet nothing is actually displayed.
I have triple checked the install, ensured all services are running and still no change. Assuming browser settings perhaps?
Any direction would be appreciated.
Secureing Management UI
Hy,
whats best practice to secure the web ui or management server when public access to the web ui is needed ?
Management Server -> DMZ ?
MYSQL Server -> LAN ?
Is Netscaler AAA possible ?
thanks
regards
Alex
Cloudstack 4.2.1 - Default Write Cache
Does anyone know what the default KVM write cache is for cloudstack 4.2.1.
I can't seem to find documentation on how to access the XML file to check. I'm using KVM with Cloudstack 4.2.1.
Help would be appreciated.
What do you guys think if CloudMonkey? Anyone here who tried it/still use it would be willing to share their thoughts/feedback?
Hello,
I'll try to enable https for cloudplatform 4.3
I followed the official documentation.
But SSL doesn't work. In management log i can see this message :
java.io.IOException: KeyStore is too big for database! Length 4639
In source code i can see the limite is set at 3000.
After several try i can't create a keystore under 3000.
Someone succeed to enable https with this limit ?
Or find a workaround ?
thanks for your help.
N.B
Internet traffic of instance?
Hi,
I am new to cloudstack. As i read on cloudstack's documentation, Guest network is used when there is trafic generated betwwen VMs and Public network is used when VM tries to access internet.
But then why there is no option to assign Public network to VMs. The only way i found is adding new guest network with A range of IP addresses that are accessible from the Internet.
So then When exactly public network will be used apart from system VMs? Isnt there any other way i can assign Public IP addresses to my VMs, so they can be accessible from internet?
Storage Network Setup does MGMT Server have to be able mount this NFS share?
New volume with windows VM not working
Cloudstack version 4.2.1
I am unable to attach a new volume to a windows VM. It is working fine for Linux.
When adding the new disk it won't show up in windows disk management.
Templates Stop Working
If I create a VM template it will work great for a few days. Eventually it starts to error out with "Unable to Deploy VM".
The logs indicate it can no longer find the volume with the qcow2.
Any suggestions?
Unable to add instances using a template which is created from snapshot
Hi all,
I followed this https://github.com/imduffy15/GSoC-2014/ and installed apache cloudstack with basic networking in my local machine, and every thing worked smoothly.
?I can add instances from the built in tiny linux template(cent-os 5.6 64bit) without having any issue.
I got a snapshot of the running instance volume and created a template from it. When I try to add an instance using that template I always get InsufficientServerCapacityException.
According to my dashboard there are enough capacity to add the instance. Any ideas?
console:
?WARN [o.a.c.alerts] (API-Job-Executor-5:ctx-4692c763 job-166 ctx-b141500e) alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null // message:: Failed to deploy Vm with Id: 29, on Host with Id: null
INFO [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-5:ctx-4692c763 job-166 ctx-b141500e) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-2-29-VM]Scope=interface com.cloud.dc.DataCenter; id=1
INFO [o.a.c.a.c.a.v.DeployVMCmdByAdmin] (API-Job-Executor-5:ctx-4692c763 job-166 ctx-b141500e) Unable to create a deployment for VM[User|i-2-29-VM]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-2-29-VM]Scope=interface com.cloud.dc.DataCenter; id=1
at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.reserveVirtualMachine(VMEntityManagerImpl.java:214)
at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.reserve(VirtualMachineEntityImpl.java:200)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3515)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3166)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3154)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy224.startVirtualMachine(Unknown Source)
at org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin.execute(DeployVMCmdByAdmin.java:48)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
I'm thinking of migrating the MGMT server to new hardware. I figured I would:
- Install CCP (same version) on new hardware
- Setup data replication to a dedicated DB server
- Configure primary MGMT server to stop managing XenClusters, restart.
- Disconnect CCP from Clusters
- Verify DB replication is up to speed
- Take a backup of the DB
- Finish setup of secondary MGMT server and connect to the dedicated DB server
- Connect clusters in CCP
- Configure MGMT to manage XenClusters again, restart.
Question: Would it matter if the OS version on the old and the new, as long as the version of CCP is the same?
Cloudstack 4.3 Debian 6 (64bit) Boot Order Related Login Problem
I have a rather bizarre problem, I created a template from an ISO (MailCleaner ISO, mailcleaner.org) and when I create a VM with this template, I can boot but after starting services I can not get a login prompt it simply blinks and waits after services started (no login prompt),
If, I go into my Xenserver and issue this command then everything works just fine:
xe vm-param-set uuid=d45280aa-4342-b04b-5f6d-f5c6a3b353fa HVM-boot-params:order=dc HVM-boot-policy="BIOS order" PV-bootloader=""
But the problem is :
Everytime this VM stopped and started again, it it is getting a different UUID from the XENSERVER 6.2 (with latest patches) thus breaking it again.
Is there a fix for this in Cloudstack 4.3 or any kind of workaround?
Thanks,
Sam
Ubuntu Management VM and KVM
I see with CloudStack Ubuntu is supported for the management and KVM. Will CloudPlatform officially support this?
We are having reported issues with users connecting to the Console Proxy with out any issues, but when they attempt to click on the Ctrl-Alt-Del button( or any button) to initiate a login the Console screen jumps down and the button is never clicked. Its as if the Click event is being captured but not associating it with the button but with the scroll down button. This seems to happen when users have a resolution set to a smaller size than what the viewer thinks.
is there a work around? Some people can not up the size of the resolution to accommodate the AjaxViewer so that it would fill the entire screen.
We're running 4.0.3.1 with XenServer 6.2 with all the updates to SP1-008
Thomas
Hello, I need launch 30 VM's for API but I need in the same command, please inform how structure the command or please send me the commands, I test launch for a one VM but no many VM's, help me, thanks
cloudplatform4.3.0.1 can't use vmware Distributed switch
HI,all:
Today I use cloudplatform4.3.0.1 integration with vmware5.5?The switch use vmware Distributed switch but it don't working,the vr always auto reboot?
Here is my step?
1.set the vmware.use.dvswitch Parameters is "true"
2.then I create a stand switch name "vSwitch0" to as "manager and storage" traffic and create a Distributed switch name "public" to as "public and guest" graffic.
3.then I add the vmware cluster,t set the manager traffic type is "vSwitch0" ;set the guest and public traffic type is "public",vswitch type is "Distributed switch"
4.after I integration the vmware,the ssvm and cpvm can working success?
6.then i create the instance,but it can work,the VR always auto reboot.(the vr have 5 NICS)
who can hep me,Thank you very much.
Cloudstack 4.4 and Xen host
Hello,
I install cloudstack management 4.4 on centos 6.5. Its working. I install Xen on Debian and cannot add host.
Error on management www: Unable to add the host
/var/log/cloudstack/management/management-server.log:
2014-08-07 08:42:07,981 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-b52ef4b9) ===START=== 192.168.11.36 -- POST command=addHost&response=json&sessionkey=TDBVfu9JqLq5WqAg8Lhvoe1TBGA%3D
2014-08-07 08:42:07,987 WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-12:ctx-b52ef4b9 ctx-e70cd28d) Received unknown parameters for command addHost. Unknown parameters : clustertype
2014-08-07 08:42:07,989 INFO [c.c.r.ResourceManagerImpl] (catalina-exec-12:ctx-b52ef4b9 ctx-e70cd28d) Trying to add a new host at http://192.168.1.3 in data center 1
2014-08-07 08:42:07,992 DEBUG [c.c.h.x.r.XenServerConnectionPool] (catalina-exec-12:ctx-b52ef4b9 ctx-e70cd28d) Unable to create master connection to host(192.168.1.3) , due to org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
2014-08-07 08:42:07,993 DEBUG [c.c.h.x.d.XcpServerDiscoverer] (catalina-exec-12:ctx-b52ef4b9 ctx-e70cd28d) other exceptions: com.cloud.utils.exception.CloudRuntimeException: Unable to create master connection to host(192.168.1.3) , due to org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
com.cloud.utils.exception.CloudRuntimeException: Unable to create master connection to host(192.168.1.3) , due to org.apache.xmlrpc.XmlRpcException: Failed to read server's response: Connection refused
at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.getConnect(XenServerConnectionPool.java:168)
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:215)
.................
I install cloadstack 4.4 management: http://thehyperadvisor.com/2013/05/30/cloudstack-management-server-installation-4-0-2/ (change baseurl to 4.4)
Xen install: http://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide#Download_and_Burn_the_Debian_Installer_CD
Can help me ? How to add Xen host to cloudstack management 
vm system with agent state (-) none
Hi community !
I use cloudstack 4.4 on centos with xenserver 6.2.
I created a advanced zone without security group. I have 3 nics :
- nics 1 for guest network and administration network.
- nics 2 for public network
- nics 3 for storage network.
I have a primary storage iscsi and my secondary storage locate on NFS server.
I followed installation instruction (vhd-utils, cloud-install-sys-tmplt ...)
When I working my zone, two vm created (secondary storage and console proxy) but agent state none (attach file 1)
I logged in Secondary Storage VM i try "ping 8.8.8.8" = ok but "ping www.google.fr" failed with DNS 8.8.8.8 of course.
When I created a advanced zone WITH security group. I don't have problems with System'vm. Agents of system'vm work normaly. I can download iso, template, to create VM ....
The only difference is to add the nic public network.
Where I can look for to help ?
Thanks for your help !
Cloudstack integration with RabbitMQ
Hi there,
I have a Cloudstack instance running v4.3.
On a separate server, I have setup RabbitMQ, running on CentOS 6.5 by following the steps below:
rpm -ivh http://download.fedoraproject.org/pub/epel/6/$(arch)/epel-release-6-8.noarch.rpm
sudo yum install -y erlang
rpm --import http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo yum install -y rabbitmq-server.noarch
sudo chkconfig rabbitmq-server on
I've opened port 5672 through the firewall solely to the Cloudstack instance.
I have permitted remote users to connect with the following configuration:
cat /etc/rabbitmq/rabbitmq.config
[
{rabbit, [{loopback_users, []}]}
].
I have removed the guest user, created a new user, provided that user with administrator privileges and allowed that user permissions over the default zone '/'
rabbitmqctl add_user rabbituser password123
rabbitmqctl set_user_tags rabbituser administrator
set_permissions -p / rabbituser ".*" ".*" ".*"
I have setup the following file on my Cloudstack instance and restarted Cloudstack:
cat /etc/cloudstack/management/componentContext.xml
<beans xmlns="http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:context="http://www.springframework.org/schema/context";
xmlns:aop="http://www.springframework.org/schema/aop";
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd";>
<bean id="eventNotificationBus" class="org.apache.cloudstack.mom.rabbitmq.RabbitMQEventBus">
<property name="name" value="eventNotificationBus"/>
<property name="server" value="192.168.1.12"/>
<property name="port" value="5672"/>
<property name="username" value="rabbituser"/>
<property name="password" value="password123"/>
<property name="exchange" value="cloudstack-events"/>
</bean>
</beans>
sudo /etc/init.d/cloudstack-management stop && sudo /etc/init.d/cloudstack-management start
I can telnet from the Cloudstack instance to the RabbitMQ instance on port 5672 successfully.
I have then used tcpdump on both the Cloudstack instance and the RabbitMQ instance to look for traffic on port 5672 but there is none. Nothing is initiated by the Cloudstack instance.
Is /etc/cloudstack/management/componentContext.xml the correct location for this file? I cannot see anything erroneous in the cloudstack-management log file that shows it being picked up at all.
Have I missed something or is there a more verbose guide available than those detailed at http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Admin_Guide/events.html ?
Thanks
Quick Install for test enviroment
Hi all,
I following the quick install guide to test out Citrix CloudPlatform.
I am up to box/step 9 where it says to do the following:
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /mnt/secondary/ -u http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 -h xenserver -F
Once I issue that, it then results in this error after a few seconds:
rm: cannot remove `/mnt/secondary/template/tmpl/1/1//a0bd9d62-8fdb-46e8-a9c2-7e8a4b189a39.vhd': Permission denied
rm: cannot remove `/mnt/secondary/template/tmpl/1/1//template.properties': Permission denied
Failed to clean up template directory /mnt/secondary/template/tmpl/1/1/ -- check permissions?
Installation failed
I have tried manually deleting them as well but no go. Would appreciate any help anyone can give. Willing to pay for support as well.
Thanks
Jake
Xendestkop 7.5's connection to CloudPlatform
Hi,
I have a question regarding the XD7.5's integration with Cloudplatform.
Suppose I have an on-premise VDI infrastructure with XD7.5 (including Controller/StoreFront) and Vsphere. All the virtual desktops were deployed using MCS in the site.
Now if I installed a CloudPlatform farm, adding the same vsphere hosts into Cloudplatform as the compute resouce. Then, can I create a new host connection with Cloudplatform type, to that Cloudplatform farm?
If so, will the existing desktops (independant of Cloudplatform) continued to be accessible afterwards?
The idea is to understand how much effort is required to migrate existing on-premise VDI infrastructure to Cloudplatform, and whether it's worth a complete tear down and rebuild.
Thanks
Silvester
Snapshots not being moved to secondary storage
Hello,
I seem to have an issue with snapshots not being moved to secondary storage, they stay in Primary on the host node. I have also noticed a couple of templates in Primary also. Everything seems to be set up correctly and there are actually one or two recent snapshots in Secondary storage (there are roughly 40 VMs within cloudstack) taken by clients. Has anybody happened to come across this issue before?
Cheers!
Virtual Router on VMware source NAT not applying
Hi All,
I’ve encountered a strange issue whereby egress firewall rules don’t seem to apply to any CloudPlatform VRs that are running on our VMware cluster, whereas any CloudPlatform VRs running on our XenServer cluster work as expected (these are in the same and only zone). Even more strangely, port forwarding and ingress firewall rules do apply correctly in either scenario.
Has anyone encountered anything similar or has any troubleshooting tips for this? I have confirmed WAN connectivity, etc. from the VRs console and can see that there’s no matching entry in the iptables.
We are running Citrix CloudPlatform 4.3.0.1.
Any pointers would be greatly appreciated!
Thanks,
Eric
View IP addresses in use within Guest Network
Hello,
I seem to have an issue where 'Home > Network > Guest networks > defaultGuestNetwork > View IP Addresses' always shows 'No Data to Show'. Would anybody have any ideas on how to get the section to be populated by IPs in use? The usage software seems to be working correctly.
Deletion Process - Expunged or Destroy
Can anyone clarify what the deletion process in terms of stages...
Basically when i run a "select * from volumes"
Some are set in a Destroy state (inc all recent ones) and some are "Expunged". Which shpould they be ? i thought it was expunged, so could the Destroy ones be taking up space unnecessarily ?
Thanks
Writing an authenticator in 4.3
Hello!
I am writing a new authentication adapter as well as new encryptor for the passwords.
What version of CloudStack the adapter should be compactible with? As in CS version 4.3 it includes "ActionOnFailedAuthentication" parameter added, and I am not sure if CloudPlatform 4.3 includes this feature.
A.
Import Host containning running virtual machine
I'm trying to found a solution that allow me to import an xenserver host running several virtual machine in a cloudplatform based on cloudstack orchestrator.
is there any advices ,
thanks
Participate
Ask, Discuss, Answer





