[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
in...@sg.or.id 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.log nohup: ignoring input

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

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

2013-10-03 Thread Dean Kamali
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-sysvmadm: line 21: /etc/rc.d/init.d/functions: No such file or directory Stopping

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

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

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 chris.sciarr...@gmail.comwrote: Hi, Is it possible to assign a VM to another user through the cloudstack web interface? For example if I had a request

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 http://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 dean.kam...@gmail.com wrote: you will need to do that using the api it is not possible to via UI as far as I know.

[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: [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 in...@sg.or.id 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

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 f...@niif.hu wrote: Dear, I installed CS 4.2 from rpm packages to Centos 6.4. Everything works fine, with install, and with configuration, but

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 shadow...@gmail.comwrote: 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

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 in...@sg.or.id wrote: Hi Marcus, Good day to you, and thank you

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

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

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 pd...@cloudops.com 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

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 pd...@cloudops.com wrote: root@s-184-VM:# ls -lh 244/* -rw-rw-rw- 1 4294967294 4294967294 309 Oct 3 18:01

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

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.

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

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,

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.

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: 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

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

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 in...@sg.or.id 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

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

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

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:

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 ng.t...@gmail.com

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,

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 chris.sciarr...@gmail.comwrote: Okay thanks for confirming. I

Re: Network offering for GRE

2013-10-03 Thread Nguyen Anh Tu
2013/10/4 Luca Salvatore l...@ninefold.com 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.

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