Re: [one-users] Gateway configured where not specified

2013-08-13 Thread Marco Lanzotti - ADGlamor
On 13/08/2013 11:11, Marco Lanzotti - ADGlamor wrote: If I add an interface with public IP and default gateway configured default route still via 192.168.1.1. I think problem is in /etc/one-context.d/00-network script, in function get_gateway(): if [ -z "$gateway" ]; then

[one-users] Gateway configured where not specified

2013-08-13 Thread Marco Lanzotti - ADGlamor
Hi all, I've an issue on a virtual network. I've a virtual network configured without a gateway: oneadmin@metal01:~$ onevnet show 0 VIRTUAL NETWORK 0 INFORMATION ID : 0 NAME : Private Network USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 16:05, Artem Salpagarov wrote: oneadmin@metal01:~$ ssh metal02 rados df | grep total ssh on metal02 by user oneadmin... And please check sudoers again, It's might be because you modified sudoers.d/something on metal01, not on metal02. This is the right suggestion! I disabled

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 15:26, Artem Salpagarov wrote: You should run all that under oneadmin (or user which you configured for opennebula), and right on metal02 host. It's unclear you did that from your posts. No? Isn't it clear "oneadmin@metal01:~$" is user "oneadmin" on host "metal01"? And you ch

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 15:12, Artem Salpagarov wrote: rados df -p one | grep total same output. oneadmin@metal01:~$ rados df -p one | grep total total used106574722 total avail 313271416 total space 341264184 bye, Marco __

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 13:12, Vladislav Gorbunov wrote: run this test command from opennebula host: ssh metal02 rados df | grep total it's output like this: total used 15467972528 1877372 total avail88391504680 total space 103859477208 oneadmin@metal01:~$ ssh metal02 rados df | g

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 13:11, Artem Salpagarov wrote: You should add /usr/bin/rbd (or where it is on your system) to sudoers. Here is mine: %cloudALL=(ALL) NOPASSWD: /usr/bin/rados * %cloudALL=(ALL) NOPASSWD: /usr/bin/rbd * I also disabled authentication, still to be 0M... Bye, Marco _

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 11:58, kenn...@apolloglobal.net wrote: Are you using authentication in your ceph cluster? I read on the documentation that you should disable cephx. It still not working... Thank you, Marco ___ Users mailing list Users@lists.openneb

Re: [one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
On 08/08/2013 11:58, kenn...@apolloglobal.net wrote: Are you using authentication in your ceph cluster? I read on the documentation that you should disable cephx. Documentation says: "If it is a newer distribution with Libvirt > 1.x, cephx must be disabled." I'm using Libvirt 0.9.8. I wil

[one-users] ceph data store show 0M capacity

2013-08-08 Thread Marco Lanzotti - ADGlamor
Hi all, I'm new in OpenNebula! I have a fresh instllation of OpenNebula 4.2 and Ceph 0.61 on Ubuntu 12.04 LTS. I created new pool: ml@metal02:~$ sudo ceph osd pool create one 64 I created new datastore on OpenNebula using this conf: NAME = "ceph" DS_MAD = ceph TM_MAD = ceph DISK_TYPE = RBD