Re: [one-users] Best Practice - Storage Backend

2014-08-08 Thread Joerg Mauer
Hi,

you might want to look at the shared_lvm approach that does not use clvm
(I couldn´t get that to work properly on Ubuntu 12.04):

http://community.opennebula.org/shared_lvm

There is a addon repo for it on github,
unfortunately it´s empty ;-)

https://github.com/OpenNebula/addon-shared-lvm-single-lock

regards,

joerg

Am 08.08.2014 09:02, schrieb InterNetX - Juergen Gotteswinter:
>  Hello Nebula Users,
> 
> i am curious what others are using as Storage Backend, since i spent
> plenty of time trying to get block LVM or FS LVM to work reliable. CLVM
> seems like a cure to me, and from what i could find through Google so
> far i am not the only one who experienced things like (everything on a 4
> Node Cluster, seperate Management System for Opennebula/Sunstone -
> Nebula 4.6 and 4.7.80):
> 
> - whole Cluster dying / hangs (no more VG/LV Operations possible) if one
> Node decides to die
> - unreliable if several VM get deployed at once (didnt investigate further)
> 
> i tried:
> 
> - CentOS 6 based KVM Hosts, cman/clvmd based Setup
> - CentOS 7 based KVM Hosts, Corosync/clvmd (feels little bit better, but
> still not like something i whould consider for Production)
> 
> 
> What i wanted to avoid is Using NFS as Backend, the Experience over the
> last few years with NFS as Backend for Images is not the best in term of
> Performance (if you want to make sure your data stays consistent, eg
> using sync NFS).
> 
> Block Device, in form of a LV or similar things like ZVOL is where we
> got best experience over years with other Virtualization Platforms.
> Thats something i want to keep for sure.
> 
> Since the Hostsystems are pretty huge, there wont be just run a hand
> full of VM on this Setup (1TB Ram avail. in this Setup for the
> beginning). So one has to keep in mind that its not a small scale Setup.
> 
> Every shared experience / or maybe hint how to deal right with CLVM is
> highly appreciated.
> 
> Cheers,
> 
> Juergen
> ___
> 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] Local Storage Provision on opennebula

2014-08-08 Thread Alberto Zuin - Liste

Yes, you can use shared driver with persistent disk image.
Cheers,
A

On 08/08/14 17:56, karthik rs wrote:

Hi All ,

I am new user of OpenNebula , trying to learn it . Do OpenNebula 
support local disk storage on individual machine. If yes, how to do it 
. Kindly help me



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



--
AZ Network Specialist
via Mare, 36A
36030 Lugo di Vicenza (VI)
ITALY
P.I. IT04310790284
http://www.azns.it
Tel +39.3286268626
Fax +39.0492106654

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


[one-users] Local Storage Provision on opennebula

2014-08-08 Thread karthik rs
Hi All ,

I am new user of OpenNebula , trying to learn it . Do OpenNebula support
local disk storage on individual machine. If yes, how to do it . Kindly
help me
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone - error - Action is not defined

2014-08-08 Thread Faizal Latif
ok. fine. it seems that the error happened to firefox only. this issue
solve when i use chrome. so a bit weird for me.


On Fri, Aug 8, 2014 at 8:28 PM, Faizal Latif  wrote:

> hi guys,
>
> any updates on this? please help me.
>
> thanks.
>
>
> On Wed, Aug 6, 2014 at 1:24 PM, Faizal Latif 
> wrote:
>
>> hi guys,
>>
>> to be frank i'm quite new to opennebula. the interface is so nice. i'm
>> happy with it. however, i did try install latest version which is 4.6.
>> however, i found out that everytime i try click refresh button or add
>> button on almost all tab i will get error " action not define" can someone
>> help me on where should i check to solve this issue.
>>
>> roughly i cannot change anything inside sunstone GUI.
>>
>> i have checked the admin.yaml and can see there are actions attribute
>> define there. but still i got the error messages. looking forward for your
>> guidance.
>>
>> thanks
>> faizal
>>
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] onevm migrate/suspend and checkpoint files

2014-08-08 Thread Steven Timm

We basically decided to go back to the stock rhel/centos/sci. linux
kernels.  Performance with 3.10 kernel was better but we never
could get things to migrate right.  Performance of the old kernel
is still very bad but at least we can migrate clean and
in the past few errata updates, redhat has fixed it so at least
the kernel doesn't crash the whole machine under those conditions.

Steve Timm

On Fri, 8 Aug 2014, Jaime Melis wrote:


Hi Steven,
unfortunately I'm not able to help with most of the email, however I can
tell you that the underlying operation for checkpointing is the "save"
operation.

http://wiki.libvirt.org/page/VM_lifecycle

regards,
Jaime



On Thu, Jul 24, 2014 at 4:00 PM, Steven Timm  wrote:

  When OpenNebula creates a checkpoint file either as part
  of a onevm migrate or onevm suspend, what libvirt function
  is it calling to do the checkpoint?

  We are seeing some issues on our new Ivy Bridge hardware
  that sometimes in the process of a (non-live) migration,
  the clock can get confused in such a way that when the
  virtual machine starts from the checkpoint file
  it will be hung and the kvm process uses 100% of cpu for
  a day or more, and then usually resolves itself.  In some
  cases we see the clock jump very far into the future (2598),
  which in itself can confuse a linux vm enough to hang it.

  Any clues on what OpenNebula /libvirt are doing under the
  covers?
  Is there any reason to suspect that on Ivy Bridge hardware,
  in which there are some 60 different cpu frequencies available
  for cpu scaling, the rapidly fluctuating clock speeds might
  get us into trouble--i.e. suspending the machine on one clock
  frequency and bringig it back on a different clock frequency?

  Does anyone have experience in migrating between hardware
  generations... Ivy Bridge -> Westmere and vice versa?

  Finally, has anyone run a successful combination of kernel 3.10
  or greater and RHEL6/Centos 6/Sci. Linux 6?
  (In particular do the stock versions of libvirt and qemu-kvm
  play nice with the 3.10 kernel)?
  The 2.6.32 kernel that comes with RHEL6/Centos6/Sci Linux 6 is
  just not
  up to dealing with virtualization on Ivy Bridge machines and it
  has some trouble on Sandy Bridge too.

  Thanks

  Steve Timm



  --
  Steven C. Timm, Ph.D  (630) 840-8525
  t...@fnal.gov  http://home.fnal.gov/~timm/
  Fermilab Scientific Computing Division, Scientific Computing
  Services Quad.
  Grid and Cloud Services Dept., Associate Dept. Head for Cloud
  Computing
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org




--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Diskless Linux VMs (?)

2014-08-08 Thread Dmitri Chebotarov
Hello

Does anyone have an example on how to configure diskless Linux VMs on ONE (ONE 
4.6.1 /w KVM)?
This is my template so far:


DESCRIPTION="Diskless HPC node"
OS=[INITRD_DS="$FILE[IMAGE_ID=452]",BOOT="hd",KERNEL_DS="$FILE[IMAGE_ID=451]",ARCH="x86_64",GUESTOS="centos64Guest"]
MEMORY="512"
GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0"]
CPU="1"
SCHED_REQUIREMENTS="CLUSTER_ID=\"100\""
INPUT=[BUS="usb",TYPE="tablet"]
FEATURES=[LOCALTIME="yes",APIC="yes",PAE="yes",ACPI="yes"]

I assume I need to have rootfs file or point root to a NFS, but not sure which 
would be the right way...

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone - error - Action is not defined

2014-08-08 Thread Faizal Latif
hi guys,

any updates on this? please help me.

thanks.


On Wed, Aug 6, 2014 at 1:24 PM, Faizal Latif  wrote:

> hi guys,
>
> to be frank i'm quite new to opennebula. the interface is so nice. i'm
> happy with it. however, i did try install latest version which is 4.6.
> however, i found out that everytime i try click refresh button or add
> button on almost all tab i will get error " action not define" can someone
> help me on where should i check to solve this issue.
>
> roughly i cannot change anything inside sunstone GUI.
>
> i have checked the admin.yaml and can see there are actions attribute
> define there. but still i got the error messages. looking forward for your
> guidance.
>
> thanks
> faizal
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Problem with network bridge from VMs to physical network.

2014-08-08 Thread Diego M .
Hi Jaime, Thanks for your reply!
Still not, I'm trying to figure it out right now. The ip route output is the 
following:root@Host1:~# ip route showdefault via 192.168.7.254 dev 
eth0192.168.7.0/24 dev eth0  proto kernel  scope link  src 
192.168.7.1192.168.7.0/24 dev Vbr0  proto kernel  scope link  src 
192.168.7.2192.168.254.0/24 dev Vbr0  proto kernel  scope link  src 
192.168.254.254
Term1 routes:C:\Users\User1>route PRINTIPv4 Route 
Table===Active
 Routes:Network DestinationNetmask  Gateway   Interface 
   0.0.0.0  0.0.0.0 192.168.7.254   192.168.7.50  
10.142.168.0255.255.255.0 On-link 
192.168.7.50===
192.168.7.254 routes:admin@Gateway:/tmp/home/root# ip route show130.255.155.1 
dev eth0  scope link192.168.7.0/24 dev br0  proto kernel  scope link  src 
192.168.7.254130.255.155.0/24 dev eth0  proto kernel  scope link  src 
130.255.155.33192.168.254.0/24 via 192.168.7.2 dev br0  metric 1127.0.0.0/8 dev 
lo  scope linkdefault via 130.255.155.1 dev eth0
I'm thinking that this issue could be caused as I'm routing the traffic to the 
virtual machines from 192.168.7.254 (The gateway of my network) to Host1 
through 192.168.7.2, but actually the traffic comming from Host1 is through 
192.168.7.1, maybe that could be causing my problem?
From: jme...@opennebula.org
Date: Fri, 8 Aug 2014 11:33:01 +0200
Subject: Re: [one-users] Problem with network bridge from VMs to physical 
network.
To: thedragonsreb...@hotmail.com
CC: users@lists.opennebula.org

Hi,
did you manage to figure this out?
otherwise, can you send us the output of "ip route" in the VM, Host 1 and Term 
1?
cheers,


Jaime

On Wed, Jul 30, 2014 at 6:30 PM, Diego M.  wrote:





Hi all,I'm trying to implement opennebula on my personal lab as we have some 
projects with a colleague and it is nice to have disposable VMs, and also we 
are taking the oportunity to learn about OpenNebula to keep up-to-date :)


I would like to ask you a question I have, regarding networking, because I'm 
pretty sure that I'm missing something on the configurations but I cannot 
realize what.
We have the following infrastructure:

  
  And the problem is that from the clients on 192.168.7.0/24 subnet I can ping 
the VMs on 192.168.254.0/24, but the problem is that from the VM I can only 
ping 192.168.7.1, 192.168.7.2, and 192.168.7.254 of the 192.168.7.0/24 subnet, 
and all the other clients from some reason are not reacheable. 



I'm for sure missing something somewhere, but I cannot figure what. I had 
already enabled the ip4 forwarding on Host1 for all interfaces, and the 
following are the contents of /etc/network/interfaces file:

# The loopback network interfaceauto loiface lo inet loopback
# The primary network interface

allow-hotplug eth0iface eth0 inet staticaddress 192.168.7.1
netmask 255.255.255.0gateway 192.168.7.254


auto Vbr0iface Vbr0 inet staticaddress 192.168.7.2netmask 
255.255.255.0network 192.168.7.0

broadcast 192.168.7.255gateway 192.168.7.254
bridge_ports eth1bridge_fd 9bridge_hello 2

bridge_maxage 12bridge_maxwait 5bridge_stp off
auto Vbr0:1iface Vbr0:1 inet static

address 192.168.254.254netmask 255.255.255.0gateway 
192.168.7.2

And this is the vnet template I'm using for the VMs:

onevnet show PublicVIRTUAL NETWORK 48 INFORMATION

ID : 48NAME   : Public

USER   : oneadminGROUP  : usersCLUSTER: -

TYPE   : RANGEDBRIDGE : Vbr0

VLAN   : NoUSED LEASES: 1


PERMISSIONSOWNER  : um-

GROUP  : u--OTHER  : ---


VIRTUAL NETWORK TEMPLATEBRIDGE="Vbr0"

DESCRIPTION=""DNS="192.168.7.254"

GATEWAY="192.168.254.254"NETWORK_ADDRESS="192.168.254.0"

NETWORK_MASK="255.255.255.0"PHYDEV=""

VLAN="NO"VLAN_ID=""


RANGEIP_START   : 192.168.254.1

IP_END : 192.168.254.253


USED LEASESLEASE=[ MAC="02:00:c0:a8:fe:01", IP="192.168.254.1", 
IP6_LINK="fe80::400:c0ff:fea8:fe01", USED="1", VID="92" ]


VIRTUAL MACHINES


ID USER GROUPNAMESTAT UCPUUMEM HOST TIME

92 adminusersDebian 7.5 Base runn0256M HOMPLMPKRS   0d 11h23
If someone realize what I'm doing wrong and could give me an advise?

May also, it is not the best way to bridge the connection of the VMs to the 
physical network, but I did not found other way of doing it on the 
documentation, or at least I did not understood.


More detailed information about the templates I'm using, below is the "public" 
network template(provides leases of 192.168.254.0/24), that is the one I want 
to bridge to the local network (192.168.7.0/24). And after the network 
template, the information of the VM template, where the NIC

Re: [one-users] Opennebula node (CentOS, Xen host) saying Error executing collectd-client.rb when creating a host.

2014-08-08 Thread Chris Gerard

On 08/08/2014 10:22 AM, Jaime Melis wrote:

Hi Chris,

I hope you managed find an explanation for this, otherwise I would go 
about by:


* Edit /var/lib/one/datastores/im/run_probes
* Duplicate line 34 and insert an echo in the first one, so you know 
what's going on

* This will probably identify a script that's failing
* Try to run it individually

This is probably a configuration problem..

hope this helps

cheers,
Jaime


On Tue, Jul 15, 2014 at 1:50 PM, Chris Gerard > wrote:


Hello, I am facing a problem while creating an host on opennebula.
I followed the official documentation and achieved it in the past,
on the very same machine

(http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_centos_xen.html#qs-centos-xen)
without having this problem.

After following this doc, I created ssh keys on the frontend and
copied them on the node (yes, I can connect from the frontend to
the node via ssh using oneadmin's login without having a password
prompt), then I edited Xen's configuration in order to enable NAT
(my server provider has MAC filtering routers).

Now, more about this error, this is what /var/log/one/oned.log
says on the frontend's server:

[oneadmin@GeorgeOrwell .ssh]$ tail -f /var/log/one/oned.log
Tue Jul 15 13:34:16 2014 [InM][D]: Monitoring datastore files (2)
Tue Jul 15 13:34:16 2014 [ImM][D]: Datastore default (1)
successfully monitored.
Tue Jul 15 13:34:16 2014 [ImM][D]: Datastore files (2)
successfully monitored.
Tue Jul 15 13:34:28 2014 [ReM][D]: Req:6544 UID:0 HostAllocate
invoked, "MarieCurie.hubu.eu ",
"xen", "xen", "dummy", -1
Tue Jul 15 13:34:28 2014 [ReM][D]: Req:6544 UID:0 HostAllocate
result SUCCESS, 6
Tue Jul 15 13:34:31 2014 [InM][D]: Monitoring host
MarieCurie.hubu.eu  (6)
Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0
VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0
VirtualMachinePoolInfo result SUCCESS, ""
Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0
VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0
VirtualMachinePoolInfo result SUCCESS, ""
Tue Jul 15 13:34:41 2014 [AuM][D]: Message received:
AUTHENTICATE SUCCESS 14 -

Tue Jul 15 13:34:41 2014 [ReM][D]: Req:3744 UID:0 HostPoolInfo
invoked
Tue Jul 15 13:34:41 2014 [ReM][D]: Req:3744 UID:0 HostPoolInfo
result SUCCESS, "http://MarieCurie.hubu.eu>;
else  exit 42; fi'
Tue Jul 15 13:34:50 2014 [InM][I]: cat:
/tmp/one-collectd-client.pid: No such file or directory
Tue Jul 15 13:34:50 2014 [InM][I]: /var/tmp/one/im/run_probes:
line 34:  4369 Aborted ./$i $ARGUMENTS
Tue Jul 15 13:34:50 2014 [InM][E]: Error executing
collectd-client.rb
Tue Jul 15 13:34:50 2014 [InM][I]: ExitCode: 134


After facing this, first yesterday (then I formatted today, just
in case and faced the same problem on a fresh install), I asked on
IRC and jfontan asked me to try this:

bash -x /var/tmp/one/im/run_probes xen4 /var/lib/one//datastores 4124 20 
4MarieCurie.hubu.eu  

Which gave this output:

[oneadmin@MarieCurie /]$ bash -x /var/tmp/one/im/run_probes xen4 
/var/lib/one//datastores 4124 20 4MarieCurie.hubu.eu  

++ dirname /var/tmp/one/im/run_probes
+ source /var/tmp/one/im/../scripts_common.sh
++ export LANG=C
++ LANG=C
++ export 
PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
++ 
PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
++ AWK=awk
++ BASH=bash
++ CUT=cut
++ DATE=date
++ DD=dd
++ DF=df
++ DU=du
++ GREP=grep
++ ISCSIADM=iscsiadm
++ LVCREATE=lvcreate
++ LVREMOVE=lvremove
++ LVRENAME=lvrename
++ LVS=lvs
++ LN=ln
++ MD5SUM=md5sum
++ MKFS=mkfs
++ MKISOFS=genisoimage
++ MKSWAP=mkswap
++ QEMU_IMG=qemu-img
++ RADOS=rados
++ RBD=rbd
++ READLINK=readlink
++ RM=rm
++ SCP=scp
++ SED=sed
++ SSH=ssh
++ SUDO=sudo
++ SYNC=sync
++ TAR=tar
++ TGTADM=tgtadm
++ TGTADMIN=tgt-admin
++ TGTSETUPLUN=tgt-setup-lun-one
++ TR=tr
++ VGDISPLAY=vgdisplay
++ VMKFSTOOLS=vmkfstools
++ WGET=wget
+++ uname -s
++ '[' xLinux = xLinux ']'
++ SED='sed -r'
+++ basename /var/tmp/one/im/ru

Re: [one-users] Problem with network bridge from VMs to physical network.

2014-08-08 Thread Jaime Melis
Hi,

did you manage to figure this out?

otherwise, can you send us the output of "ip route" in the VM, Host 1 and
Term 1?

cheers,
Jaime


On Wed, Jul 30, 2014 at 6:30 PM, Diego M. 
wrote:

> Hi all,
> I'm trying to implement opennebula on my personal lab as we have some
> projects with a colleague and it is nice to have disposable VMs, and also
> we are taking the oportunity to learn about OpenNebula to keep up-to-date :)
>
> I would like to ask you a question I have, regarding networking, because
> I'm pretty sure that I'm missing something on the configurations but I
> cannot realize what.
>
> We have the following infrastructure:
>
>
>
>   And the problem is that from the clients on 192.168.7.0/24 subnet I can
> ping the VMs on 192.168.254.0/24, but the problem is that from the VM I
> can only ping 192.168.7.1, 192.168.7.2, and 192.168.7.254 of the
> 192.168.7.0/24 subnet, and all the other clients from some reason are not
> reacheable.
>
>
> I'm for sure missing something somewhere, but I cannot figure what. I had
> already enabled the ip4 forwarding on Host1 for all interfaces, and the
> following are the contents of /etc/network/interfaces file:
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.7.1
> netmask 255.255.255.0
> gateway 192.168.7.254
>
> auto Vbr0
> iface Vbr0 inet static
> address 192.168.7.2
> netmask 255.255.255.0
> network 192.168.7.0
> broadcast 192.168.7.255
> gateway 192.168.7.254
> bridge_ports eth1
> bridge_fd 9
> bridge_hello 2
> bridge_maxage 12
> bridge_maxwait 5
> bridge_stp off
>
> auto Vbr0:1
> iface Vbr0:1 inet static
> address 192.168.254.254
> netmask 255.255.255.0
> gateway 192.168.7.2
>
>
>
> And this is the vnet template I'm using for the VMs:
>
> onevnet show Public
>
> VIRTUAL NETWORK 48 INFORMATION
>
> ID : 48
>
> NAME   : Public
>
> USER   : oneadmin
>
> GROUP  : users
>
> CLUSTER: -
>
> TYPE   : RANGED
>
> BRIDGE : Vbr0
>
> VLAN   : No
>
> USED LEASES: 1
>
>
> PERMISSIONS
>
> OWNER  : um-
>
> GROUP  : u--
>
> OTHER  : ---
>
>
> VIRTUAL NETWORK TEMPLATE
>
> BRIDGE="Vbr0"
>
> DESCRIPTION=""
>
> DNS="192.168.7.254"
>
> GATEWAY="192.168.254.254"
>
> NETWORK_ADDRESS="192.168.254.0"
>
> NETWORK_MASK="255.255.255.0"
>
> PHYDEV=""
>
> VLAN="NO"
>
> VLAN_ID=""
>
>
> RANGE
>
> IP_START   : 192.168.254.1
>
> IP_END : 192.168.254.253
>
>
> USED LEASES
>
> LEASE=[ MAC="02:00:c0:a8:fe:01", IP="192.168.254.1",
> IP6_LINK="fe80::400:c0ff:fea8:fe01", USED="1", VID="92" ]
>
>
> VIRTUAL MACHINES
>
>
> ID USER GROUPNAMESTAT UCPUUMEM HOST
>   TIME
>
> 92 adminusersDebian 7.5 Base runn0256M HOMPLMPKRS   0d
> 11h23
>
>
> If someone realize what I'm doing wrong and could give me an advise?
> May also, it is not the best way to bridge the connection of the VMs to
> the physical network, but I did not found other way of doing it on the
> documentation, or at least I did not understood.
>
> More detailed information about the templates I'm using, below is the
> "public" network template(provides leases of 192.168.254.0/24), that is
> the one I want to bridge to the local network (192.168.7.0/24). And after
> the network template, the information of the VM template, where the NIC
> using"public" network template is assigned.
> oneadmin@HOMPLMPKRSV0001:/root$ onevnet list
>   ID USER GROUPNAMECLUSTER  TYPE BRIDGE
> LEASES
>   47 oneadmin usersPrivate -   R Vbr0
>  1
>   48 oneadmin usersPublic  -   R Vbr0
>  1
> oneadmin@HOMPLMPKRSV0001:/root$ onevnet show 48
> VIRTUAL NETWORK 48 INFORMATION
> ID : 48
> NAME   : Public
> USER   : oneadmin
> GROUP  : users
> CLUSTER: -
> TYPE   : RANGED
> BRIDGE : Vbr0
> VLAN   : No
> USED LEASES: 1
>
> PERMISSIONS
> OWNER  : um-
> GROUP  : u--
> OTHER  : ---
>
> VIRTUAL NETWORK TEMPLATE
> BRIDGE="Vbr0"
> DESCRIPTION=""
> DNS="192.168.7.254"
> GATEWAY="192.168.254.254"
> NETWORK_ADDRESS="192.168.254.0"
> NETWORK_MASK="255.255.255.0"
> PHYDEV=""
> VLAN="NO"
> VLAN_ID=""
>
> RANGE
> IP_START   : 192.168.254.1
> IP_END : 192.168.254.253
>
> USED LEASES
> LEASE=[ MAC="02:00:c0:a8:fe:01", IP="192.168.254.1",
> IP6_LINK="fe80::400:c0ff:fea8:fe01", USED="1", VID="92" ]
>
> VIRTUAL MACHINES
>
> ID USER GROUPNAMESTAT UCPUUMEM HOST
>   TIME
> 92 adminusersDebian 7.5 Base runn0256M HOMPLMPKRS   1d
> 10h57
> oneadmin@HOMPLMPKRSV0001:/root$ onetemplate list
>   ID USERGROUP   NAME
>  REGTI

Re: [one-users] onevm migrate/suspend and checkpoint files

2014-08-08 Thread Jaime Melis
Hi Steven,

unfortunately I'm not able to help with most of the email, however I can
tell you that the underlying operation for checkpointing is the "save"
operation.

http://wiki.libvirt.org/page/VM_lifecycle

regards,
Jaime



On Thu, Jul 24, 2014 at 4:00 PM, Steven Timm  wrote:

>
> When OpenNebula creates a checkpoint file either as part
> of a onevm migrate or onevm suspend, what libvirt function
> is it calling to do the checkpoint?
>
> We are seeing some issues on our new Ivy Bridge hardware
> that sometimes in the process of a (non-live) migration,
> the clock can get confused in such a way that when the
> virtual machine starts from the checkpoint file
> it will be hung and the kvm process uses 100% of cpu for
> a day or more, and then usually resolves itself.  In some
> cases we see the clock jump very far into the future (2598),
> which in itself can confuse a linux vm enough to hang it.
>
> Any clues on what OpenNebula /libvirt are doing under the covers?
> Is there any reason to suspect that on Ivy Bridge hardware,
> in which there are some 60 different cpu frequencies available
> for cpu scaling, the rapidly fluctuating clock speeds might
> get us into trouble--i.e. suspending the machine on one clock
> frequency and bringig it back on a different clock frequency?
>
> Does anyone have experience in migrating between hardware
> generations... Ivy Bridge -> Westmere and vice versa?
>
> Finally, has anyone run a successful combination of kernel 3.10
> or greater and RHEL6/Centos 6/Sci. Linux 6?
> (In particular do the stock versions of libvirt and qemu-kvm
> play nice with the 3.10 kernel)?
> The 2.6.32 kernel that comes with RHEL6/Centos6/Sci Linux 6 is just not
> up to dealing with virtualization on Ivy Bridge machines and it
> has some trouble on Sandy Bridge too.
>
> Thanks
>
> Steve Timm
>
>
>
> --
> Steven C. Timm, Ph.D  (630) 840-8525
> t...@fnal.gov  http://home.fnal.gov/~timm/
> Fermilab Scientific Computing Division, Scientific Computing Services Quad.
> Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula node (CentOS, Xen host) saying Error executing collectd-client.rb when creating a host.

2014-08-08 Thread Jaime Melis
Hi Chris,

I hope you managed find an explanation for this, otherwise I would go about
by:

* Edit /var/lib/one/datastores/im/run_probes
* Duplicate line 34 and insert an echo in the first one, so you know what's
going on
* This will probably identify a script that's failing
* Try to run it individually

This is probably a configuration problem..

hope this helps

cheers,
Jaime


On Tue, Jul 15, 2014 at 1:50 PM, Chris Gerard  wrote:

>  Hello, I am facing a problem while creating an host on opennebula.
> I followed the official documentation and achieved it in the past, on the
> very same machine (
> http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_centos_xen.html#qs-centos-xen)
> without having this problem.
>
> After following this doc, I created ssh keys on the frontend and copied
> them on the node (yes, I can connect from the frontend to the node via ssh
> using oneadmin's login without having a password prompt), then I edited
> Xen's configuration in order to enable NAT (my server provider has MAC
> filtering routers).
>
> Now, more about this error, this is what /var/log/one/oned.log says on the
> frontend's server:
>
> [oneadmin@GeorgeOrwell .ssh]$ tail -f /var/log/one/oned.log
> Tue Jul 15 13:34:16 2014 [InM][D]: Monitoring datastore files (2)
> Tue Jul 15 13:34:16 2014 [ImM][D]: Datastore default (1) successfully
> monitored.
> Tue Jul 15 13:34:16 2014 [ImM][D]: Datastore files (2) successfully
> monitored.
> Tue Jul 15 13:34:28 2014 [ReM][D]: Req:6544 UID:0 HostAllocate invoked, "
> MarieCurie.hubu.eu", "xen", "xen", "dummy", -1
> Tue Jul 15 13:34:28 2014 [ReM][D]: Req:6544 UID:0 HostAllocate result
> SUCCESS, 6
> Tue Jul 15 13:34:31 2014 [InM][D]: Monitoring host MarieCurie.hubu.eu (6)
> Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
> Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0 VirtualMachinePoolInfo
> result SUCCESS, ""
> Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0 VirtualMachinePoolInfo
> invoked, -2, -1, -1, -1
> Tue Jul 15 13:34:33 2014 [ReM][D]: Req:1888 UID:0 VirtualMachinePoolInfo
> result SUCCESS, ""
> Tue Jul 15 13:34:41 2014 [AuM][D]: Message received: AUTHENTICATE SUCCESS
> 14 -
>
> Tue Jul 15 13:34:41 2014 [ReM][D]: Req:3744 UID:0 HostPoolInfo invoked
> Tue Jul 15 13:34:41 2014 [ReM][D]: Req:3744 UID:0 HostPoolInfo result
> SUCCESS, " Tue Jul 15 13:34:50 2014 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen4
> /var/lib/one//datastores 4124 20 6 MarieCurie.hubu.eu;
> else  exit 42; fi'
> Tue Jul 15 13:34:50 2014 [InM][I]: cat: /tmp/one-collectd-client.pid: No
> such file or directory
> Tue Jul 15 13:34:50 2014 [InM][I]: /var/tmp/one/im/run_probes: line 34:
> 4369 Aborted ./$i $ARGUMENTS
> Tue Jul 15 13:34:50 2014 [InM][E]: Error executing collectd-client.rb
> Tue Jul 15 13:34:50 2014 [InM][I]: ExitCode: 134
>
>
>  After facing this, first yesterday (then I formatted today, just in case
> and faced the same problem on a fresh install), I asked on IRC and jfontan
> asked me to try this:
>
>  bash -x /var/tmp/one/im/run_probes xen4 /var/lib/one//datastores 4124 20 4 
> MarieCurie.hubu.eu
>
>  Which gave this output:
>
>  [oneadmin@MarieCurie /]$ bash -x /var/tmp/one/im/run_probes xen4 
> /var/lib/one//datastores 4124 20 4 MarieCurie.hubu.eu
> ++ dirname /var/tmp/one/im/run_probes
> + source /var/tmp/one/im/../scripts_common.sh
> ++ export LANG=C
> ++ LANG=C
> ++ export 
> PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
> ++ 
> PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
> ++ AWK=awk
> ++ BASH=bash
> ++ CUT=cut
> ++ DATE=date
> ++ DD=dd
> ++ DF=df
> ++ DU=du
> ++ GREP=grep
> ++ ISCSIADM=iscsiadm
> ++ LVCREATE=lvcreate
> ++ LVREMOVE=lvremove
> ++ LVRENAME=lvrename
> ++ LVS=lvs
> ++ LN=ln
> ++ MD5SUM=md5sum
> ++ MKFS=mkfs
> ++ MKISOFS=genisoimage
> ++ MKSWAP=mkswap
> ++ QEMU_IMG=qemu-img
> ++ RADOS=rados
> ++ RBD=rbd
> ++ READLINK=readlink
> ++ RM=rm
> ++ SCP=scp
> ++ SED=sed
> ++ SSH=ssh
> ++ SUDO=sudo
> ++ SYNC=sync
> ++ TAR=tar
> ++ TGTADM=tgtadm
> ++ TGTADMIN=tgt-admin
> ++ TGTSETUPLUN=tgt-setup-lun-one
> ++ TR=tr
> ++ VGDISPLAY=vgdisplay
> ++ VMKFSTOOLS=vmkfstools
> ++ WGET=wget
> +++ uname -s
> ++ '[' xLinux = xLinux ']'
> ++ SED='sed -r'
> +++ basename /var/tmp/one/im/run_probes
> ++ SCRIPT_NAME=run_probes
> + export LANG=C
> + LANG=C
> + HYPERVISOR_DIR=xen4.d
> + ARGUMENTS='xen4 /var/lib/one//datastores 4124 20 4 MarieCurie.hubu.eu'
> ++ dirname /var/tmp/one/im/run_probes
> + SCRIPTS_DIR=/var/tmp/one/im
> + cd /var/tmp/one/im
> ++ '[' -d xen4.d ']'
> ++ run_dir xen4.d
> ++ cd xen4.d
> +++ ls collectd-client.rb collectd-client_control.sh
> ++ for i in '`ls *`'
> ++ '[' -x collectd-client.rb ']'
> ++ ./collectd-client.rb xen4 /var/lib/one//datastores 4124 20 4 
> MarieCurie.hubu.eu
> /var/tmp/o

Re: [one-users] Setting hostname for vm

2014-08-08 Thread Carlos Martín Sánchez
Hi,

The vm description file is just the VM Template, managed with the
onetemplate command or the Template Sunstone tab.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 


On Tue, Jul 22, 2014 at 9:04 PM, kerryhall .  wrote:

> Thanks!
>
> So it sounds like I need to edit the "vm description file" and change the
> "hostname" variable.
>
> Where is the "vm description file" located? I tried running the following
> google search:
> site:http://docs.opennebula.org/4.6/ "vm description file"
>
> But only got one result,
> http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html,
> which I've already read.
>
> I'm assuming that the "vm description file" is a file that is created on
> the server running sunstone, some sort of conf file that is stored
> somewhere. But I could be completely wrong.
>
> Thank you for the assistance.
>
>
> On Tue, Jul 22, 2014 at 5:37 AM, Javier Fontan 
> wrote:
>
>> You should use SET_HOSTNAME variable instead:
>>
>>
>> http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html#using-user-template-variables
>>
>> On Tue, Jul 22, 2014 at 10:37 AM, Diego M. 
>> wrote:
>> > I was checkign the documentation, and you can use for HOSTNAME=$NAME on
>> the
>> > contextualization part of your template.
>> > I tried it and didn't worked for me, but it is supposed to work. Maybe
>> I'm
>> > doing something wrong.
>> >
>> > 
>> > Date: Mon, 21 Jul 2014 17:14:56 -0700
>> > From: kerryh...@gmail.com
>> > To: users@lists.opennebula.org
>> > Subject: [one-users] Setting hostname for vm
>> >
>> >
>> > Hi folks,
>> >
>> > I'm trying to determine how I can set the hostname for the vms I spin
>> up. It
>> > looks like the web interface for vms has no place to enter additional
>> > one-off type properties, like hostname. This is true for both the user
>> web
>> > interface and the admin web interface.
>> >
>> > The template creation interface certainly has a place for raw data, but
>> I'm
>> > assuming I shouldn't have to create one template per vm just to set the
>> > hostname. Perhaps setting up a template correctly will change the vm
>> > interface, allowing a place to type in a hostname.
>> >
>> > Host and guest are both CentOS 6.
>> >
>> > Thanks!
>> > Kerry
>> >
>> >
>> > ___ 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
>> >
>>
>>
>>
>> --
>> Javier Fontán Muiños
>> Developer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>>
>
>
> ___
> 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] occi NETWORK_UNAME missing - network not working ?

2014-08-08 Thread Matthias Auer
 

We're using OpenNebula 3.8.1. 

While instances created using the webgui have a working network - when I
create instances using occi they get an ip address and run but they
can't be reached. 

here is the curl command (created by libcloud) : 

curl -i -X POST -H 'Host: localhost:4567' -H 'Accept-Encoding:
gzip,deflate' -H 'X-LC-Request-ID: 29837936' -H 'Content-Length: 167' -H
'Authorization: Basic
XXX' -H 'User-Agent:
libcloud/0.14.1 (OpenNebula (v3.2)) ' --data-binary
'Compute
Instancesmall' --compress http://localhost:4567/compute 

if I look at the VM template of the instance in the webgui, the
difference between a webgui instance and the one created using occi is
the following (otherwise the correct network etc.. is used) : 

NIC : 

 NETWORK_UNAME oneadmin 

some other stuff like VNC is missing etc... if I could add vnc that
would be great, but it is not as essential as getting a functioning
network 

is missing in the occi instance. 

I think that's the problem, but how to solve it (my username is NOT
oneadmin !) ? 

maybe somethwing with the /etc/one/occi_templates/network.erb file ? 

but there is nothing about a NETWORK_UNAME in the documentation :
http://archives.opennebula.org/documentation:rel4.4:vnet_template 

here the network monitoring information from the webgui : 

MONITORING INFORMATION

Net_TX
0

Net_RX
90872

Used Memory
1024M

Used CPU
96

VNC Session

Thank you ! 

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


[one-users] OpenNebula Puppet resource types available

2014-08-08 Thread Martin Alfke
Hi,

I have created a set of OpenNebula Puppet resource type which allow you to 
manage your OpenNebula installation using Puppet DSL only.

The code can be found on github 
(https://github.com/epost-dev/opennebula-puppet-module).
Example usage is on my blog 
(http://tuxmea.blogspot.de/2014/08/opennebula-puppet-types-and-providers.html).

Please report issues directly at the github project 
(https://github.com/epost-dev/opennebula-puppet-module/issues).

I am still looking for someone who can do a review and code improvements.

- Martin

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


[one-users] Best Practice - Storage Backend

2014-08-08 Thread InterNetX - Juergen Gotteswinter
 Hello Nebula Users,

i am curious what others are using as Storage Backend, since i spent
plenty of time trying to get block LVM or FS LVM to work reliable. CLVM
seems like a cure to me, and from what i could find through Google so
far i am not the only one who experienced things like (everything on a 4
Node Cluster, seperate Management System for Opennebula/Sunstone -
Nebula 4.6 and 4.7.80):

- whole Cluster dying / hangs (no more VG/LV Operations possible) if one
Node decides to die
- unreliable if several VM get deployed at once (didnt investigate further)

i tried:

- CentOS 6 based KVM Hosts, cman/clvmd based Setup
- CentOS 7 based KVM Hosts, Corosync/clvmd (feels little bit better, but
still not like something i whould consider for Production)


What i wanted to avoid is Using NFS as Backend, the Experience over the
last few years with NFS as Backend for Images is not the best in term of
Performance (if you want to make sure your data stays consistent, eg
using sync NFS).

Block Device, in form of a LV or similar things like ZVOL is where we
got best experience over years with other Virtualization Platforms.
Thats something i want to keep for sure.

Since the Hostsystems are pretty huge, there wont be just run a hand
full of VM on this Setup (1TB Ram avail. in this Setup for the
beginning). So one has to keep in mind that its not a small scale Setup.

Every shared experience / or maybe hint how to deal right with CLVM is
highly appreciated.

Cheers,

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