Re: System VMs not starting

2013-10-11 Thread Chirag Choudhary
Hi, Thanks @Geoff After logging into the ssvm came to know that 80 port was blocked in its firewall, so I downloaded the template, setup a local tomcat server, then added the template in UI and it worked like charm, new instance also created with the VM. :D Regards, On Thu, Oct 10, 2013 at 5:09

Re: Steps in building DEB packages for 4.2.0

2013-10-11 Thread Prasanna Santhanam
On Fri, Oct 11, 2013 at 09:59:52AM +0800, Indra Pramana wrote: > Dear all, > > I am reading the documentation on the steps in building DEB packages for > CloudStack 4.2.0: > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/sect-source-builddebs.html > > a

RE: CS Ip address reservation...

2013-10-11 Thread COCHE Sébastien
This parameters mean that the instance is not started (or stay stopped) at the end of creation (e.g. : to add a new virtual disk). It doesn't forbid the vm startup. I did not see any instance deployment parameter which could answer my need :-( Am I the only one guy who need to mix virtual and ph

Why Secondarystroage resourcelimit contains volumes

2013-10-11 Thread sx chen
Hi,all: In 4.2,We can limit the secondarystorage usage for a user or a domain. But when I refer to source code ,I find public long calculateSecondaryStorageForAccount(long accountId) { long totalVolumesSize = _volumeDao.secondaryStorageUsedForAccount(accountId); long totalS

Setting user data removes SSH public key data on a running VM

2013-10-11 Thread Stanislav Petrov
Hi all, My Environment is: CS 4.1.1, KVM hypervisor Here is the use case steps: 1. Create SSH keypair "keypairname" through the REST API. 2. Deploy VM with the created keypair from step 1. 3. On the VM, the url "http:///latest/public-keys" returns the public key. 4. Update the running VM with use

Re: [PROPOSAL] Dynamic Compute Offering

2013-10-11 Thread Bharat Kumar
Hi All, Added the Function spec at https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dynamic+Compute+Offering+FS please go thorough this and give me your comments. -Bharat. On Sep 30, 2013, at 12:34 PM, Bharat Kumar wrote: > Hi All, > > Currently in cloudstack we need to associate eve

RE: Setting user data removes SSH public key data on a running VM

2013-10-11 Thread Harikrishna Patnala
Hi, Did you stop start the vm after updating the Userdata (after step 4). API doc says we need to stop start the vm to take effect. http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateVirtualMachine.html Even after stop and start if same behavior exists then this is an issue. Than

Re: listUsageRecords fails after deleting an account

2013-10-11 Thread Nikolay Kabadjov
Short update:  It turned out that deleted security groups ware in charge instead of deleted users. We've managed to overcome by fixing the following codebase:   com.cloud.api.ApiResponseHelper.createUsageResponse 3259                 } else if(usageRecord.getUsageType() == UsageTypes.SECURITY_G

RE: CS 4.2 Advance Zone System VM won't start

2013-10-11 Thread Sanjeev Neelarapu
Hi, Please post management server log and agent log from kvm (with debug enabled) to find out the issue . We don't have to created bridge with guest vlan for guest traffic. Cloudstack will configure it automatically on kvm when required. -Sanjeev -Original Message- From: motty cruz [m

Re: CS Ip address reservation...

2013-10-11 Thread Jayapal Reddy Uradi
Hi, What I am saying is pick ip address a.b.c.d from the pool for your physical server. Once the ip is picked later if you deploy vm, we need to avoid cloudstack to assign it to user VMs to avoid conflict. For this while creating user vms specify the ip address so that cloudstack will not pick

RE: CS Ip address reservation...

2013-10-11 Thread COCHE Sébastien
OK, if I understand, I have to : 1) disable DHCP service onto the network offering used 2) manage IP pool for this network, externally, in order to set address for each instances and physical servers. I would like a more friendly solution. For example, by using bare metal deployment solution. Do

RE: CS Ip address reservation...

2013-10-11 Thread Saksham Srivastava
Considering you have allocated 10.102.198.1 to 10.102.198.10 You statically assign 10.102.198.5 to your physical server. Now you can create an instance like this : http://10.102.192.243:8096/client/api?command=deployVirtualMachine&serviceofferingid=2&templateid=4&zoneid=1&networkids=&ipaddress=10

RE: CS Ip address reservation...

2013-10-11 Thread COCHE Sébastien
OK, I correctly understand the process. But it's what I said in my previous message, I have to manage IP subnet, externally (by flagging IP address already used). Rather than setting IP address for each virtual instance deployed, I would prefer reserving IP address for physical server. Like this

RE: CS Ip address reservation...

2013-10-11 Thread Saksham Srivastava
Yes IP address reservation as a feature is available for Isolated Guest Networks and VPC. Pleaser have a look: https://cwiki.apache.org/confluence/display/CLOUDSTACK/FS+-+IP+Range+Reservation+within+a+Network http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/reserved

RE: CS Ip address reservation...

2013-10-11 Thread COCHE Sébastien
Thank you Saksham, It is exactly what i need, ..., but for shared network. I will have a look to the VPC feature, to see if this network implementation is possible, in my context. Do you know why this feature (ie: IP reservation) is only available for Isolated guest network ? Regards Sébastien

Re: Setting user data removes SSH public key data on a running VM

2013-10-11 Thread Travis Graham
The public key being removed from the VR is the correct behavior. The VR has a cache that stores the ssh key when you make the API call and once it has been requested is removed from the cache. Travis On Oct 11, 2013, at 4:31 AM, Stanislav Petrov wrote: > Hi all, > > My Environment is: CS 4

Re: Doc Updates

2013-10-11 Thread Ron Wheeler
As you find these things, please create an issue in the JIRA. At least there will be a record of what needs fixing. The dispersion of effort and information between the docs and the wiki needs some discussion. To an outsider, the wiki seems to be a place that is used to compensate for the defic

RE: CS Ip address reservation...

2013-10-11 Thread Saksham Srivastava
Sébastien, Shared Networks have implicit reservation already built in by specifying the start ip and end ip. Unlike isolated networks for which CloudStack completely designs (create CIDR, net mask, gateway etc), shared networks are admin designed and implemented. So we did not add support for sh

Re: Windows Server 2012

2013-10-11 Thread Sean Hamilton
Hey guys, Thanks for that, it's helpful. I was running vCenter 5.0 update 1a, which uses "Windows Server 8" after upgrading to to vCenter 5.0 update 2 I can see Windows Server 2012 as a guest OS type but now after deploying an instance in CloudStack I see it's created the vm as "Other (64bit)" - a

RE: Probably a dumb question, Advanced networking

2013-10-11 Thread Musayev, Ilya
Eric, Login to you cpvm with ssh key (if you haven't done this before, you can see it in admin guide). Goto /var/log/cloud there is cloud.out and systemvm.log If this issue re-occurs, don't destroy your CPVM and inspect logs. You should also check the log on management server. Regards ilya

ICMP to system VMs?

2013-10-11 Thread David Comerford
Hi, Does CS need to be able to ping the system vm's? I'm noticing a lot of this in the logs but everything is working fine. [cloud.ha.HighAvailabilityManagerImpl] (AgentTaskPool-14:null) PingInvestigator was able to determine host 61 is in Disconnected [agent.manager.AgentManagerImpl] (AgentTaskP

Re: CS 4.2 Advance Zone System VM won't start

2013-10-11 Thread motty cruz
Thank you for your reply, I blow out my installation, started from scratch; you mentioned that we don't configure bridge for guest VLAN traffic but Cloudstack did not configure it automatically. Also, I noticied after installed cloudstack-agent and configure advance zone four new interfaces appear

Re: Why Secondarystroage resourcelimit contains volumes

2013-10-11 Thread Nitin Mehta
One of the use case where volume is on secondary storage is for the uploaded volumes. Until they are attached to the vm they reside on secondary storage and hence should be counted for secondary storage usage. On 11/10/13 1:15 AM, "sx chen" wrote: >Hi,all: >In 4.2,We can limit the secondary

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

2013-10-11 Thread Edison Su
> -Original Message- > From: Indra Pramana [mailto:in...@sg.or.id] > Sent: Wednesday, October 09, 2013 11:07 PM > To: d...@cloudstack.apache.org; users@cloudstack.apache.org > Subject: Re: High CPU utilization on KVM hosts while doing RBD snapshot - > was Re: snapshot caused host disconne

Re: CS 4.2 Advance Zone System VM won't start

2013-10-11 Thread Amogh Vasekar
Possibly - Your default gateway on the host is set to your internal 192.* gateway? What does route -n say? Thanks, Amogh On 10/11/13 9:18 AM, "motty cruz" wrote: >Thank you for your reply, I blow out my installation, started from >scratch; >you mentioned that we don't configure bridge for guest

CS 4.2 upgrade from 4.0.0

2013-10-11 Thread Andrija Panic
Hi, just wanted to know if upgrade from 4.0.0 to 4.2 is possible, since I have tried upgrade 2 times on test enviroment, and both times, I ended with SSVM and PVM not starting, or starting without network connectivity... Do I have to make upgrade ie. from 4.0.0 to 4.1.1 and then to 4.2 or it does

Re: CS 4.2 Advance Zone System VM won't start

2013-10-11 Thread motty cruz
Thank you very much, my gateway was set to local network, Thanks, On Fri, Oct 11, 2013 at 12:17 PM, Amogh Vasekar wrote: > Possibly - Your default gateway on the host is set to your internal 192.* > gateway? What does route -n say? > > Thanks, > Amogh > > On 10/11/13 9:18 AM, "motty cruz" wrot

Re: CS 4.2 Advance Zone System VM won't start

2013-10-11 Thread motty cruz
So after changing my gateway to public address my System VMs started, I was able to download a ISO install an instance but I'm unable to ping the instance, or the VR, guest CIDR 10.1.1.0/24 guest traffic is in the same network as public traffic using vlan 100. this is how eth0 public interface look

Re: Disable copy snapshot to secondary storage in CS 4.2

2013-10-11 Thread Sebastian Igerl
Hey, yes i did : https://issues.apache.org/jira/browse/CLOUDSTACK-4858 Cheers 2013/10/9 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. > > Chee

Re: Disable copy snapshot to secondary storage in CS 4.2

2013-10-11 Thread Nitin Mehta
You guys can vote for this to be fixed in the next maintenance release - 4.2.1. On 11/10/13 2:35 PM, "Sebastian Igerl" wrote: >Hey, > >yes i did : https://issues.apache.org/jira/browse/CLOUDSTACK-4858 > >Cheers > > >2013/10/9 Indra Pramana > >> Dear all, >> >> I also encounter the same problem.

Re: cloudstack 4.2 xenserver 6.2 template not downloading

2013-10-11 Thread Bradley D. Thornton
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Pardon the top-post, but I was following this thread before jumping into 4.2/6.2 headfirst and wanted to know if these issues were finally resolved to everyone's satisfaction, or if there was a decent enough kludge to consider the move (like chow

Re: Why Secondarystroage resourcelimit contains volumes

2013-10-11 Thread sx chen
Thanks,Nitin For Upload volume It's OK. Then I have another question; If I destroy a vm,the root disk will be romoved too,but data disk is still on the primary storage, and state is not "Allocated",So these volumes will be counted as secondarystorage and they are actually in the primary storage?