[one-users] 4.12 beta and cost_cpu function

2015-03-02 Thread Thomas Stein
Hello.

Just tried out the new feature but whenever i try to start a VM with this 
feature activated as a regular user i get:

"[TemplateInstantiate] User [2] : VM Template includes a restricted attribute 
CPU_COST."

Where and what should be changed to get this working?

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone access to create images

2014-12-29 Thread Thomas Stein
Am 24.12.14 um 10:05 schrieb Thomas Stein:
> Am 23.12.14 um 23:54 schrieb Cory Hawkless:
>> Ahh, yes. That did it
>> It was just a case of clicking on the user icon and clicking Change view 
>> once I had enabled it as admin for that user.
> 
> Hola.
> 
> Where is that "user" view? Could mot find it. (screen attached)

Found it. I had to adjust the group users to be able to select another view.

cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone access to create images

2014-12-24 Thread Thomas Stein
Am 23.12.14 um 23:54 schrieb Cory Hawkless:
> Ahh, yes. That did it
> It was just a case of clicking on the user icon and clicking Change view once 
> I had enabled it as admin for that user.

Hola.

Where is that "user" view? Could mot find it. (screen attached)

https://fluffycloud.de/public.php?service=files&t=1341cd100100d813028f95a960fa6c1d

cheers
t.

> Cheers
> 
> From: Daniel Molina [mailto:dmol...@opennebula.org]
> Sent: Wednesday, 24 December 2014 3:44 AM
> To: Cory Hawkless
> Cc: users@lists.opennebula.org
> Subject: Re: [one-users] Sunstone access to create images
> 
> Hi,
> 
> This option is not still available through the cloud view, but you can use 
> the "user" view until this feature is included in the cloud view.
> 
> Cheers
> 
> On 23 December 2014 at 01:32, Cory Hawkless 
> mailto:c...@hawkless.id.au>> wrote:
> Hi all,
> 
> Is it possible to grant users the ability to create their own images within 
> Sunstone? I’d like to define some templates as admin but allow the users to 
> attached additional disks to their VM’s if the need more storage space than 
> the template is configured for.
> 
> Regards,
> Cory
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 
> 
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | 
> dmol...@opennebula.org | @OpenNebula
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] one and hooks for networks on hardware nodes

2014-12-18 Thread Thomas Stein
Am 18.12.14 09:57, schrieb Ruben S. Montero:
> This could be done with a oned VM hook as they could be executed in the
> target host.
> 
> However, I think it should be better to extend one of the existing network
> drivers. There you can tune the pre (before booting the VM) post
> (after booting the VM) and clean (after deleteing the VM from the host).

Sounds reasonable. I will look into it. Thanks.

cheers
t.

> Those are also used in migrations and stop/resume, attach/detach NICs
> More information [1]. As I said you probably can hook on one of the
> existing drivers and add your code afterwards...
> 
> About the VM name, it MUST be one-, that cannot be changed. There are
> other drivers that may relay on that naming convention. Also one- is
> unique across your cloud.
> 
> Cheers
> 
> Ruben
> 
> 
> [1]
> http://docs.opennebula.org/4.10/integration/infrastructure_integration/devel-nm.html
> 
> 
> 
> 
> 
> On Thu Dec 18 2014 at 9:25:37 AM Thomas Stein  wrote:
> 
>> Hello.
>>
>> Usually i configure my networks for virtual machines with hook files
>> located in /etc/libvirt/hooks. For example this one:
>>
>> #!/bin/bash
>>
>> guest_name=some_name
>> guest_ipaddr=123.123.123.123
>> if [ "${1}" = "${guest_name}" ]; then
>>if [ "${2}" = "stopped" -o "${2}" = "reconnect" ]; then
>> ip route del 123.123.123.123 via 192.0.0.1 dev virbr1
>> ip neigh del proxy 123.123.123.123 dev eth0
>> sleep ${RANDOM:0:1}.${RANDOM:-1:1}
>> iptables -D FORWARD -i eth0 -o virbr1 -s 0.0.0.0/0 -d
>> 123.123.123.123/32 -j ACCEPT
>> iptables -D FORWARD -i virbr1 -o eth0 -s
>> 123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
>>fi
>>if [ "${2}" = "start" -o "${2}" = "reconnect" ]; then
>> ip route add 123.123.123.123 via 192.0.0.1 dev virbr1
>> ip neigh add proxy 123.123.123.123 dev eth0
>> sleep ${RANDOM:0:1}.${RANDOM:-1:1}
>> iptables -I FORWARD 4 -i eth0 -o virbr1 -s 0.0.0.0/0 -d
>> 123.123.123.123/32 -j ACCEPT
>> iptables -I FORWARD 4 -i virbr1 -o eth0 -s
>> 123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
>>fi
>> fi
>>
>> How would i accomplish this whit opennebula hooks? Can i even set the
>> $guest_name? It's always like one-$number i guess. Okay, there is for
>> sure another way of setting this up. Is there?
>>
>> thanks and best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] opennebula and gentoo

2014-12-18 Thread Thomas Stein
Hello.

FYI. I uploaded my ebuilds for gentoo to github. Feel free to do
whatever you like with them. They work pretty well on my machines.

https://github.com/himbeere/opennebula

best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] one and hooks for networks on hardware nodes

2014-12-18 Thread Thomas Stein
Hello.

Usually i configure my networks for virtual machines with hook files
located in /etc/libvirt/hooks. For example this one:

#!/bin/bash

guest_name=some_name
guest_ipaddr=123.123.123.123
if [ "${1}" = "${guest_name}" ]; then
   if [ "${2}" = "stopped" -o "${2}" = "reconnect" ]; then
ip route del 123.123.123.123 via 192.0.0.1 dev virbr1
ip neigh del proxy 123.123.123.123 dev eth0
sleep ${RANDOM:0:1}.${RANDOM:-1:1}
iptables -D FORWARD -i eth0 -o virbr1 -s 0.0.0.0/0 -d
123.123.123.123/32 -j ACCEPT
iptables -D FORWARD -i virbr1 -o eth0 -s
123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
   fi
   if [ "${2}" = "start" -o "${2}" = "reconnect" ]; then
ip route add 123.123.123.123 via 192.0.0.1 dev virbr1
ip neigh add proxy 123.123.123.123 dev eth0
sleep ${RANDOM:0:1}.${RANDOM:-1:1}
iptables -I FORWARD 4 -i eth0 -o virbr1 -s 0.0.0.0/0 -d
123.123.123.123/32 -j ACCEPT
iptables -I FORWARD 4 -i virbr1 -o eth0 -s
123.123.123.123/32 -d 0.0.0.0/0 -j ACCEPT
   fi
fi

How would i accomplish this whit opennebula hooks? Can i even set the
$guest_name? It's always like one-$number i guess. Okay, there is for
sure another way of setting this up. Is there?

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context init scripts

2014-12-05 Thread Thomas Stein
Am 05.12.14 16:57, schrieb Thomas Stein:
> Am 05.12.14 16:29, schrieb Thomas Stein:
>> Am 05.12.14 16:24, schrieb Olivier Sallou:
>> 
>>>> CONTEXT=[
>>>>   INIT_SCRIPTS="init.sh puppet_gentoo opennebula_init_test",
>>> Are init scripts present on your VM or virtual CDROM ?(init.sh
>>> puppet_gentoo opennebula_init_test)
>> 
>> No. They are not. I uploaded them to the datastore as described in the
>> linked article. So it seems i missed the virtual cdrom part. Do i need
>> to create a cdrom device with the files on it? Is this documented
>> somewhere?
> 
> Hm. I found:
> 
> CONTEXT
> 
> The contextualization cdrom can include CONTEXT type Images. Visit the
> complete reference for more information.
> 
> CONTEXT = [
>   FILES_DS   = "$FILE[IMAGE_ID=34] $FILE[IMAGE=kernel]",
> ]
> 
> I'm still lost. How do i create a  contextualization cdrom?

Uaahhh. Got it. I have to mount the image.

gentoo ~ # mount /dev/sr0 /mnt/
mount: /dev/sr0 is write-protected, mounting read-only
gentoo ~ # ls /mnt/
context.sh  opennebula_init_test  puppet_gentoo
gentoo ~ #

best regards
t.

> best regards
> t.
> 
>> thanks for the anwser and cheers
>> t.
>> 
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context init scripts

2014-12-05 Thread Thomas Stein
Am 05.12.14 16:29, schrieb Thomas Stein:
> Am 05.12.14 16:24, schrieb Olivier Sallou:
> 
>>> CONTEXT=[
>>>   INIT_SCRIPTS="init.sh puppet_gentoo opennebula_init_test",
>> Are init scripts present on your VM or virtual CDROM ?(init.sh
>> puppet_gentoo opennebula_init_test)
> 
> No. They are not. I uploaded them to the datastore as described in the
> linked article. So it seems i missed the virtual cdrom part. Do i need
> to create a cdrom device with the files on it? Is this documented
> somewhere?

Hm. I found:

CONTEXT

The contextualization cdrom can include CONTEXT type Images. Visit the
complete reference for more information.

CONTEXT = [
  FILES_DS   = "$FILE[IMAGE_ID=34] $FILE[IMAGE=kernel]",
]

I'm still lost. How do i create a  contextualization cdrom?

best regards
t.

> thanks for the anwser and cheers
> t.
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context init scripts

2014-12-05 Thread Thomas Stein
Am 05.12.14 16:24, schrieb Olivier Sallou:

>> CONTEXT=[
>>   INIT_SCRIPTS="init.sh puppet_gentoo opennebula_init_test",
> Are init scripts present on your VM or virtual CDROM ?(init.sh
> puppet_gentoo opennebula_init_test)

No. They are not. I uploaded them to the datastore as described in the
linked article. So it seems i missed the virtual cdrom part. Do i need
to create a cdrom device with the files on it? Is this documented
somewhere?

thanks for the anwser and cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] context init scripts

2014-12-05 Thread Thomas Stein
Hello.

I'm playing around with opennebula and contexts. I have successfull put
a ssh_keys to the VM and configured the network. What's not working is
the execution of scripts as described here:

http://opennebula.org/automatic-configuration-of-vms-with-puppet/

My template looks like this:

oneadmin@one-frontend ~ $ onetemplate show 17
TEMPLATE 17 INFORMATION

ID : 17
NAME   : gentoo-contextualization
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 12/05 14:26:52

PERMISSIONS

OWNER  : um-
GROUP  : ---
OTHER  : ---

TEMPLATE CONTENTS

CONTEXT=[
  INIT_SCRIPTS="init.sh puppet_gentoo opennebula_init_test",
  NETWORK="YES",
  SSH_PUBLIC_KEY="ssh-dss
B3NzaC1kc3MAAACBAOYGMMI2IN+mFDc7cldTiF9UrvAXgbVYuiV9D5B6TQXpVHJI+0bXLvo0jSG+vWdi+EwtDVAu0Nep8l0l3LEFWzWPg7DzZDJito0+/rmum...and
so on...
CPU="2"
DISK=[
  DEV_PREFIX="vda",
  DRIVER="qcow2",
  IMAGE="gentoo-contextualized",
  IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
  KEYMAP="de",
  LISTEN="0.0.0.0",
  TYPE="VNC" ]
HYPERVISOR="kvm"
LOGO="images/logos/linux.png"
MEMORY="1024"
NIC=[
  NETWORK="default-nat-net",
  NETWORK_UNAME="oneadmin" ]
SCHED_REQUIREMENTS="ID=\"0\""
VCPU="2"
oneadmin@one-frontend ~ $

The opennebula_init_test script just touches a file in /tmp. But after
deploying a VM there is no such file. What am i missing?

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] IOPS in quota section for 4.12

2014-11-28 Thread Thomas Stein
Am 27.11.14 22:29, schrieb Ruben S. Montero:
> Forgot to share that this was already in our roadmap, the issue is here:
> 
> http://dev.opennebula.org/issues/3210

Nice. I would love to see that feature.

cheers
t.

> Thanks for your feedback,
> 
> Ruben
> 
> On Sat Nov 15 2014 at 12:55:19 PM kiran ranjane 
> wrote:
> 
>> Yeah, both IOPS and Network Bandwidth should be in quota section. This
>> would really be useful.
>>
>> Regards
>> Kiran Ranjane
>>
>> On Fri, Nov 14, 2014 at 5:10 AM, Steven C Timm  wrote:
>>
>>>  Good idea.  In general it would be nice to be able to set the various
>>> quantities which can
>>> be controlled by the RHEV extended libvirt functions which include IOPS
>>> but also network bandwidth.
>>>
>>>  Steve
>>>
>>>  --
>>> *From:* Users [users-boun...@lists.opennebula.org] on behalf of kiran
>>> ranjane [kiran.ranj...@gmail.com]
>>> *Sent:* Thursday, November 13, 2014 5:16 PM
>>> *To:* users
>>> *Subject:* [one-users] IOPS in quota section for 4.12
>>>
>>>   Hi Team,
>>>
>>>  I think we should add IOPS in quota section where in oneadmin can
>>> assign IOPS at user and group level.
>>>
>>>  For example :
>>>
>>>  -- Oneadmin assigns 2000 IOPS to a particular user, which means that
>>> particular user should not exceed 2000 IOPS on his total number of VM that
>>> he is running.
>>>
>>>  -- After IOPS is assigned to user/group through quota section, Cloud
>>> view user should be able to assign IOPS at VM disks level as per his
>>> choice. (eg: if a user/group is assigned quota of 2000 IOPS then he should
>>> have the ability to set IOPS of the VM disk before starting the VM.)
>>>
>>>  User/Group have total IOPS Quota = 2000
>>>
>>>  User Sets IOPS at Disk Level :
>>> Virtual Machine OS disk = 300 IOPS
>>> Virtual Machine Data Disk  = 300 IOPS
>>>
>>>  Total remaining IOPS = 1400 IOPS
>>>
>>>  I really think this feature should be a must add in quota section as it
>>> will easy many things related to default way of assigning IOPS to VM.
>>>
>>>  Regards
>>> Kiran Ranjane
>>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] newbie how-to configure network to connect to the vm

2014-11-20 Thread Thomas Stein

Please post the output of 

ip a
ip r
ip neigh show

iptables -nvL

from the hardwarenode the vm is running on and from within the vm.

cheers
t.


On 20. November 2014 16:44:29 MEZ, Nikolaj Majorov  wrote:
>HI,
>unfortunately I can’t connect … :-(
>
>Here is my new configuration:
>
> $cat mynetwork_virbr0.one
>NAME = "2private"
>
>BRIDGE = virbr0
>
>AR = [
>TYPE = IP4,
>IP = 192.168.0.100,
>SIZE = 3
>]
>
>
>
>$ tracepath -n 192.168.0.101
>1:  46.4.99.350.052ms pmtu
>1500
> 1:  46.4.99.330.901ms
> 1:  46.4.99.330.956ms
> 2:  213.239.224.193   0.305ms
> 3:  213.239.245.125   0.453ms
> 4:  213.239.245.221   3.034ms
> 5:  no reply
> 6:  no reply
> 7:  no reply
> 8:  no reply
>
>
>> On 20.11.2014, at 15:00, Thomas Stein  wrote:
>> 
>> On Thursday 20 November 2014 11:57:17 Nikolaj Majorov wrote:
>>> Hello,
>>> 
>>> 
>>> I install open nebula 4.8 on centos 7 as described in quickstarts
>and
>>> confiture my private network as it was showed in example:
>>> 
>>> NAME = "private"
>>> 
>>> BRIDGE = br0
>>> 
>>> AR = [
>>>TYPE = IP4,
>>>IP = 192.168.0.100,
>>>SIZE = 3
>>> ]
>> 
>> I suppose you using virbr0 as bridge device. Can you try this?
>> 
>> t.
>> 
>>> Starting vm I have got IP 192.168.0.100, but  I can’t connect to the
>VM over
>>> ssh and even ping it. What should I do with network to access the VM
>( add
>>> route/gateway  ) ? I’m really newbie in the networking  , so please
>give
>>> some hints ..
>>> 
>>> 
>>> So my network configuration is :
>>> 
>>> ifconfig -a
>>> 
>>> br0: flags=4163  mtu 1500
>>>inet 46.4.99.35  netmask 255.255.255.255  broadcast
>46.4.99.35
>>>inet6 fe80::6e62:6dff:fed9:905  prefixlen 64  scopeid
>0x20
>>>ether 6c:62:6d:d9:09:05  txqueuelen 0  (Ethernet)
>>>RX packets 522518  bytes 1880517877 (1.7 GiB)
>>>RX errors 0  dropped 0  overruns 0  frame 0
>>>TX packets 444071  bytes 51737672 (49.3 MiB)
>>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> 
>>> eth0: flags=4163  mtu 1500
>>>inet6 fe80::6e62:6dff:fed9:905  prefixlen 64  scopeid
>0x20
>>>ether 6c:62:6d:d9:09:05  txqueuelen 1000  (Ethernet)
>>>RX packets 1498963  bytes 1952763267 (1.8 GiB)
>>>RX errors 0  dropped 0  overruns 0  frame 0
>>>TX packets 444309  bytes 51763060 (49.3 MiB)
>>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> 
>>> lo: flags=73  mtu 65536
>>>inet 127.0.0.1  netmask 255.0.0.0
>>>inet6 ::1  prefixlen 128  scopeid 0x10
>>>loop  txqueuelen 0  (Local Loopback)
>>>RX packets 149945  bytes 166430929 (158.7 MiB)
>>>RX errors 0  dropped 0  overruns 0  frame 0
>>>TX packets 149945  bytes 166430929 (158.7 MiB)
>>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> 
>>> virbr0: flags=4163  mtu 1500
>>>inet 192.168.122.1  netmask 255.255.255.0  broadcast
>192.168.122.255
>>> ether fe:00:c0:a8:7a:03  txqueuelen 0  (Ethernet)
>>>RX packets 18  bytes 3711 (3.6 KiB)
>>>RX errors 0  dropped 0  overruns 0  frame 0
>>>TX packets 69  bytes 3818 (3.7 KiB)
>>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> 
>>> vnet2: flags=4163  mtu 1500
>>>inet6 fe80::fc00:c0ff:fea8:7a03  prefixlen 64  scopeid
>0x20
>>>ether fe:00:c0:a8:7a:03  txqueuelen 500  (Ethernet)
>>>RX packets 25  bytes 4805 (4.6 KiB)
>>>RX errors 0  dropped 0  overruns 0  frame 0
>>>TX packets 1303  bytes 68138 (66.5 KiB)
>>>TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> 
>>> 
>>> and routing looks like this:
>>> 
>>> $ route -n
>>> Kernel IP routing table
>>> Destination Gateway Genmask Flags Metric Ref   
>Use
>>> Iface 0.0.0.0 46.4.99.33  0.0.0.0 UG0  0
>  
>>> 0 br0 46.4.

Re: [one-users] newbie how-to configure network to connect to the vm

2014-11-20 Thread Thomas Stein
On Thursday 20 November 2014 11:57:17 Nikolaj Majorov wrote:
> Hello,
> 
> 
> I install open nebula 4.8 on centos 7 as described in quickstarts and
> confiture my private network as it was showed in example:
> 
> NAME = "private"
> 
> BRIDGE = br0
> 
> AR = [
> TYPE = IP4,
> IP = 192.168.0.100,
> SIZE = 3
> ]

I suppose you using virbr0 as bridge device. Can you try this?

t.

> Starting vm I have got IP 192.168.0.100, but  I can’t connect to the VM over
> ssh and even ping it. What should I do with network to access the VM ( add
> route/gateway  ) ? I’m really newbie in the networking  , so please give
> some hints ..
> 
> 
> So my network configuration is :
> 
> ifconfig -a
> 
> br0: flags=4163  mtu 1500
> inet 46.4.99.35  netmask 255.255.255.255  broadcast 46.4.99.35
> inet6 fe80::6e62:6dff:fed9:905  prefixlen 64  scopeid 0x20
> ether 6c:62:6d:d9:09:05  txqueuelen 0  (Ethernet)
> RX packets 522518  bytes 1880517877 (1.7 GiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 444071  bytes 51737672 (49.3 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> eth0: flags=4163  mtu 1500
> inet6 fe80::6e62:6dff:fed9:905  prefixlen 64  scopeid 0x20
> ether 6c:62:6d:d9:09:05  txqueuelen 1000  (Ethernet)
> RX packets 1498963  bytes 1952763267 (1.8 GiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 444309  bytes 51763060 (49.3 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> lo: flags=73  mtu 65536
> inet 127.0.0.1  netmask 255.0.0.0
> inet6 ::1  prefixlen 128  scopeid 0x10
> loop  txqueuelen 0  (Local Loopback)
> RX packets 149945  bytes 166430929 (158.7 MiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 149945  bytes 166430929 (158.7 MiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> virbr0: flags=4163  mtu 1500
> inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
> ether fe:00:c0:a8:7a:03  txqueuelen 0  (Ethernet)
> RX packets 18  bytes 3711 (3.6 KiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 69  bytes 3818 (3.7 KiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> vnet2: flags=4163  mtu 1500
> inet6 fe80::fc00:c0ff:fea8:7a03  prefixlen 64  scopeid 0x20
> ether fe:00:c0:a8:7a:03  txqueuelen 500  (Ethernet)
> RX packets 25  bytes 4805 (4.6 KiB)
> RX errors 0  dropped 0  overruns 0  frame 0
> TX packets 1303  bytes 68138 (66.5 KiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
> 
> 
> and routing looks like this:
> 
> $ route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface 0.0.0.0 46.4.99.33  0.0.0.0 UG0  0   
> 0 br0 46.4.99.33  0.0.0.0 255.255.255.255 UH0  0   
> 0 br0 169.254.0.0 0.0.0.0 255.255.0.0 U 1003   0   
> 0 br0 192.168.122.0   0.0.0.0 255.255.255.0   U 0  0   
> 0 virbr0
> 
> Many thanks for any hint !
> 
> 
> Kind regards ,
> 
> Nikolaj Majorov
> niko...@majorov.biz
> 
> 
> 
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Am 04.11.14 10:24, schrieb Carlos Martín Sánchez:
> Hi Thomas,

Hi Carlos.

> The log says it is a 4.10beta (4.9.80) DB.
> And because the isn't any DB changes to the DB from 4.10 beta to 4.10.0, we
> don't have a migrator file. The onedb tool doesn't have anything to do,
> your DB is good to go.
> 
> In case the double versions are confusing, let me clarify.
> The DB has two versions: local and shared. This is because of the
> federation architecture [1]. The shared tables haven't changed since 4.6,
> and the local tables changed from 4.8.0 to 4.9.80, but not from 4.9.80 to
> 4.10.0.

I see. Thanks for the clarification. There is one thing left on my "i
don't understand" list. Why is the sunstone server still showing version
4.8.0 for the opennebula node we just talked about?

https://fluffycloud.de/public.php?service=files&t=da549a369f324c686a46bc476594e434

ciao
t.

> Regards
> 
> [1]
> http://docs.opennebula.org/4.10/advanced_administration/data_center_federation/introf.html
> 
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
> <http://twitter.com/opennebula> 
> 
> On Tue, Nov 4, 2014 at 10:12 AM, Thomas Stein  wrote:
> 
>> Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
>> > Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.
>>
>> Hello Carlos.
>>
>> I have several development machines and on a few of them i have 4.10
>> beta running, yes. But not on this one. I'm 90% sure. Allthough it's
>> absolutely possible i am wrong.
>>
>> cheers
>> t.
>>
>> > Regards
>> > --
>> > Carlos Martín, MSc
>> > Project Engineer
>> > OpenNebula - Flexible Enterprise Cloud Made Simple
>> > www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
>> > <http://twitter.com/opennebula> 
>> >
>> > On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein 
>> wrote:
>> >
>> >> Hello.
>> >>
>> >> I have a little problem after upgrading to 4.10.0 (from 4.8.0).
>> >>
>> >> I did stop opennebula, upgraded opennebula and did:
>> >>
>> >> onedb upgrade -v --sqlite /var/lib/one/one.db -f
>> >>
>> >> Output:
>> >>
>> >> oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
>> >> Version read:
>> >> Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
>> >> Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
>> >> (OpenNebula 4.9.80) by onedb command.
>> >>
>> >> Sqlite database backup stored in /var/lib/one/one.db.bck
>> >> Use 'onedb restore' or copy the file back to restore the DB.
>> >>
>> >>
>> >> >>> Running migrators for shared tables
>> >> Database already uses version 4.6.0
>> >>
>> >> >>> Running migrators for local tables
>> >> Database already uses version 4.9.80
>> >>
>> >> Total time: 0.00s
>> >> oneadmin@one-node1 ~ $
>> >>
>> >> Now i seem to have versioning mess i guess. :-)
>> >>
>> >> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
>> >> local_db_versioning
>> >> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
>> >> db_versioning
>> >>
>> >> How can i solve this?
>> >>
>> >> cheers
>> >> t.
>> >> ___
>> >> Users mailing list
>> >> Users@lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>> >
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Am 04.11.14 10:09, schrieb Carlos Martín Sánchez:
> Did you upgrade from 4.8.0? It looks like the DB is from a 4.10 beta.

Hello Carlos.

I have several development machines and on a few of them i have 4.10
beta running, yes. But not on this one. I'm 90% sure. Allthough it's
absolutely possible i am wrong.

cheers
t.

> Regards
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
> <http://twitter.com/opennebula> 
> 
> On Tue, Nov 4, 2014 at 9:34 AM, Thomas Stein  wrote:
> 
>> Hello.
>>
>> I have a little problem after upgrading to 4.10.0 (from 4.8.0).
>>
>> I did stop opennebula, upgraded opennebula and did:
>>
>> onedb upgrade -v --sqlite /var/lib/one/one.db -f
>>
>> Output:
>>
>> oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
>> Version read:
>> Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
>> Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
>> (OpenNebula 4.9.80) by onedb command.
>>
>> Sqlite database backup stored in /var/lib/one/one.db.bck
>> Use 'onedb restore' or copy the file back to restore the DB.
>>
>>
>> >>> Running migrators for shared tables
>> Database already uses version 4.6.0
>>
>> >>> Running migrators for local tables
>> Database already uses version 4.9.80
>>
>> Total time: 0.00s
>> oneadmin@one-node1 ~ $
>>
>> Now i seem to have versioning mess i guess. :-)
>>
>> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
>> local_db_versioning
>> Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
>> db_versioning
>>
>> How can i solve this?
>>
>> cheers
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] one version after upgrading to 4.10.0

2014-11-04 Thread Thomas Stein
Hello.

I have a little problem after upgrading to 4.10.0 (from 4.8.0).

I did stop opennebula, upgraded opennebula and did:

onedb upgrade -v --sqlite /var/lib/one/one.db -f

Output:

oneadmin@one-node1 ~ $ onedb upgrade -v --sqlite /var/lib/one/one.db -f
Version read:
Shared tables 4.6.0 : OpenNebula 4.6.2 daemon bootstrap
Local tables  4.9.80 : Database migrated from 4.7.80 to 4.9.80
(OpenNebula 4.9.80) by onedb command.

Sqlite database backup stored in /var/lib/one/one.db.bck
Use 'onedb restore' or copy the file back to restore the DB.


>>> Running migrators for shared tables
Database already uses version 4.6.0

>>> Running migrators for local tables
Database already uses version 4.9.80

Total time: 0.00s
oneadmin@one-node1 ~ $

Now i seem to have versioning mess i guess. :-)

Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.9.80 for
local_db_versioning
Mon Nov  3 22:21:02 2014 [Z0][ONE][I]: oned is using version 4.6.0 for
db_versioning

How can i solve this?

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula 4.10 Beta Is Ready for Testing

2014-10-16 Thread Thomas Stein
Am 16.10.14 10:35, schrieb Carlos Martín Sánchez:
> Hi Thomas,
>
> Yes, there are still a few guides that we need to complete before the final
> release. The steps to upgrade from 4.8 are the same as the ones described
> to upgrade from 4.6 [1].

Thanks. Upgrade went fine.

cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula 4.10 Beta Is Ready for Testing

2014-10-16 Thread Thomas Stein
Am 15.10.14 15:08, schrieb Tino Vazquez:
> Dear OpenNebula users,

Hello.

> 
> Links
> 
> 
> * Release Noteshttp://docs.opennebula.org/4.10/release_notes/index.html
> * Downloads  
> http://downloads.opennebula.org/packages/opennebula-4.9.80/
> * Documentation   http://docs.opennebula.org/4.10/
> * vCenter drivers
> http://docs.opennebula.org/4.10/administration/virtualization/vcenterg.html

The upgrade document is not ready now i think but can you give a raw
advice what to consider upgrading fron 4.8.0 to 4.10?

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] image has state err

2014-09-19 Thread Thomas Stein
Am 19.09.14 15:05, schrieb Carlos Martín Sánchez:
> Hi,
> 
> Do you have any related messages in /var/log/one/oned.log? The image may be
> in the error state if a VM failed, to let you know that the contents may be
> corrupted. Its state can be changed again to ready with the 'oneimage
> enable' command.

I had no specific errors in oned.log. But i guess you're right about a
failed VM causing this situation. 'oneimage enable' solved the problem.
Didn't know the command existed.

thanks and regards
t.

> Regards
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
> <http://twitter.com/opennebula> 
> 
> On Fri, Sep 19, 2014 at 10:58 AM, Thomas Stein 
> wrote:
> 
>> Hello.
>>
>> I have an image with state error. It's a qcow2 image and qemu-img check
>> shows no errors. How can i find out what the problem is?
>>
>> oneadmin@one-frontend ~ $ oneimage show 18
>> IMAGE 18 INFORMATION
>>
>> ID : 18
>> NAME   : my_gentoo_3.10.54
>> USER   : customer1
>> GROUP  : users
>> DATASTORE  : default
>> TYPE   : OS
>> REGISTER TIME  : 09/15 20:33:51
>> PERSISTENT : No
>> SOURCE :
>> /var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00
>> FSTYPE : save_as
>> SIZE   : 30G
>> STATE  : err
>> RUNNING_VMS: 0
>>
>> PERMISSIONS
>>
>> OWNER  : um-
>> GROUP  : ---
>> OTHER  : ---
>>
>> IMAGE TEMPLATE
>>
>> DEV_PREFIX="vd"
>> DRIVER="qcow2"
>> SAVED_DISK_ID="0"
>> SAVED_IMAGE_ID="17"
>> SAVED_VM_ID="37"
>> SAVE_AS="YES"
>> SAVE_AS_HOT="YES"
>>
>> VIRTUAL MACHINES
>>
>> oneadmin@one-frontend ~ $
>>
>> oneadmin@one-frontend ~ $ qemu-img check
>> /var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00
>> No errors were found on the image.
>> 87113/491520 = 17.72% allocated, 1.19% fragmented, 0.00% compressed
>> clusters
>> Image end offset: 5711265792
>> oneadmin@one-frontend ~ $
>>
>> Thanks for your help.
>>
>> best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] image has state err

2014-09-19 Thread Thomas Stein
Hello.

I have an image with state error. It's a qcow2 image and qemu-img check
shows no errors. How can i find out what the problem is?

oneadmin@one-frontend ~ $ oneimage show 18
IMAGE 18 INFORMATION

ID : 18
NAME   : my_gentoo_3.10.54
USER   : customer1
GROUP  : users
DATASTORE  : default
TYPE   : OS
REGISTER TIME  : 09/15 20:33:51
PERSISTENT : No
SOURCE : /var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00
FSTYPE : save_as
SIZE   : 30G
STATE  : err
RUNNING_VMS: 0

PERMISSIONS

OWNER  : um-
GROUP  : ---
OTHER  : ---

IMAGE TEMPLATE

DEV_PREFIX="vd"
DRIVER="qcow2"
SAVED_DISK_ID="0"
SAVED_IMAGE_ID="17"
SAVED_VM_ID="37"
SAVE_AS="YES"
SAVE_AS_HOT="YES"

VIRTUAL MACHINES

oneadmin@one-frontend ~ $

oneadmin@one-frontend ~ $ qemu-img check
/var/lib/one//datastores/1/dab298b8624da9580e02be69be31dc00
No errors were found on the image.
87113/491520 = 17.72% allocated, 1.19% fragmented, 0.00% compressed clusters
Image end offset: 5711265792
oneadmin@one-frontend ~ $

Thanks for your help.

best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] New Stable Release - OpenNebula 4.8 Lemon Slice is Out!

2014-08-12 Thread Thomas Stein
Cool. Upgrade done (from 4.6.2). No problems so far. Good work.

cheers
t.

On Tuesday 12 August 2014 16:16:50 Tino Vazquez wrote:
> Dear Community,
> 
> This is a pre-announcement for the release of OpenNebula 4.8, codename
> Lemon Slice, intended for the community. The official release is due
> tomorrow Wednesday 13th, but meanwhile the packages are available and
> the documentation in the web page has been updated.
> 
> This release brings significant improvements in different aspects.
> Sticking with our vision of bringing simplicity to cloud management,
> there are improvements in the recently added Cloud View portal,
> designed for end users. One significant advantage of the new portal is
> the ability to control flows, groups of interconnected Virtual
> Machines that conform a service. Based on this Cloud View, a Virtual
> Datacenter administrators view has been included (VDCAdmin View),
> which enables VDC admins to easily manage the VDC users and resources.
> 
> An important highlight in this release is the vast improvement made to
> the hybrid model. Support for two new public cloud providers has been
> added, widening the range of possibilities to offload VMs in case the
> local infrastructure is saturated. The hybrid model in OpenNebula
> enables a centralized management of both local and remote resources
> for the cloud administrator, and a transparent consumption of these
> resources for the end user. With these two new additions, namely
> support for Microsoft Azure and IBM SoftLayer, OpenNebula is
> increasing the possibilities to build powerful, robust, cost and
> performance efficient cloud infrastructures across administrative
> domains and public cloud providers.
> 
> The OneFlow component also has been improved, specially OneGate,
> making sharing service information among VMs possible. Flows are now
> easier than ever to build and consume, since details like the virtual
> network the flow are going to use are defined later by the user, so
> the administrator doesn’t have to deal with all the possible
> combinations. Moreover, Virtual Networks underwent a thorough
> redesign. Definition of virtual networks are no longer restricted to
> the fixed and ranged model, but rather they can include any
> combination of ranges to accommodate any address distribution.
> 
> Finally, several improvements are scattered across every other
> OpenNebula component: improvements in quotas management, multi boot
> available through Sunstone, availability of Windows contextualization
> packages, new raw device mapping datastore, better Ceph drivers,
> possibility to clone images across datastores …. ladies and gentlemen,
> you are in for a treat.
> 
> This is a stable release and so a recommended update. It incorporates
> important improvements since 4.6 and several bug fixes since 4.8 Beta.
> Be sure to check the compatibility [1] and upgrade [2] guides. We
> invite you to download it and to check the QuickStart guides, as well
> as to browse the documentation, which has also been properly updated.
> 
> As usual OpenNebula releases are named after a Nebula. The Lemon Slice
> nebula (IC 3568)  is a planetary nebula that is 1.3 kiloparsecs (4500
> ly) away from Earth in the constellation of Camelopardalis. It is a
> relatively young nebula and has a core diameter of only about 0.4
> light years.
> 
> The new features for Cloud View and VDCAdmin View introduced in
> OpenNebula 4.8 were funded by Produban (http://www.produban.com) in
> the context of the Fund a Feature Program. The new feature that
> redefined virtual networks in OpenNebula 4.8 were funded by BlackBerry
> (http://blackberry.com) in the context of the Fund a Feature Program.
> 
> Lemon Slice on your infrastructure and ... relax with a Gin&Tonic, you
> don't need anything else!
> 
>   - The OpenNebula Team
> 
> [1]
> http://docs.opennebula.org/4.8/release_notes/release_notes/compatibility.ht
> ml [2]
> http://docs.opennebula.org/4.8/release_notes/release_notes/upgrade_46.html
> 
> [Relevant Links]
> 
> Release Notes -> http://docs.opennebula.org/4.8/release_notes/index.html
> Downloads  -> http://downloads.opennebula.org/packages/opennebula-4.8.0/
> Documentation->  http://docs.opennebula.org/4.8
> SandBoxes -> http://opennebula.org/tryout/
> Quick Start Guides ->
> http://docs.opennebula.org/4.8/design_and_installation/quick_starts
> Screencasts   -> http://opennebula.org/documentation/screencasts/
> 
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
> 
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
> 
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12

Re: [one-users] workflow to install a vm from cdrom

2014-07-28 Thread Thomas Stein
Am 28.07.14 11:32, schrieb Daniel Molina:

> In OpenNebula 4.6 we included a new view for cloud consumers (cloud view)
> [1]. In one < 4.6 user view was the same view as oneadmin but some of the
> actions were disabled/hidden.
> 
> In the one-4.6 cloud view (user) when you power off a VM and save it, a new
> image is created (only the first DISK, assuming this is the OS)  and a new
> template is also created referencing this image.
> 
> The workflow you mentioned is only available through the oneadmin view.
> Cloud consumers should not prepare images installing from a CDROM. One of
> the use cases that we have seen is: oneadmin prepare a set of pristine
> images installing from the CDROM or importing from the marketplace [2].
> Cloud consumers can instantiate new VMs using these images and then saving
> their changes into a new template+image.

Okay. Thats good to know. Thanks.

cheers
t.

> Hope this helps
> 
> sunstone views:
> http://docs.opennebula.org/4.6/administration/sunstone_gui/suns_views.html
> 
> [1]
> http://docs.opennebula.org/4.6/administration/sunstone_gui/cloud_view.html
> [2] http://marketplace.c12g.com/appliance
> 
> 
>> thanks
>> t.
>>
>> >
>> >Cheers
>> >
>> >
>> >On 25 July 2014 17:10, Thomas Stein  wrote:
>> >
>> >> Am 25.07.14 13:08, schrieb Steffen Claus:
>> >> > Why don't you simply detach the ISO before saving?
>> >>
>> >> What works to is "onevm disk-snapshot 9 1 centos7". But this is not
>> >> available for the user too.
>> >>
>> >> cheers
>> >> t.
>> >>
>> >> > - Ursprüngliche Mail -
>> >> >> Hello.
>> >> >>
>> >> >> Is there a howto on how to create a new vm from a cdrom? My
>> >problem
>> >> >> is
>> >> >> when i installed the new vm and hit the save button in the user
>> >> >> webinterface i save the cdrom not the fresh installed image. How
>> >am i
>> >> >> supposed to save the disk image?
>> >> >>
>> >> >> thanks and best regards
>> >> >> t.
>> >> >> ___
>> >> >> Users mailing list
>> >> >> Users@lists.opennebula.org
>> >> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >> >>
>> >> >
>> >>
>> >> ___
>> >> Users mailing list
>> >> Users@lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>>
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 
> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] workflow to install a vm from cdrom

2014-07-25 Thread Thomas Stein
On 25. Juli 2014 17:16:58 MESZ, Daniel Molina  wrote:
>Hi Thomas,

Hi Daniel.

>
>What OpenNebula version are you

4.6.

 running and what view is currently
>using
>the regular user?

What do you mean? Are there more views? I'm talking about the user webinterface.

thanks 
t.

>
>Cheers
>
>
>On 25 July 2014 17:10, Thomas Stein  wrote:
>
>> Am 25.07.14 13:08, schrieb Steffen Claus:
>> > Why don't you simply detach the ISO before saving?
>>
>> What works to is "onevm disk-snapshot 9 1 centos7". But this is not
>> available for the user too.
>>
>> cheers
>> t.
>>
>> > - Ursprüngliche Mail -
>> >> Hello.
>> >>
>> >> Is there a howto on how to create a new vm from a cdrom? My
>problem
>> >> is
>> >> when i installed the new vm and hit the save button in the user
>> >> webinterface i save the cdrom not the fresh installed image. How
>am i
>> >> supposed to save the disk image?
>> >>
>> >> thanks and best regards
>> >> t.
>> >> ___
>> >> Users mailing list
>> >> Users@lists.opennebula.org
>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >>
>> >
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] workflow to install a vm from cdrom

2014-07-25 Thread Thomas Stein
Am 25.07.14 13:08, schrieb Steffen Claus:
> Why don't you simply detach the ISO before saving?

What works to is "onevm disk-snapshot 9 1 centos7". But this is not
available for the user too.

cheers
t.

> - Ursprüngliche Mail -
>> Hello.
>> 
>> Is there a howto on how to create a new vm from a cdrom? My problem
>> is
>> when i installed the new vm and hit the save button in the user
>> webinterface i save the cdrom not the fresh installed image. How am i
>> supposed to save the disk image?
>> 
>> thanks and best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] workflow to install a vm from cdrom

2014-07-25 Thread Thomas Stein
Am 25.07.14 13:08, schrieb Steffen Claus:
> Why don't you simply detach the ISO before saving?

That's how i did it till now. But i have to switch to oneadmin for doing
that. The user could not do that as far as i know. Am i wrong?

cheers
t.

> - Ursprüngliche Mail -
>> Hello.
>> 
>> Is there a howto on how to create a new vm from a cdrom? My problem
>> is
>> when i installed the new vm and hit the save button in the user
>> webinterface i save the cdrom not the fresh installed image. How am i
>> supposed to save the disk image?
>> 
>> thanks and best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] workflow to install a vm from cdrom

2014-07-25 Thread Thomas Stein
Hello.

Is there a howto on how to create a new vm from a cdrom? My problem is
when i installed the new vm and hit the save button in the user
webinterface i save the cdrom not the fresh installed image. How am i
supposed to save the disk image?

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] /var/lib/one/vms directory

2014-07-17 Thread Thomas Stein
Hola.

Is the dirrectory /var/lib/one/vms supposed to be created during
installation process? I'm asking because this directory was missing on
my installation and deploying of vms failed because of the very that reason.

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] live migration without shared storage

2014-07-11 Thread Thomas Stein
Hello

Is it right opennebula currently does not support live migration without 
shared storage? I get this error when trying.

Fri Jul 11 22:14:32 2014 [VMM][E]: migrate: Command "virsh --connect 
qemu:///system migrate --live one-11 qemu+ssh://192.168.122.200/system" 
failed: error: unable to resolve '/var/lib/one//datastores/0/11/disk.1': No 
such file or directory

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Cannot check QEMU binary /usr/bin/kvm: No such file or directory

2014-07-11 Thread Thomas Stein
Am 11.07.14 12:09, schrieb Jaime Melis:
> Sure, take a look at this section. It can be customized globally in the
> vmm_exec_kvm.conf
> http://docs.opennebula.org/4.6/administration/virtualization/kvmg.html#default-attributes

Hello Jaime.

Thank you. Sorry for all the stupid questions. :-)

cheers
t.

> On Fri, Jul 11, 2014 at 12:06 PM, Thomas Stein 
> wrote:
> 
>> Hello.
>>
>> Opennebula complains about the non-existing binary called /usr/bin/kvm.
>> I'm on gentoo and there is no such binary anymore. It's called
>> qemu-system-x86_64. I could make a symlink yes, but is it also possible
>> to tell opennebula where to look?
>>
>> thanks and best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 
> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Cannot check QEMU binary /usr/bin/kvm: No such file or directory

2014-07-11 Thread Thomas Stein
Hello.

Opennebula complains about the non-existing binary called /usr/bin/kvm.
I'm on gentoo and there is no such binary anymore. It's called
qemu-system-x86_64. I could make a symlink yes, but is it also possible
to tell opennebula where to look?

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] /var/lib/one/remotes/ or /var/tmp/one

2014-07-11 Thread Thomas Stein
Am 11.07.14 11:24, schrieb Valentin Bud:
> Hello Thomas,

Hello Valentin.

> The probes that leave under /var/lib/one/remotes are copied by OpenNebula
> on the compute node when you create the host. They are also synced
> whenever you want them to with `onehost sync`.

Thanks. That explains it to me. It seems sometimes this fails and leaves
me with no files in /var/tmp/one which then leads to oned errors.

cheers
t.

> By default OpenNebula stores the copy on the compute nodes in
> /var/tmp/one.
> 
> This is documented in the Managing Hosts [1] documentation. I hope
> it help you.
> 
> [1]:
> http://docs.opennebula.org/4.6/administration/hosts_and_clusters/host_guide.html#onehost-command
> 
> Best,
> Valentin
> 
> 
> On Fri, Jul 11, 2014 at 11:29 AM, Thomas Stein 
> wrote:
> 
>> Hello.
>>
>> Just wondering. What is the correct location for the run_probes
>> commands? They seemed to be installed to /var/lib/one/remotes/ but the
>> searched for by oned in /var/tmp/one.
>>
>> best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] /var/lib/one/remotes/ or /var/tmp/one

2014-07-11 Thread Thomas Stein
Am 11.07.14 10:46, schrieb Sudeep Narayan Banerjee:
> Hello,
> 
> This picture might help you.

There is no /var/tmp/one at all. Could this be right?

cheers
t.

> Regards,
> Sudeep
> 
> 
> On Fri, Jul 11, 2014 at 1:59 PM, Thomas Stein  wrote:
> 
>> Hello.
>>
>> Just wondering. What is the correct location for the run_probes
>> commands? They seemed to be installed to /var/lib/one/remotes/ but the
>> searched for by oned in /var/tmp/one.
>>
>> best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 
> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] /var/lib/one/remotes/ or /var/tmp/one

2014-07-11 Thread Thomas Stein
Hello.

Just wondering. What is the correct location for the run_probes
commands? They seemed to be installed to /var/lib/one/remotes/ but the
searched for by oned in /var/tmp/one.

best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] vm_mad

2014-06-04 Thread Thomas Stein
On Wednesday 04 June 2014 19:49:12 Thomas Stein wrote:
> Hola.
> 
> Probably an easy question. But i could not find the answer. What does
> VM_MAD, TM_MAD and IM_MAD mean? Is it a short version or an acronym?

Found it. Management and advanced deployment. VM = virtual machines, TM = 
templates, IM = images.

cheers
t.

> thanks and cheers
> t.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vm_mad

2014-06-04 Thread Thomas Stein
Hola.

Probably an easy question. But i could not find the answer. What does VM_MAD, 
TM_MAD and IM_MAD mean? Is it a short version or an acronym?

thanks and cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] gateone integration

2014-05-27 Thread Thomas Stein
Am 27.05.14 10:16, schrieb Stefan Kooman:
> Quoting Thomas Stein (himbe...@meine-oma.de):
>> Hello.
>> 
>> I saw a youtube video the other day. And the guy in it talked about
>> gateone and opennebula beeing a good team. Could someone post a link to
>> a howto or something?
> 
> http://docs.opennebula.org/4.6/advanced_administration/application_insight/onegate_overview.html?highlight=onegate
> 
> In section "Application Monitoring" there is a sample script.

Hi Stefan.

Thanks for the quick response. Are you sure we mean the same thing? I
meant: http://liftoff.github.io/GateOne/

cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] gateone integration

2014-05-27 Thread Thomas Stein
Hello.

I saw a youtube video the other day. And the guy in it talked about
gateone and opennebula beeing a good team. Could someone post a link to
a howto or something?

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] accounting feature

2014-05-22 Thread Thomas Stein
On Thursday 22 May 2014 17:55:30 you wrote:
> Hi Thomas,

Hi Daniel.

> Could you try restarting sunstone-server?

Oh dear. I obviousely restarted everything but the sunstone-server. Now it 
works. Thank you.

t. 

> Cheers
> 
> On 22 May 2014 17:35, Thomas Stein  wrote:
> > Hello.
> > 
> > Upgraded to 4.6.1 and tried the new feature without success. oned.log
> > says:
> > 
> > Thu May 22 17:27:44 2014 [ReM][E]: Req:4192 UID:2 VirtualMachineInfo
> > result
> > FAILURE [VirtualMachineInfo] User [2] : Not authorized to perform USE VM
> > [0]
> > 
> > This happens when i click as a user on "Get accounting info". Did i miss
> > something? After upgrading i followed the upgrade instructions such as
> > "onehost sync". Everything went fine.
> > 
> > Any hints?
> > 
> > cheers
> > t.
> > ___
> > Users mailing list
> > Users@lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] accounting feature

2014-05-22 Thread Thomas Stein
Hello.

Upgraded to 4.6.1 and tried the new feature without success. oned.log says:

Thu May 22 17:27:44 2014 [ReM][E]: Req:4192 UID:2 VirtualMachineInfo result 
FAILURE [VirtualMachineInfo] User [2] : Not authorized to perform USE VM [0]

This happens when i click as a user on "Get accounting info". Did i miss 
something? After upgrading i followed the upgrade instructions such as 
"onehost sync". Everything went fine.

Any hints?

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] glusterfs live migration

2014-05-13 Thread Thomas Stein
Am 12.05.14 21:28, schrieb Thomas Stein:
> hello.
> 
> Just tried to live migrate a vm running via glusterfs from one node to 
> another 
> (also glusterfs enabled). Strange error:
> 
> Mon May 12 21:24:42 2014 [VMM][D]: Message received: LOG E 137 migrate: 
> Command "virsh --connect qemu:///system migrate --live one-137 qemu+ssh:/
> /hostname/system" failed: error: Cannot recv data: Could not 
> create directory '/dev/null/.ssh'.
> 
> 
> Someone has an idea what this means?

Well it was some ssh key / authorized_keys / /sbin/nologin foo. Sorry
for the noise.

cheers
t.


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sunstone create or update template leads to browser hang

2014-05-13 Thread Thomas Stein
Am 12.05.14 17:43, schrieb Thomas Stein:
> Am 12.05.14 16:23, schrieb Daniel Molina:
>> Hi Thomas & Stefan,
>> 
>> I can also confirm this issue. It looks like there is a problem with the
>> tooltips generation and only using Firefox 29. I have opened a ticket to
>> solve it. Meanwhile, you can use the following patch as a workaround,
>> tested with firefox-29. The tooltips format is lost but at least the
>> browser doesn't hang.
>> 
>> https://gist.github.com/dmamolina/3132d02e1bbf1f907006
>> 
>> Hope this helps and thank you for your feedback
> 
> Thanks. I will try this tomorrow.

Applied the patch right now. It's better now. Thanks.

cheers
t.

> cheers
> t.
> 
>> 
>> On 10 May 2014 18:52, Stefan Kooman  wrote:
>> 
>>> Quoting Thomas Stein (himbe...@meine-oma.de):
>>> > Hello.
>>> >
>>> > Whenever i try to create or update a template in sunstone i have to wait
>>> > 2min until the wizzard shows up. It's opennebula 4.6 and Firefox. This
>>> > happens with Macosx and Linux. Is this a known problem? Any workarounds?
>>> I can confirm this with latest firefox (29) on linux. I get the
>>> following popup from firefox:
>>>
>>> A script on this page may be busy, or it may have stopped responding.
>>> You can stop the script now, or you can continue to see if the script
>>> will complete.
>>>
>>> Script:
>>> https://cust-sunstone.bit.nl/vendor/4.0/jquery-1.11.0.min.js?v=4.6.0:2
>>>
>>> Gr. Stefan
>>>
>>> --
>>> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
>>> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>> 
>> 
>> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] glusterfs live migration

2014-05-12 Thread Thomas Stein
hello.

Just tried to live migrate a vm running via glusterfs from one node to another 
(also glusterfs enabled). Strange error:

Mon May 12 21:24:42 2014 [VMM][D]: Message received: LOG E 137 migrate: 
Command "virsh --connect qemu:///system migrate --live one-137 qemu+ssh:/
/one1-hetzner.syseleven.de/system" failed: error: Cannot recv data: Could not 
create directory '/dev/null/.ssh'.


Someone has an idea what this means?

best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sunstone create or update template leads to browser hang

2014-05-12 Thread Thomas Stein
Am 12.05.14 16:23, schrieb Daniel Molina:
> Hi Thomas & Stefan,
> 
> I can also confirm this issue. It looks like there is a problem with the
> tooltips generation and only using Firefox 29. I have opened a ticket to
> solve it. Meanwhile, you can use the following patch as a workaround,
> tested with firefox-29. The tooltips format is lost but at least the
> browser doesn't hang.
> 
> https://gist.github.com/dmamolina/3132d02e1bbf1f907006
> 
> Hope this helps and thank you for your feedback

Thanks. I will try this tomorrow.

cheers
t.

> 
> On 10 May 2014 18:52, Stefan Kooman  wrote:
> 
>> Quoting Thomas Stein (himbe...@meine-oma.de):
>> > Hello.
>> >
>> > Whenever i try to create or update a template in sunstone i have to wait
>> > 2min until the wizzard shows up. It's opennebula 4.6 and Firefox. This
>> > happens with Macosx and Linux. Is this a known problem? Any workarounds?
>> I can confirm this with latest firefox (29) on linux. I get the
>> following popup from firefox:
>>
>> A script on this page may be busy, or it may have stopped responding.
>> You can stop the script now, or you can continue to see if the script
>> will complete.
>>
>> Script:
>> https://cust-sunstone.bit.nl/vendor/4.0/jquery-1.11.0.min.js?v=4.6.0:2
>>
>> Gr. Stefan
>>
>> --
>> | BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
>> | GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
> 
> 
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] creating a template with install cd

2014-05-09 Thread Thomas Stein
On Friday 09 May 2014 10:19:49 Neil Schneider wrote:

> OS=[
>   ARCH="x86_64",
>   BOOT="cdrom",
>   GUESTOS="rhel6_64Guest",
>   ROOT="hda" ]

I see. I wasn't aware of the fact i could use hd*a*. I just used hd and sd and 
vd. Stupid me.

thanks
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] creating a template with install cd

2014-05-09 Thread Thomas Stein
Hello.

I'm somewhat to stupid to create a template containing to disk images.
One disk iso (ubuntu install cd) and one empty block. No matter what
setting i choose the VM starts and complains having no boot device. Here
the config i tried:

oneadmin@opennebula-frontend:~$ onetemplate show 27
TEMPLATE 27 INFORMATION

ID : 27
NAME   : ubuntu1404_install
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 05/09 17:06:19

PERMISSIONS

OWNER  : um-
GROUP  : u--
OTHER  : u--

TEMPLATE CONTENTS

CONTEXT=[
  NETWORK="YES",
  SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="2"
DISK=[
  DEV_PREFIX="hd",
  IMAGE="ubuntu1404_iso",
  IMAGE_UNAME="oneadmin" ]
DISK=[
  DEV_PREFIX="vd",
  DRIVER="qcow2",
  IMAGE="empty_disk",
  IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
  KEYMAP="de",
  LISTEN="0.0.0.0",
  TYPE="VNC" ]
MEMORY="1024"
NIC=[
  NETWORK="cluster",
  NETWORK_UNAME="oneadmin" ]
OS=[
  BOOT="cdrom" ]

Any ideas? Thanks.

cheers
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] sunstone create or update template leads to browser hang

2014-05-09 Thread Thomas Stein
Hello.

Whenever i try to create or update a template in sunstone i have to wait
2min until the wizzard shows up. It's opennebula 4.6 and Firefox. This
happens with Macosx and Linux. Is this a known problem? Any workarounds?

best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] glusterfs datastore

2014-05-09 Thread Thomas Stein
Am 08.05.14 17:42, schrieb Thomas Stein:
> Am 08.05.14 14:24, schrieb Thomas Stein:
>> Am 08.05.14 14:17, schrieb ML mail:
>>> Are you sure using the OpenNebula packages from the wheezy backports are 
>>> stable enough for production usage?
>>> 
>>> Can someone from ONE here confirm that?
>>> 
>>> On Thursday, May 8, 2014 10:52 AM, Daniel Dehennin 
>>>  wrote:
>>>  
>>> Thomas Stein  writes:
>>> 
>>> 
>>> [...]
>>> 
>>>> Do i need to build qemu myself or does someone know of a debian
>>>> repository with glusterfs enabled qemu package?
>> 
>> I found a doku here:
>> 
>> http://www.gluster.org/community/documentation/index.php/Building_QEMU_with_gfapi_for_Debian_based_systems
>> 
>> But then i need a current version of libvirt-bin too. I think i'll try
>> with gentoo again. :-)
> 
> Installed the Hosts with Gentoo and now it works. Unbelievable. :-)

There was another problem but i solved it. Qemu has to run under the
same uid as oneadmin. Now i have VMs running using libgfapi. Nice.

cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] glusterfs datastore

2014-05-08 Thread Thomas Stein
Am 08.05.14 14:24, schrieb Thomas Stein:
> Am 08.05.14 14:17, schrieb ML mail:
>> Are you sure using the OpenNebula packages from the wheezy backports are 
>> stable enough for production usage?
>> 
>> Can someone from ONE here confirm that?
>> 
>> On Thursday, May 8, 2014 10:52 AM, Daniel Dehennin 
>>  wrote:
>>  
>> Thomas Stein  writes:
>> 
>> 
>> [...]
>> 
>>> Do i need to build qemu myself or does someone know of a debian
>>> repository with glusterfs enabled qemu package?
> 
> I found a doku here:
> 
> http://www.gluster.org/community/documentation/index.php/Building_QEMU_with_gfapi_for_Debian_based_systems
> 
> But then i need a current version of libvirt-bin too. I think i'll try
> with gentoo again. :-)

Installed the Hosts with Gentoo and now it works. Unbelievable. :-)

cheers
t.

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] glusterfs datastore

2014-05-07 Thread Thomas Stein
Am 07.05.14 16:56, schrieb Thomas Stein:
> Am 07.05.14 14:41, schrieb Javier Fontan:
>> GlusterFS integration needs the datastores tm type shared and be
>> mounted in all hosts. The symlinks should also be done in the nodes.
>> In case of GlusterFS both datastores (system and images) point to the
>> same gluster volume.
> 
> Yeah. In gerneral it works now. Now KVM/Qemu seems to lack gluster support.
> 
> kvm -drive file=glus
> ter://gluster01:24007/one-volume1/62/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
> could not open disk image gluster://
> gluster01:24007/one-volume1/62/disk.0: No such file or directory
> 
> It's Debian7. Someone has an idea how to solve this?

Do i need to build qemu myself or does someone know of a debian
repository with glusterfs enabled qemu package?

cheers
t.


> best regards
> t.
> 
>> On Wed, May 7, 2014 at 1:34 PM, Thomas Stein  wrote:
>>> Am 07.05.14 13:20, schrieb Javier Fontan:
>>>> The error tells the drivers can not find the file
>>>> /var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5 in the
>>>> remote node (one2). When using shared TM drivers the datastore should
>>>> be swared between all nodes (including frontend) in the very same
>>>> location. That is, /var/lib/one//datastores/146 must be present in all
>>>> nodes with the shared storage mounted there.
>>>
>>> Thanks for your patience Javier. I sure i get this running soon.
>>>
>>> Problem now is when the system datastore is "shared" i have the same
>>> problem. With "ssh" the image is copied to the node. Shall i set the
>>> system datastore set back to "shared" and create symlinks one the nodes?
>>>
>>> Question is. Do all datastore need to be one the mounted gluster volume?
>>>
>>> best regards
>>> Thomas
>>>
>>>
>>>> On Wed, May 7, 2014 at 1:00 PM, Thomas Stein  wrote:
>>>>> Am 07.05.14 12:35, schrieb Javier Fontan:
>>>>>> There is no datastore driver called "shared", that is for TM drivers.
>>>>>> For glusterfs the correct datastore driver is fs. CHange it and that
>>>>>> should solve the problem you're having.
>>>>>
>>>>> Thanks for the answer. I think the docu has to be adjusted.
>>>>>
>>>>> https://github.com/OpenNebula/docs/blob/master/source/administration/storage/gluster_ds.rst
>>>>>
>>>>> The first error is gone but now i get:
>>>>>
>>>>> Wed May 7 12:58:13 2014 [DiM][I]: New VM state is ACTIVE.
>>>>> Wed May 7 12:58:13 2014 [LCM][I]: New VM state is PROLOG.
>>>>> Wed May 7 12:58:14 2014 [TM][I]: Command execution fail:
>>>>> /var/lib/one/remotes/tm/shared/clone
>>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>>> one2:/var/lib/one/datastores/143/55/disk.0 55 146
>>>>> Wed May 7 12:58:14 2014 [TM][I]: clone: Cloning
>>>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5 in
>>>>> one2:/var/lib/one/datastores/143/55/disk.0
>>>>> Wed May 7 12:58:14 2014 [TM][E]: clone: Command "cd
>>>>> /var/lib/one/datastores/143/55; cp
>>>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>>> /var/lib/one/datastores/143/55/disk.0" failed: cp: cannot stat
>>>>> `/var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5': No such
>>>>> file or directory
>>>>> Wed May 7 12:58:14 2014 [TM][E]: Error copying
>>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>>> to one2-hetzner.syseleven.de:/var/lib/one/datastores/143/55/disk.0
>>>>> Wed May 7 12:58:14 2014 [TM][I]: ExitCode: 1
>>>>> Wed May 7 12:58:14 2014 [TM][E]: Error executing image transfer script:
>>>>> Error copying
>>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>>> to one2:/var/lib/one/datastores/143/55/disk.0
>>>>> Wed May 7 12:58:14 2014 [DiM][I]: New VM state is FAILED
>>>>>
>>>>> I don't get it.
>>>>>
>>>>> best regards
>>>>> t.
>>>>>
>>>>>> On Wed, May 7, 2014 at 11:58 AM, Thomas Stein  
>>>>>> wrote:
>>>>>>> Hello.
>>>>>>>
>>>>>>> I de

Re: [one-users] glusterfs datastore

2014-05-07 Thread Thomas Stein
Am 07.05.14 14:41, schrieb Javier Fontan:
> GlusterFS integration needs the datastores tm type shared and be
> mounted in all hosts. The symlinks should also be done in the nodes.
> In case of GlusterFS both datastores (system and images) point to the
> same gluster volume.

Yeah. In gerneral it works now. Now KVM/Qemu seems to lack gluster support.

kvm -drive file=glus
ter://gluster01-hetzner.syseleven.de:24007/one-volume1/62/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
could not open disk image gluster://
gluster01:24007/one-volume1/62/disk.0: No such file or directory

It's Debian7. Someone has an idea how to solve this?

best regards
t.

> On Wed, May 7, 2014 at 1:34 PM, Thomas Stein  wrote:
>> Am 07.05.14 13:20, schrieb Javier Fontan:
>>> The error tells the drivers can not find the file
>>> /var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5 in the
>>> remote node (one2). When using shared TM drivers the datastore should
>>> be swared between all nodes (including frontend) in the very same
>>> location. That is, /var/lib/one//datastores/146 must be present in all
>>> nodes with the shared storage mounted there.
>>
>> Thanks for your patience Javier. I sure i get this running soon.
>>
>> Problem now is when the system datastore is "shared" i have the same
>> problem. With "ssh" the image is copied to the node. Shall i set the
>> system datastore set back to "shared" and create symlinks one the nodes?
>>
>> Question is. Do all datastore need to be one the mounted gluster volume?
>>
>> best regards
>> Thomas
>>
>>
>>> On Wed, May 7, 2014 at 1:00 PM, Thomas Stein  wrote:
>>>> Am 07.05.14 12:35, schrieb Javier Fontan:
>>>>> There is no datastore driver called "shared", that is for TM drivers.
>>>>> For glusterfs the correct datastore driver is fs. CHange it and that
>>>>> should solve the problem you're having.
>>>>
>>>> Thanks for the answer. I think the docu has to be adjusted.
>>>>
>>>> https://github.com/OpenNebula/docs/blob/master/source/administration/storage/gluster_ds.rst
>>>>
>>>> The first error is gone but now i get:
>>>>
>>>> Wed May 7 12:58:13 2014 [DiM][I]: New VM state is ACTIVE.
>>>> Wed May 7 12:58:13 2014 [LCM][I]: New VM state is PROLOG.
>>>> Wed May 7 12:58:14 2014 [TM][I]: Command execution fail:
>>>> /var/lib/one/remotes/tm/shared/clone
>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>> one2:/var/lib/one/datastores/143/55/disk.0 55 146
>>>> Wed May 7 12:58:14 2014 [TM][I]: clone: Cloning
>>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5 in
>>>> one2:/var/lib/one/datastores/143/55/disk.0
>>>> Wed May 7 12:58:14 2014 [TM][E]: clone: Command "cd
>>>> /var/lib/one/datastores/143/55; cp
>>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>> /var/lib/one/datastores/143/55/disk.0" failed: cp: cannot stat
>>>> `/var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5': No such
>>>> file or directory
>>>> Wed May 7 12:58:14 2014 [TM][E]: Error copying
>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>> to one2-hetzner.syseleven.de:/var/lib/one/datastores/143/55/disk.0
>>>> Wed May 7 12:58:14 2014 [TM][I]: ExitCode: 1
>>>> Wed May 7 12:58:14 2014 [TM][E]: Error executing image transfer script:
>>>> Error copying
>>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>>> to one2:/var/lib/one/datastores/143/55/disk.0
>>>> Wed May 7 12:58:14 2014 [DiM][I]: New VM state is FAILED
>>>>
>>>> I don't get it.
>>>>
>>>> best regards
>>>> t.
>>>>
>>>>> On Wed, May 7, 2014 at 11:58 AM, Thomas Stein  
>>>>> wrote:
>>>>>> Hello.
>>>>>>
>>>>>> I deleted all datastores and recreated the neccessary datastores again.
>>>>>> Now i get:
>>>>>>
>>>>>> oneadmin@opennebula-frontend:~/datastores$ onedatastore list
>>>>>>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>>>>>>
>>>>>>  139 glusterds 0M - - 0 img  shared   
>>>>>> shared
>>>>>>  140 da

Re: [one-users] glusterfs datastore

2014-05-07 Thread Thomas Stein
Am 07.05.14 13:34, schrieb Thomas Stein:
> Am 07.05.14 13:20, schrieb Javier Fontan:
>> The error tells the drivers can not find the file
>> /var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5 in the
>> remote node (one2). When using shared TM drivers the datastore should
>> be swared between all nodes (including frontend) in the very same
>> location. That is, /var/lib/one//datastores/146 must be present in all
>> nodes with the shared storage mounted there.
> 
> Thanks for your patience Javier. I sure i get this running soon.
> 
> Problem now is when the system datastore is "shared" i have the same
> problem. With "ssh" the image is copied to the node. Shall i set the
> system datastore set back to "shared" and create symlinks one the nodes?
> 
> Question is. Do all datastore need to be one the mounted gluster volume?

Almost there. Now i get:

Wed May  7 13:54:19 2014 [VMM][D]: Message received: LOG I 61 error:
internal error: process exited while connecting to monitor: kvm: -drive
file=gluster://gluster01:24007/one-volume1/61/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
could not open disk image
gluster://gluster01:24007/one-volume1/61/disk.0: No such file or directory

The disk image is there. Any hints?

best regards
Thomas

> best regards
> Thomas
> 
> 
>> On Wed, May 7, 2014 at 1:00 PM, Thomas Stein  wrote:
>>> Am 07.05.14 12:35, schrieb Javier Fontan:
>>>> There is no datastore driver called "shared", that is for TM drivers.
>>>> For glusterfs the correct datastore driver is fs. CHange it and that
>>>> should solve the problem you're having.
>>>
>>> Thanks for the answer. I think the docu has to be adjusted.
>>>
>>> https://github.com/OpenNebula/docs/blob/master/source/administration/storage/gluster_ds.rst
>>>
>>> The first error is gone but now i get:
>>>
>>> Wed May 7 12:58:13 2014 [DiM][I]: New VM state is ACTIVE.
>>> Wed May 7 12:58:13 2014 [LCM][I]: New VM state is PROLOG.
>>> Wed May 7 12:58:14 2014 [TM][I]: Command execution fail:
>>> /var/lib/one/remotes/tm/shared/clone
>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>> one2:/var/lib/one/datastores/143/55/disk.0 55 146
>>> Wed May 7 12:58:14 2014 [TM][I]: clone: Cloning
>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5 in
>>> one2:/var/lib/one/datastores/143/55/disk.0
>>> Wed May 7 12:58:14 2014 [TM][E]: clone: Command "cd
>>> /var/lib/one/datastores/143/55; cp
>>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>> /var/lib/one/datastores/143/55/disk.0" failed: cp: cannot stat
>>> `/var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5': No such
>>> file or directory
>>> Wed May 7 12:58:14 2014 [TM][E]: Error copying
>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>> to one2-hetzner.syseleven.de:/var/lib/one/datastores/143/55/disk.0
>>> Wed May 7 12:58:14 2014 [TM][I]: ExitCode: 1
>>> Wed May 7 12:58:14 2014 [TM][E]: Error executing image transfer script:
>>> Error copying
>>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>>> to one2:/var/lib/one/datastores/143/55/disk.0
>>> Wed May 7 12:58:14 2014 [DiM][I]: New VM state is FAILED
>>>
>>> I don't get it.
>>>
>>> best regards
>>> t.
>>>
>>>> On Wed, May 7, 2014 at 11:58 AM, Thomas Stein  
>>>> wrote:
>>>>> Hello.
>>>>>
>>>>> I deleted all datastores and recreated the neccessary datastores again.
>>>>> Now i get:
>>>>>
>>>>> oneadmin@opennebula-frontend:~/datastores$ onedatastore list
>>>>>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>>>>>
>>>>>  139 glusterds 0M - - 0 img  shared   
>>>>> shared
>>>>>  140 datastore_sys 0M - fluffy0 sys  -
>>>>> shared
>>>>>  141 datastore_fil  47.2G 34%   fluffy0 fil  fs   
>>>>> shared
>>>>> oneadmin@opennebula-frontend:~/datastores$ cd
>>>>>
>>>>> oneadmin@opennebula-frontend:~$ oneimage create -d 139 --name gentoo
>>>>> --path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
>>>>> "gentoo"
>>>>>
>>>>>

Re: [one-users] glusterfs datastore

2014-05-07 Thread Thomas Stein
Am 07.05.14 13:20, schrieb Javier Fontan:
> The error tells the drivers can not find the file
> /var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5 in the
> remote node (one2). When using shared TM drivers the datastore should
> be swared between all nodes (including frontend) in the very same
> location. That is, /var/lib/one//datastores/146 must be present in all
> nodes with the shared storage mounted there.

Thanks for your patience Javier. I sure i get this running soon.

Problem now is when the system datastore is "shared" i have the same
problem. With "ssh" the image is copied to the node. Shall i set the
system datastore set back to "shared" and create symlinks one the nodes?

Question is. Do all datastore need to be one the mounted gluster volume?

best regards
Thomas


> On Wed, May 7, 2014 at 1:00 PM, Thomas Stein  wrote:
>> Am 07.05.14 12:35, schrieb Javier Fontan:
>>> There is no datastore driver called "shared", that is for TM drivers.
>>> For glusterfs the correct datastore driver is fs. CHange it and that
>>> should solve the problem you're having.
>>
>> Thanks for the answer. I think the docu has to be adjusted.
>>
>> https://github.com/OpenNebula/docs/blob/master/source/administration/storage/gluster_ds.rst
>>
>> The first error is gone but now i get:
>>
>> Wed May 7 12:58:13 2014 [DiM][I]: New VM state is ACTIVE.
>> Wed May 7 12:58:13 2014 [LCM][I]: New VM state is PROLOG.
>> Wed May 7 12:58:14 2014 [TM][I]: Command execution fail:
>> /var/lib/one/remotes/tm/shared/clone
>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>> one2:/var/lib/one/datastores/143/55/disk.0 55 146
>> Wed May 7 12:58:14 2014 [TM][I]: clone: Cloning
>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5 in
>> one2:/var/lib/one/datastores/143/55/disk.0
>> Wed May 7 12:58:14 2014 [TM][E]: clone: Command "cd
>> /var/lib/one/datastores/143/55; cp
>> /var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5
>> /var/lib/one/datastores/143/55/disk.0" failed: cp: cannot stat
>> `/var/lib/one/datastores/146/efe78e0d61224a0b459e6cc423b789a5': No such
>> file or directory
>> Wed May 7 12:58:14 2014 [TM][E]: Error copying
>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>> to one2-hetzner.syseleven.de:/var/lib/one/datastores/143/55/disk.0
>> Wed May 7 12:58:14 2014 [TM][I]: ExitCode: 1
>> Wed May 7 12:58:14 2014 [TM][E]: Error executing image transfer script:
>> Error copying
>> opennebula-frontend:/var/lib/one//datastores/146/efe78e0d61224a0b459e6cc423b789a5
>> to one2:/var/lib/one/datastores/143/55/disk.0
>> Wed May 7 12:58:14 2014 [DiM][I]: New VM state is FAILED
>>
>> I don't get it.
>>
>> best regards
>> t.
>>
>>> On Wed, May 7, 2014 at 11:58 AM, Thomas Stein  wrote:
>>>> Hello.
>>>>
>>>> I deleted all datastores and recreated the neccessary datastores again.
>>>> Now i get:
>>>>
>>>> oneadmin@opennebula-frontend:~/datastores$ onedatastore list
>>>>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>>>>
>>>>  139 glusterds 0M - - 0 img  shared   
>>>> shared
>>>>  140 datastore_sys 0M - fluffy0 sys  -
>>>> shared
>>>>  141 datastore_fil  47.2G 34%   fluffy0 fil  fs   
>>>> shared
>>>> oneadmin@opennebula-frontend:~/datastores$ cd
>>>>
>>>> oneadmin@opennebula-frontend:~$ oneimage create -d 139 --name gentoo
>>>> --path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
>>>> "gentoo"
>>>>
>>>> [ImageAllocate] Cannot determine Image SIZE. Datastore driver 'shared'
>>>> not available
>>>> oneadmin@opennebula-frontend:~$
>>>>
>>>> Someone has an idea how to solve this error?
>>>>
>>>> best regards
>>>> t.
>>>>
>>>>
>>>> Am 06.05.14 17:19, schrieb Thomas Stein:
>>>>> Hello.
>>>>>
>>>>> I'm playing around with glustersfs and opennebula. Followed the quick
>>>>> howto here:
>>>>>
>>>>> http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/
>>>>>
>>>>> Alltough it's not everything clear to me, i managed to create the
>>>>> gluster

Re: [one-users] glusterfs datastore

2014-05-07 Thread Thomas Stein
Hello.

I deleted all datastores and recreated the neccessary datastores again.
Now i get:

oneadmin@opennebula-frontend:~/datastores$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM

 139 glusterds 0M - - 0 img  shared   shared
 140 datastore_sys 0M - fluffy0 sys  -shared
 141 datastore_fil  47.2G 34%   fluffy0 fil  fs   shared
oneadmin@opennebula-frontend:~/datastores$ cd

oneadmin@opennebula-frontend:~$ oneimage create -d 139 --name gentoo
--path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
"gentoo"

[ImageAllocate] Cannot determine Image SIZE. Datastore driver 'shared'
not available
oneadmin@opennebula-frontend:~$

Someone has an idea how to solve this error?

best regards
t.


Am 06.05.14 17:19, schrieb Thomas Stein:
> Hello.
> 
> I'm playing around with glustersfs and opennebula. Followed the quick
> howto here:
> 
> http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/
> 
> Alltough it's not everything clear to me, i managed to create the
> gluster datastore on the frontend.
> 
> oneadmin@opennebula-frontend:~$ onedatastore show 135
> DATASTORE 135 INFORMATION
> 
> ID : 135
> NAME   : gluster_image
> USER   : oneadmin
> GROUP  : oneadmin
> CLUSTER: fluffy
> TYPE   : IMAGE
> DS_MAD : fs
> TM_MAD : shared
> BASE PATH  : /var/lib/one//datastores/135
> DISK_TYPE  :
> 
> DATASTORE CAPACITY
> 
> TOTAL: : 492.2G
> FREE:  : 459.4G
> USED:  : 7.6G
> LIMIT: : -
> 
> PERMISSIONS
> 
> OWNER  : um-
> GROUP  : u--
> OTHER  : ---
> 
> DATASTORE TEMPLATE
> 
> BASE_PATH="/var/lib/one//datastores/"
> CLONE_TARGET="SYSTEM"
> DISK_TYPE="GLUSTER"
> DS_MAD="fs"
> GLUSTER_HOST="one-volume1"
> LN_TARGET="NONE"
> TM_MAD="shared"
> TYPE="IMAGE_DS"
> 
> Problem is. When i try to create an image from a template which resides
> in that datastore i get:
> 
> Tue May  6 17:18:00 2014 [TM][D]: Message received: TRANSFER FAILURE 48
> Error copying
> opennebula-frontend:/var/lib/one//datastores/135/9ba10fc657ac57edc0af308e4fa7
> to remotehost:/var/lib/one/datastores/129/48/disk.0
> 
> Why does opennebula to transfer the image?
> 
> Thanks and best regards
> t.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] glusterfs datastore

2014-05-06 Thread Thomas Stein
Hello.

I'm playing around with glustersfs and opennebula. Followed the quick
howto here:

http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/

Alltough it's not everything clear to me, i managed to create the
gluster datastore on the frontend.

oneadmin@opennebula-frontend:~$ onedatastore show 135
DATASTORE 135 INFORMATION

ID : 135
NAME   : gluster_image
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: fluffy
TYPE   : IMAGE
DS_MAD : fs
TM_MAD : shared
BASE PATH  : /var/lib/one//datastores/135
DISK_TYPE  :

DATASTORE CAPACITY

TOTAL: : 492.2G
FREE:  : 459.4G
USED:  : 7.6G
LIMIT: : -

PERMISSIONS

OWNER  : um-
GROUP  : u--
OTHER  : ---

DATASTORE TEMPLATE

BASE_PATH="/var/lib/one//datastores/"
CLONE_TARGET="SYSTEM"
DISK_TYPE="GLUSTER"
DS_MAD="fs"
GLUSTER_HOST="one-volume1"
LN_TARGET="NONE"
TM_MAD="shared"
TYPE="IMAGE_DS"

Problem is. When i try to create an image from a template which resides
in that datastore i get:

Tue May  6 17:18:00 2014 [TM][D]: Message received: TRANSFER FAILURE 48
Error copying
opennebula-frontend:/var/lib/one//datastores/135/9ba10fc657ac57edc0af308e4fa7
to remotehost:/var/lib/one/datastores/129/48/disk.0

Why does opennebula to transfer the image?

Thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] vm hooks

2014-05-02 Thread Thomas Stein
Hello.

I need a litte bit help with the hook system. I think i'm having
problems understanding the concept. Let's say i wanna have a script
executed after a start of a certain VM. How would the hook look like?
Something like this?

 VM_HOOK = [
   name  = "change_gateway",
   on= "START",
   state = "ACTIVE",
   command   = "cg.sh",
   arguments = "$ID" ]

So this goes to /etc/one/oned.conf? Do i need to assign this to the VM
in some way?

$ID = ID of the VM?

Sorry a lot of questions. Thanks and best regards

t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Deploying VM failed

2014-05-01 Thread Thomas Stein
On Thursday 01 May 2014 20:49:16 Christophe Duez wrote:
> Hello, I'm stuck for weeks.
> Can anyone please help me with the following error?
> I tried all that I know. I even reinstalled like 5time my frontend backend
> and data storage.
> I really need this to work
> 
>1. Thu May  1 22:41:11 2014 [DiM][I]: New VM state is ACTIVE.
>2. Thu May  1 22:41:11 2014 [LCM][I]: New VM state is PROLOG.
>3. Thu May  1 22:41:11 2014 [VM][I]: Virtual Machine has no context
>4. Thu May  1 22:41:12 2014 [LCM][I]: New VM state is BOOT
>5. Thu May  1 22:41:12 2014 [VMM][I]: Generating deployment file:
>/var/lib/one/vms/7/deployment.0
>6. Thu May  1 22:41:12 2014 [VMM][I]: ExitCode: 0
>7. Thu May  1 22:41:12 2014 [VMM][I]: Successfully execute network
>driver operation: pre.
>8. Thu May  1 22:41:12 2014 [VMM][I]: Command execution fail: cat << EOT
> 
>| /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/7/deployment.0'

What does:

ls -l /var/lib/one//datastores/0/7/deployment.0 say?

Had this once to and it turned out to be an empty image.

cheers
t.
 
>'kvmnode2' 7 kvmnode2
>9. Thu May  1 22:41:12 2014 [VMM][I]: error: Failed to create domain
>from /var/lib/one//datastores/0/7/deployment.0
>10. Thu May  1 22:41:12 2014 [VMM][I]: error: cannot open file
>'/var/lib/one//datastores/0/7/disk.1': No such file or directory
>11. Thu May  1 22:41:12 2014 [VMM][E]: Could not create domain from
>/var/lib/one//datastores/0/7/deployment.0
>12. Thu May  1 22:41:12 2014 [VMM][I]: ExitCode: 255
>13. Thu May  1 22:41:12 2014 [VMM][I]: Failed to execute virtualization
>driver operation: deploy.
>14. Thu May  1 22:41:12 2014 [VMM][E]: Error deploying virtual machine:
>Could not create domain from /var/lib/one//datastores/0/7/deployment.0
>15. Thu May  1 22:41:12 2014 [DiM][I]: New VM state is FAILED
> 
> http://pastebin.com/pJMbaJjn

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] qcow2 image import

2014-04-30 Thread Thomas Stein
Am 30.04.14 09:23, schrieb Thomas Stein:
> Am 29.04.14 16:45, schrieb Thomas Stein:
>> Am 29.04.14 16:13, schrieb Thomas Stein:
>>> Hello.
>>> 
>>> I'm using opennebula 4.6 and like to import a few qcow2 images. Is this
>>> tutorial still correct?
>>> 
>>> https://support.opennebula.pro/entries/348847-using-qcow-images
> 
> This is what i get on commandline:
> 
> oneadmin@opennebula-frontend:~$ oneimage create -d default --name gentoo
> --path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
> "gentoo"
> 
> Not enough space in datastore

Created a new datastore with 100G space and now it worked. Strange.
Someone has an explanation for this? I mean there is 25G free on both
other datastores.

cheers
t.

> oneadmin@opennebula-frontend:~$
> 
> oneadmin@opennebula-frontend:~$ onedatastore list
>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
> 
>1 default47.2G 53%   - 1 img  fs   ssh
>2 files  47.2G 53%   - 0 fil  fs   ssh
>  129 system - - fluffy0 sys  -ssh
> oneadmin@opennebula-frontend:~$
> 
> Any ideas? Should i create another datastore?
> 
> cheers
> t.
> 
> 
>> Another Problem. While trying to import a qcow2 image i get:
>> 
>> Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore
>> 
>> But i have enough space i think.
>> 
>> oneadmin@opennebula-frontend:~$ onedatastore list
>>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>> 
>>1 default47.2G 53%   - 1 img  fs   ssh
>>2 files  47.2G 53%   - 0 fil  fs   ssh
>>  128 system_ds  - - fluffy0 sys  -ssh
>> oneadmin@opennebula-frontend:~$
>> 
>> Any ideas? Is the missing "fs" on ID 128 a problem?
>> 
>> best regards
>> thomas
>> 
>>> best regards
>>> thomas
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>> 
>> 
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] qcow2 image import

2014-04-30 Thread Thomas Stein
Am 29.04.14 16:45, schrieb Thomas Stein:
> Am 29.04.14 16:13, schrieb Thomas Stein:
>> Hello.
>> 
>> I'm using opennebula 4.6 and like to import a few qcow2 images. Is this
>> tutorial still correct?
>> 
>> https://support.opennebula.pro/entries/348847-using-qcow-images

This is what i get on commandline:

oneadmin@opennebula-frontend:~$ oneimage create -d default --name gentoo
--path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description
"gentoo"

Not enough space in datastore

oneadmin@opennebula-frontend:~$

oneadmin@opennebula-frontend:~$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM

   1 default47.2G 53%   - 1 img  fs   ssh
   2 files  47.2G 53%   - 0 fil  fs   ssh
 129 system - - fluffy0 sys  -ssh
oneadmin@opennebula-frontend:~$

Any ideas? Should i create another datastore?

cheers
t.


> Another Problem. While trying to import a qcow2 image i get:
> 
> Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore
> 
> But i have enough space i think.
> 
> oneadmin@opennebula-frontend:~$ onedatastore list
>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
> 
>1 default47.2G 53%   - 1 img  fs   ssh
>2 files  47.2G 53%   - 0 fil  fs   ssh
>  128 system_ds  - - fluffy0 sys  -ssh
> oneadmin@opennebula-frontend:~$
> 
> Any ideas? Is the missing "fs" on ID 128 a problem?
> 
> best regards
> thomas
> 
>> best regards
>> thomas
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] qcow2 image import

2014-04-29 Thread Thomas Stein
Am 29.04.14 17:16, schrieb Ionut Popovici:
> On 4/29/2014 5:45 PM, Thomas Stein wrote:
>> Am 29.04.14 16:13, schrieb Thomas Stein:
>>> Hello.
>>>
>>> I'm using opennebula 4.6 and like to import a few qcow2 images. Is this
>>> tutorial still correct?
>>>
>>> https://support.opennebula.pro/entries/348847-using-qcow-images
>> Another Problem. While trying to import a qcow2 image i get:
>>
>> Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore
>>
>> But i have enough space i think.
>>
>> oneadmin@opennebula-frontend:~$ onedatastore list
>>ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>>
>> 1 default47.2G 53%   - 1 img  fs   ssh
>> 2 files  47.2G 53%   - 0 fil  fs   ssh
>>   128 system_ds  - - fluffy0 sys  -ssh
>> oneadmin@opennebula-frontend:~$
>>
>> Any ideas? Is the missing "fs" on ID 128 a problem?

> It seams you datastore can't be read by ssh commonad .. can you try to 
> connect to your datastore with opennebula ssh key ?

Seems to work:

oneadmin@opennebula-frontend:~$ ssh opennebula-frontend
Linux opennebula-frontend 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64
Last login: Tue Apr 29 17:20:35 2014 from localhost
oneadmin@opennebula-frontend:~$

best regards
thomas
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] qcow2 image import

2014-04-29 Thread Thomas Stein
Am 29.04.14 16:13, schrieb Thomas Stein:
> Hello.
> 
> I'm using opennebula 4.6 and like to import a few qcow2 images. Is this
> tutorial still correct?
> 
> https://support.opennebula.pro/entries/348847-using-qcow-images

Another Problem. While trying to import a qcow2 image i get:

Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore

But i have enough space i think.

oneadmin@opennebula-frontend:~$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM

   1 default47.2G 53%   - 1 img  fs   ssh
   2 files  47.2G 53%   - 0 fil  fs   ssh
 128 system_ds  - - fluffy0 sys  -ssh
oneadmin@opennebula-frontend:~$

Any ideas? Is the missing "fs" on ID 128 a problem?

best regards
thomas

> best regards
> thomas
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] qcow2 image import

2014-04-29 Thread Thomas Stein
Hello.

I'm using opennebula 4.6 and like to import a few qcow2 images. Is this
tutorial still correct?

https://support.opennebula.pro/entries/348847-using-qcow-images

best regards
thomas
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] cluster datastore

2014-04-29 Thread Thomas Stein
Am 29.04.14 12:53, schrieb Thomas Stein:
> Am 29.04.14 11:13, schrieb Thomas Stein:
>> Hello.
>> 
>> I'm fighting with getting One 4.6 running. Here my current problem. I
>> cannot deploy VMs to any hosts in the cluster. This is what i get in
>> oned.log:
>> 
>> Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy
>> result SUCCESS, 15
>> Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command
>> execution fail: /var/lib/one/remotes/tm/shared/clone
>> opennebula-frontend:/var/lib
>> /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393
>> one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1
> 
> Hm. Strange. If i create a new datastore (id_122 there is no
> /var/lib/one/datastores/122 directory created. Is that right?

It seems the root cause is:

Tue Apr 29 14:56:39 2014 [ReM][E]: Req:8832 UID:0 VirtualMachineDeploy
result FAILURE [VirtualMachineDeploy] cluster [102] does not have any
datastore of type SYST
EM_DS.

I found a thread here:

http://lists.opennebula.org/pipermail/users-opennebula.org/2013-December/025727.html

But i don't know what to do with that. Someone has an idea?

cheers
t.

> cheers
> t.
> 
>> This is how the datastores look.
>> 
>> oneadmin@opennebula-frontend:~$ onedatastore list
>>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
>> 
>>1 default47.2G 69%   - 1 img  fs   shared
>>2 files  47.2G 69%   - 0 fil  fs   ssh
>>  113 one-cluster-s  - - cluster1  0 sys  -ssh
>> oneadmin@opennebula-frontend:~$
>> 
>> oneadmin@opennebula-frontend:~$ onedatastore show 113
>> DATASTORE 113 INFORMATION
>> 
>> ID : 113
>> NAME   : one-cluster-system-ds
>> USER   : oneadmin
>> GROUP  : oneadmin
>> CLUSTER: cluster1
>> TYPE   : SYSTEM
>> DS_MAD : -
>> TM_MAD : ssh
>> BASE PATH  : /var/lib/one//datastores/113
>> DISK_TYPE  : FILE
>> 
>> DATASTORE CAPACITY
>> 
>> TOTAL: : -
>> FREE:  : -
>> USED:  : -
>> LIMIT: : -
>> 
>> PERMISSIONS
>> 
>> OWNER  : um-
>> GROUP  : u--
>> OTHER  : ---
>> 
>> DATASTORE TEMPLATE
>> 
>> BASE_PATH="/var/lib/one//datastores/"
>> SHARED="NO"
>> TM_MAD="ssh"
>> TYPE="SYSTEM_DS"
>> 
>> 
>> oneadmin@opennebula-frontend:~$ onehost list
>>   ID NAMECLUSTER   RVM  ALLOCATED_CPU  ALLOCATED_MEM
>> STAT
>>4 one1sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
>>5 one2sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
>> oneadmin@opennebula-frontend:~$
>> 
>> Could someone give me helpfull pointers? I'm sure i did something wrong.
>> 
>> thanks and best regards
>> t.
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] cluster datastore

2014-04-29 Thread Thomas Stein
Am 29.04.14 11:13, schrieb Thomas Stein:
> Hello.
> 
> I'm fighting with getting One 4.6 running. Here my current problem. I
> cannot deploy VMs to any hosts in the cluster. This is what i get in
> oned.log:
> 
> Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy
> result SUCCESS, 15
> Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command
> execution fail: /var/lib/one/remotes/tm/shared/clone
> opennebula-frontend:/var/lib
> /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393
> one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1

Hm. Strange. If i create a new datastore (id_122 there is no
/var/lib/one/datastores/122 directory created. Is that right?

cheers
t.

> This is how the datastores look.
> 
> oneadmin@opennebula-frontend:~$ onedatastore list
>   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
> 
>1 default47.2G 69%   - 1 img  fs   shared
>2 files  47.2G 69%   - 0 fil  fs   ssh
>  113 one-cluster-s  - - cluster1  0 sys  -ssh
> oneadmin@opennebula-frontend:~$
> 
> oneadmin@opennebula-frontend:~$ onedatastore show 113
> DATASTORE 113 INFORMATION
> 
> ID : 113
> NAME   : one-cluster-system-ds
> USER   : oneadmin
> GROUP  : oneadmin
> CLUSTER: cluster1
> TYPE   : SYSTEM
> DS_MAD : -
> TM_MAD : ssh
> BASE PATH  : /var/lib/one//datastores/113
> DISK_TYPE  : FILE
> 
> DATASTORE CAPACITY
> 
> TOTAL: : -
> FREE:  : -
> USED:  : -
> LIMIT: : -
> 
> PERMISSIONS
> 
> OWNER  : um-
> GROUP  : u--
> OTHER  : ---
> 
> DATASTORE TEMPLATE
> 
> BASE_PATH="/var/lib/one//datastores/"
> SHARED="NO"
> TM_MAD="ssh"
> TYPE="SYSTEM_DS"
> 
> 
> oneadmin@opennebula-frontend:~$ onehost list
>   ID NAMECLUSTER   RVM  ALLOCATED_CPU  ALLOCATED_MEM
> STAT
>4 one1sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
>5 one2sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
> oneadmin@opennebula-frontend:~$
> 
> Could someone give me helpfull pointers? I'm sure i did something wrong.
> 
> thanks and best regards
> t.
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> 

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] cluster datastore

2014-04-29 Thread Thomas Stein
Hello.

I'm fighting with getting One 4.6 running. Here my current problem. I
cannot deploy VMs to any hosts in the cluster. This is what i get in
oned.log:

Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy
result SUCCESS, 15
Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command
execution fail: /var/lib/one/remotes/tm/shared/clone
opennebula-frontend:/var/lib
/one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393
one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1

This is how the datastores look.

oneadmin@opennebula-frontend:~$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM

   1 default47.2G 69%   - 1 img  fs   shared
   2 files  47.2G 69%   - 0 fil  fs   ssh
 113 one-cluster-s  - - cluster1  0 sys  -ssh
oneadmin@opennebula-frontend:~$

oneadmin@opennebula-frontend:~$ onedatastore show 113
DATASTORE 113 INFORMATION

ID : 113
NAME   : one-cluster-system-ds
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: cluster1
TYPE   : SYSTEM
DS_MAD : -
TM_MAD : ssh
BASE PATH  : /var/lib/one//datastores/113
DISK_TYPE  : FILE

DATASTORE CAPACITY

TOTAL: : -
FREE:  : -
USED:  : -
LIMIT: : -

PERMISSIONS

OWNER  : um-
GROUP  : u--
OTHER  : ---

DATASTORE TEMPLATE

BASE_PATH="/var/lib/one//datastores/"
SHARED="NO"
TM_MAD="ssh"
TYPE="SYSTEM_DS"


oneadmin@opennebula-frontend:~$ onehost list
  ID NAMECLUSTER   RVM  ALLOCATED_CPU  ALLOCATED_MEM
STAT
   4 one1sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
   5 one2sy cluster10   0 / 800 (0%)0K / 23.6G (0%) on
oneadmin@opennebula-frontend:~$

Could someone give me helpfull pointers? I'm sure i did something wrong.

thanks and best regards
t.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org