Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-15 Thread Prasanna Santhanam
On Mon, Jul 15, 2013 at 06:44:12PM +0800, Indra Pramana wrote: > > > Any other way on how to console in to the newly created VM other than > > using > > > the console proxy method? Unlike system VM, the instance VM doesn't give > > > any link local address which I can SSH directly from the KVM host

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-15 Thread Indra Pramana
Hi Prasanna, Good day to you, and thank you for your e-mail. On Mon, Jul 15, 2013 at 5:57 PM, Prasanna Santhanam wrote: > On Mon, Jul 15, 2013 at 04:45:34PM +0800, Indra Pramana wrote: > > Hi Prasanna and all, > > > > I managed to work out on how to assign public IP to the VM instance using > >

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-15 Thread Prasanna Santhanam
On Mon, Jul 15, 2013 at 04:45:34PM +0800, Indra Pramana wrote: > Hi Prasanna and all, > > I managed to work out on how to assign public IP to the VM instance using > static NAT. > > However, I am still stuck with the console proxy time-out issue. It seems > that my problem is exactly the one ment

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-15 Thread Indra Pramana
Hi Prasanna and all, I managed to work out on how to assign public IP to the VM instance using static NAT. However, I am still stuck with the console proxy time-out issue. It seems that my problem is exactly the one mentioned on this bug reported to JIRA: https://issues.apache.org/jira/browse/CL

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-15 Thread Indra Pramana
Hi Prasanna and all, I managed to create a VM instance using the NFS primary storage (not using the RBD primary storage due to the bug we discussed on another thread). However, there is no public IP being assigned to the VM instance (unlike the system VMs which are getting public IPs). How do I a

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-14 Thread Indra Pramana
Hi Prasanna, On Mon, Jul 15, 2013 at 12:20 PM, Prasanna Santhanam wrote: > On Sat, Jul 13, 2013 at 02:25:35PM +0800, Indra Pramana wrote: > > Hi Prasanna, > > > > Good day to you, and thank you for your e-mail. > > > Were you able to get beyond this error? > Yes. I managed to get around the net

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-14 Thread Prasanna Santhanam
On Sat, Jul 13, 2013 at 02:25:35PM +0800, Indra Pramana wrote: > Hi Prasanna, > > Good day to you, and thank you for your e-mail. > Were you able to get beyond this error? > Yesterday I troubleshooted further and found out that the mapping of the > bridge is incorrect. For example, eth1 of the S

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Indra Pramana
Hi Prasanna, Good day to you, and thank you for your e-mail. Yesterday I troubleshooted further and found out that the mapping of the bridge is incorrect. For example, eth1 of the SSVM, which is supposed to be private network interface for communication with management server, is being mapped to

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Prasanna Santhanam
See Inline, On Fri, Jul 12, 2013 at 05:12:25PM +0800, Indra Pramana wrote: > Hi Wido, > > Noted, can't wait for 4.2 to be released. :) > > Dear Prasanna, Wido and all, > > I just realised that while the system VMs are running, they are still not > accessible through the public IPs assigned to t

RE: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Sudha Ponnaganti
- From: Indra Pramana [mailto:in...@sg.or.id] Sent: Friday, July 12, 2013 2:12 AM To: Wido den Hollander Cc: users@cloudstack.apache.org; Chip Childers Subject: Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0 Hi Wido, Noted, can't wait for 4.2 to be released. :)

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Indra Pramana
Hi Wido, Noted, can't wait for 4.2 to be released. :) Dear Prasanna, Wido and all, I just realised that while the system VMs are running, they are still not accessible through the public IPs assigned to them. I have been waiting for the SSVM to download the default CentOS template and it doesn't

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Wido den Hollander
On 07/12/2013 10:14 AM, Indra Pramana wrote: Hi Prasanna, I managed to fix the problem, thanks for your advice to turn the agent log level to debug: https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug From the log, I found out that the agent on the KVM host tried to NFS mou

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Indra Pramana
Hi Prasanna, I managed to fix the problem, thanks for your advice to turn the agent log level to debug: https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+agent+debug >From the log, I found out that the agent on the KVM host tried to NFS mount directly to 103.25.200.19:/mnt/vol1/sec-stor

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-12 Thread Indra Pramana
Hi Prasanna, Good day to you, and thank you for your e-mail. Yes, the cloudstack-agent service is running on both the KVM hosts. There is no "cloud" user being created though, when I installed the agent. I installed the agent as root. root@hv-kvm-01:/home/indra# service cloudstack-agent status

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Prasanna Santhanam
Indeed, cloudstack will go through the allocation to startup the system VMs too. So that process is failing to recognize the volume (.qcow2) present on your NFS storage. Can you check if your cloudstack agent service is running with the KVM host? And it should've created the user cloud. $id cloud

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Indra Pramana
Hi Prasanna, Good day to you, and thank you for your e-mail. Yes, when I export the NFS, I set the permission so that normal user will be able to have read/write access to the files (no_root_squash). I have tested and I can have read/write access from my KVM hosts using normal user. BTW, there's

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Prasanna Santhanam
Can you access the file as user root? Or user cloud? The cloudstack agent on your KVM host runs as user cloud and the NFS permissions might be disallowing the volume (.qcow2) from being accessed. On Fri, Jul 12, 2013 at 02:16:41PM +0800, Indra Pramana wrote: > Hi Prasanna, > > Good day to you, an

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Indra Pramana
Hi Prasanna, Good day to you, and thank you for your e-mail. Yes, the file exists. I can access the file from the management server and the two hypervisors hosts if I mount manually. [root@cs-nas-01 /mnt/vol1/sec-storage/template/tmpl/1/3]# ls -la total 1418787 drwxr-xr-x 2 root wheel

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Prasanna Santhanam
Can you check whether there is a file at: nfs://103.25.200.19/mnt/vol1/sec-storage/template/tmpl/1/3/ On Fri, Jul 12, 2013 at 01:59:34PM +0800, Indra Pramana wrote: > Hi Prasanna, > > Thanks for your e-mail. > > I have tried restarting the management server, and the problem still > persists. I e

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Indra Pramana
Hi Prasanna, Thanks for your e-mail. I have tried restarting the management server, and the problem still persists. I even tried to re-do the installation and configuration again from scratch last night, but the problem still there. I also noted that on the beginning of the logs, I found some er

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Prasanna Santhanam
It looks like a previous attempt to start the systemVMs has failed putting the nfs storage in the avoid set. Did you try restarting your management server? This line leads me to the above mentioned: 2013-07-12 13:10:48,236 DEBUG [storage.allocator.AbstractStoragePoolAllocator] (secstorage-1:null)

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Indra Pramana
Dear Wido and all, I have managed to get the hosts, primary and secondary storage running. - 2 KVM hypervisor hosts - One RBD primary storage - One NFS primary storage (for system VMs, since I understand that system VMs cannot use RBD) - One NFS secondary storage However, now I am having problem

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Indra Pramana
Hi Wido, Thanks for the advice, I'm now able to add the RBD pool as primary storage. Many thanks! :) Cheers. On Thursday, July 11, 2013, Wido den Hollander wrote: > Hi, > > On 07/10/2013 03:42 PM, Chip Childers wrote: > >> Cc'ing Wido, our resident Ceph expert. ;-) >> >> > Hehe ;) > > On Wed

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-11 Thread Wido den Hollander
Hi, On 07/10/2013 03:42 PM, Chip Childers wrote: Cc'ing Wido, our resident Ceph expert. ;-) Hehe ;) On Wed, Jul 10, 2013 at 05:45:25PM +0800, Indra Pramana wrote: Dear all, I am installing CloudStack 4.1.0 (upgraded from 4.0.2) and I also have a Ceph cluster running. However, I am having

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-10 Thread Indra Pramana
Dear all, Any advise? I have tried to uninstall and reinstall cloudstack-management on the management server, as well as the cloudstack-agent on the hypervisors. The problem still persists. When I try to add primary storage from the Cloudstack GUI, is the adding process performed by the managemen

Re: Problem in adding Ceph RBD as primary storage for CloudStack 4.1.0

2013-07-10 Thread Chip Childers
Cc'ing Wido, our resident Ceph expert. ;-) On Wed, Jul 10, 2013 at 05:45:25PM +0800, Indra Pramana wrote: > Dear all, > > I am installing CloudStack 4.1.0 (upgraded from 4.0.2) and I also have a > Ceph cluster running. However, I am having issues in adding the RBD as > primary storage. Tried to f