系统虚拟机无法创建成功

2013-11-30 Thread houqd2...@163.com
各位:
 我的环境是CS4.0.1+kvm,区域可以创建成功,可是系统虚拟机一直无法创建成功,一直创建删除、创建删除。
 agent.log的日志为:
 
2013-11-30 23:01:08,723 WARN  [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-1:null) Exception 
com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtException: 
Storage volume not found: no storage vol with matching name 
'dd324d10-c822-4c1b-a3d5-bfb0b84e323c'
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getVolume(LibvirtStorageAdaptor.java:90)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getPhysicalDisk(LibvirtStorageAdaptor.java:404)
at 
com.cloud.hypervisor.kvm.storage.LibvirtStoragePool.getPhysicalDisk(LibvirtStoragePool.java:113)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:2888)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2808)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1035)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
2013-11-30 23:01:08,724 WARN  [cloud.agent.Agent] (agentRequest-Handler-1:null) 
Caught: 
java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupVMNetworks(LibvirtComputingResource.java:3922)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2709)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2834)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1035)
at com.cloud.agent.Agent.processRequest(Agent.java:518)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
at com.cloud.utils.nio.Task.run(Task.java:83)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)

libvirtd.log 中的错误日志:
2013-11-30 14:45:28.379+: 22402: error : virFileOpenForceOwnerMode:807 : 
cannot chown '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/s-28-VM-patchdisk' to 
(0, 0): Invalid argument
2013-11-30 14:45:28.379+: 22402: error : virStorageBackendCreateRaw:412 : 
cannot create path 
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/s-28-VM-patchdisk': Invalid argument
2013-11-30 14:45:28.494+: 22400: error : 
virStorageBackendVolOpenCheckMode:1049 : cannot open volume 
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/45052b17-61e9-4387-af47-9c4a756755a5':
 No such file or directory
2013-11-30 14:50:01.984+: 22403: error : 
virStorageBackendFileSystemRefresh:823 : cannot open path 
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory
2013-11-30 14:50:48.322+: 22400: error : virCommandWait:2272 : internal 
error Child process (/bin/mount 192.168.1.165:/primary 
/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3) unexpected exit status 1: mount.nfs: 
mount point /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3 does not exist

2013-11-30 14:50:48.322+: 22400: error : 
virStorageBackendFileSystemRefresh:823 : cannot open path 
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory
2013-11-30 14:50:48.400+: 22402: error : virCommandWait:2272 : internal 
error Child process (/bin/mount 192.168.1.165:/primary 
/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3) unexpected exit status 1: mount.nfs: 
mount point /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3 does not exist

2013-11-30 14:50:48.400+: 22402: error : 
virStorageBackendFileSystemRefresh:823 : cannot open path 
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory






houqd2...@163.com

Re: Install Cloudstack with Chef

2013-11-30 Thread sebgoa

On Nov 30, 2013, at 1:49 AM, Nux! n...@li.nux.ro wrote:

 On 29.11.2013 20:10, Sebastien Goasguen wrote:
 Terrific Pierre-Luc, thanks a lot.
 For those not in Amsterdam last week , pierre-luc used those
 cookbooks to install cloudstack in 15 minutes chrono :) live!
 
 15 minutes seems like a long time for something automated, I'm pretty sure I 
 can install it under 15 minutes following the runbook[1].
 

including downloading the systemVMs ? etc….

I should had that this was actually installing cloudstack in a cloud. From a 
laptop in Amsterdam to a cloud in Montreal.

But let's improve those recipes and cut the time down to 2 minutes, game on !!!

 [1] - https://people.apache.org/~ke4qqq/runbook/
 
 -- 
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro



Re: Install Cloudstack with Chef

2013-11-30 Thread Geoff Higginbottom
We a few automated installation procedures (bash scripts, Ansible etc) and the 
install on a clean CentOS / RHEL VM does take a certain amount of time as there 
are lots if dependencies which need to be downloaded and installed etc.  The 
biggest time consuming element is the decompressing of the System VM template, 
this is the main cause of the 15min timeline.

Actual keyboard time is circa 5 Secs to simply execute the installation 
process, then put the kettle on, and 15mins later you have a working cloud.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 
| M: +447968161581tel:+447968161581

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.com

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



On 30 Nov 2013, at 08:55, sebgoa run...@gmail.commailto:run...@gmail.com 
wrote:


On Nov 30, 2013, at 1:49 AM, Nux! n...@li.nux.romailto:n...@li.nux.ro wrote:

On 29.11.2013 20:10, Sebastien Goasguen wrote:
Terrific Pierre-Luc, thanks a lot.
For those not in Amsterdam last week , pierre-luc used those
cookbooks to install cloudstack in 15 minutes chrono :) live!

15 minutes seems like a long time for something automated, I'm pretty sure I 
can install it under 15 minutes following the runbook[1].


including downloading the systemVMs ? etc

I should had that this was actually installing cloudstack in a cloud. From a 
laptop in Amsterdam to a cloud in Montreal.

But let's improve those recipes and cut the time down to 2 minutes, game on !!!

[1] - https://people.apache.org/~ke4qqq/runbook/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.rohttp://www.nux.ro

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Install Cloudstack with Chef

2013-11-30 Thread Nux!

On 30.11.2013 09:32, Geoff Higginbottom wrote:

We a few automated installation procedures (bash scripts, Ansible
etc) and the install on a clean CentOS / RHEL VM does take a certain
amount of time as there are lots if dependencies which need to be
downloaded and installed etc.  The biggest time consuming element is
the decompressing of the System VM template, this is the main cause of
the 15min timeline.

Actual keyboard time is circa 5 Secs to simply execute the
installation process, then put the kettle on, and 15mins later you
have a working cloud.


Right, this makes more sense. I did not take into account installing 
CentOS and downloading the system template is very fast for me (good 
things come to those who mirror stuff); in this case 15 minutes is very 
plausible. :)


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Apt-get non-oss repository

2013-11-30 Thread Vosbury, David
Does anyone know if there are any CloudStack apt-get repositories available 
with the non-oss version of CloudStack built in? I'm having difficulty building 
the Deb packages from source and was wondering if someone had already done this.

David Vosbury


Re: Apt-get non-oss repository

2013-11-30 Thread Nux!

On 30.11.2013 12:58, Vosbury, David wrote:

Does anyone know if there are any CloudStack apt-get repositories
available with the non-oss version of CloudStack built in? I'm having
difficulty building the Deb packages from source and was wondering if
someone had already done this.

David Vosbury


Hi David,

I thought http://cloudstack.apt-get.eu/ contains the non-oss bits as 
well. Have you tried it?


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Apt-get non-oss repository

2013-11-30 Thread Vosbury, David
Lucian,

Maybe the rpms contain the nonoss components but i don't think the debs do. I 
used that repo to upgrade to 4.2 and the VMware features aren't working.

David




Nux! n...@li.nux.ro wrote:

On 30.11.2013 12:58, Vosbury, David wrote:
 Does anyone know if there are any CloudStack apt-get repositories
 available with the non-oss version of CloudStack built in? I'm having
 difficulty building the Deb packages from source and was wondering if
 someone had already done this.

 David Vosbury

Hi David,

I thought http://cloudstack.apt-get.eu/ contains the non-oss bits as
well. Have you tried it?

HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Replacing Virtual Router with a custom virtual appliance template

2013-11-30 Thread Michal Rodzos
Is it possible to create a network offering, which would use a custom
virtual appliance instead of the default Debian template?


My understanding is currently only following network providers are
supported/available in ACS:

-  Citrix NetScaler

-  F5

-  Juniper SRX

-  Virtual Router

-  Cisco ASA 100v (Citrix CloudPlatform only?)

 

I've found a wiki page
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Palo+Alto+Firewall+In
tegration# that somebody managed to integrate the Palo Alto Firewall into
ACS. Plus some other people managed to get the midokura or Nicira to work ?

So it seems that  custom network providers are feasible.


I'd like to provide a premium network offering with a commercial security
gateway/UTM virtual appliance as a network provider. Ie the FortiGate UTM
provides VPN, NAT, DNS, DHCP, routing and other network features similar to
Virtual Router, but also offers security features like anitispam, virus
scanning, deep packet inspection, IPS etc. So the question is how hard is,
and how much dev effort is required?


Other option is to create a network like this
Internet - ACS VR- FortiGate TM VM -  customer VMs
But not sure how can force all the public traffic from the VMs to go via the
FortiGate? 


The environment is XenServer 6.2 and ACS 4.2.1 with Advanced Networking

Thanks,
Michal

 

Regards,
Michal Rodzos
Solutions Architect

 
http://www.cloudcentral.com.au/?utm_source=michalutm_medium=emailutm_camp
aign=cloudcentral CloudCentral - Secure Australian Cloud
Phone: 1300 144 007 | Mobile: +61 421 834 204
 http://www.linkedin.com/in/michalrodzos View Michal Rodzos' profile on
LinkedIn| Skype: michal.rodzos |  https://twitter.com/cloudcentral Twitter