<div dir="ltr">2) Ceph<div><br></div><div>What do you mean with this:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
When I try to create a Ceph datastore with a RBD type, I get a state<br>of "Error",</blockquote><div><br></div><div>where do you get that error state? </div></div><div><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Mar 28, 2013 at 1:06 PM, Jon <span dir="ltr"><<a href="mailto:three18ti@gmail.com" target="_blank">three18ti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All,<br>
<br>
I've just installed OpenNebula 3.9.80 and I have to say this is<br>
amazing. Everything works so smoothly.<br>
<br>
Anyway, down to business.<br>
<br>
OpenVSwitch:<br>
<br>
I've installed and configured OpenVSwitch and am able to manually add<br>
the OVS config using libvirt, then launch a VM,<br>
<br>
>> <interface type='bridge'><br>
>> <source bridge='ovsbr0'/><br>
>> <virtualport type='openvswitch'><br>
>> </virtualport><br>
>> <model type='virtio'/><br>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/><br>
>> </interface><br>
<br>
Which creates the device in ovs:<br>
<br>
>> system@ovsbr0:<br>
>> lookups: hit:1346333 missed:46007 lost:0<br>
>> flows: 8<br>
>> port 0: ovsbr0 (internal)<br>
>> port 1: eth0<br>
>> port 2: br0 (internal)<br>
>> port 7: vnet0<br>
<br>
<br>
However, when I attempt to create a virtual network without assigning<br>
an IP and instantiate the template I get the error:<br>
<br>
>> [TemplateInstantiate] Error allocating a new virtual machine. Cannot get IP/MAC lease from virtual network 0.<br>
<br>
The template of the virtual network is:<br>
<br>
>> oneadmin@loki:~$ onevnet show testnet1<br>
>> VIRTUAL NETWORK 0 INFORMATION<br>
>> ID : 0<br>
>> NAME : testnet1<br>
>> USER : oneadmin<br>
>> GROUP : oneadmin<br>
>> CLUSTER : -<br>
>> TYPE : FIXED<br>
>> BRIDGE : ovsbr0<br>
>> VLAN : No<br>
>> USED LEASES : 0<br>
>><br>
>> PERMISSIONS<br>
>> OWNER : um-<br>
>> GROUP : ---<br>
>> OTHER : ---<br>
>><br>
>> VIRTUAL NETWORK TEMPLATE<br>
>><br>
>><br>
>> VIRTUAL MACHINES<br>
>><br>
<br>
If I add an IP to the vnet, I get the following template and error<br>
logs (full vm log attached, I think I've identified the relevant<br>
line):<br>
<br>
>> Thu Mar 28 10:34:05 2013 [VMM][E]: post: Command "sudo /usr/bin/ovs-ofctl add-flow ovsbr0 in_port=,dl_src=02:00:44:47:83:43,priority=40000,actions=normal" failed.<br>
<br>
>> oneadmin@loki:~$ onevnet show testnet1<br>
>> VIRTUAL NETWORK 0 INFORMATION<br>
>> ID : 0<br>
>> NAME : testnet1<br>
>> USER : oneadmin<br>
>> GROUP : oneadmin<br>
>> CLUSTER : -<br>
>> TYPE : FIXED<br>
>> BRIDGE : ovsbr0<br>
>> VLAN : No<br>
>> USED LEASES : 1<br>
>><br>
>> PERMISSIONS<br>
>> OWNER : um-<br>
>> GROUP : ---<br>
>> OTHER : ---<br>
>><br>
>> VIRTUAL NETWORK TEMPLATE<br>
>><br>
>><br>
>> USED LEASES<br>
>> LEASE=[ MAC="02:00:44:47:83:43", IP="192.168.0.2", IP6_LINK="fe80::400:44ff:fe47:8343", USED="1", VID="7" ]<br>
>><br>
>> VIRTUAL MACHINES<br>
>><br>
>> ID USER GROUP NAME STAT UCPU UMEM HOST TIME<br>
>> 7 oneadmin oneadmin template-4-7 fail 0 0K 0d 00h00<br>
<br>
>> root@loki:~# cat /var/log/openvswitch/ovs-vswitchd.log<br>
>> Mar 28 10:34:04|00081|bridge|INFO|created port vnet1 on bridge ovsbr0<br>
>> Mar 28 10:34:07|00082|netdev_linux|WARN|ethtool command ETHTOOL_GSET on network device vnet1 failed: No such device<br>
>> Mar 28 10:34:07|00083|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on vnet1 device failed: No such device<br>
>> Mar 28 10:34:07|00084|netdev|WARN|failed to get flags for network device vnet1: No such device<br>
>> Mar 28 10:34:07|00085|netdev|WARN|failed to retrieve MTU for network device vnet1: No such device<br>
>> Mar 28 10:34:07|00086|netdev|WARN|failed to get flags for network device vnet1: No such device<br>
>> Mar 28 10:34:07|00087|bridge|INFO|destroyed port vnet1 on bridge ovsbr0<br>
<br>
I attempted to run the command but I never set a password for the<br>
oneadmin user, but I don't think it's a permissions / sudo access<br>
problem.<br>
<br>
Not really sure where to look next. Any ideas are appreciated.<br>
<br>
CEPH:<br>
<br>
I'm trying to use a Ceph datastore with a RBD instead of a cephFS<br>
(it's an option).<br>
When I try to create a Ceph datastore with a RBD type, I get a state<br>
of "Error",<br>
but I'm not sure where to look for relevant logs, oned.log didn't seem<br>
to have anything,<br>
or maybe I'm just grepping for the wrong string.<br>
<br>
As a work around, I have been creating the directory, creating the rbd<br>
then manually mounting it,<br>
this seems to work in my test environment, but doesn't seem very<br>
scalable, how are others using CEPH?<br>
<br>
Documentation:<br>
<br>
I've noticed some errors in the documentation, namely the location of<br>
the install scripts,<br>
<br>
The docs state they are in:<br>
>> /usr/share/one/install_gems<br>
>> /usr/share/one/sunstone/install_novnc.sh<br>
<br>
However, I found them in:<br>
>> /usr/share/opennebula/install_gems<br>
>> /usr/share/opennebula/install_novnc.sh<br>
>> /usr/share/opennebula/sunstone/install_novnc.sh<br>
<br>
Is there some repository of the documentation somewhere that we can<br>
contribute to?<br>
It's a small thing, but when I'm going through the instructions, I<br>
like to copy / paste;<br>
I figured it out, but I know if it caused me problems, it might cause<br>
others problems too.<br>
<br>
Thanks again, I can't wait for the final release of OpenNebula!<br>
<br>
Best Regards,<br>
Jon A<br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Jaime Melis<br>Project Engineer<br>OpenNebula - The Open Source Toolkit for Cloud Computing<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>
</div></div>