Upgrade from 2.2.14 to 4.2 fails

2013-11-07 Thread Amin Samir
Hello, I am new to cloudstack and I have an assignment to upgrade a current production environment from 2.2.14 to 4.2, I follow the exact 4.2 release documentation and then the upgrade fails the output of the log file states the following: Duplicate column name 'hypervisor_version' & Unable to

RE: Redundant Virtual Router behaviour

2013-11-07 Thread Sanjeev Neelarapu
Hi Andrei, In Redundant Virtual Router VRs are not HA enabled. So you don’t see VR spinning up automatically. Try restarting network to get another VR. -Sanjeev -Original Message- From: Andrei Mikhailovsky [mailto:and...@arhont.com] Sent: Thursday, November 07, 2013 6:32 PM To: users@c

Re: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Carlos Reategui
Agreed, but I needed to have my setup back. With regards to issue 1, it is a known issue. I was referred to https://issues.apache.org/jira/browse/CLOUDSTACK-4509 which helped me past it. It should be fixed in 4.2.1. On Thu, Nov 7, 2013 at 6:12 PM, Sudha Ponnaganti < sudha.ponnaga...@citrix.c

Re: Storage overprovisioning for RBD / disable threshold?

2013-11-07 Thread Nitin Mehta
Please find answers inline On 07/11/13 3:32 AM, "Indra Pramana" wrote: >Dear all, > >I am using CloudStack 4.2.0, KVM hypervisors, Ceph RBD primary storage and >NFS secondary storage. > >I tried to change the storage.overprovisioning.factor from 1 to 2 under >Global Settings, and it doesn't seem

RE: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Sudha Ponnaganti
I think it is better to identify root cause. If there is any issue it can go in to 4.2.1 release -Original Message- From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos Reategui Sent: Thursday, November 07, 2013 6:03 PM To: users@cloudstack.apache.org Subject: Re: D

Re: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Carlos Reategui
A couple problems: 1) UI not working: This one you can resolve by deleting the /var/cache/cloudstack/ just prior to running the apt-get install cloudstack-management command. 2) XenServer hosts in disconnected state: This one I was not able to overcome. My hosts got switched to disconnected stat

Re: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Rafael Weingartner
May I ask you, what problems did you have with the CS 4.2? I am asking that because I am planning an upgrade from 4.1.1 to 4.2 2013/11/7 Carlos Reategui > Thanks. Dropped those databases too. > > I am back with a working 4.1.1 installation! > > > On Thu, Nov 7, 2013 at 3:20 PM, Eric Tykwinski

Re: How to re-connect hosts

2013-11-07 Thread Carlos Reategui
I tried removing the tags and that did not help. As you can see from my other thread I have gone back to 4.1.1. I'll wait to try again with 4.2.1. thanks On Thu, Nov 7, 2013 at 2:30 PM, Carlos Reategui wrote: > Would it help to remove tags on my XenServer hosts? > > > On Thu, Nov 7, 2013 at

Re: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Carlos Reategui
Thanks. Dropped those databases too. I am back with a working 4.1.1 installation! On Thu, Nov 7, 2013 at 3:20 PM, Eric Tykwinski wrote: > If you are doing a fresh install, you forgot cloud_usage, and cloudbridge. > I've done this several times in my lab to get things running okay... > > I usua

Re: Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Eric Tykwinski
If you are doing a fresh install, you forgot cloud_usage, and cloudbridge. I've done this several times in my lab to get things running okay... I usually upload new templates to secondary storage, but that might not be necessary. ++ | Database | +

Downgrade to 4.1.1 from 4.2

2013-11-07 Thread Carlos Reategui
Looks like my 4.2 experiment is not going well and I should wait for 4.2.1. I would like to go back to 4.1.1. My setup: Management Server on Ubuntu 12.04, Hosts using XS6.0.2 Would the following steps work? 1) apt-get remove cloudstack-management cloudstack-common 2) vi /etc/apt/sources.list.d/

Re: How to re-connect hosts

2013-11-07 Thread Carlos Reategui
Would it help to remove tags on my XenServer hosts? On Thu, Nov 7, 2013 at 1:18 PM, Carlos Reategui wrote: > I am using XenServer hosts. The cloudstack-agent is for KVM hosts. > > > On Thu, Nov 7, 2013 at 1:16 PM, Carlos Miranda Molina (Mstaaravin) < > mstaara...@gmail.com> wrote: > >> A simpl

Re: How to re-connect hosts

2013-11-07 Thread Carlos Reategui
I am using XenServer hosts. The cloudstack-agent is for KVM hosts. On Thu, Nov 7, 2013 at 1:16 PM, Carlos Miranda Molina (Mstaaravin) < mstaara...@gmail.com> wrote: > A simple question... > > Do you upgrade cloudstack on hosts servers...? > > > On Thu, Nov 7, 2013 at 6:10 PM, Carlos Reategui >

Re: How to re-connect hosts

2013-11-07 Thread Carlos Miranda Molina (Mstaaravin)
A simple question... Do you upgrade cloudstack on hosts servers...? On Thu, Nov 7, 2013 at 6:10 PM, Carlos Reategui wrote: > I think you meant management-server.log. > > Here is an exerp that I think shows the problem: > 2013-11-07 11:58:10,828 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManag

Re: nf_nat_ftp kernel module is missing in v4.2 virtual router

2013-11-07 Thread Carlos Miranda Molina (Mstaaravin)
Thanks very interesting! On Thu, Nov 7, 2013 at 5:03 PM, Chiradeep Vittal < chiradeep.vit...@citrix.com> wrote: > You can try injecting the modprobe into one of the startup scripts > (/etc/init.d/cloud-early-config), that way you wouldn't need a new > template. > In this case you would have to m

Re: How to re-connect hosts

2013-11-07 Thread Carlos Reategui
I think you meant management-server.log. Here is an exerp that I think shows the problem: 2013-11-07 11:58:10,828 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer:null) Resetting hosts suitable for reconnect 2013-11-07 11:58:10,833 DEBUG [host.dao.HostDaoImpl] (ClusteredAgentManager Timer

Re: Domain Admin can't create accounts, how to handle reselling?

2013-11-07 Thread Andrija Panic
Also having the same issue / dilemma... Sent from Google Nexus 4 On Nov 7, 2013 7:25 PM, "David Matteson" wrote: > Hey everybody, > > We're trying to figure out the logistics of how a Reseller accounts might > work under CloudStack. Initially we thought Domain Admins would be perfect > for this,

Re: How to re-connect hosts

2013-11-07 Thread Carlos Miranda Molina (Mstaaravin)
On Thu, Nov 7, 2013 at 5:09 PM, Carlos Reategui wrote: > After the update from 4.1.1 to 4.2, both my XenServer 6.0.2 hosts show a > state of "Disconnected". How do I re-connect them? The only 3 options I > see in the UI are: "Dedicate Host", "Enable Maintenance Mode" and "Remove > Host". > What

RE: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-07 Thread Rayees Namathponnan
We should clean (var/cache/cloudstack) before RPM upgrade; Radhika Nair added a comment - 29/Aug/13 21:42 Released noted: Before 4.X TO 4.2 upgrade manually cleanup /var/cache/cloudstack The fix provided in centos builds not debian build; You can tr

How to re-connect hosts

2013-11-07 Thread Carlos Reategui
After the update from 4.1.1 to 4.2, both my XenServer 6.0.2 hosts show a state of "Disconnected". How do I re-connect them? The only 3 options I see in the UI are: "Dedicate Host", "Enable Maintenance Mode" and "Remove Host". thanks, Carlos

Re: nf_nat_ftp kernel module is missing in v4.2 virtual router

2013-11-07 Thread Chiradeep Vittal
You can try injecting the modprobe into one of the startup scripts (/etc/init.d/cloud-early-config), that way you wouldn't need a new template. In this case you would have to merely modify the systemvm.iso On 11/7/13 7:40 AM, "Carlos Miranda Molina (Mstaaravin)" wrote: >Hello! > >In our company

Re: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-07 Thread Carlos Reategui
I did: apt-get --reinstall cloudstack-management cloudstack-common and I am back up and running with the UI. thanks for your help. On Thu, Nov 7, 2013 at 11:26 AM, Carlos Reategui wrote: > Thanks. I deleted that directory but now am getting this: > > # service cloudstack-management start > *

Anyone have a copy of the sample SRX config...

2013-11-07 Thread Eric Tykwinski
Looks like a dead link on the page: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Juniper+SRX+config+in formation Thanks, Eric

Re: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-07 Thread Carlos Reategui
Thanks. I deleted that directory but now am getting this: # service cloudstack-management start * Starting CloudStack-specific Tomcat servlet engine cloudstack-management /etc/init.d/cloudstack-management: 155: /etc/init.d/cloudstack-management: cannot create /usr/share/cloudstack-management/w

RE: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-07 Thread Rayees Namathponnan
Can you delete "var/cache/cloudstack" and restart management server. There was a defect for similar issue https://issues.apache.org/jira/browse/CLOUDSTACK-4509 Regards, Rayees -Original Message- From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos Reategui S

Re: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-07 Thread Carlos Reategui
Could my problem may be the tomcat version? Just noticed that the requirements for 4.2 say "Tomcat 6 (not 6.0.35)". 6.0.35 is the version on Ubuntu 12.04. What version should I use? Is there a suggested repo to get that from? On Wed, Nov 6, 2013 at 10:01 PM, Carlos Reategui wrote: > Hi Sanjay

Domain Admin can't create accounts, how to handle reselling?

2013-11-07 Thread David Matteson
Hey everybody, We're trying to figure out the logistics of how a Reseller accounts might work under CloudStack. Initially we thought Domain Admins would be perfect for this, but they cannot create accounts within their domain (or even, apparently, users) so this makes that not feasible. Obviou

nf_nat_ftp kernel module is missing in v4.2 virtual router

2013-11-07 Thread Carlos Miranda Molina (Mstaaravin)
Hello! In our company we upgrade to v4.2, now the virtual routers doesn't have nf_nat_ftp kernel module. We can resolve this adding manually with: :~# modprobe nf_nat_ftp (inside VR) And works, but if i need restart VR we loose that rule so i need edit system template for router and add that mo

Incorrect diskoffering id when creating disk from template

2013-11-07 Thread Lennert den Teuling
Hi, It seems that if i ask the CS API information on a disk which has been uploaded or created from template a disk offering id is returned. This disk offering id links to a service offering not a disk offering, which differs per CS setup. I tested this on 4.1 and 4.2. What should the normal beha

SSVM using the incorrect interface to connect to SS.

2013-11-07 Thread Willard Rathjen
Hello Everyone, I have an interesting problem for everyone. My secondary storage VM is using eth1 to connect to secondary storage rather than eth3 as designed. I have a management network of 172.17.0.0/16 and a storage range of 172.17.10.75 - .100. My SSVM interfaces all pull the correct IP’s bu

CPVM runs out of disk space

2013-11-07 Thread Daniel Hertanu
Hi CS 4.2.0 on CentOS 6.4 64 bit with XenServer 6.0.2 Yesterday the Console Proxy VM ran out of disk space. I cleanup the big files from /var/log/cloud, I restarted the CPVM and everythign came back to normal. I kept an eye on the VM and today it ran out of disk space again. I destroyed CPVM, wai

Re: Reg:Issue in systemvm firewall

2013-11-07 Thread prakash
Hi, Traffic is not blocked. ISSUE: = After restart cloud-management service systemvm and guestvm are inaccessible in basic zone network offering with sg. Regards, Prakash.M > > Security groups rules behaviour will not change if management > server/host/vms is restarted. > > By de

Redundant Virtual Router behaviour

2013-11-07 Thread Andrei Mikhailovsky
Hello guys, Could someone please explain how the redundant virtual router functionality is suppose to work? I've done some testing by creating a new offering with redundant router enabled. After launching a vm which had the new network offering i've noticed that CS has launched two virtual r

Re: Reg:Issue in systemvm firewall

2013-11-07 Thread Jayapal Reddy Uradi
Security groups rules behaviour will not change if management server/host/vms is restarted. By default only guest vm ingress traffic is blocked. You need to open up ingress rules to access user vms. Check what type of traffic your are sending and which iptables rules are blocking it. Thank

Reg:Issue in systemvm firewall

2013-11-07 Thread prakash
Hi, I have configured xenserver clusters in cloudstack with security group as network offering in basiczone. Everything is working fine but i am facing major issue, while restart management server or xenserver my systemvms and other vms in that zone automatically block all incoming traffic by def

Storage overprovisioning for RBD / disable threshold?

2013-11-07 Thread Indra Pramana
Dear all, I am using CloudStack 4.2.0, KVM hypervisors, Ceph RBD primary storage and NFS secondary storage. I tried to change the storage.overprovisioning.factor from 1 to 2 under Global Settings, and it doesn't seem to work on my primary storage. The total amount of disk space seems to be remain

Re: CS 4.2 + VMware + Local storage

2013-11-07 Thread Gaspare A. Silvestri
This was my fault, I've followed your instructions and now all works fine. Really thank you for your precious support! Gaspare On 07/11/2013 07:19, Suresh Sadhu wrote: > Did you create offering with type as local by default its shared. please > create offering with type as local and use the sam

Re: Can't destroy system VMs

2013-11-07 Thread Daan Hoogland
Sorry Carlos, family and $dayjob kept me from looking at this anymore. Glad you got it working. Daan On Wed, Nov 6, 2013 at 8:08 PM, Carlos Reategui wrote: > Since I didn't hear back I bit the bullet and decided to make the DB > changes and I am back up and running. Woohoo. I'll post the spec

Re: API credential failed

2013-11-07 Thread Sebastien Goasguen
On Nov 7, 2013, at 2:15 AM, Du Jun wrote: > Hi, >I have both apikey and secretkey,and I use the following code to > generate signature: > > package test; > import javax.crypto.Mac; > import javax.crypto.spec.SecretKeySpec; > import org.apache.commons.codec.binary.Base64; > > public class S

Re: Installing cloudstack mgmt server on non-Linux OS

2013-11-07 Thread Prasanna Santhanam
On Thu, Nov 07, 2013 at 03:52:47AM -0500, Jiri B wrote: > On Thu, Nov 07, 2013 at 10:04:15AM +0530, Prasanna Santhanam wrote: > > On Wed, Nov 06, 2013 at 05:29:53PM -0500, Jiri B wrote: > > > Hi, > > > > > > my attempt is to install cloudstack management server on > > > a non-Linux OS (an UNIX-lik

Re: Installing cloudstack mgmt server on non-Linux OS

2013-11-07 Thread Jiri B
On Thu, Nov 07, 2013 at 10:04:15AM +0530, Prasanna Santhanam wrote: > On Wed, Nov 06, 2013 at 05:29:53PM -0500, Jiri B wrote: > > Hi, > > > > my attempt is to install cloudstack management server on > > a non-Linux OS (an UNIX-like one). Of course not for production > > setup in this case... :-) >