CloudPlatform 3.x

 
 
Administrator
Unable to view console of VM's through internet
Avatar

Unable to view console of VM's through internet

I want to view my VM's from consoles through internet, but i cannot. I can view them when i am in my office i.e. connected through office LAN (cloud also exits in same network). I have access to the Management server over internet but i cant view the VM's in console.

Error in the console webpage :

The connection has timed out

The server at (IP).realhostip.com is taking too long to respond.

* The site could be temporarily unavailable or too busy. Try again in a few moments.
* If you are unable to load any pages, check your computer's network connection.
* If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web
Try Again


ISMAIL SHAREEF MOHAMMED MEMBERS
19 0
Administrator
Help!! Can't start the system vm
Avatar

Help!! Can't start the system vm

My environments:
CloudStack3.0.6
XenServer 6.0.2

Here is the log

2013-02-26 12:29:56,974 DEBUG [xen.resource.CitrixResourceBase] (DirectAgent-357:null) Timeout, Unable to logon to 169.254.0.214
2013-02-26 12:29:56,974 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-357:null) Seq 1-1707475680: Response Received:
2013-02-26 12:29:56,977 DEBUG [agent.transport.Request] (DirectAgent-357:null) Seq 1-1707475680: Processing: { Ans: , MgmtId: 119004501534138, via: 1, Ver: v1, Flags: 110, [{"StartAnswer":{"vm":{"id":2,"name":"v-2-VM","bootloader":"PyGrub","type":"ConsoleProxy","cpus":1,"speed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian GNU/Linux 6(64-bit)","bootArgs":" template=domP type=consoleproxy host=192.168.1.100 port=8250 name=v-2-VM premium=true zone=1 pod=1 guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip=192.168.1.155 eth2mask=255.255.255.0 gateway=192.168.1.1 eth0ip=169.254.0.214 eth0mask=255.255.0.0 eth1ip=192.168.1.139 eth1mask=255.255.255.0 mgmtcidr=192.168.1.0/24 localgw=192.168.1.1 internaldns1=192.168.1.1 dns1=192.168.1.1","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"cb3c483bb7bb35ec","params":{},"disks":[{"id":2,"name":"ROOT-2","mountPoint":"/home/primary","path":"bdcafad9-eead-4ca4-9845-5be2d1098346","size":2147483648,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"c62d46d7-d4d7-3012-bc33-07279eb8f2c1","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":200,"defaultNic":true,"ip":"192.168.1.155","netmask":"255.255.255.0","gateway":"192.168.1.1","mac":"06:6d:62:00:00:24","dns1":"192.168.1.1","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://untagged","isolationUri":"ec2://untagged","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"ip":"169.254.0.214","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:00:d6","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"ip":"192.168.1.139","netmask":"255.255.255.0","gateway":"192.168.1.1","mac":"06:23:6a:00:00:14","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false}]},"result":true,"wait":0}},{"check.CheckSshAnswer":{"result":false,"details":"Can not ping System vm v-2-VMdue to:Timeout, Unable to logon to 169.254.0.214","wait":0}}] }
2013-02-26 12:29:56,977 DEBUG [agent.manager.AgentAttache] (DirectAgent-357:null) Seq 1-1707475682: Sending now. is current sequence.
2013-02-26 12:29:56,977 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1707475680: Received: { Ans: , MgmtId: 119004501534138, via: 1, Ver: v1, Flags: 110, { StartAnswer, CheckSshAnswer } }
2013-02-26 12:29:56,977 DEBUG [agent.transport.Request] (DirectAgent-357:null) Seq 1-1707475682: Executing: { Cmd , MgmtId: 119004501534138, via: 1, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"s-45-VM","wait":0}}] }
2013-02-26 12:29:56,977 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-289:null) Seq 1-1707475682: Executing request
2013-02-26 12:29:57,030 WARN [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Unable to ssh to the VM: Can not ping System vm v-2-VMdue to:Timeout, Unable to logon to 169.254.0.214
2013-02-26 12:29:57,030 INFO [cloud.vm.VirtualMachineManagerImpl] (consoleproxy-1:null) The guru did not like the answers so stopping VM[ConsoleProxy|v-2-VM]
2013-02-26 12:29:57,035 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1707475728: Waiting for Seq 1707475682 Scheduling: { Cmd , MgmtId: 119004501534138, via: 1, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"v-2-VM","wait":0}}] }
2013-02-26 12:29:57,045 INFO [xen.resource.CitrixResourceBase] (DirectAgent-289:null) VM does not exist on XenServerda4d152b-37cf-4369-86b2-809cb2de8ebf
2013-02-26 12:29:57,045 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-289:null) Seq 1-1707475682: Response Received:
2013-02-26 12:29:57,046 DEBUG [agent.transport.Request] (DirectAgent-289:null) Seq 1-1707475682: Processing: { Ans: , MgmtId: 119004501534138, via: 1, Ver: v1, Flags: 110, [{"StopAnswer":{"vncPort":0,"result":true,"details":"VM does not exist","wait":0}}] }
2013-02-26 12:29:57,046 DEBUG [agent.manager.AgentAttache] (DirectAgent-289:null) Seq 1-1707475728: Sending now. is current sequence.

2013-02-26 12:29:57,546 WARN [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Exception while trying to start secondary storage vm
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: Unable to start instance due to Unable to start VM[SecondaryStorageVm|s-45-VM] due to error in finalizeStart, not retrying
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:833)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:462)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:455)
at com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:253)
at com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:680)
at com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1299)
at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:115)
at com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:46)
at com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:102)
at com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:30)
at com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:79)
at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:69)
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)
Caused by: com.cloud.utils.exception.ExecutionException: Unable to start VM[SecondaryStorageVm|s-45-VM] due to error in finalizeStart, not retrying
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:800)
... 19 more


penghao cai MEMBERS
16 0
Administrator
CloudPlatform "Campo" release date
Avatar

CloudPlatform "Campo" release date

What is the CloudPlatform "Campo" release date or even approximate release date?

Will the Campo release include support for VM instances to have multiple IP addresses?

Regards,


TARIQ IQBAL MEMBERS
15 0
Gert Jensen
Billing for Cloud platform

Hello,

I just want to hear if anybody are using some kind of billing system for Cloudplatform 3.0.6/3.0.7.

I know there is Cloud Platform Business manager 1.4/2.0, but are there other out there

anybody have some nice Excel sheets.. - LOL

Kind regards
Gert


14 0
Administrator
Cannot open instance console
Avatar

Cannot open instance console

I have my cloud up and running but I cannot view the console of any of my instances. The browser opens a new windows which then gives an error of the operation timed out trying to contact <IP>.realhostip.com.

I cannot see any problems with the system VM and all browsers are the same.

I am running CloudPlatform 3.0.5 patch1 can anyone provide any help getting this working.

Thanks

James


James Osbourn CITRIX EMPLOYEES
14 0
Administrator
cloudplatform 3.0.6.1 template and Iso
Avatar

cloudplatform 3.0.6.1 template and Iso

Hi there
im testing a trial version of cloudplatform
everything seems working fine
just one question
template and iso's can be add to the cloud management console
but how to add those?
for iso i guess you just need to add the ip address of the server where i store the iso's
for the template there is a way to download template ?

thanks

Dom


Domenico Carbone MEMBERS
13 0
Gert Jensen
Maintenance ?

Hello,

If i want to do maintenance on the cloudplatform, how do i make sure that nobudy is uploading
isos/templates or do anything that will leave the system in an inconsistent state, before i stop the cloud-management-1 service.

Kind regards
Gert


11 0
Administrator
Can't create volume from snapshot as domain-admin
Avatar

Can't create volume from snapshot as domain-admin

Having to backup some data before doing some changes for a customer VMs, we created the snapshots, then we tried to create volumes from the existing snapshots. As domain admin, the operation fails every time with the following error:

\2013-02-11 16:28:12,453 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-140:job-2311) Executing com.cloud.api.commands.CreateVolumeCmd for job-2311
2013-02-11 16:28:12,474 DEBUG [utils.crypt.DBEncryptionUtil] (Job-Executor-140:job-2311) Error while decrypting: bd2d2fe00a1956db
2013-02-11 16:28:12,480 ERROR [cloud.api.ApiDispatcher] (Job-Executor-140:job-2311) Exception while executing CreateVolumeCmd:
com.cloud.utils.exception.CloudRuntimeException: Caught: com.mysql.jdbc.JDBC4PreparedStatement@78e3fbdd: SELECT vm_instance.id, vm_instance.name, vm_instance.vnc_password, vm_instance.proxy_id,vm_instance.proxy_assign_time, vm_instance.state, vm_instance.private_ip_address, vm_instance.instance_name, vm_instance.vm_template_id, vm_instance.guest_os_id, vm_instance.host_id, vm_instance.last_host_id, vm_instance.pod_id, vm_instance.private_mac_address, vm_instance.data_center_id, vm_instance.vm_type, vm_instance.ha_enabled, vm_instance.limit_cpu_use, vm_instance.update_count,vm_instance.created, vm_instance.removed, vm_instance.update_time, vm_instance.domain_id, vm_instance.account_id, vm_instance.service_offering_id, vm_instance.reservation_id, vm_instance.hypervisor_type, vm_instance.uuid, user_vm.iso_id, user_vm.user_data, user_vm.display_name, user_vm.update_parameters FROM user_vm INNER JOIN vm_instance ON user_vm.id=vm_instance.id WHERE vm_instance.type='User' AND vm_instance.account_id = 37 AND vm_instance.pod_id = 3
at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:406)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:340)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
at com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:890)
at com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:895)
at com.cloud.vm.dao.UserVmDaoImpl.listByAccountAndPod(UserVmDaoImpl.java:208)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
at com.cloud.agent.manager.allocator.impl.UserConcentratedAllocator.allocateTo(UserConcentratedAllocator.java:132)
at com.cloud.resource.ResourceManagerImpl.findPod(ResourceManagerImpl.java:2341)
at com.cloud.storage.StorageManagerImpl.createVolumeFromSnapshot(StorageManagerImpl.java:571)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
at com.cloud.storage.StorageManagerImpl.createVolumeFromSnapshot(StorageManagerImpl.java:664)
at com.cloud.storage.StorageManagerImpl.createVolume(StorageManagerImpl.java:2071)
at com.cloud.utils.component.ComponentLocator$InterceptorDispatcher.intercept(ComponentLocator.java:1185)
at com.cloud.storage.StorageManagerImpl.createVolume(StorageManagerImpl.java:210)
at com.cloud.api.commands.CreateVolumeCmd.execute(CreateVolumeCmd.java:160)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:263)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:430)
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:636)
Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException
at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)
at org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:717)
at com.cloud.utils.crypt.DBEncryptionUtil.decrypt(DBEncryptionUtil.java:61)
at com.cloud.utils.db.GenericDaoBase.setField(GenericDaoBase.java:500)
at com.cloud.utils.db.GenericDaoBase.setField(GenericDaoBase.java:1629)
at com.cloud.utils.db.GenericDaoBase.toEntityBean(GenericDaoBase.java:1516)
at com.cloud.utils.db.GenericDaoBase.toEntityBean(GenericDaoBase.java:1499)
at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:400)
... 44 more
2013-02-11 16:28:12,482 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-140:job-2311) Complete async job-2311, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Internal error executing command, please contact your system administrator

We tried the same operation as global admin and it works, however the created volume can't be attached to any running VM (the combo box that supposed to return the list of the VMs is empty).

CloudPlatform version is 3.0.6 and Xen Server is 6.0.2. Does anyone have seen such error before?

Thanks.


Daniel Hertanu MEMBERS
11 0
Administrator
Not able to create a new instance
Avatar

Not able to create a new instance

Hi Team,

I was in process of creating my initial private cloud. I have followed the "CloudStack Advanced Installation Guide" and successfully configured cloud stack. I have configured cloud stack with VMWare as my hypervisor.

I followed the below steps to create the instance.

Now i am trying to create my new instances.
Go to the Instances tab, and filter by My Instances.
. Click Add Instance and follow the steps in the wizard.
. Choose the zone you just added.
. In the template selection, choose the template to use in the VM.

Here i dont see any template to choose. But when i see the template in "template" screen i can the see the template.

Zone ID 01932aae-676c-4ca0-8345-74d6a62ead2f
Description SystemVM Template (vSphere)
Hypervisor VMware
Type SYSTEM
Ready Yes
Status Download Complete
Size
Extractable No
Password Enabled No
Public No
Featured No
Cross Zones Yes
OS Type Debian GNU/Linux 5.0 (32-bit)
Domain ROOT
Account system
Created 15 Dec 2012 18:03:14

Also i tried to create new template using OVA and it says status as "No". I waited for more then an hour.

ID f25f95ea-49b7-4988-af4e-b11ba3046b6b
Zone name ZONEB
Zone ID 01932aae-676c-4ca0-8345-74d6a62ead2f
Description VaseT
Hypervisor VMware
Type USER
Ready No
Status
Size
Extractable Yes
Password Enabled No
Public Yes
Featured Yes
Cross Zones No
OS Type CentOS 5.4 (32-bit)
Domain ROOT
Account admin
Created 15 Dec 2012 18:3

Could you please help me on how to create a new template and Instance.

Thanks,
Kalai


kalayarasan Periyasamy MEMBERS
11 0
Administrator
System VMs not successfully starting with CloudPlatform 3.0.6/XenServer 6.1) Trial Installation
Avatar

System VMs not successfully starting with CloudPlatform 3.0.6/XenServer 6.1) Trial Installation

I am attempting to setup a trial installation following the steps followed in the CloudPlatform Master Class (and Trial Installation Guide). After pressing the Launch button, the operation never completes (i.e. the progress indication continues to spin and no success message is displayed). When I subsequently log into CloudPlatform UI and inspect the Infrastructure, I see that the status for the System VMs is Starting.

i've attached the management-server.log and catalina.out file where i see things like:

INFO [xen.resource.CitrixResourceBase] (DirectAgent-10:) Programmed default network rules for s-1-VM
WARN [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Unable to ssh to the VM: Can not ping System vm s-1-VMdue to:Timeout, Unable to logon to 169.254.1.143
INFO [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:) The guru did not like the answers so stopping VM[SecondaryStorageVm|s-1-VM]
INFO [xen.resource.CitrixResourceBase] (DirectAgent-39:) Removed network rules for vm s-1-VM
ERROR [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:) Failed to start instance VM[SecondaryStorageVm|s-1-VM]
com.cloud.utils.exception.ExecutionException: Unable to start VM[SecondaryStorageVm|s-1-VM] due to error in finalizeStart, not retrying

(stack trace follows)

INFO [xen.resource.CitrixResourceBase] (DirectAgent-10:) Programmed default network rules for s-1-VM
WARN [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Unable to ssh to the VM: Can not ping System vm s-1-VMdue to:Timeout, Unable to logon to 169.254.1.143
INFO [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:) The guru did not like the answers so stopping VM[SecondaryStorageVm|s-1-VM]
INFO [xen.resource.CitrixResourceBase] (DirectAgent-39:) Removed network rules for vm s-1-VM
ERROR [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:) Failed to start instance VM[SecondaryStorageVm|s-1-VM]
com.cloud.utils.exception.ExecutionException: Unable to start VM[SecondaryStorageVm|s-1-VM] due to error in finalizeStart, not retrying

(more stack trace)

The console window for the VMs indicate that the VMs come up but a number of errors are displayed including the following:

Starting enhanced syslogd: rsyslogd.
Not starting as we're not running in a vm.
Starting ACPI services...RTNETLINK1 answers: No such file or directory
acpid: error talking to the kernel via netlink
.
Starting the system activity data collector: sadc.
Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: unknown interface eth0
failed!
Starting OpenBSD Secure Shell server: sshd.Starting enhanced syslogd: rsyslogd.
Not starting as we're not running in a vm.
Starting ACPI services...RTNETLINK1 answers: No such file or directory
acpid: error talking to the kernel via netlink
.
Starting the system activity data collector: sadc.
Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: unknown interface eth0
failed!
Starting OpenBSD Secure Shell server: sshd.
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for systemvm
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
(99)Cannot assign requested address: make_sock: could not bind to address 10.1.1.1:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
Starting periodic command scheduler: cron.
Starting OpenBSD Secure Shell server: sshd.
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for systemvm
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
(99)Cannot assign requested address: make_sock: could not bind to address 10.1.1.1:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
Starting periodic command scheduler: cron.
Starting OpenBSD Secure Shell server: sshd.
Starting web server: apache2apache2: apr_sockaddr_info_get() failed for systemvm
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
[Tue Jun 25 12:31:17 2013] [error] (EAI 3)Temporary failure in name resolution: Failed to resolve server name for 10.1.1.1 (check DNS) -- or specify an explicit ServerName
(99)Cannot assign requested address: make_sock: could not bind to address 10.1.1.1:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.

Attached Files


Jim Glennon MEMBERS
10 0
Administrator
Newbie - Troubleshooting after not being able to access UI
Avatar

Newbie - Troubleshooting after not being able to access UI

I finished the trial installation. Then I went to access the URL by going to http://management-server-address:8080/client, but only get Page Cannot be Found. I disabled the firewall, but still no luck. Any help would be appreciated. Thanks.


Phil Robinson MEMBERS
10 0
Administrator
F5 LB - Guest VLAN Advanced Zone
Avatar

F5 LB - Guest VLAN Advanced Zone

Hi Team,

I'm facing some issues while creating Guest Network . Below is the response which I got from CloudStack Community . I could have asked in this forum hence started a new thread here

My comments on Venkata's reply below

Can you paste the API that was fired from logs? You will see this kind of error only when CIDR specified.

Attched the MAN log for reference

Which version of cloudstack you are using?

CloudPlatform 3.0.6

-----Original Message-----
From: Anoop Mohan AnoopMo@.com
Sent: Wednesday, 24 April 2013 10:43 AM
To: Venkata SwamyBabu Budumuru; users@cloudstack.apache.org; cloudstack-users@incubator.apache.org
Subject: RE: F5 LB - Guest VLAN Advanced Zone

Sorry typo error

Pasting below

If I didn't specify CIDR, Below UI status message appears

Cannot specify CIDR when using network offering with external devices!

Regards,
Anoop Mohan
-----Original Message-----
From: Venkata SwamyBabu Budumuru
venkataswamybabu.budumuru@.com
Sent: Wednesday, April 24, 2013 10:32 AM
To: Anoop Mohan; users@cloudstack.apache.org; cloudstack-users@incubator.apache.org
Subject: RE: F5 LB - Guest VLAN Advanced Zone

Hi Anoop,

createNetwork automatically generates a random unique CIDR in case if there are external devices used for some of the service. Please try creating guest n/w without CIDR and it should solve the issue.

Thanks,
SWAMY

-----Original Message-----
From: Anoop Mohan AnoopMo@.com
Sent: Wednesday, 24 April 2013 10:14 AM
To: users@cloudstack.apache.org; Venkata SwamyBabu Budumuru; cloudstack-users@incubator.apache.org
Subject: RE: F5 LB - Guest VLAN Advanced Zone

Hi Venkat,

I tried as you stated below. But still not able to create guest network.

Setup Details.

1. Created New NW Offerings with services Capabilities as Dhcp:
VirtualRouter, Lb: F5BigIp, Dns: VirtualRouter, Vpn: VirtualRouter,
Firewall: VirtualRouter, StaticNat: VirtualRouter, UserData:
VirtualRouter, PortForwarding: VirtualRouter, SourceNat: VirtualRouter

2. Login with Admin user of newly created domain and try creating guest network using new NW offerings. Even I tried with users under ROOT domain as well

If I specify CIDR for guest , then it throws below error

2013-04-24 10:07:17,252 ERROR [cloud.api.ApiDispatcher]
(catalina-exec-1:null) Exception while executing CreateNetworkCmd:
com.cloud.utils.exception.CloudRuntimeException: Can't design network Ntwk[-1|Guest|18]; guest CIDR is not configured per zone
com.cloud.dc.DataCenterVO$$EnhancerByCGLIB$$f8cfc3d7@1

If I specify CIDR, Below UI status message appears

Cannot specify CIDR when using network offering with external devices!

Regards,
Anoop Mohan

-----Original Message-----
From: Venkata SwamyBabu Budumuru
venkataswamybabu.budumuru@.com
Sent: Saturday, April 20, 2013 3:25 PM
To: users@cloudstack.apache.org; cloudstack-users@incubator.apache.org
Subject: RE: F5 LB - Guest VLAN Advanced Zone

About the error you mentioned here is due to the fact that in the NetworkOffering you selected "source nat type" as 'per zone'. In case of VR providing SNAT service, we only support 'PER account'.

Sent from Samsung tablet

Anoop Mohan <AnoopMo@microland.com> wrote:
Hi Sanjeev,

>>>>> Please make sure that no guest VLANs were configured on F5 before adding to cloud stack. Also check the reachability to F5 from management server.

The guest VLANs which need to Integrate to CloudStack doesn't exist in F5. I'm using BIG-IP 9.4.7.

I'm following below wiki

http://wiki.cloudstack.org/pages/viewpage.action?pageId=11830811

>>>>> Related to second issue (access to guest vm from outside)
:PF/Static NAT services should present in the guest network. But I don't see those services in the network you have mentioned.

Yes I created a Network offerings with Static NAT works. Every Time I have to acquire new Public IP address and assign to VM's created under isolated Tenant.

Now Facing below issue.

Add F5 device and enabled.

When I use combination of VR Services and F5 LB Service as new Network offerings, and try spawning VM's using the same getting below error

2013-04-19 16:43:31,788 ERROR [cloud.api.ApiDispatcher]
(catalina-exec-15:null) Exception while executing
CreateNetworkOfferingCmd:
com.cloud.exception.UnsupportedServiceException: Service SourceNat doesn't support value "perzone" for capability SupportedSourceNatTypes on VirtualRouter

2013-04-19 16:46:05,088 ERROR [cloud.api.ApiDispatcher]
(catalina-exec-20:null) Exception while executing CreateNetworkCmd:
com.cloud.utils.exception.CloudRuntimeException: Can't design network Ntwk[-1|Guest|17]; guest CIDR is not configured per zone
com.cloud.dc.DataCenterVO$$EnhancerByCGLIB$$f8cfc3d7@1

Is there any doc available or could you recommend in which I can create Network offerings for Isolated Guest Network using VLAN with external Network devices and VR services

Attached Files

  • Attached File  man.zip   182.32K   1 downloads

Anoop Mohan MEMBERS
10 0
Administrator
Failed to deploy VM's
Avatar

Failed to deploy VM's

Dear All,
I have two host in a cluster, the hosts are VM's.
Using webserver i have uploaded many .ISO's. When i am trying to create an Instance using this ISO's it is giving the error "Failed to deploy Vm with Id:xx".
But when i am trying to create the Instance through the default template (CentOS), there is no problem at all.

Below is the log when the the deployment is failed.

http://pastebin.com/p021zBUc
Thanks in advance


ISMAIL SHAREEF MOHAMMED MEMBERS
9 0
Administrator
VM licensing with KMS Server
Avatar

VM licensing with KMS Server

Hello, I am doing a public cloud, but after VM is lunched then the virtual router could not reach the KMS server in order to activate the windows server!, I am using Citrix cloud platform and portal, so how the cloud platform can communicate with the KMS server after launching the VM?


Tamer Al-Kabani MEMBERS
9 0
Administrator
Unable to Add Host
Avatar

Unable to Add Host

I have finished the trial install, logged into the UI and started the initial config of the Cloud trial. I was able to enter the Zone, Cluster, POD and storage information. Finally, I was able to enter the information for the host, which for me is Xenserver 6.2. I enter the IP address (which is pingable) username (root) and password, then select "Launch" on the following screen. Everything appears to be configuring except the host where I receive the message "Unable to Add Host". I checked the /var/log/cloud/management/management-server.log and the access log, but could not find any errors. Any help would be appreciated. Thanks.


Phil Robinson MEMBERS
9 0
Administrator
Help in building cloud
Avatar

Help in building cloud

Hi,
I am new to citrix cloud platform,Using this platform I want to build a private cloud of mu own for the project purpose.
But I am not getting from where to start reading and implementing. Can anyone help me for creating private cloud using xen server? Do I need any other tools/soft to create private cloud using xen server.?If possible please provide any web link which I can refer.
Thank you.


Chinmay Jaiswal MEMBERS
8 0
Gert Jensen
Network VPC

Hello,

I have a question regarding VPC.

I want to throttle bandwidth between the internet and the VPC Network, i do not want to throttle
the bandwiddth between the serveren in the vpc Network.

I know how to throttle the bandwidth on normal routers, but how do i do it on a VPN internet router, as i am not able to choose the Network router. ?

I do however have the possibility to choose the Network router when i define the vpc Network (tier).

- hope sombdy can help me with this..

Kind regards
Gert


7 0
Administrator
Unable To Create Instances in CCP
Avatar

Unable To Create Instances in CCP

Hi Citrix,

I am trying to create a instance in CP but it is showing the error "Unable to create a deployment for VM[User|45e73393-d510-4ffb-b6c0-4dd7197ad49d]"

I am using CloudPlatform version 3.0.5.20130724165251

Please find the shared screenshot.

Regards,
Kiran SK

Attached Files


Kiran Sk MEMBERS
7 0
Administrator
Unable to download iso template
Avatar

Unable to download iso template

Hi all,

when i try to register iso the download doesn't start. But if i go manually from IE to http://mywebserver/template.iso the download start

Any ideas?

Thanks for the reply


Valentina Bombelli MEMBERS
7 0
Administrator
Unable to start cloud-management service
Avatar

Unable to start cloud-management service

This is a new installation of CCP 3.0.6-x on CentOS 6.2 , the installation completes OK with no errors but the cloud-management service does not come up, when I check it with *service cloud-management status* I get this message:

service cloud-management status
cloud-management dead but pid file exists
The pid file locates at /var/run/cloud-management.pid and lock file at /var/lock/subsys/cloud-management.
Starting cloud-management will take care of them or you can manually clean up.
root@cpman ~#

I tried deleting the pid file and restarting the service, still no go

Any ideas ?

-Oded


Oded Nahum CITRIX EMPLOYEES
7 0
Administrator
CloudStack VM view console throwing up debug info
Avatar

CloudStack VM view console throwing up debug info

I'm having some strange behaviour when I try to view the console from the management server UI. When I click on the view console icon I get a blue bar with Ctrl+Alt+Del, Ctrl+Esc, Keyboard and a black circle at the far right. I don't see the Linux prompt and when I click on the black circle I get a lot of debug info as shown in the attachment. This happens with all the vms (all Linux).

I don't see anything in the cloud-managment log to suggest anything.

Has anyone seen anything similar and how did they resolve the issue?

Thanks.

Attached Files


Osay Osman Yuuni MEMBERS
7 0
Administrator
Virtual Router VM No operating system found.
Avatar

Virtual Router VM No operating system found.

Greetings,

I m using CCP , and added a cluster with 2 hosts which has VMware hypervisor.
Now CCP creates 3 internal VM's : Virtual Router VM , Console Proxy VM and System Storage VM.
When I m adding an instance the virtual router VM is restarting and saying
"Warning message from <ipaddress>: No operating system was found. If you have an operating system installation disc, you can insert the disc into the system's CD-ROM drive and restart the virtual machine."

Through vSphere Client console of the virtual router VM if i check also it also displays "No Operating System"

The Virtual Router VM is created by CCP only, then y isnt it able to get the OS?

Kindly guide me as to what i m doing wrong?


Koreth Mathew MEMBERS
6 0
Erik Godin
CloudService.exe - What does it do?

I can read the service' description but I was wondering if someone could tell me exactly what that service does? There's no mention of the service in the admin/install guide for CP 3.0.6 however based on my first look it seems like it's a Citrix CP related service. The service was using quite a bit of CPU on a few VMs and I was wondering what functionality would be lost would the service be disabled (or is the service a requirement?)

TIA

Erik


6 0
Erik Godin
Instance rebooted, volume gone.

I ran into a problem with CloudPlatform 3.0.6 and I'm curious to know if anyone experienced a similar problem.

Someone (who doesn't have access to CP GUI) was logged in to an instance and suddenly got disconnected (the RDP session timed out) and he couldn't reconnect. Someone with access to the GUI confirmed the VM was unavailable via console proxy (unfortunately the error message wasn't documented) so the instance was rebooted. When the instance was back online, it still wasn't accessible via RDP so it was accessed via the web console. The web console showed a Windows mini-setup screen which leads me to believe the VM was somehow re-attached to the template used to create it originally.

I've reviewed the management-server log for the hour of the incident and the hour preceding it and I did find multiple copies of the same entry which has me worried:

There are no Consoles available to the vm : Clones of this template will automatic
ally provision their storage when first booted and then reconfigure themselves with the optimal settings for Windows Server 2008 R2 (64-bit)



The error message was repeated several times throughout the day and appears to have stopped within the same hour the event occurred.

TIA for the help.


6 0
Gert Jensen
Please Help. Network problems.

Hello,
I have installed every thing and it nearly Works.

i create a domain, and a account.
I create a network, and a Windows instance
this Works....

Then i shot Down the router, now when i start the router and the instance it does not Work.-
i can delete the instance and the router create the instance and the router then it Works Again ???
Thay are running on the same server, when they does not Work...

what does not Work, i i can not ping/browse the internet, i still get my IP.

I am running Xenserver 6.1, and CP3.0.1 patch a,b,c,d

Please anybody.. ?

Kind regards


6 0
Administrator
network configuration - order of activities
Avatar

network configuration - order of activities

Wonder if someone can provide some guidance on the order of activities when configuring xenserver host networks.

Traditionally with xenserver the pool is created and then networks configured, the pool master then pushes out changes. I'm assuming this isn't the case with CloudPlatform, and that the only pre-config work i need to do in xencenter is give the networks on the hosts the correct labels that match those that will be configured in CloudPlatform?

I have 5 NICs on each host and intend to configure as follows:

NIC0 = Generic management network
NIC1 = Primary management interface; label = cloud-mgmt
NIC2 = Guest; label = cloud-guest
NIC2 = Public; label = cloud-public
NIC3 + NIC4 (bonded) = Storage

So, do I:

1. Create networks on the xenserver hosts with the appropriate labels
2. Create the zone/pod/cluster physical networks with the relevant network labels to match those in Xenserver
3. Add the first host to the CloudPlatform cluster which will automatically create the Xenserver pool
4. Add subsequent hosts to the CloudPlatform cluster which will automatically receive the correct config for the pool

Or do I configure the pool in xenserver and then do the CloudPlatform config bits?

Apologies if this is a bit of a basic question, i'm fairly new to CP


Andy Frodsham MEMBERS
6 0
Administrator
CloudPlataform - Hyper-V support?
Avatar

CloudPlataform - Hyper-V support?

Hello.

Here in our business we want to add a cloud solution service to our customers, so we download the trial version of CloudPlataform to test it, but we use Hyper-V as hypervisor.

After 'digging' the web for information, we found that there is no 'native' support for Hyper-V, but there is a plugin for CloudStack.

We keep researching the web for info, but we couldnt find any information about this plugin on CloudPlataform and if it works well or not.

Can someone please clarify this for me? Is it possible to have a good Citrix CloudPlataform perfomance using Hyper-V as hypervisor? Please note that change the hypervisor is not an option for us, because we already have a lot ot of VMs running on it.

Thanks very much for you attention, looking forward for some help.


Lucas Pinto MEMBERS
6 0
Administrator
ISO image upload stuck
Avatar

ISO image upload stuck

Hi all

I have an ISO upload that is stuck at 39% and not moving. There is no option within the portal to stop or delete the ISO.

Any idea's how I can kill the upload?

thanks


Johan Grant MEMBERS
6 0
Administrator
cluster cannot add host
Avatar

cluster cannot add host

In My CCP environment,i can add a host in a cluster,but add the another host,,the error is "unable to add host" shown..i check the error messages in management-server.log , i can find the error

2013-09-17 16:42:09,928 INFO http://cloud.resource.ResourceManagerImpl (catalina-exec-11:null)
Trying to add a new host at http://192.168.9.25 in data center 1
2013-09-17 16:42:09,989 DEBUG http://xen.resource.XenServerConnectionPool (catalina-exec-11:nul
l) Slave logon to 192.168.9.25
2013-09-17 16:42:10,003 DEBUG http://xen.resource.XenServerConnectionPool (catalina-exec-11:nul
l) Logging on as the master to 192.168.9.25
2013-09-17 16:42:10,613 WARN http://xen.resource.XenServerConnectionPool (catalina-exec-11:nul
l) Catch com.xensource.xenapi.Types$JoiningHostCannotContainSharedSrs Unable to allow host
192.168.9.25 to join pool 192.168.9.24 due to The host joining the pool cannot contain an
y shared storage.
The host joining the pool cannot contain any shared storage.
at com.xensource.xenapi.Types.checkResponse(Types.java:1000)
at com.xensource.xenapi.Connection.dispatch(Connection.java:372)
at com.xensource.xenapi.Pool.join(Pool.java:1058)
at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.join(XenServerConnect
ionPool.java:782)
at com.cloud.hypervisor.xen.resource.XenServerConnectionPool.joinPool(XenServerCon
nectionPool.java:155)
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.addHostsToPool(XcpServe
rDiscoverer.java:399)
at com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscovere
r.java:204)
at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.ja
va:774)
at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:6
32)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:136)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:263)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:545)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:429)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:307)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

But I login to the 192.168.9.25 and manually mount the primary strage,it's fine.......
How can i solve the problem?


robin dun MEMBERS
5 0
Administrator
deployVirtualMachine API call error - Ambiguous Service Offering
Avatar

deployVirtualMachine API call error - Ambiguous Service Offering

I'm trying to program the deployment of VMs and am running into an issue with certain service offering / template combinations.

I'm specifying serviceofferingid, templateid and zoneid, since these are mandatory parameters to the deployVirtualMachine call, and I'm also specifying networkids since I have more than one isolated network and not doing so throws a different error.

Some combinations of serviceofferingid and templateid work OK, but some throw up an error:

{"deployvirtualmachineresponse":{"errorcode":499,"errortext":"Ambiguous Service Offering, found more than one product bundles that match SO: <id> and template: <id>"}}

I assume therefore that there is another optional parameter I need to specify for these combinations, but am at a loss to work out what it could be.

I've tried "over-specifying" the deployVirtualMachine call by specifying the hypervisor even though I think that's implied in the SO/template combination, but that throws the same error.

Any idea which other parameters might be at fault, or if there's something else wrong?

(If it makes any difference, I'm driving the API from Python using https://github.com/jasonhancock/cloudstack-python-client

using a call like:

cs.deployVirtualMachine({'serviceofferingid': SO_MEDIUM,
'templateid': T_ID,
'zoneid': Z_ID,
'networkids': N_ID,
'hypervisor': 'XenServer',
'ipaddress':'10.20.30.99',
'name':'server001'})

where SO_MEDIUM, T_ID, Z_ID and N_ID are Template, network and zone IDs determined from earlier listServiceOfferings, listTemplates, listZones and listNetworks calls)


mark oakden MEMBERS
5 0
 

Top Contributors