[URGENT] Unable to stop/start system VMs after upgrade to 4.2.0

2013-10-03 Thread Indra Pramana
Dear all, I am now in the progress of upgrading my CloudStack from 4.1.1 to 4.2.0. Running cloudstack-sysvmadm can restart the SSVM, but failed to restart the CPVM and all the VRs. [1] 3152 root@cs-mgmt-01:~/backup/20131003# tail -f sysvm.log nohup: ignoring input /usr/bin/cloudstack

Re: [URGENT] Unable to stop/start system VMs after upgrade to 4.2.0

2013-10-03 Thread Indra Pramana
wrote: > Dear all, > > I am now in the progress of upgrading my CloudStack from 4.1.1 to 4.2.0. > Running cloudstack-sysvmadm can restart the SSVM, but failed to restart the > CPVM and all the VRs. > > > [1] 3152 > root@cs-mgmt-01:~/backup/20131003# tail -f sysvm.

Assign instance to another account

2013-10-03 Thread Chris Sciarrino
Hi, Is it possible to assign a VM to another user through the cloudstack web interface? For example if I had a request from a user to have an instance deployed for them, I would be able to deploy it as the admin and then assign it to their account so that they would still be able to control the V

Re: [URGENT] Unable to stop/start system VMs after upgrade to 4.2.0

2013-10-03 Thread Dean Kamali
ading my CloudStack from 4.1.1 to 4.2.0. > > Running cloudstack-sysvmadm can restart the SSVM, but failed to restart > the > > CPVM and all the VRs. > > > > > > [1] 3152 > > root@cs-mgmt-01:~/backup/20131003# tail -f sysvm.log > > nohup: ignoring

Re: Cloudstack 4.1

2013-10-03 Thread motty cruz
Thank for your reply, here is what i get on the logs: 2013-10-03 06:07:22,285 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-8:job-92) Cleaning up resources for the vm VM[User|zee] in Starting state 2013-10-03 06:07:22,289 DEBUG [agent.transport.Request] (Job-Executor-8:job-92) Seq 5-115

Cloudstack 4.0 after power|cooling loss

2013-10-03 Thread Old, Curtis
Guys, My lab took a hit this morning the air handler for my lab crapped out, temp was over a 100 in the lab. Servers powering off or bouncing. Cloudstack 4.0 is backup, but out of the 10 compute nodes (5 KVM, 5 Xenserver) the Xenserver nodes keep going into Alert or Connecting state. Is t

Re: Assign instance to another account

2013-10-03 Thread murali reddy
http://cloudstack.apache.org/docs/api/apidocs-4.0.0/root_admin/assignVirtualMachine.html On Thu, Oct 3, 2013 at 6:06 PM, Chris Sciarrino wrote: > Hi, > > Is it possible to assign a VM to another user through the cloudstack web > interface? > > For example if I had a request from a user to have a

Re: Assign instance to another account

2013-10-03 Thread Dean Kamali
you will need to do that using the api it is not possible to via UI as far as I know. On Thu, Oct 3, 2013 at 8:36 AM, Chris Sciarrino wrote: > Hi, > > Is it possible to assign a VM to another user through the cloudstack web > interface? > > For example if I had a request from a user to have an i

Re: GPG key expired

2013-10-03 Thread Dean Kamali
GPG error: http://cloudstack.apt-get.eu precise Release: The following signatures were invalid: KEYEXPIRED 1378559179 KEYEXPIRED 1378559179 KEYEXPIRED 1378559179 apt-key list /etc/apt/trusted.gpg pub 1024D/437D05B5 2004-09-12 uid Ubuntu Archive Automatic Si

Re: Cloudstack 4.0 after power|cooling loss

2013-10-03 Thread Old, Curtis
Also noticed Console Proxy VM stuck in staring state (runs on KVM node) Curtis Old Neustar, Inc. / Neustarlabs / Senior Research Engineer 46000 Center Oak Plaza Sterling, VA 20166 Office: +1.571.434.5384 Mobile: +1.540.532.2230 / curtis@neustar.biz / www.neustar.biz

Re: Assign instance to another account

2013-10-03 Thread Chris Sciarrino
Okay thanks for confirming. I will submit a feature request for it, this seems like something that should be available through the UI. On Thu, Oct 3, 2013 at 9:39 AM, Dean Kamali wrote: > you will need to do that using the api it is not possible to via UI as far > as I know. > > > On Thu, Oct 3

[URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Dear all, We face a major problem after upgrading to 4.2.0. Mounting from KVM hosts to secondary storage seems to fail, every time a new VM instance is created, it will use up the / (root) partition of the KVM hosts instead. Here is the df result: root@hv-kvm-02:/home/indra# df Filesystem

Re: cloud-set-guest-password script for ArchLinux?

2013-10-03 Thread Shanker Balan
On 01-Oct-2013, at 7:33 PM, Shanker Balan wrote: > On 01-Oct-2013, at 1:42 PM, Kirk Kosinski wrote: > >> For dhcpcd, update the script to use the following instead of checking >> lease files: >> >> PASSWORD_SERVER_IP=$(dhcpcd -U eth0 | grep dhcp_server_identifier | cut >> -f2 -d=) > > > Sweet.

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Dean Kamali
have you looked at storage over-provisioning settings ?? On Thu, Oct 3, 2013 at 11:53 AM, Indra Pramana wrote: > Dear all, > > We face a major problem after upgrading to 4.2.0. Mounting from KVM hosts > to secondary storage seems to fail, every time a new VM instance is > created, it will use u

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Marcus Sorensen
Are you using the release artifacts, or your own 4.2 build? When you rebooted the host, did the problem go away or come back the same? You may want to look at 'virsh pool-list' to see if libvirt is mounting/registering the secondary storage. Is this happening on multiple hosts, the same way? You

Re: CS 4.2 storage vm

2013-10-03 Thread Laszlo Hornyak
Hi Peter, The above class is in the vmware plugin, could you check if it is available in the agent? On Thu, Oct 3, 2013 at 12:29 AM, Erdősi Péter wrote: > Dear, > > I installed CS 4.2 from rpm packages to Centos 6.4. > Everything works fine, with install, and with configuration, but after th

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Hi Marcus, Good day to you, and thank you for your e-mail. See my reply inline. On Fri, Oct 4, 2013 at 12:29 AM, Marcus Sorensen wrote: > Are you using the release artifacts, or your own 4.2 build? > [Indra:] We are using the release artifacts from below repo since we are using Ubuntu: deb htt

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Hi Marcus and all, I also find some strange and interesting error messages from the libvirt logs: http://pastebin.com/5ByfNpAf Looking forward to your reply, thank you. Cheers. On Fri, Oct 4, 2013 at 1:38 AM, Indra Pramana wrote: > Hi Marcus, > > Good day to you, and thank you for your e-m

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Hi Dean, Good day to you, and thank you for your e-mail. The current setting (value) of storage.overprovisioning.factor is 2. Do you think it matters? I can't remember whether the value was the default value, or is it something that we changed earlier. Do you think changing this to 1 will help?

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Marcus Sorensen
It sort of looks like the out of space triggered the issue. Libvirt shows 2013-10-03 15:38:57.414+: 2710: error : virCommandWait:2348 : internal error Child process (/bin/umount /mnt/5230667e-9c58-3ff6-983c-5fc2a72df669) unexpected exit status 32: error writing /etc/mtab.tmp: No space left on

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Hi Marcus, It happens randomly, mounting fails, and then / gets filled. I suspect this occurs when the mounting fails, any files which is supposed to be transferred to the mount point (e.g. templates used to create VMs) will fill-up the / partition of the KVM host instead. This doesn't happen in 4

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Marcus Sorensen
You'll have to go back further in the log then, and/or go to the agent log, because the issue of the ghost mount is due to the filesystem being full, and if that's your secondary storage I'm not sure why it would be written to from the kvm host unless you were doing backups or snapshots. On Thu, O

Create Template on NFS secondary Storage

2013-10-03 Thread Pierre-Luc Dion
Hi all, We are currently using Cloudstack 4.1.0 managing XenServer 6.0.2 servers. Since recently, I don't know what cause this to appear on our system but went we create a template from a Instance the template (.vhd) is upload on on the secondary storage (NFS) but in a subdirectory ex: from t

Re: Create Template on NFS secondary Storage

2013-10-03 Thread Travis Graham
Can you check the permissions on the subdirectories? Travis On Oct 3, 2013, at 3:51 PM, Pierre-Luc Dion wrote: > Hi all, > > We are currently using Cloudstack 4.1.0 managing XenServer 6.0.2 servers. > > > Since recently, I don't know what cause this to appear on our system but > went we crea

Re: Create Template on NFS secondary Storage

2013-10-03 Thread Pierre-Luc Dion
root@s-184-VM:# ls -lh 244/* -rw-rw-rw- 1 4294967294 4294967294 309 Oct 3 18:01 244/template.properties 244/a8ecc932-eaab-88f4-0687-37fbf15aeae5: total 1.4G -rw-r--r-- 1 4294967294 4294967294 1.5G Oct 3 18:01 73e0632e-c856-44f4-8712-ae1daf0d79d2.vhd Pierre-Luc Dion Responsable technique - i

Re: Create Template on NFS secondary Storage

2013-10-03 Thread Travis Graham
Can you check the permissions on the actual folders, 244 and 246 and see if they differ or have different owners? Travis On Oct 3, 2013, at 4:06 PM, Pierre-Luc Dion wrote: > root@s-184-VM:# ls -lh 244/* > -rw-rw-rw- 1 4294967294 4294967294 309 Oct 3 18:01 244/template.properties > > 244/a8e

Re: Create Template on NFS secondary Storage

2013-10-03 Thread Kirk Kosinski
Did you patch the hosts recently? That is the likely cause. The patched NFSSR.py that CloudStack copies to XS hosts can be overwritten by some patches. Without the patched NFSSR.py, when secondary storage is mounted it reverts to the default XenServer behavior of including an extra directory nam

Re: [URGENT] Mounting issues from KVM hosts to secondary storage

2013-10-03 Thread Indra Pramana
Hi Marcus, Good day to you, and thank you for your e-mail. We will try to do what you have suggested and will see if we can fix the problem. I am looking into increasing the filesystem of the KVM hosts to see if it can resolve the problem for now. Thank you very much for your help! Cheers. O

Resize data-disk doesn't work after upgrade

2013-10-03 Thread Indra Pramana
Dear all, After upgrading to 4.2.0, I tried to resize a data disk of a VM instance from 20 GB to 60 GB, through the Cloudstack GUI. The UI reports that the resize was successful, and that the data disk is now showing 60 GB instead of 20 GB. However, when I check the actual disk on the VM, it seems

Re: Resize data-disk doesn't work after upgrade

2013-10-03 Thread Marcus Sorensen
I just tested local storage qcow2 and CLVM resize on 4.2, they both worked. Resize works like this: 1. Do sanity checks 2. Send resize command to the agent 3. Resize the disk/lun/file 4. Inform the VM instance that the disk has changed by making a libvirt volBlockResize call (this is not fatal, s

Management addresses on XenServers

2013-10-03 Thread David Comerford
Hi, Why do system VM's on XenServer in a Basic networking zone require a link-local address AND a private IP from the management range? Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http://gpg.dave.ie

Re: Management addresses on XenServers

2013-10-03 Thread Geoff Higginbottom
David, Link local is so that the management server can talk to them, and the private (management) address is so they can talk to the management server. The Virtual Router has no private address so the standard way that CloudStack management servers talk to all system VMs is via link local. SSV

Re: Resize data-disk doesn't work after upgrade

2013-10-03 Thread Indra Pramana
Hi Marcus, Good day to you, and thank you for your e-mail. I have tried restarting the VM and even stop and start the VM, but after logging in to the VM, I still see the hard drive's size as 20 GB instead of 60 GB. I tried to check /var/log/libvirt/libvirtd.log file on the KVM host where the VM

Re: Management addresses on XenServers

2013-10-03 Thread David Comerford
Ah it was the virtual routers I was thinking of. Cool, thanks Geoff :) Best regards, David Comerford Tel: +353 87 1238295 Email: davest...@gmail.com Website: http://dave.ie GPG key: http://gpg.dave.ie On 3 October 2013 22:11, Geoff Higginbottom < geoff.higginbot...@shape

Re: CS 4.2 storage vm

2013-10-03 Thread Laszlo Hornyak
Oops, of course vmware is non redistributable, so maybe it is not there. However, this class should only be used if your CS is configured with premium=true. If you turn it off, it will default to the NfsSecondaryStorageResource included in the distribution. Strage, On Thu, Oct 3, 2013 at 7:09 PM

How to hide some server offerings?

2013-10-03 Thread Rafael Weingartner
Hey all, I was wondering, I have some server offering that should just be used by the administrator, so, is it possible to hide them from normal users? I noticed that when I am creating a service offering there is a check-box called public? So, I created some service offering that would be used j

Re: Resize data-disk doesn't work after upgrade

2013-10-03 Thread Marcus Sorensen
What primary storage are you using? Any errors in agent log? On Oct 3, 2013 3:16 PM, "Indra Pramana" wrote: > Hi Marcus, > > Good day to you, and thank you for your e-mail. > > I have tried restarting the VM and even stop and start the VM, but after > logging in to the VM, I still see the hard dr

Re: How to hide some server offerings?

2013-10-03 Thread Alena Prokharchyk
Rafael, there is no way to filter offerings by the caller type, not even in the DB. "Public" attribute means that the offering is available to everyone in the cloud; there is another alternative - offering can be domain specific. In this case it can be used by all users from this domain/its subdom

Re: Resize data-disk doesn't work after upgrade

2013-10-03 Thread Kirk Kosinski
Yes, if there was a problem it should have been logged in the agent.log. If it was successful it may or may not be logged depending on the logging level. While logged on to the hypervisor, check the actual virtual disk with "qemu-img info /mnt/somepath/filename". The filename can be found in the

Network offering for GRE

2013-10-03 Thread Luca Salvatore
I'm trying to test getting cloudstack 4.1 to build some GRE tunnels between zones. I have two zones and a Xen server in each. I have sdn.ovs.controller set to true and separate physical interfaces configured for management traffic and GRE traffic. When I deploy a VM in each zone I can see inter

Re: CS 4.2 storage vm

2013-10-03 Thread Erdősi Péter
Hi Laszlo, Thanks for the information, however do You know, where can I change it? (I installed it from rpm packages.) This is a compile-stage setting, or can be made on my installed system (if yes, can You tell where)? Thanks: Peter 2013.10.03. 23:41 keltezéssel, Laszlo Hornyak írta: Oops

Re: Network offering for GRE

2013-10-03 Thread Nguyen Anh Tu
2013/10/4 Luca Salvatore > > I want to overlay a layer 2 network across a layer 3 network, but just not > sure how cloudstack does this. It doesn't seem to be working at the moment. > Do I need to create some type of special network service offering to make > this happen? The only 'virtual netw

Re: Cloudstack 4.1

2013-10-03 Thread Kirk Kosinski
We still need more of the log. We need it from the very beginning of the job the failed (seems like job-92). Also if possible please upload it somewhere rather than pasting it to an email to conserve the formatting. It is easier to read with the original formatting. Best regards, Kirk On 10/03

Re: Network offering for GRE

2013-10-03 Thread Luca Salvatore
So are you saying in version 4.1 it is currently not working? WHat version are the patches available in? Any thoughts on how it will work between zones? E.g. Layer 2 over layer 3? Should we assign the same Subnets to each zone? -- Luca On 4/10/13 11:19 AM, "Nguyen Anh Tu" wrote: >2013/10

Slow network speed to VM instances after upgrade to CloudStack 4.2.0

2013-10-03 Thread Indra Pramana
Dear all, After CloudStack upgrade to 4.2.0, the network speed to our VM instances is very slow and seems to be limited to 2 Mbps for both ingress and egress traffic for each instance. It seems that there's some network rate limiting which didn't take effect on CloudStack version 4.1.1 or below, b

Re: Assign instance to another account

2013-10-03 Thread Punit Dambiwal
Hi, It can be possible in CS 4.2 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Release_Notes/version-4.2.html#host-and-vm-enhancements Thanks, Punit Dambiwal On Thu, Oct 3, 2013 at 11:41 PM, Chris Sciarrino wrote: > Okay thanks for confirming. I will submit a feature re

Re: Network offering for GRE

2013-10-03 Thread Nguyen Anh Tu
2013/10/4 Luca Salvatore > So are you saying in version 4.1 it is currently not working? WHat > version are the patches available in? > > Yes, I'm working on sdnextensions branch, which are not merged to any release branch. > Any thoughts on how it will work between zones? E.g. Layer 2 over l

Re: Network offering for GRE

2013-10-03 Thread Luca Salvatore
What I mean is that, the GRE tunnel is build between the XenServers OVS. The XenSevers would need public IPs between them for connectivity over the L3 network. This is normal for GRE end points. However the VMs inside the XenServer don't know anything about the GRE. For it to be proper layer 2 ov

Re: CS 4.2 storage vm

2013-10-03 Thread Laszlo Hornyak
Not quite sure since I never ran it from rpm so far, but I believe you can disable it in /usr/share/cloudstack-management/webapps/client/WEB-INF/classes/nonosComponentContext.xml just comment out the line On Fri, Oct 4, 2013 at 2:20 AM, Erdősi Péter wrote: > Hi Laszlo, > > Thanks for the info