CloudPlatform 3.x

 
 
Administrator
Snapshots are not deleted according to the snapshot policy
Avatar

Snapshots are not deleted according to the snapshot policy

We configured CloudStack to take snapshots daily and delete all old snapshots to keep only the 2 most recent snapshots. But the old snapshots are not deleted.

From the log on Secondary Storage VM, we can see the CleanupSnapshotBackupCommand was sent to Secondary Storage VM and the Secondary Storage VM agent received this request.

2013-04-25 00:01:37,978 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:) Request:Seq 25-300817340: { Cmd , MgmtId: 153252621541, via: 25, Ver: v1, Flags: 100011, [{"CleanupSnapshotBackupCommand":{"secondaryStoragePoolURL":"nfs://172.18.30.12/export/secondary","dcId":1,"accountId":2,"volumeId":2422,"validBackupUUIDs":["/snapshots/1/2/2422/gitfraud01_DATA-2396_20130311171422","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130322114746","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130414110421","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130415110421","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130416110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130417110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130418110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130419110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130420110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130421110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130422110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130423110053","/snapshots/1/2/2422/gitfraud01_DATA-2396_20130424110406"],"wait":0}}] }

From the log of Secondary Storage VM, as shown below, it seems the command was successfully executed.

2013-04-25 00:01:37,978 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:) Processing command: com.cloud.agent.api.CleanupSnapshotBackupCommand
2013-04-25 00:01:37,979 DEBUG [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-4:) Executing: mount
2013-04-25 00:01:37,980 DEBUG [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-4:) Execution is successful.
2013-04-25 00:01:37,980 DEBUG [cloud.agent.Agent] (agentRequest-Handler-4:) Seq 25-300817340: { Ans: , MgmtId: 153252621541, via: 25, Ver: v1, Flags: 10, [{"Answer":{"result":true,"wait":0}}] }

However, the snapshots that are not listed in the validBackupUUIDs were not deleted.

In addition, the validBackupUUIDs were wrong as well. We configured to only keep the most recent 2 snapshots, but the validBackupUUIDs sent by CloudStack Manager also contain several old snapshots. But when we view the snapshots for that VM from CloudStack Web UI, it only shows the 2 most recent snapshots.

Anyone has seen this issue before? Any idea on what the causes are? How to fix it?


Lianping Chen MEMBERS 25 April 2013 - 11:56 AM
3 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 24 April 2013 - 06:16 AM
10 0
Administrator
Cloud platform 3.0.6 installation in RHEL 6.2 - SQL error
Avatar

Cloud platform 3.0.6 installation in RHEL 6.2 - SQL error

Hi Team,

when i tring to create the database as part clould platform installation , getting below error, please help me if you have come across this,

[root@od-]# cloud-setup-databases cloud:cisco123@172.20.126.85 --deploy-as=root:cisco123
Mysql user name:cloud [ OK ]
Mysql user password:cisco123 [ OK ]
Mysql server ip:172.20.126.85 [ OK ]
Mysql server port:3306 [ OK ]
Mysql root user name:root [ OK ]
Mysql root user password:cisco123 [ OK ]
Checking Cloud database files ... [ OK ]
Checking local machine hostname ... [ OK ]
Checking SELinux setup ... WARNING: We detected that your SELinux is not configured in permissive. to make sure cloudstack won't block by SELinux after system reboot, we strongly suggest you setting it in permissive in /etc/selinux/config, then reboot the machine.
[ OK ]
Detected local IP address as 172.20.126.85, will use as cluster management server node IP[ OK ]
Preparing /etc/cloud/management/db.properties [ OK ]
Applying /usr/share/cloud/setup/create-database.sql

We apologize for below error:
*************************************************************
Encountering an error when executing mysql script
----------------------------------------------------------------------
table:
/usr/share/cloud/setup/create-database.sql

Error:
ERROR 1045 (28000): Access denied for user 'root'@'od-t-cp01' (using password: YES)

Sql parameters:
{'passwd': 'cisco123', 'host': '172.20.126.85', 'user': 'root', 'port': 3306}
----------------------------------------------------------------------

*************************************************************
Please run:

cloud-setup-database -h

for full help
[root@od-t-]#


Suresh kannan MEMBERS 24 April 2013 - 02:07 AM
2 0
Administrator
How to define CIDR on Isolated network with NetScaler as LB?
Avatar

How to define CIDR on Isolated network with NetScaler as LB?

Running 3.0.6

Using "Advanced" networking with a network offering that uses a NetScaler as the load balancing provider.

When I add a guest network, at VM creation, in the UI, a random CIDR is defined. While this isn't ideal, I understand that it is expected behavior.

When I add a guest network, using the API, the "default" CIDR from the zone is defined and I am unable to launch VMs connected to the network, as "no ip address is available" (or something like that).

I would like to be able to create the network from the API and either define the CIDR at network creation or change it as a second step. If the second part is impossible, I can live with it, but I really need to be able to create Isolated networks, using the Netscaler offering, from ath API.

--Mike


Mike Little MEMBERS 22 April 2013 - 18:07 PM
2 0
Administrator
Xen hosts password change
Avatar

Xen hosts password change

Hi

I was trying to change the password for the Xen hosts and I was reading the "Changing Host Password" chapter from CloudPlatform 3.0.6 Administrator's Guide.

The command:

mysql> update cloud.host set password='password' where id...

fails as there is no "password" column in that table. I thought that's a typo and I tried to figure out which table would actually have this column and be related to the hosts but I'm lost.

Does anyone knows what I'm missing?

Thanks,

Daniel


Terry Whiffing MEMBERS 22 April 2013 - 15:00 PM
3 0
Administrator
Advanced Networking VLAN Issue
Avatar

Advanced Networking VLAN Issue

I want to achieve self-service portal with multiple divisions ( using 2 Accounts A1, A2 ) for creating VM with isolated network using VLAN

Each Account / Division gets a isolated network

My Cloud Environment

Xen Cluster with Advanced zone
CS 3.0.6

New Domain with Two accounts in it , where in I need Isolation of guest Network using VLAN

1 Physical Network

Guest Network details as attached

Created Guest Network from Infra > Zone > PhyNtw > Guest > Network tab > Add Guest Network

Attached the management error logs while creating VM using the shared network or isolated network

Let me know if I miss anything

Attached Files


Anoop Mohan MEMBERS 17 April 2013 - 06:58 AM
5 0
Administrator
CloudPlatform 3.0.6 System Capacity widget shows html tag in text label
Avatar

CloudPlatform 3.0.6 System Capacity widget shows html tag in text label

On the CCP 3.0.6 main dashboard screen, in the System Capacity widget the labels to the left of the dials are displaying the <br/> html tags in the text (see attached screenshot).

This is appears in IE,Chrome and Firefox browsers.


TARIQ IQBAL MEMBERS 16 April 2013 - 21:14 PM
1 0
Administrator
system vm and Consol proxy VMs
Avatar

system vm and Consol proxy VMs

Hi,

I have problems with SSVM and Consol Proxy VM, it status is starting for a long time at this time my vsphere is show me some task (plz show picture)
My log from manager server is here: https://issues.apache.org/jira/browse/CLOUDSTACK-2042

(Environment :VMware and rehhat6 and installation file for Cloudstack is http://jenkins.cloudstack.org/job/package-rhel63-4.1/)

Is any informations required for help to me?

Attached Files


sorina za MEMBERS 16 April 2013 - 08:18 AM
4 0
Administrator
research for vmware and non-oss cloudstack
Avatar

research for vmware and non-oss cloudstack

Hi Dear All

before I had used cloudstack 4 and install RPM package repository with this link: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/configure-package-repository.html#configure-package-repository-rpm, But when I wanted add VMware Cluster , it was failed.

therefore I search more and found 2 ways:
one way is said:

for supporting vmware we need using non-oss cloudstack . the link is : http://jenkins.cloudstack.org/view/4.0.1/job/build-4.0.1-nonoss-rhel63/

I just have a problem with this way : fail to start system VM and proxy VM . their status is starting yet!!!! why?

*the other way* is said:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Hypervisor+VMWare

I have a problem with deps folder. I dont have this directory in my manager server. I have installed cloudstack 4 from RPM package repository.

Please help me what way is correct and how solve problems in 2 ways!!!!

Thanks a lot


sorina za MEMBERS 15 April 2013 - 11:40 AM
1 0
Administrator
CloudPlatform 3.0.6: Add Instance sometimes fails in Chrome
Avatar

CloudPlatform 3.0.6: Add Instance sometimes fails in Chrome

Sometimes when adding an instance in CCP 3.0.6 using Chrome(Version 26.0.1410.64m), click the Launch VM button closes the wizard, but nothing else happens - no VM is created, nothing appears in the logs or on the Instance screen.

Enabling the Chrome debug reveals a response: 505 (HTTP Version Not Supported) when clicking Launch VM, here is the full debug when using the Add Instance wizard:

Uncaught TypeError: Cannot read property '0' of undefined instances.js:1018
cloudStack.sections.instances.listView.detailView.tabs.details.preFilter instances.js:1018
makeFieldContent detailView.js:761
dataProvider.response.success detailView.js:993
$.ajax.success instances.js:1118
deferred.resolveWith jquery.js:995
done jquery.js:7128
callback jquery.js:7907
*GET http://pre-srvcloudplat01.ascenty.local:8080/client/api?command=deployVirtu…es&response=json&sessionkey=OSOsAsu1nKqK9KxmUKemEsJIUwk%3D&_=1366018626110 505 (HTTP Version Not Supported) jquery.js:7829*
send jquery.js:7829
jQuery.extend.ajax jquery.js:7307
cloudStack.instanceWizard.action instanceWizard.js:666
completeAction instanceWizard.js:41
showStep instanceWizard.js:731
(anonymous function) instanceWizard.js:856
jQuery.event.handle jquery.js:2926
elemData.handle.eventHandle jquery.js:2561
2
Uncaught TypeError: Cannot read property '0' of undefined instances.js:1018
cloudStack.sections.instances.listView.detailView.tabs.details.preFilter instances.js:1018
makeFieldContent detailView.js:761
dataProvider.response.success detailView.js:993
$.ajax.success instances.js:1118
deferred.resolveWith jquery.js:995
done jquery.js:7128
callback jquery.js:7907

Regards


TARIQ IQBAL MEMBERS 15 April 2013 - 11:03 AM
1 0
Administrator
CloudPlatform 3.0.6 ISOs listing continuously on ISO screen
Avatar

CloudPlatform 3.0.6 ISOs listing continuously on ISO screen

In CCP 3.0.6 when scrolling the Templates > ISO screen the last two ISO files repeat continuously as you scroll down the screen (see attached screenshot). The repeating ISO files have the same ID value. The CCP database contains only a single entry for each of these ISO files, so the problem appears to be with GUI.


TARIQ IQBAL MEMBERS 13 April 2013 - 11:23 AM
3 0
Administrator
Link to CloudInstanceManager.msi in documentation is broken
Avatar

Link to CloudInstanceManager.msi in documentation is broken

The link to the Windows password management installer (CloudInstanceManager.msi) in section 13.13.2 of the CCP3.0.6 admin guide is broken.

What is the location for this installer?


TARIQ IQBAL MEMBERS 11 April 2013 - 13:01 PM
2 0
Administrator
Problem with Secondary Storage
Avatar

Problem with Secondary Storage

I’ve run into a problem on a new cloud I’m building.

I am running CloudStack 3.02 in a test environment.
I am also running Xenserver 6.02 as well, and Centos 6.3
On the Controller admin unit and the NFS secondary storage
Unit.

I ran into an issue with secondary storage.

I get the following messages on the cloud-management log.

2013-04-09 12:09:44,180 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null
2013-04-09 12:09:49,498 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet
2013-04-09 12:09:49,617 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is not ready to launch console proxy yet
2013-04-09 12:09:50,287 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2013-04-09 12:09:44,180 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null
2013-04-09 12:09:49,498 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet
2013-04-09 12:09:49,617 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is not ready to launch console proxy yet
2013-04-09 12:09:50,287 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2013-04-09 12:09:44,180 DEBUG [cloud.vm.VirtualMachineManagerImpl] (StatsCollector-2:null) Cleanup succeeded. Details null
2013-04-09 12:09:49,498 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet
2013-04-09 12:09:49,617 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is not ready to launch console proxy yet
2013-04-09 12:09:50,287 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.

I can ping the secondary storage from the controller and the hypervisors.

The Storage VM is running (according to CloudStack).

Suggestions?

Warren


Warren Nicholson MEMBERS 09 April 2013 - 20:20 PM
1 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 03 April 2013 - 08:47 AM
7 0
Administrator
CloudStack Production Problem
Avatar

CloudStack Production Problem

We have a CloudStack/Xenserver cloud in production.

We have a Xenserver HV2 (we have 3) is marked as DOWN in CloudStack (V3.02).

The VM's on HV2 are still running fine, and are accessible via the public network.

Force reconnect apparently does not force the unit back into the UP state.
How long does one typically have to wait to see if force reconnect is going
to work?

Is my next step to attempt to put HV2 into maintenance mode?

warren.nicholson@nfinausa.com


Warren Nicholson MEMBERS 19 March 2013 - 15:46 PM
3 0
Administrator
CloudPlatform API
Avatar

CloudPlatform API

Hi

I'm trying the service provided by ScaleXtreme and I was able to configure my lab cloud environment using the API URL, the API key and the secret key. I was able to see the default CentOS 5 template but when I tried to deploy a VM from it I've got an error related to the network.
There is a way to enable API logs or to increase the verbosity? I found an api-server.log file in /var/log/cloud/management but the last record in that file is from January. The management-server.log doesn't show up much either.

Any idea would be highly appreciated. Thanks,

Daniel


Terry Whiffing MEMBERS 19 March 2013 - 15:20 PM
1 0
Administrator
Direct IPs full even after destroying VM, help!
Avatar

Direct IPs full even after destroying VM, help!

Hello,

Iam a newby and installed cloudstack recently.

I have a problem, my ip range for the VM are were 5 but they are full even after destroying the virtual machines.
How can i access these ip and delete the adresses that are not in used anymore?

Thanks in advance!

Akbar

*See attachment for printscreen

Attached Files


hallo hallo MEMBERS 18 March 2013 - 12:46 PM
2 0
Administrator
Question on Cloudstack with Vsphere and Rightscale
Avatar

Question on Cloudstack with Vsphere and Rightscale

Hi All -
I have a couple of questions, any help would be highly appreciated !
1) I have a well established VMware environment (Means- its been there for a couple of years and running many prod servers and we manage them using vcenter). Now, if I want to implement cloudstack on top of this and manage the provisioning and tenancy, will it create conflicts with Vcenter based (future) change management? Will cloudstack track vcenter based changes (and vice versa)?
2) I would like to integrate Rightscale with my infra for hybrid cloud feature. I heard that Rightscale cannot manage Vmware directly. Have you seen any integration issues /challenges between Rightscale and Cloudstack (with underlying Vmware)?
Is it s better idea to create a new environment with Vmware,cloudstack and rightscale to have the hybrid feature without touching the existing vsphere prod environment?
Thanks Sree.


Sreejith Gireesan MEMBERS 12 March 2013 - 10:06 AM
4 0
Administrator
secondary storage problem! HELP!
Avatar

secondary storage problem! HELP!

Hi ALL;
log have the information:
There is no secondary storage VM for secondary storage host nfs://192.168.1.10/home/secondary
and the ssvm state is running

I test mount -t nfs 192.168.1.10:/home/secondary/ /mnt/secondary on my xenserver(192.168.1.11) successed

I login to the ssvm(192.168.1.101) ping 192.168.1.10 success
test mount -t nfs 192.168.1.10:/home/secondary/ /mnt/secondary return :
mount.nfs: mount system call failed

what's the problem is?

I found similar situation in google search

[#CS-13988] SSVM wrong route entry for secondary storage
but I can't access the bug page.
I have turn off both the mangement server and ssvm 's iptables

Edited by: kesai302 on 2013-3-6 ??9:59


penghao cai MEMBERS 06 March 2013 - 10:22 AM
2 0
Administrator
Monitoring RouterVMs
Avatar

Monitoring RouterVMs

Greetings,

Setting up some monitoring for router vms.

Wondering how folks were checking services on router VMs?

For the first pass I am doing basic ping checks withe nagios to the make sure the device is up. What else should I be checking?

Feel free to point me at other docs, threads, posts etc.


Dean Tizzard MEMBERS 04 March 2013 - 21:24 PM
1 0
Administrator
Help Again---for Xenserver problem
Avatar

Help Again---for Xenserver problem

Hi everyone.
When i switch to Kvm, I can start the 2 system vms. but can't in the xenserver 6.0.2 + E013.
I have searched on the website there have a bug the description is very similar with me
but I can read the bug. bug number is #CS-17247.

when I visit the bugs.cloudstack.org show below information
:
This Jira instance has been migrated to bugs-ccp.citrix.com
:

Can everyone helpme? show me the bug information and how to resolve it
I use search on google :
System VM is loading without IP (including Link Local IP) on XenServer 6.0.2 find this bug

Thanks for all your help


penghao cai MEMBERS 04 March 2013 - 13:25 PM
2 0
Administrator
Main volume was not mounted to system during installation from Xent CP ISO
Avatar

Main volume was not mounted to system during installation from Xent CP ISO

I installed XCP 1.6 from http://downloads.xen.org/XCP/61809c/XCP-1.6-61809c.iso with default values
Here is voume configuration I got after installation

LABEL=root-vsdwquws / ext3 defaults 1 1
/var/swap/swap.001 swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
[root@xenserver1 ~]# lvm
lvm> pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 XSLocalEXT-23991b91-bb1c-37a5-ff69-3a46d04bd4a7 lvm2 a- 103.78G 0
/dev/sdb VG_XenStorage-546457c3-b4b0-03ca-a0a4-465bc1e34fb9 lvm2 a- 1.82T 1.52T
/dev/sdc VG_XenStorage-546457c3-b4b0-03ca-a0a4-465bc1e34fb9 lvm2 a- 1.82T 1.82T
lvm> quit
Exiting.
[root@xenserver1 ~]# lvm pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 XSLocalEXT-23991b91-bb1c-37a5-ff69-3a46d04bd4a7 lvm2 a- 103.78G 0
/dev/sdb VG_XenStorage-546457c3-b4b0-03ca-a0a4-465bc1e34fb9 lvm2 a- 1.82T 1.52T
/dev/sdc VG_XenStorage-546457c3-b4b0-03ca-a0a4-465bc1e34fb9 lvm2 a- 1.82T 1.82T
[root@xenserver1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 4.0G 1.8G 2.0G 48% /
none 373M 48K 373M 1% /dev/shm
//192.168.2.219/iso 732G 463G 270G 64% /var/run/sr-mount/7197a6fa-46da-e73e-343f-57c41e2ae54a
[root@xenserver1 ~]# cat /etc/fstab
LABEL=root-vsdwquws / ext3 defaults 1 1
/var/swap/swap.001 swap swap defaults 0 0
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0

Tell me why section XSLocalEXT-23991b91-bb1c-37a5-ff69-3a46d04bd4a7 not mounted in /


Volodymyr Kotulskyi MEMBERS 01 March 2013 - 10:51 AM
0 0
Administrator
HELP cant access cloudstack interface, mysql error.
Avatar

HELP cant access cloudstack interface, mysql error.

Hello everyone, iam a newby with cloudstack.

I want to access mine cloudstack interface with my password and admin username. But everytime i get an error with invalid username and password. My cloud-management is running and so does my mysql.

Is there any manner to change my password of the cloudstack interface within the server that im running?

Iam trying: root@virt09:~# cloud-setup-databases cloud:abbas123@localhost --deploy-as=root:hallo

This is the result:
Mysql user name:cloud [ OK ]
Mysql user password:abbas123 [ OK ]
Mysql server ip:localhost [ OK ]
Mysql server port:3306 [ OK ]
Mysql root user name:root [ OK ]
Mysql root user password:hallo [ OK ]
Checking Cloud database files ... [ OK ]
Checking local machine hostname ... [ OK ]
Checking SELinux setup ... [ OK ]
Detected local IP address as 169.254.0.1, will use as cluster management server node IP[ OK ]
Preparing /etc/cloud/management/db.properties [ OK ]
Applying /usr/share/cloud/setup/create-database.sql

We apologize for below error:
*************************************************************
Encountering an error when executing mysql script
----------------------------------------------------------------------
table:
/usr/share/cloud/setup/create-database.sql

Error:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Thanks for advance!!


hallo hallo MEMBERS 28 February 2013 - 12:35 PM
3 0
Administrator
Primary Storage with FC on a Pool
Avatar

Primary Storage with FC on a Pool

Hi Team,

We have some legacy hardware and we are about to use it to start testing the cloud platform as a proof of concept.

Basically, we have a spare EMC array, a couple of FC Switches and two old servers with their respective HBAs connected to the EMC array. All of this was part of an old two-node failover SQL Server Cluster. Servers are VT enabled and are in general fine for just testing.

I have read the installation manual and, for the moment, prior to installing, we have a question with regards of the FC storage; and the order of installation in case of XenServer hosts usage.

As per the guide (7.8 "Primary Storage Setup for XenServer") FiberChannel must be confiogured separately and Primary Storage should be added later.

Which is the proper order to add XenServer hosts and FC shared storage amongst these hosts?.

Is the XenServer pool created when the first host joins a cluster (first one being the pool master).?.

I understand that the full process is:

1. Install Xenserver hypervisors (Chapter 7)
2. Add XenServer hypervisors to the CloudPlatform Cluster (Cluster<Pod<Zone)
3. Configure FC on the XenServer host pool master.
4. Configure FC Storage (PreSetup, Chapter 6.6).

Thanks!.


Javier Santiago MEMBERS 27 February 2013 - 16:33 PM
4 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 26 February 2013 - 07:37 AM
16 0
Administrator
Bizzare Networking with VMWare
Avatar

Bizzare Networking with VMWare

Hello All,

I seem to be banging my head against a wall with the way Cloud Platform deals with networking, so I'm hoping you lovely people can help me shed some light on the issues?

I am trying to add vCentre to my cloud platform installation and am using the Advanced Networking options when I add my zone. However, the vSwitch configuration doesn't seem to make sense. Before going into the issue, it may help that I run through my configuration:

Required Networks:

Public:
This is basically my DMZ for all clients (their virtual routers will recieve an IP on this network)

IP Range: 192.168.10.191 to 192.168.10.250
Default Gateway: 192.168.10.254 (currently a Cisco Device)
vlan: 13
VMWare Tag: vSwitch0

Private - Management
I believe this is used for CloudPlatform management tasks.

IP Range: 192.168.15.191 to 192.168.15.250
Default Gateway: 192.168.15.254 (currently a Cisco Device)
vlan: 815
VMWare Tag: vSwitch1

I also have a Netapp vfiler that has exported my secondary storage.

Private - Guest Traffic
This will be the guest network switch.

vlan Range: 500 to 900
VMWare Tag: vswitch0

Management Server:
I have my management server that is has two NICS, one is in both the management and public networks (this in in seperate PortGroups on a dedicated vswitch).

The Issue:

So this is all well and good. At the moment, I can ping between my Management and Public vlans (bear in mind this is a lab) from my Management Server.

So when I add the zone, pod, cluster and storage the process starts to build my System VMs. The first steps to this will create me the following PortGroups:

cloud.public.13.0.1-vSwitch0
cloud.private.untagged.0.1-vSwtich0
cloud.storage.untagged.0.1-vSwitch1
cloud.private.untagged.0.1-vSiwtch1

The ones that are in italic do not have a vlan tag. This is causing the management server to loose touch with the system VMs. If I manually tag the port group or reconnect my management server/VMs to a port group with the correct tags, it all works.

So here is my question, am I setting everything up correctly, and this is just how cloudstack does it?

Is there a way I can force my portgroup for Management/Storage to use a dedicated vlan (815 in this case)?

Thanks

Paul


Paul Sanders MEMBERS 20 February 2013 - 14:15 PM
2 0
Administrator
Primary Storage stuck at PrepareForMaintenance
Avatar

Primary Storage stuck at PrepareForMaintenance

Hello All,

I am having an issue with my Cloud Platform Storage. My hyper-visor is vmware and I have the storage added as vmfs.

Due to me getting some configuration settings wrong, which has caused issues with deploying my system VMs. So to resolve this, I am trying to put my primary storage in maintenance so my vms go into a stopped state so I can remove them. I was able to start the process, but it hasn't changed for the last hour or so. When I check the status I see:

PrepareForMaintenance

When I try to cancel maintenance mode I can see Storage Unreachable due to status: PrepareForMaintence.

Is there any way I can force this out of maintenance mode so I can kick of the rebuild for my system vms?

My management-server.log shows the following:

2013-02-19 09:11:24,170 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-7:job-14) Complete async job-14, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Resource [StoragePool:203] is unreachable: Primary storage with id 203 is not ready to complete migration, as the status is:PrepareForMaintenance
com.cloud.utils.exception.CloudRuntimeException: Resource [StoragePool:203] is unreachable: Primary storage with id 203 is not ready to complete migration, as the status is:PrepareForMaintenance
2013-02-19 09:20:02,955 DEBUG

Thanks

Paul

Edited by: Paul Sanders on Feb 19, 2013 6:18 AM


Paul Sanders MEMBERS 19 February 2013 - 09:21 AM
5 0
Administrator
CloudPlatform 3.0.5 SSVM DNS doesn't work in Xenserver Bridge Mode
Avatar

CloudPlatform 3.0.5 SSVM DNS doesn't work in Xenserver Bridge Mode

Hello,

I am running Cloudplatform 3.0.5 with Xenserver 6.0.2 and I've setup a zone with basic networking with security groups. In the install guide it states that you must switch Xenserver to bridged networking mode if you are using basic networking. However, when my Xenserver host is using bridge mode, my Secondary Storage VM cannot resolve any DNS, despite the fact that it can ping outside IPs. This makes Cloudplatform unable to download templates.

Is this normal behavior (which isn't documented), or if not why would bridge mode stop the SSVM from being able to pull DNS records from nameservers despite the SSVM being able to ping those nameservers.

I tried this several times and even destroyed the SSVM and rebooted the management server in between, and I always got the same results. Here's what I got after running the ssvm-check.sh script:

When Xenserver 6.0.2 HV is in bridge mode:

root@s-5-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 204.8.176.71
PING 204.8.176.71 (204.8.176.71): 56 data bytes
64 bytes from 204.8.176.71: icmp_seq=0 ttl=64 time=3.451 ms
64 bytes from 204.8.176.71: icmp_seq=1 ttl=64 time=0.452 ms
--- 204.8.176.71 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.452/1.952/3.451/1.500 ms
Good: Can ping DNS server
================================================
ERROR: DNS not resolving download.cloud.com
resolv.conf follows
nameserver 204.8.176.71
nameserver 204.8.176.72
nameserver 204.8.180.41
nameserver 204.8.180.42

When Xenserver 6.0.2 is in vswitch mode:

root@s-5-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 204.8.176.71
PING 204.8.176.71 (204.8.176.71): 56 data bytes
64 bytes from 204.8.176.71: icmp_seq=0 ttl=64 time=0.730 ms
64 bytes from 204.8.176.71: icmp_seq=1 ttl=64 time=0.501 ms
--- 204.8.176.71 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.501/0.615/0.730/0.115 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
NFS is currently mounted
Mount point is /mnt/SecStorage/3a13a1bb-dfc4-3948-92c6-0fa1d1dce25f
Good: Can write to mount point
================================================
Management server is 204.8.176.70. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.


Peter Valadez MEMBERS 16 February 2013 - 00:39 AM
3 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 14 February 2013 - 14:03 PM
11 0
Administrator
CloudPlatform installation missing install.sh
Avatar

CloudPlatform installation missing install.sh

Hello,

I'm trying to install CloudPlatform. To do so I've downloaded the tar gz archive from CloudPlatform trial. It is called CloudStack-3.0.6-1-rhel6.2.tar.gz (md5sum 8768763fce0c91747a1ecb4fa51dfff2). Then I follow the TrialInstallGuide.pdf. It says that an install.sh script is to be found in the archive. I only have a folder with 4 RPMs. And they require dependencies to cloud-utils and cloud-deps which I don't have.
And the tar.gz file seems to be corrupted as I get errors when decompressing it.
Is anyone facing the same issue ?

Youri,


Youri Bonnaffé MEMBERS 14 February 2013 - 08:28 AM
5 0

Top Contributors