Re: High CPU utilization on KVM hosts while doing RBD snapshot - was Re: snapshot caused host disconnected

2013-10-08 Thread Indra Pramana
Hi Wido and all, Good day to you, and thank you for your e-mail reply. Yes, from the agent logs I can see that the RBD snapshot was created. However, it seems that CPU utilisation goes up drastically during the copying over of the snapshot from primary storage to the secondary storage. === 2013-

Re: could not add ceph primary storage.

2013-10-08 Thread raj kumar
Added new pool in ceph - cloudstack *Client log from firebug:* "NetworkError: 530 - http://192.168.210.35:8080/client/api?command=createStoragePool&zoneid=9fe2780a-0bf8-466d-a712-60f456501597&podId=6bbd3b48-d03a-4169-8d9d-8283cddc537f&clusterid=c1c9a508-76c0-4dea-8b12-8962663316f7&name=rbd-pri

Re: Disable copy snapshot to secondary storage in CS 4.2

2013-10-08 Thread Indra Pramana
Dear all, I also encounter the same problem. Looks like it's confirmed to be a bug. Has anyone submitted a bug report on this? Looking forward to your reply, thank you. Cheers. On Sun, Oct 6, 2013 at 2:01 AM, Andrei Mikhailovsky wrote: > Nope, I've not upgraded to 4.2 yet. Just checking the

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Geoff Higginbottom
Karthikeyan, How much RAM does the CloudStack server have, I've found that with 4.2, if you anything less then 2GB it fails to complete the DB deployment so you cannot login. Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff

Re: System VM Template : wrong path for downloading in 4.2

2013-10-08 Thread Travis Graham
Both are referenced in that doc, the first is for CentOS and the second is for Ubuntu. Which OS are you using? Travis On Oct 9, 2013, at 12:15 AM, Bjoern Teipel wrote: > How can I fix the doc ? > There is a wrong path at > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html

System VM Template : wrong path for downloading in 4.2

2013-10-08 Thread Bjoern Teipel
How can I fix the doc ? There is a wrong path at http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/management-server-install-flow.html#prepare-system-vm-template Stating the path /usr/lib64/cloud/common/scripts/storage/secondary/cloud-install-sys-tmplt b

Re: CS 4.2 KVM cluster vlan configuration

2013-10-08 Thread motty cruz
Thank you very much Travis, I completely missed capitalized BRIDGE, now I recall seem same error before. Also, I found this link is useful, but continue to get errors http://www.cyberciti.biz/faq/rhel-linux-kvm-virtualization-bridged-networking-with-libvirt/ I now my vlan are not configure right,

Re: domain admin creating users?

2013-10-08 Thread Go Chiba
Hi Rafael, On 4.2, domain admins cannot add new users or domains under his domain. If you want to enable permission to add new user, you could custom javascript as below. # vi /usr/share/cloudstack-management/webapps/client/scripts/accounts.js and modify permission check 65

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Karthi Keyan
Hi Nitin, I have already tried installing 3 times, but it didn't work. I'm getting the same error. Anyhow i will do again on separate instance, if it is not working then i will come with complete logs :) @Alena I have updated the DB, but it didn't work. *mysql> update user set state='enabled'

Re: Error building Cloudstack 4.2 RPMs

2013-10-08 Thread David Nalley
Hi Jamie: So as has been pointed out, you can use pre-built RPMs if you wish. If you really need to build your ownI don't know what to suggest - the RPMs built fine for me on CentOS 6.4 x86_64 from the tarball. A couple of things - what version of Java? 6 or 7? OpenJDK or something else? Any

Re: Error building Cloudstack 4.2 RPMs

2013-10-08 Thread motty cruz
I installed it using yum I created the following file in /etc/yum.repo.d/cloudstack.repo [cloudstack] name=cloudstack baseurl=*http://cloudstack.apt-get.eu/rhel/4.1/* enabled=1 gpgcheck=0 then run the following command yum install cloudstack-management (if you want cloudstack 4.2 change the vi

domain admin creating users?

2013-10-08 Thread Rafael Weingartner
Hi all, Is it possible for domain admins to add new users to the domain they are administrating? -- Rafael Weingartner

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Nitin Mehta
Can you also try and paste the complete logs somewhere and post the link here - to trace if something went wrong before ? Just retry doing it all over again and see if you face the issue again. On 08/10/13 6:48 PM, "Karthi Keyan" wrote: >Alena, Sure i will raise the Jira. And will try updating D

Error building Cloudstack 4.2 RPMs

2013-10-08 Thread Jamie Carranza
Hi All, I'm trying to build Cloudstack 4.2 RPMs and keep running up against the same error, this looks like the most important part: Failed tests: appendTest(org.apache.cloudstack.alert.snmp.SnmpTrapAppenderTest): error snmpHelper list size not as expected expected:<0> but was:<2> The full

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Karthi Keyan
Alena, Sure i will raise the Jira. And will try updating DB and get back. Thanks, Karthikeyan On Wed, Oct 9, 2013 at 7:13 AM, Alena Prokharchyk < alena.prokharc...@citrix.com> wrote: > On 10/8/13 6:39 PM, "Karthi Keyan" wrote: > > >Hi Alena, > > > >It is a fresh installation. > > > >Thanks,

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Alena Prokharchyk
On 10/8/13 6:39 PM, "Karthi Keyan" wrote: >Hi Alena, > >It is a fresh installation. > >Thanks, >Karthikeyan Karthikeyan, can you please raise a Jira ticket with Blocker priority? To fix your setup, just update the DB - mark the user as enabled. -Alena. > > > > >On Wed, Oct 9, 2013 at 5:26 AM,

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Karthi Keyan
Hi Alena, It is a fresh installation. Thanks, Karthikeyan On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk < alena.prokharc...@citrix.com> wrote: > Sounds like a bug to me. Is it a fresh install, or upgraded? System and > Admin users should be enabled by default. > > -Alena. > > On 10/8/13

Re: CS 4.2 KVM cluster vlan configuration

2013-10-08 Thread Travis Graham
A quick glance and I'm seeing your ifcfg-eth1 is referencing Bridge=Cloudbr1 and that need to be BRIDGE=cloudbr1. Not sure if that's totally your problem, but it would keep your eth1 interface from coming up. As for the rest, I'm not sure. Travis On Oct 8, 2013, at 8:58 PM, motty cruz wrote

CS 4.2 KVM cluster vlan configuration

2013-10-08 Thread motty cruz
Hello, I'm having issues configuring VLAN and network Bridge for CS 4.2. I'm using CentOS am I missing something? [root@kvm4 network-scripts]# less ifcfg-eth0 DEVICE=eth0 HWADDR=00:1A:64:20:0D:20 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none TYPE=Ethernet BRIDGE=cloudbr0 [root@kvm4 network-script

Cloudstack 4.2 Installation

2013-10-08 Thread Ananias Filho
Hello All, im new in group and working with cloudstack less than 2 months. Now im try working with 4.2 and getting some errors let me show my enviroment, installation procedures and error (in the end of page): 1. Cloudstack 4.2 2. > Environment: 3. 1- Management CentOS 6.4 - eth0 > 10.

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Alena Prokharchyk
Sounds like a bug to me. Is it a fresh install, or upgraded? System and Admin users should be enabled by default. -Alena. On 10/8/13 3:52 PM, "Karthi Keyan" wrote: >Hi All, > >In management database i found this info, > >mysql> use cloud >mysql> select * from user; >++--

Re: Unable to Login into UI in CS-4.2

2013-10-08 Thread Karthi Keyan
Hi All, In management database i found this info, mysql> use cloud mysql> select * from user; ++--+--+---++---+--+---+--+-++-+-+--+--

Unable to Login into UI in CS-4.2

2013-10-08 Thread Karthi Keyan
Hi All, I have installed Cloudstack-4.2 in centOS-6.3. The installation went successful. But after that i cannot able to LOGIN in UI. Username: admin Password: password When i click login button it throws this error, * * *Invalid username or password * If i click the Login button again, then it

Re: Template storage

2013-10-08 Thread David Comerford
Smashing. Thanks guys. Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http://gpg.dave.ie On 8 October 2013 18:15, Nitin Mehta wrote: > Yes, they should get copied. > Also to answer the question "If so, how

RE: could not add ceph primary storage.

2013-10-08 Thread Suresh Sadhu
You have to manually create the pool first in ceph and then add to cloudstack. On server side api calls are logged in in /var/log/cloudstack/management/apilog.log file and client side you can capture the api calls by enabling the firbug on firefox browser. Regards sadhu folder -Original

Re: ldap auth is broken for me

2013-10-08 Thread Kirk Jantzer
Ignore this - our AD administrator triggered my account to force a password change *shakes fist*!! Regards, Kirk Jantzer http://about.me/kirkjantzer On Tue, Oct 8, 2013 at 1:59 PM, Kirk Jantzer wrote: > No changes were made, that I'm aware of. I can login with the password I > setup when I c

ldap auth is broken for me

2013-10-08 Thread Kirk Jantzer
No changes were made, that I'm aware of. I can login with the password I setup when I created the account in CS, but it's not reaching out to the domain to use that. 2013-10-08 13:57:24,784 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) ===START=== 10.240.8.243 -- POST null 2013-10-08 13:5

Re: Prevent users from deploying instances

2013-10-08 Thread Chris Sciarrino
Hi Nitin, That is correct they would be created as admin/domain admin and then assigned to the end user account using assignVirtualMachine api which Jessica looks like she is adding the functionality to the UI in 4.2.1 (CLOUDSTACK-4796). In order for this use case to be functional through the UI

Re: Prevent users from deploying instances

2013-10-08 Thread Koushik Das
There was some discussion about a new RBAC framework sometimes back. It should have some provision to address the below use case. On 08-Oct-2013, at 10:55 PM, Nitin Mehta wrote: > Chris - Thanks for putting in the use case. > As you said suggestion 1 fits in fine for your use case. > One clarif

Re: RHEV with CloudStack

2013-10-08 Thread Laszlo Hornyak
Hi, RHEV is basically a productized KVM, is there anything missing or it is simply not tested? On Tue, Oct 8, 2013 at 6:26 PM, David Ortiz wrote: > Fabrice, > RHEV is not currently supported by Cloudstack. I saw someone talk > about adding support for it on the dev list at one point, but

Re: deployVirtualMachine fails

2013-10-08 Thread Nitin Mehta
Valery - Can you please file a bug for a better message. You are calling as a system user (port 8096) but for the account vdc3880 and so the system checks whether this account can access this template, network etc. On 08/10/13 10:20 AM, "Valery Ciareszka" wrote: >Finally I've found the problem

Re: Prevent users from deploying instances

2013-10-08 Thread Nitin Mehta
Chris - Thanks for putting in the use case. As you said suggestion 1 fits in fine for your use case. One clarification though - would you be creating the vms as an admin and then using assignVirtualMachine to assign the vms to the end user ? This is preferable for vm usage calculations. Thanks, -N

Re: deployVirtualMachine fails

2013-10-08 Thread Valery Ciareszka
Finally I've found the problem in ./server/src/com/cloud/vm/UserVmManagerImpl.java near _accountMgr.checkAccess(newAccount, null, true, templateOwner); The reason was that template was not public-enabled, therefore user account could not get access to non-public template. But I thin

Re: Instance create with ISO always fails. Templates create fine.

2013-10-08 Thread Nitin Mehta
Check the hypervisor version allows the OS version of the ISO in hypervisor supported guest OS documentation. Try and paste the logs and give us the link in community. On 08/10/13 8:30 AM, "Bryan Manske" wrote: >Greetings, > >Using CloudStack 4.2.0 on CentOS 6.4 x86_64 with XenServer 6.2 and >ad

Re: Template storage

2013-10-08 Thread Nitin Mehta
Yes, they should get copied. Also to answer the question "If so, how are they copied around? Daily rsync or something similar?" Moment a public template is added, its download is requested on all the secondary storages. Thanks, -Nitin On 08/10/13 4:41 AM, "David Comerford" wrote: >Thanks Sanjee

Running more than 16 KVM hosts in the same Cloudstack Cluster

2013-10-08 Thread hyguinho
Hi guys, I read a 'Configuration Requirement' in the Cloudstack 4.1.1 Admin Guide stating that we are not suppose to have more than 16 KVM hosts in the same Cloudstack Cluster. However, I know that's possible to have more than that. I have two questions: 1 - Can I have a real problem for runni

Re: could not add ceph primary storage.

2013-10-08 Thread raj kumar
Name: rbd-primary protocol: RBD Rad mon: 192.168.210.35 (one of the monitor ip) rados pool: cloudstack (this pool don't exists in ceph) rados user: admin rados secret: storage tags: rbd can you pls let me know how can i get the api call. Is it part of logs in /var/log/cloudstack. On Tue,

RE: RHEV with CloudStack

2013-10-08 Thread David Ortiz
Fabrice, RHEV is not currently supported by Cloudstack. I saw someone talk about adding support for it on the dev list at one point, but not sure if it ever went anywhere. Thanks, Dave > From: fabrice.braz...@apalia.net > Date: Mon, 7 Oct 2013 10:11:41 +0200 > Subject: RHEV with CloudSt

Missing LXC manager

2013-10-08 Thread Francois Gaudreault
Another quick question... I just tried to add an LXC cluster to try on 4.2, and I am getting this: INFO [cloud.api.ApiServer] (catalina-exec-8:) Could not find corresponding resource manager for LXC What I am missing? -- Francois Gaudreault Architecte de Solution Cloud | Cloud Solutions Arc

LXC and Networking

2013-10-08 Thread Francois Gaudreault
Hi, I do have some questions regarding LXC containers and the networking. First, should I put the LXC clusters on a separate zone or I can use an existing zone (which I built for Xen) and just create a new LXC cluster? Second, I saw in the doc that bridges are manually created... what happens

Instance create with ISO always fails. Templates create fine.

2013-10-08 Thread Bryan Manske
Greetings, Using CloudStack 4.2.0 on CentOS 6.4 x86_64 with XenServer 6.2 and advanced zones I'm having problems provisioning an instance to be installed with an ISO. Instances using templates build fine. My primary and secondary storage look fine, the two hosts in the cluster look fine and my I

Can't use CLVM CS 4.2

2013-10-08 Thread Koen Vanoppen
Hello there, Hope that someone can help me. I have the following weird issue. on CS 4.1 and CS 4.2. After noticing that I wasn't able to add self created disk-offerings to my vm's I looked in the logs and I saw that he was complaining about the storage shotage, so I added 2 TB to out volume group,

Re: CS 4.1 advanced zone setup without vlans?

2013-10-08 Thread motty cruz
Thank you kindly; I have configured bridges for CS base on this official guide but had not success: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Installation_Guide/hypervisor-kvm-install-flow.html can some one provided examples of how the bridges must be configure? Thanks,

Re: Adding a XenServer cluster with existing VMs

2013-10-08 Thread France
You should add only fresh install XenServers to CS. Any other would mean that CS would not be aware of them and it would calculate resources wrong and bunch of other things would not work as expected. I would suggest backing them up, doing a fresh install and then import them via CS GUI using .

Adding a XenServer cluster with existing VMs

2013-10-08 Thread David Ortiz
Hello, If I have a XenServer cluster with VMs that already exist and I add it to Cloudstack, what happens? I saw in the documentation that it should not have VMs running, but does this mean they should not exist or they should be stopped? If the former, will the Cloudstack addition fail,

RE: could not add ceph primary storage.

2013-10-08 Thread Suresh Sadhu
What are the parameters you passed while adding the primary storage. Can you copy and paste api call Regards Sadhu -Original Message- From: raj kumar [mailto:rajkumar600...@gmail.com] Sent: 08 October 2013 15:37 To: users@cloudstack.apache.org Subject: could not add ceph primary stora

RE: Template storage

2013-10-08 Thread David Comerford
Thanks Sanjeev, If a new secondary storage volume is added then do existing public templates get copied over so they're all in sync? Regards, Dave On Oct 8, 2013 6:55 AM, "Sanjeev Neelarapu" wrote: > Hi David, > > If a zone has multiple secondary storages then all the public templates > will be

Re: Merging public ang guest network

2013-10-08 Thread Shanker Balan
On 08-Oct-2013, at 1:02 AM, Anton Rubets wrote: > Hi all. > I have some problem with understanding networking. Now i need to somehow > merge public and guest network. So i explain. > Cloudstack located in real NAT network, and we dedicated vlan for virtual > machines, so i want to give them ip in

could not add ceph primary storage.

2013-10-08 Thread raj kumar
Hi, using ubuntu 12.04, compiled libvirtd 1.1.0 with rbd support. But I'm getting below error. pls note libvirt-bin 0.9.8 also exists for cloudstack-agent dependency. /var/log/cloudstack/agent/agent.log shows: 2013-10-08 05:11:33,280 DEBUG [kvm.storage.LibvirtStorageAdaptor] (agentRequest-Handle

Usage server XML error for a Account

2013-10-08 Thread prakash
Hi, I am developing script to get usage from cloudstack server through api. I am receiving usage for all accounts except one account. I am receiving 530 error code in my xml. It is bug in usage server. Xmloutput Log: === java.io.ByteArrayInputStream@354d2cad [#document: null] accou

Re: remove nic fails if dhcp wasn't enabled in network offering

2013-10-08 Thread Valery Ciareszka
Alena, Thanks for reply. I've posted it at https://issues.apache.org/jira/browse/CLOUDSTACK-4828 On Mon, Oct 7, 2013 at 7:55 PM, Alena Prokharchyk < alena.prokharc...@citrix.com> wrote: > Valery, its a bug. When no DHCP service is enabled on the network, it > should work like this: > > 1) Nic en