Re: VPC支持Security group吗?是如何支持的?

2013-11-23 Thread Du Jun
Security group不行吗?


在 13-11-22,Wei ZHOUustcweiz...@gmail.com 写道:
 VPC是高级网络的功能,可以用FIREWALL来隔离

 2013/11/22, Du Jun dj199...@gmail.com:
 Hi all,
 cloudstack的VPC支持Security group吗?是如何支持的?


 谢谢!
 DuJun




为虚拟机绑定磁盘是失败,失败原因“Duplicate ID 'virtio-disk1' for device”

2013-11-23 Thread Du Jun
Hi all,
我在为虚拟机绑定磁盘的时候碰到了一个问题,log信息如下:
 2013-11-23 18:04:03,155 DEBUG [cloud.async.AsyncJobManagerImpl]
(Job-Executor-57:job-81 = [ 260b8d64-570d-4469-92c6-f27d887955b0 ])
Complete async job-81 = [ 260b8d64-570d-4469-92c6-f27d887955b0 ],
jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Failed to attach volume: volume-a4903396-ca1b-48a9-838d-e82dbd190932
to VM: basic-inception-vm; org.libvirt.LibvirtException: internal
error unable to execute QEMU command 'device_add': Duplicate ID
'virtio-disk1' for device
提示信息说:“Duplicate ID 'virtio-disk1' for
device”,我就迷惑了,数据磁盘在我的主存储里面是独一无二的呀,求解释,求说明!谢谢!


Best regards,
DuJun


stop虚拟机产生的严重的后果

2013-11-23 Thread Du Jun
Hi all,
我用ubuntu 
12.04的ISO起了一个虚拟机,发现stop虚拟机后再重启,会进入重新安装界面。就是说一旦虚拟机关闭,硬盘上的一切数据都会丢失。如果真是这样,那太恐怖了!不知道我的理解对不对?求指点,谢谢!



DuJun


??????stop??????????????????????

2013-11-23 Thread ????
ISO




--  --
??: Du Jun;dj199...@gmail.com;
: 2013??11??23??(??) 8:19
??: users-cnusers-cn@cloudstack.apache.org; 

: stop??



Hi all,
ubuntu 
12.04??ISOstop!



DuJun

回复: stop虚拟机产生的严重的后果

2013-11-23 Thread lanv_11
 默认从光驱启动,你把iso卸载,再重启就起系统了




Steelen Lan

发件人: Du Jun
发送时间: 2013-11-23 20:19
收件人: users-cn
主题: stop虚拟机产生的严重的后果
Hi all,
我用ubuntu 
12.04的ISO起了一个虚拟机,发现stop虚拟机后再重启,会进入重新安装界面。就是说一旦虚拟机关闭,硬盘上的一切数据都会丢失。如果真是这样,那太恐怖了!不知道我的理解对不对?求指点,谢谢!



DuJun

Re: Multiple Hypervisor in a zone - SystemVM

2013-11-23 Thread Tim Mackey
In my experience, letting system vms float between hypervisor led to
problems.  I force mine to one hypervisor using the parameter you found.
Iirc, the valid values are identical to the hypervisor types listed under
global config- hypervisor settings, and for me was XenServer
On Nov 23, 2013 9:37 AM, Abu Bashiri abu.bashiri...@gmail.com wrote:

 Hey all,



 my secstorage is currently seeded with the KVM SystemVMTemplate.



 Lets assume I want to use XCP as well, what is the right way to make sure
 the system VM can also run on XCP?



 Can I just upload the XCP SystemVM Template in the GUI?



 I also found the global parameter System.VM.default.hypervisor but there
 are
 no valid values specified. Does anyone not what are valid values? KVM? XCP?



 Thx!




RE: Multiple Hypervisor in a zone - SystemVM

2013-11-23 Thread Abu Bashiri
Thx Tim,

what you issues found if the SystemVM can float between the hypervisors?

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com] 
Sent: Samstag, 23. November 2013 09:55
To: users@cloudstack.apache.org
Subject: Re: Multiple Hypervisor in a zone - SystemVM

In my experience, letting system vms float between hypervisor led to
problems.  I force mine to one hypervisor using the parameter you found.
Iirc, the valid values are identical to the hypervisor types listed under
global config- hypervisor settings, and for me was XenServer On Nov 23,
2013 9:37 AM, Abu Bashiri abu.bashiri...@gmail.com wrote:

 Hey all,



 my secstorage is currently seeded with the KVM SystemVMTemplate.



 Lets assume I want to use XCP as well, what is the right way to make 
 sure the system VM can also run on XCP?



 Can I just upload the XCP SystemVM Template in the GUI?



 I also found the global parameter System.VM.default.hypervisor but 
 there are no valid values specified. Does anyone not what are valid 
 values? KVM? XCP?



 Thx!





Re: CS 4.2 + VMware - Dynamic VM scaling problems

2013-11-23 Thread David Nalley
On Fri, Nov 22, 2013 at 3:47 AM, Gaspare A. Silvestri
g.silves...@netsons.com wrote:
 Hi all,

 I'm currently on a CS 4.2 + VMware vSphere 5.1 infrastructure, and I'm
 having issues with the dynamic resource scaling for Linux virtual
 machines; all the Linux templates are based on 64bit operatins systems.

 All the CS parameters are correct (enable.dynamic.scale.vm and
 scale.retry are configured), the template have been generated by
 enabling the required flag (Dynamically Scalable), and on vSphere I can
 see activated both the options for CPU and RAM hot plug; anyway, I'm not
 able to expand the resources on both CS and VMware sides if the virtual
 machine is up and running.

 I have no problems when working with Windows Server templates, for which
 I'm able to expand resource when the machine is powered on.

 Any suggest / help / idea?

 Thanks in advance,

 Gaspare

What is the distro and version of Linux?

Does the underlying operating system support CPU/memory hotplug?

Can you dynamically scale a VM just using vSphere 5.1?

--David


[Doc] Validation Issue in Release Notes

2013-11-23 Thread Radhika Puthiyetath
Hi,

Sorry for cross-posting.

While validating the Release Notes by using publican,  there is a validity 
issue which I am not able to resolve.

The command used is:


Publican build -format=test -langs=en-us -config=publican.cfg.


The error I am getting is the following:

Release_Notes.xml:3509: validity error : Element listitem content does not 
follow the DTD, expecting
(calloutlist | glosslist | bibliolist | itemizedlist | orderedlist | 
segmentedlist | simplelist | v
ariablelist | caution | important | note | tip | warning | literallayout | 
programlisting | programl
istingco | screen | screenco | screenshot | synopsis | cmdsynopsis | 
funcsynopsis | classsynopsis |
fieldsynopsis | constructorsynopsis | destructorsynopsis | methodsynopsis | 
formalpara | para | simp
ara | address | blockquote | graphic | graphicco | mediaobject | mediaobjectco 
| informalequation |
informalexample | informalfigure | informaltable | equation | example | figure 
| table | msgset | pr
ocedure | sidebar | qandaset | task | anchor | bridgehead | remark | highlights 
| abstract | authorb
lurb | epigraph | indexterm | beginpage)+, got (para programlisting CDATA)

The issue is that the CDATA cannot be located in the file. If it is removed, we 
can successfully build the file. The issue persists on both Master and 4.2

Thanks in advance

-Radhika


stop VM and lost everything

2013-11-23 Thread Du Jun
Hi all,
I booted a VM via ISO and then stoped it.When I start it again and I
found myself in front of VM OS reinstalling.That means,when I stop a
VM booting via ISO,I will lose anything in the disk.It's too awful! Is
my understanding correct?If so,is the root-disk of VM ephemeral?

-
Thank you!


Re: stop VM and lost everything

2013-11-23 Thread Sean Hamilton
Did you un mount the ISO before stopping/starting your instance? Sounds like 
it's just trying to reinstall because your instance is booting from the ISO 
install media. 

 On 23 Nov 2013, at 12:28, Du Jun dj199...@gmail.com wrote:
 
 Hi all,
 I booted a VM via ISO and then stoped it.When I start it again and I
 found myself in front of VM OS reinstalling.That means,when I stop a
 VM booting via ISO,I will lose anything in the disk.It's too awful! Is
 my understanding correct?If so,is the root-disk of VM ephemeral?
 
 -
 Thank you!


Re: stop VM and lost everything

2013-11-23 Thread Du Jun
Hi Hamilton,
I think you are right!

But how can I prevent it reinstalling?I need to unmount ISO install
media and don't want to reinstall because there are a lot of important
informations in my VM.

Would you please tell me how to prevent things from bad to worse?Many thanks!

-
Best regards,
Frank

2013/11/23, Sean Hamilton s...@seanhamilton.co.uk:
 Did you un mount the ISO before stopping/starting your instance? Sounds like
 it's just trying to reinstall because your instance is booting from the ISO
 install media.

 On 23 Nov 2013, at 12:28, Du Jun dj199...@gmail.com wrote:

 Hi all,
 I booted a VM via ISO and then stoped it.When I start it again and I
 found myself in front of VM OS reinstalling.That means,when I stop a
 VM booting via ISO,I will lose anything in the disk.It's too awful! Is
 my understanding correct?If so,is the root-disk of VM ephemeral?

 -
 Thank you!



Re: stop VM and lost everything

2013-11-23 Thread Du Jun
Hi Hamilton,
Now I can't access my VM via ssh,so I am unable to control my
vm.Please tell me how to unmount VM's ISO install media in my host?


Best regards,
Frank

2013/11/23, Du Jun dj199...@gmail.com:
 Hi Hamilton,
 I think you are right!

 But how can I prevent it reinstalling?I need to unmount ISO install
 media and don't want to reinstall because there are a lot of important
 informations in my VM.

 Would you please tell me how to prevent things from bad to worse?Many
 thanks!

 -
 Best regards,
 Frank

 2013/11/23, Sean Hamilton s...@seanhamilton.co.uk:
 Did you un mount the ISO before stopping/starting your instance? Sounds
 like
 it's just trying to reinstall because your instance is booting from the
 ISO
 install media.

 On 23 Nov 2013, at 12:28, Du Jun dj199...@gmail.com wrote:

 Hi all,
 I booted a VM via ISO and then stoped it.When I start it again and I
 found myself in front of VM OS reinstalling.That means,when I stop a
 VM booting via ISO,I will lose anything in the disk.It's too awful! Is
 my understanding correct?If so,is the root-disk of VM ephemeral?

 -
 Thank you!




Re: Deploy Template Error READ TIMEOUT

2013-11-23 Thread Steve Searles
Any help would be greatly appreciated. I'm kinda dead in the water here guys 
trying to do anything other than deploy a small template. Should I ask this on 
the dev list?

Sent from my iPhone

 On Nov 22, 2013, at 2:48 PM, Steve Searles ssear...@zimcom.net wrote:
 
 Any ideas anyone?
 
 Steve Searles
 
 
 On Nov 21, 2013, at 6:02 PM, Steve Searles 
 ssear...@zimcom.netmailto:ssear...@zimcom.net wrote:
 
 I found this open issue for 4.2.1.  It seems to be effecting my 4.2 install 
 as well.
 
 https://issues.apache.org/jira/browse/CLOUDSTACK-5014
 
 I am seeing this issue as well.  It seems that the timeout occurs on any copy 
 from secondary storage that exceeds 10 Minutes on vmware 5.1. This seems to 
 affect only templates and images that are large enough not to be copied from 
 secondary storage in that window.  Small templates like the included CentOS 
 and some home-brew micro ubuntu templates work fine.  I was unable to locate 
 any global setting that is set to 10 minutes, the closest thing I could find 
 was secstorage.cmd.execution.time.max which I set to 240 minutes in my 
 environment.  I was able to mitigate some of this by using Fibrechannel as 
 the target, it seemed like my template size was then limited what my 1GBE on 
 secondary storage could transfer in 10 minutes. The deploy fails in CS but 
 the Clone VM operation continues to run on the vmware side and does 
 eventually complete leaving me with an orphaned ROOT-XXX vm on the vmware 
 side.  It seems that the solution would be to set that hard timeout to a 
 value greater than 10 minutes but I can not locate it anywhere. The 
 timestamps seem to be the smoking gun.  Any suggestions would be appreciated.
 
 
 Begin Template Deploy
 
 172.23.12.79
 userdata,user-data
 none
 metadata,service-offering
 Micro Instance
 metadata,availability-zone
 US_EAST_LEB_Z01
 metadata,local-ipv4
 172.23.12.79
 metadata,local-hostname
 MSWOAP200106
 metadata,public-ipv4
 209.212.253.138
 metadata,public-hostname
 209.212.253.138
 metadata,instance-id
 bcb8fd42-5fe9-46be-b77f-13daebfd9c35
 metadata,vm-id
 bcb8fd42-5fe9-46be-b77f-13daebfd9c35
 metadata,public-keys
 none
 metadata,cloud-identifier
 CloudStack-{bc067003-923b-453e-ad37-5e06c2670966}
 
 2013-11-21 15:41:14,957 INFO  [vmware.resource.VmwareResource] 
 (DirectAgent-8:esx01.lab.zimcom.nethttp://esx01.lab.zimcom.net) vm_data 
 command on domain router 172.23.5.119 completed
 2013-11-21 15:41:14,958 DEBUG [agent.manager.DirectAgentAttache] 
 (DirectAgent-8:null) Seq 15-1363607559: Response Received:
 2013-11-21 15:41:14,958 DEBUG [agent.transport.Request] (DirectAgent-8:null) 
 Seq 15-1363607559: Processing:  { Ans: , MgmtId: 345049822399, via: 15, Ver: 
 v1, Flags: 110, 
 [{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:true,wait:0}}]
  }
 2013-11-21 15:41:14,958 DEBUG [agent.manager.AgentAttache] 
 (DirectAgent-8:null) Seq 15-1363607559: No more commands found
 2013-11-21 15:41:14,958 DEBUG [agent.transport.Request] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) Seq 
 15-1363607559: Received:  { Ans: , MgmtId: 345049822399, via: 15, Ver: v1, 
 Flags: 110, { Answer, Answer } }
 2013-11-21 15:41:14,960 DEBUG [cloud.network.NetworkModelImpl] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) Service 
 SecurityGroup is not supported in the network id=215
 2013-11-21 15:41:14,962 DEBUG [cloud.storage.VolumeManagerImpl] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) Checking 
 if we need to prepare 1 volumes for VM[User|MSWOAP200106]
 2013-11-21 15:41:14,988 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) template 
 255 is already in store:1, type:Image
 2013-11-21 15:41:15,001 DEBUG [storage.image.TemplateDataFactoryImpl] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) template 
 255 is already in store:2, type:Primary
 2013-11-21 15:41:15,038 DEBUG [storage.motion.AncientDataMotionStrategy] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) copyAsync 
 inspecting src type TEMPLATE copyAsync inspecting dest type VOLUME
 2013-11-21 15:41:15,056 DEBUG [agent.transport.Request] 
 (Job-Executor-1:job-652 = [ 9bad7d26-5de2-4d97-85de-1241cc28fc16 ]) Seq 
 15-1363607560: Sending  { Cmd , MgmtId: 345049822399, via: 15, Ver: v1, 
 Flags: 100111, 
 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.cloudstack.storage.to.TemplateObjectTO:{path:9c1b905e33d59385333fed5c973d
 
 
 --- End Exception---
 
 2013-11-21 15:51:15,228 ERROR [storage.resource.VmwareStorageProcessor] 
 (DirectAgent-11:esx01.lab.zimcom.nethttp://esx01.lab.zimcom.net) clone 
 volume from base image failed due to Exception: 
 javax.xml.ws.WebServiceException
 Message: java.net.SocketTimeoutException: Read timed out
 
 javax.xml.ws.WebServiceException: java.net.SocketTimeoutException: Read timed 
 out
   

Re: stop VM and lost everything

2013-11-23 Thread Sean Hamilton
You should be able to view the console of your instance through the cloudstack 
UI. This should let you see what's happening on it.

 On 23 Nov 2013, at 13:11, Du Jun dj199...@gmail.com wrote:
 
 Hi Hamilton,
 Now I can't access my VM via ssh,so I am unable to control my
 vm.Please tell me how to unmount VM's ISO install media in my host?
 
 
 Best regards,
 Frank
 
 2013/11/23, Du Jun dj199...@gmail.com:
 Hi Hamilton,
 I think you are right!
 
 But how can I prevent it reinstalling?I need to unmount ISO install
 media and don't want to reinstall because there are a lot of important
 informations in my VM.
 
 Would you please tell me how to prevent things from bad to worse?Many
 thanks!
 
 -
 Best regards,
 Frank
 
 2013/11/23, Sean Hamilton s...@seanhamilton.co.uk:
 Did you un mount the ISO before stopping/starting your instance? Sounds
 like
 it's just trying to reinstall because your instance is booting from the
 ISO
 install media.
 
 On 23 Nov 2013, at 12:28, Du Jun dj199...@gmail.com wrote:
 
 Hi all,
 I booted a VM via ISO and then stoped it.When I start it again and I
 found myself in front of VM OS reinstalling.That means,when I stop a
 VM booting via ISO,I will lose anything in the disk.It's too awful! Is
 my understanding correct?If so,is the root-disk of VM ephemeral?
 
 -
 Thank you!
 


Re: CS 4.2 + VMware - Dynamic VM scaling problems

2013-11-23 Thread Gaspare A. Silvestri
Hi David,

thank you for your support. The distros are different (CentOS 6.4,
Ubuntu 12...), all the OS are 64bit versions.

If I try to perform the operation directly on vSphere, for a VM deployed
by CloudStack, I'm not able to execute the task; if I deploy a Linux
machine directly from VMware I can expand the CPU/RAM resources.

For this reason I believe that the problem could be on the CS 4.2 side.

Thanks in advance for your reply.

Gaspare


On 23/11/2013 11:34, David Nalley wrote:
 On Fri, Nov 22, 2013 at 3:47 AM, Gaspare A. Silvestri
 g.silves...@netsons.com wrote:
 Hi all,

 I'm currently on a CS 4.2 + VMware vSphere 5.1 infrastructure, and I'm
 having issues with the dynamic resource scaling for Linux virtual
 machines; all the Linux templates are based on 64bit operatins systems.

 All the CS parameters are correct (enable.dynamic.scale.vm and
 scale.retry are configured), the template have been generated by
 enabling the required flag (Dynamically Scalable), and on vSphere I can
 see activated both the options for CPU and RAM hot plug; anyway, I'm not
 able to expand the resources on both CS and VMware sides if the virtual
 machine is up and running.

 I have no problems when working with Windows Server templates, for which
 I'm able to expand resource when the machine is powered on.

 Any suggest / help / idea?

 Thanks in advance,

 Gaspare
 What is the distro and version of Linux?

 Does the underlying operating system support CPU/memory hotplug?

 Can you dynamically scale a VM just using vSphere 5.1?

 --David



Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-23 Thread Steven Liang
Hi All,

My CS is 4.0, I want to upgrade it to 4.2.
Could you please give me an idea?
Thank you.

Regards,
Steven


Re: Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-23 Thread Ahmad Emneina
Take a look at the 4.2 release notes. It should have steps to outline the
upgrade. I recommend going to 4.2.1 over 4.2


On Sat, Nov 23, 2013 at 8:14 PM, Steven Liang stevenli...@yesup.com wrote:

 Hi All,

 My CS is 4.0, I want to upgrade it to 4.2.
 Could you please give me an idea?
 Thank you.

 Regards,
 Steven



Re: Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-23 Thread Steven Liang
Thank you, Ahmad.

On 11/23/2013 11:46 PM, Ahmad Emneina wrote:
 Take a look at the 4.2 release notes. It should have steps to outline the
 upgrade. I recommend going to 4.2.1 over 4.2


 On Sat, Nov 23, 2013 at 8:14 PM, Steven Liang stevenli...@yesup.com wrote:

 Hi All,

 My CS is 4.0, I want to upgrade it to 4.2.
 Could you please give me an idea?
 Thank you.

 Regards,
 Steven