Re: 4.2.1-snapshot : com.cloud.exception.InsufficientServerCapacityException:

2013-10-23 Thread Bjoern Teipel
Yes I had and I changed the delay to 1h. I also got link communication failures and the secondary storage was stuck during this time so I decided to rebuild the zone and change the NFS storage from Gluster to a standard NFS server removing the iptables rules etc. But I'm still rebuilding it and

Re: KVM and openvswitch

2013-10-23 Thread Bjoern Teipel
Guess I can narrow it down in the code at LibvirtComputingResource.java 1036: File[] interfaces = f.listFiles(); >>> my array is basically empty.. <<< for (int i = 0; i < interfaces.length; i++) { String fname = interfaces[i].getName(); s_logger.debug(

Re: Downloading templates loop

2013-10-23 Thread David Comerford
Right sounds good. In some cases I have a working template that has multiple entries in template_host_ref. Usually there's a few failed download entries and the one that succeded. Am I safe to just delete the rows that have the failures from this table? Best regards, David Comerford ---

Re: Templates and ISOs are shown twice after upgrade to 4.2

2013-10-23 Thread Andrei Mikhailovsky
Nitin, here you go: http://ur1.ca/fxe1h Thanks for your help Andrei - Original Message - From: "Nitin Mehta" To: [email protected] Sent: Wednesday, 23 October, 2013 5:47:24 AM Subject: Re: Templates and ISOs are shown twice after upgrade to 4.2 Hi Andrei - its hard to r

Re: ACS 4.2 Error adding S3/Ceph secondary storage

2013-10-23 Thread Andrei Mikhailovsky
Sanjeev, Thanks for the information. Does anyone know of the best way to migrate from nfs secondary storage to S3? At the moment, my NFS storage is used for storing templates, including system vm templates. Is it safe for me to remove it and create the new S3 secondary storage? Would it copy s

Re: Downloading templates loop

2013-10-23 Thread David Comerford
Or a more exciting way of phrasing that last question, is the safe to delete all entries from template_host_ref where download_state is NOT_DOWNLOADED? DELETE FROM template_host_ref WHERE download_state='NOT_DOWNLOADED'; Best regards, David Comerford Tel: +353 87 1238295

Network not configured in VM

2013-10-23 Thread Chirag Choudhary
Hi, I created a new instance of rhel 6.2 from iso in cloudstack. Cloudstack UI is showing the it has an IP assigned to it with the netmask , gatway and other things but when I logged in to the VM, it only has one network interface running : lo I manually did the network configuration to the ma

ISO problem after upgrade to 4.2

2013-10-23 Thread Paolo De Marco
Hello, i've upgraded cloudstak from 4.0.2 to 4.2 using yum update. Everything seem working but i cannot upload ISO. In log i see "No running ssvm is found, so command will be sent to LocalHostEndPoint". Is it this error related to iso's problem? Any ideas? Thanks

Missing support for LXC on CS 4.2

2013-10-23 Thread Old, Curtis
I installed CS 4.2 from the repo. I went to install an LXC Cluser and got this: Could not find corresponding resource manager for LXC A little digging on the web and found and there is no plugin for LXC in the rpm: [root@lab2-mgt-cloud-1 lib]# rpm -ql cloudstack-management |grep hyperviso /usr

Re: Missing support for LXC on CS 4.2

2013-10-23 Thread Francois Gaudreault
This is how I solved this: https://issues.apache.org/jira/browse/CLOUDSTACK-4849 Francois On 10/23/2013, 11:40 AM, Old, Curtis wrote: I installed CS 4.2 from the repo. I went to install an LXC Cluser and got this: Could not find corresponding resource manager for LXC A little digging on the

Re: Network not configured in VM

2013-10-23 Thread Nux!
On 23.10.2013 13:55, Chirag Choudhary wrote: Hi, I created a new instance of rhel 6.2 from iso in cloudstack. Cloudstack UI is showing the it has an IP assigned to it with the netmask , gatway and other things but when I logged in to the VM, it only has one network interface running : lo

Re: Downloading templates loop

2013-10-23 Thread Nitin Mehta
Yes - it should be fine. That said, I would first try and do it only for one entry (also keeping a backup) and see what happens. You might also need to stop/start ssvm to cancel the job (do it only if its not cancelled) On 23/10/13 5:08 AM, "David Comerford" wrote: >Or a more exciting way of phr

Re: ISO problem after upgrade to 4.2

2013-10-23 Thread Nitin Mehta
Try step 1,2,3 @ https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec ondary+storage+troubleshooting On 23/10/13 6:56 AM, "Paolo De Marco" wrote: >Hello, >i've upgraded cloudstak from 4.0.2 to 4.2 using yum update. >Everything seem working but i cannot upload ISO. >In log

Re: Missing support for LXC on CS 4.2

2013-10-23 Thread Old, Curtis
So I build it from source? I'M not a developer (lowly SA type) in the source I downloaded the file nonossComponentContext.xml doesn't exists [root@lab2-mgt-cloud-1 apache-cloudstack-4.2.0-src]# find . -name nonossComponentContext.xml [root@lab2-mgt-cloud-1 apache-cloudstack-4.2.0-src]# So do I h

Re: KVM and openvswitch

2013-10-23 Thread Bjoern Teipel
Yes that's what I followed exactly. My OS is centos 6.4 and brctl bridge namebridge idSTP enabledinterfaces cloud0/sys/class/net/cloud0/bridge: No such file or directory /sys/class/net/cloud0/bridge: No such file or directory /sys/class/net/cloud0/bridge: No such file or

Re: Templates and ISOs are shown twice after upgrade to 4.2

2013-10-23 Thread Nitin Mehta
For the two ISOs one of them has two entries in template store ref, the other one doesn't. Were/Are there multiple secondary storages ? On 23/10/13 4:22 AM, "Andrei Mikhailovsky" wrote: >Nitin, here you go: http://ur1.ca/fxe1h > >Thanks for your help > >Andrei - Original Message - > >Fr

Re: Missing support for LXC on CS 4.2

2013-10-23 Thread Francois Gaudreault
I am not sure but, is it possible LXC only works with nonoss builds? If you used community packages, they are oss only. Personally, I didn't try with the oss build, but another user reported the same issue, and he switched to nonoss with my fix and it worked. Francois On 10/23/2013, 12:23 PM,

Re: KVM and openvswitch

2013-10-23 Thread Francois Gaudreault
Did you blacklist the linux bridge module? You have to blacklist it. FG On 10/23/2013, 12:24 PM, Bjoern Teipel wrote: Yes that's what I followed exactly. My OS is centos 6.4 and brctl bridge namebridge idSTP enabledinterfaces cloud0/sys/class/net/cloud0/bridge: No such

Re: Downloading templates loop

2013-10-23 Thread David Comerford
I tried it on one row and CS stopped trying to download but it did require a restart of the service. Didn't need to restart SSVM. Thanks for your help :) Best regards, David Comerford Tel: +353 87 1238295 Email: [email protected] Website: http://dave.ie GPG key: http://g

Re: Templates and ISOs are shown twice after upgrade to 4.2

2013-10-23 Thread Andrei Mikhailovsky
Nitin, They were a few months back, but i've removed all of them and left just the one. Prior to upgrading to 4.2 i've not seen the double templates/isos. They appeared after the upgrade. Is there a way for me to remove them? If so, what tables should I look at? I've tried to find the replicas

Out of disk space on XenServer hosts managed by CS.

2013-10-23 Thread Carlos Reategui
Anyone else running out of disk space in a XS cluster using CloudStack? I found the following on Citrix's site: http://support.citrix.com/article/CTX138064 which applies to their version of CS (CloudPlatform -- although doc also says it applies to CS 3.0) but it seems to be a problem with CloudSta

Re: ACS 4.2 Error adding S3/Ceph secondary storage

2013-10-23 Thread Sebastien Goasguen
Adding John and Wido to the thread, they should know On Oct 23, 2013, at 7:25 AM, Andrei Mikhailovsky wrote: > Sanjeev, > > Thanks for the information. Does anyone know of the best way to migrate from > nfs secondary storage to S3? At the moment, my NFS storage is used for > storing template

Re: KVM and openvswitch

2013-10-23 Thread Bjoern Teipel
Yes I did. On 10/23/2013 09:27 AM, Francois Gaudreault wrote: Did you blacklist the linux bridge module? You have to blacklist it. FG On 10/23/2013, 12:24 PM, Bjoern Teipel wrote: Yes that's what I followed exactly. My OS is centos 6.4 and brctl bridge namebridge idSTP enabled

RE: Downloading templates loop

2013-10-23 Thread Nitin Mehta
Great that it worked. You mean restart of the cloud agent on ssvm or MS restart ? Thanks, -Nitin From: David Comerford [[email protected]] Sent: Wednesday, October 23, 2013 10:02 PM To: [email protected] Subject: Re: Downloading templates loop

Re: KVM and openvswitch

2013-10-23 Thread Francois Gaudreault
So brctl is likely to return a mess. How did you configure the agent? Did you put : libvirt.vif.driver=com.cloud.hypervisor.kvm.resource.OvsVifDriver and network.bridge.type=openvswitch in agent.properties? Francois On 10/23/2013, 1:24 PM, Bjoern Teipel wrote: Yes I did. On 10/23/2013 09:27

RE: Downloading templates loop

2013-10-23 Thread David Comerford
Sorry, restart MS. I was surprised it didn't just stop when it was removed from the database. And it wasn't in the async job queue or anything either. On 23 Oct 2013 18:33, "Nitin Mehta" wrote: > Great that it worked. You mean restart of the cloud agent on ssvm or MS > restart ? > > Thanks, > -N

How does HA work?

2013-10-23 Thread Nux!
Hello, Since I'm not a programmer reading the code doesn't make too much sense to me. Can anyone explain to me how HA works (for VMs expecially)? Who monitors these HA VMs? Can I run multiple monitors, for HA? Any recommendations, best practices, gotchas? Thanks, Lucian -- Sent from the Del

Re: KVM and openvswitch

2013-10-23 Thread Bjoern Teipel
Yup all done, did it multiple time now even with a clean host. As I said while I was looking into the code, the issue might just that my brif directory is empty at /sys/class/net//brif I'm not sure if the open vswitch 1.0.9 version has a bug... LibvirtComputingResource.java 1036: (f

Re: How does HA work?

2013-10-23 Thread Kelcey Jamison Damage
I can tell you it uses 'Storage-Heartbeat" method for HA, unless that's changed. That means the heartbeat ring is via the primary storage. - Original Message - From: "Nux!" To: [email protected] Cc: [email protected] Sent: Wednesday, October 23, 2013 10:48:40 AM

Re: Missing support for LXC on CS 4.2

2013-10-23 Thread Shanker Balan
On 23-Oct-2013, at 9:55 pm, Francois Gaudreault wrote: > I am not sure but, is it possible LXC only works with nonoss builds? If you > used community packages, they are oss only. Personally, I didn't try with the > oss build, but another user reported the same issue, and he switched to > nono

Re: Network not configured in VM

2013-10-23 Thread Shanker Balan
On 23-Oct-2013, at 9:21 pm, Nux! wrote: > On 23.10.2013 13:55, Chirag Choudhary wrote: >> Hi, >> I created a new instance of rhel 6.2 from iso in cloudstack. >> Cloudstack UI is showing the it has an IP assigned to it with the netmask , >> gatway and other things but when I logged in to the V

RE: CS4.2 Security groups - need explaination

2013-10-23 Thread Clayton Weise
Security groups with advanced zones is for a pretty specific need. In short, security groups are port filtering rules that are applied within a bridge so you can have separate ACLs for each instance. This is generally used on basic networks because public IP addresses are assigned directly to

Re: ACS 4.2 Error adding S3/Ceph secondary storage

2013-10-23 Thread Andrei Mikhailovsky
Thanks. I just don't know hot can I add it now. I've got the existing secondary storage over nfs and if i delete it, would I not loose the data? Most likely the data will not be removed from the storage server itself, but all references will be removed i suspect. So, what is the best way to proc

RE: Public IPs on Guest VMs within CloudStack 4.2.0

2013-10-23 Thread Bryan Manske
All, (This is an update on my ongoing network issues within CloudStack 4.2.0. Please read the original messages below for more information.) I've configured a network offering with no services this time, no virtual router, no DNS or DCHP, just a live public IP network and default gateway. A VM r

CS4.2 failed to deploy VM with custome Compute Offering KVM cluster

2013-10-23 Thread motty cruz
Hello, I created a Custom Compute Offering 2 cores 4000cpu; When I create a instance with that custom compute offer I get the following error "Failed to deploy Vm with Id: 66, on Host with Id: null" but if I create instance with default medium offering instance gets create it no problem. any sugge

VMWare storage overprovisioning

2013-10-23 Thread Noel King
Hi I am seeing an issue here with Cloudstack and VMWare storage and hope you can help. VMWare is using dynamic storage so for a template of 20GB in reality only 3GB is being used, VMWare currently has the size of the VM of 3GB and increases storage allocation to the VM as it requires it. However

Re: Bridge issues after upgrade to 4.2

2013-10-23 Thread Bjoern Teipel
The bash skript renames iptables rules and the brdge names. The problem might be it couldn't execute the ip link set XXX down command and renaming it afterwards. You can execute the script again, see what it reports. Bjoern On 10/22/2013 12:16 AM, Andrija Panic wrote: HI, I did not see it ru

Re: CS4.2 failed to deploy VM with custome Compute Offering KVM cluster

2013-10-23 Thread Marty Sweet
Hi Motty, Looking in your management-server.log will yield more information. This is most probably because your Agents do not have 2 cores at 4Ghz, but the log will show the exact issue. Marty On Wed, Oct 23, 2013 at 8:46 PM, motty cruz wrote: > Hello, I created a Custom Compute Offering 2 co

Re: VMWare storage overprovisioning

2013-10-23 Thread Nitin Mehta
Advise you to not keep pool.storage.capacity.disablethreshold as 1 (100%). This captures the actual usage of the storage and you do not want it to reach 100% especially possible when you have over provisioned. On 23/10/13 1:14 PM, "Noel King" wrote: >Hi > >I am seeing an issue here with Cloudsta

Re: How does HA work?

2013-10-23 Thread Chiradeep Vittal
https://cwiki.apache.org/confluence/x/dwn8AQ On 10/23/13 10:51 AM, "Kelcey Jamison Damage" wrote: >I can tell you it uses 'Storage-Heartbeat" method for HA, unless that's >changed. That means the heartbeat ring is via the primary storage. > > >- Original Message - > >From: "Nux!" >To: d

SSH Access to Guest VM without Public IP 4.1

2013-10-23 Thread Murugappan, Vairavan
Hi, Is there a way to provide ssh into the guest vm on the basic networking mode. Where there is no Public IP's available on the guest OS. If So how? If Not? Is there a way to attach a script or a hook when a Guest VM is started, stopped or destroyed? So that I can setup some sort of port forwar

[SOLVED] RE: Network Setup Problem 4.1.1

2013-10-23 Thread Murugappan, Vairavan
Hi Marty, I figured it out. The problem was when the cloud stack creates the bridge on the host machine, for some reason it's not mapping my physcial NIC to the correctly. My NIC's are called em1 and em2, not eth0 and eth1. And I have 2 NIC's but I am using only one, but I guess it's trying to

Re: KVM and openvswitch

2013-10-23 Thread Nguyen Anh Tu
Okie. So you might be interesting with openvswitch 1.0.10. I deployed success with that version. Instruction here: http://n40lab.wordpress.com/2012/09/19/installing-openvswitch-in-centos-6-3/ 2013/10/24 Bjoern Teipel > > Yup all done, did it multiple time now even with a clean host. > As I said

Re: Unable to reboot instance: "Unable to find service offering: [NUMBER] corresponding to the vm"

2013-10-23 Thread Indra Pramana
Dear all, Wondering if anyone can advise on this? Or am I the only one who seem to having this problem? :) Looking forward to your reply, thank you. Cheers. On Wed, Oct 9, 2013 at 5:52 PM, Indra Pramana wrote: > Dear all, > > Anyone can advise on this? > > > Looking forward to your reply, t

Re: Network not configured in VM

2013-10-23 Thread Chirag Choudhary
Thanks Lucian@Nux and Shankar, with your suggestions I was able to fix the issue. For fixing the current running VM i did "dhclient eth0". and for making it a template i changed the ONBOOT=yes and BOOTPROTO=dhcp (also required for restart of machine/ network) and it works well. :) Thanks & Regard

Unable to Build 4.2.0 From Source Using Maven 3.1

2013-10-23 Thread Ryan Shafer
Hello, I am attempting to build CS 4.2.0 from source eventually using noss dependencies from vmware. The problem is that I cannot resolve the dependencies for the other cloudstack projects to build. In this specific case cloud-api cannot be built because. [ERROR] Failed to execute goal on pr

Any Specified limits for Management Server in Cloudstack

2013-10-23 Thread Amar Krishna
Hi, I wanted to know that what is the max limit of guest vms that can be managed from single Management Server of CloudStack if we have huge number of esxi servers to manage. -- THANKS AND REGARDS AMAR KRISHNA MOB-9900618290

Re: [SOLVED] RE: Network Setup Problem 4.1.1

2013-10-23 Thread Marty Sweet
Ok that's cool, Using Network Traffic Labels will allow the networks to bind to those interfaces (which is probably what you needed to do). Marty On Thu, Oct 24, 2013 at 2:42 AM, Murugappan, Vairavan < [email protected]> wrote: > Hi Marty, > I figured it out. > > The problem was when