[one-users] about vmware_ds

2013-11-18 Thread hansz


hi man,
i use 
1,opennebula 4.2 (front-end), 
2,node(support nfs), 
3,esxi 5.1


today i have a try  follow   
http://opennebula.org/documentation:rel4.2:vmware_ds ,




i do not use iscsi but use nfs  ,first i  nfs the node's /var/lib/one/ to 
esxi5.1 's /vmfs/volumes/100  and /var/lib/two  to esxi5.1's  /vmfs/volumes/103 
 .but when i see my datastores,
[oneadmin@nebula ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM  
   0 system - - - 0 sys  -vmfs
   1 default   265.3G 92%   - 0 img  fs   shared
   2 files 265.3G 92%   - 0 fil  fs   ssh
 102 Vos- - cluster1  0 sys  -vmfs
 103 vmimages  0M - cluster1  0 img  fs  (if i change 
it to vmfs the /var/log/one/oned.log will monitoring it error) vmfs
 
 onedatastore update 103
 
BRIDGE_LIST=10.24.101.35:/vmfs/volumes/103
DS_MAD=fs
TM_MAD=vmfs
TYPE=IMAGE_DS
(10.24.101.35 is my esxi ip )




anything wrong?









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


[one-users] opennebula 4.2 and esxi 5.1 vm create error

2013-11-18 Thread hansz

opennebula 4.2 



[oneadmin@nebula ~]$ onetemplate show 9 -x
VMTEMPLATE
  ID9/ID
  UID0/UID
  GID0/GID
  UNAMEoneadmin/UNAME
  GNAMEoneadmin/GNAME
  NAME/NAME
  PERMISSIONS
OWNER_U1/OWNER_U
OWNER_M1/OWNER_M
OWNER_A0/OWNER_A
GROUP_U0/GROUP_U
GROUP_M0/GROUP_M
GROUP_A0/GROUP_A
OTHER_U0/OTHER_U
OTHER_M0/OTHER_M
OTHER_A0/OTHER_A
  /PERMISSIONS
  REGTIME1384502432/REGTIME
  TEMPLATE
CONTEXT
  NETWORK![CDATA[YES]]/NETWORK
  SSH_PUBLIC_KEY![CDATA[$USER[SSH_PUBLIC_KEY]]]/SSH_PUBLIC_KEY
/CONTEXT
CPU![CDATA[1]]/CPU
DISK
  IMAGE_ID![CDATA[1]]/IMAGE_ID
/DISK
FEATURES
  ACPI![CDATA[yes]]/ACPI
  PAE![CDATA[yes]]/PAE
  PCIBRIDGE![CDATA[0]]/PCIBRIDGE
/FEATURES
GRAPHICS
  LISTEN![CDATA[0.0.0.0]]/LISTEN
  TYPE![CDATA[VNC]]/TYPE
/GRAPHICS
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[mouse]]/TYPE
/INPUT
INPUT
  BUS![CDATA[usb]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
INPUT
  BUS![CDATA[ps2]]/BUS
  TYPE![CDATA[tablet]]/TYPE
/INPUT
MEMORY![CDATA[1024]]/MEMORY
NIC
  NETWORK_ID![CDATA[0]]/NETWORK_ID
/NIC
REQUIREMENTS![CDATA[ID=4]]/REQUIREMENTS
  /TEMPLATE
/VMTEMPLATE






[oneadmin@nebula ~]$ onetemplate show 9 
TEMPLATE 9 INFORMATION  
ID : 9   
NAME   : 
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 11/15 16:00:32  


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


TEMPLATE CONTENTS   
CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=1
DISK=[
  IMAGE_ID=1 ]
FEATURES=[
  ACPI=yes,
  PAE=yes,
  PCIBRIDGE=0 ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]
INPUT=[
  BUS=usb,
  TYPE=mouse ]
INPUT=[
  BUS=usb,
  TYPE=tablet ]
INPUT=[
  BUS=ps2,
  TYPE=tablet ]
MEMORY=1024
NIC=[
  NETWORK_ID=0 ]
REQUIREMENTS=ID=\4\
[oneadmin@nebula ~]$ 







At 2013-11-15 23:23:11,Tino Vazquez tinov...@gmail.com wrote:
Hi,

What is the template of the VM? OpenNebula version? We need more info
to be able to provide a proper answer.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.OpenNebula.org | @tinova79  | es.linkedin.com/in/tinova


On Fri, Nov 15, 2013 at 9:17 AM, hansz hanshizhun...@126.com wrote:
 Fri Nov 15 16:00:41 2013 [DiM][I]: New VM state is ACTIVE.
 Fri Nov 15 16:00:41 2013 [LCM][I]: New VM state is PROLOG.
 Fri Nov 15 16:11:37 2013 [LCM][I]: New VM state is BOOT
 Fri Nov 15 16:11:37 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/21/deployment.0
 Fri Nov 15 16:11:37 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Fri Nov 15 16:11:42 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/21/deployment.0'
 'esxinode1' 21 esxinode1
 Fri Nov 15 16:11:42 2013 [VMM][E]: deploy: Error executing: virsh -c
 'esx://esxinode1/?no_verify=1auto_answer=1' define
 /var/lib/one/vms/21/deployment.0 err: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: out:
 Fri Nov 15 16:11:42 2013 [VMM][I]: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.
 Fri Nov 15 16:11:42 2013 [VMM][E]: Error deploying virtual machine
 Fri Nov 15 16:11:42 2013 [DiM][I]: New VM state is FAILED



 ___
 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] hosts stays in INIT state on 4.3.80/4.3.85

2013-11-18 Thread Rolandas Naujikas

Hi,

We upgraded our testbed to opennebula 4.4 beta (4.3.80, later to 
4.3.85). Initially hosts goes to STATE:ON, but if I disable host and 
reenable it stays in STATE:INIT forever.


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


Re: [one-users] Contextualisation with Upstart (Users Digest, Vol 69, Issue 65)

2013-11-18 Thread Rolandas Naujikas

On 2013-11-16 16:22, Gareth Bult wrote:

Hi,

Ubuntu and other distro's seem to be standardising on Upstart and certainly 
as of 13.10 there
seems to be an issue with simply linking vmcontext.sh into /etc/rc2.d. I've 
moved over to using
the following script in /etc/init/ , which I'm guessing is backwards compatible 
with to at least
Ubuntu 12.04 if not before.

Where's the best place to post this sort of thing?


# /etc/init/vmcontext.conf
#
# Create interfaces file before we start the network
#
description create /etc/network/interfaces
start on (starting network-interface)
console output
pre-start script
/etc/init.d/vmcontext.sh start
ifup -a
end script
post-stop script
/etc/init.d/vmcontext.sh stop
end script


Mine /etc/init/vmcontext.conf is

start on startup and filesystem
task
exec /etc/init.d/vmcontext

and also I removed networking restart from 
/etc/one-context.d/00-network, because it interfere with system 
networking start scripts.


Regards, Rolandas

P.S. vmcontext should configure system, but not to interfere with 
startup sequence (cloud-init does similarly).


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


[one-users] [SOLVED] Re: Context CDROM seen as hard drive

2013-11-18 Thread Daniel Dehennin
Javier Fontan jfon...@opennebula.org writes:

 Do not use virtio as a device driver for the CDROM as it does not
 emulate a CD. Use IDE (hda, for example).

I finally found the solution by trying, I set in /etc/one/oned.conf:

DEFAULT_DEVICE_PREFIX = vd

I switch to:

DEFAULT_DEVICE_PREFIX = hd

and it works.

I must admit I'm a bit confused between some settings in /etc/ and some
in /var/lib/one/remotes, I need to study more ;-)

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF


pgpoUGZ0bbCpE.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] opennebula 4.2 and esxi 5.1 vm create error

2013-11-18 Thread Tino Vazquez
Hi,

Let's see if executing the following by hand gives any more info (as
oneadmin, in the OpenNebula front-end):

$ /var/lib/one/remotes/vmm/vmware/deploy
'/var/lib/one/vms/21/deployment.0' 'esxinode1' 21 esxinode1

It would be nice to check in the VI client while the above is being
executed, to catch any possible errors in the log window.

Best,

-Tino
--
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 C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Mon, Nov 18, 2013 at 2:40 AM, hansz hanshizhun...@126.com wrote:

 opennebula 4.2


 [oneadmin@nebula ~]$ onetemplate show 9 -x
 VMTEMPLATE
   ID9/ID
   UID0/UID
   GID0/GID
   UNAMEoneadmin/UNAME
   GNAMEoneadmin/GNAME
   NAME/NAME
   PERMISSIONS
 OWNER_U1/OWNER_U
 OWNER_M1/OWNER_M
 OWNER_A0/OWNER_A
 GROUP_U0/GROUP_U
 GROUP_M0/GROUP_M
 GROUP_A0/GROUP_A
 OTHER_U0/OTHER_U
 OTHER_M0/OTHER_M
 OTHER_A0/OTHER_A
   /PERMISSIONS
   REGTIME1384502432/REGTIME
   TEMPLATE
 CONTEXT
   NETWORK![CDATA[YES]]/NETWORK
   SSH_PUBLIC_KEY![CDATA[$USER[SSH_PUBLIC_KEY]]]/SSH_PUBLIC_KEY
 /CONTEXT
 CPU![CDATA[1]]/CPU
 DISK
   IMAGE_ID![CDATA[1]]/IMAGE_ID
 /DISK
 FEATURES
   ACPI![CDATA[yes]]/ACPI
   PAE![CDATA[yes]]/PAE
   PCIBRIDGE![CDATA[0]]/PCIBRIDGE
 /FEATURES
 GRAPHICS
   LISTEN![CDATA[0.0.0.0]]/LISTEN
   TYPE![CDATA[VNC]]/TYPE
 /GRAPHICS
 INPUT
   BUS![CDATA[usb]]/BUS
   TYPE![CDATA[mouse]]/TYPE
 /INPUT
 INPUT
   BUS![CDATA[usb]]/BUS
   TYPE![CDATA[tablet]]/TYPE
 /INPUT
 INPUT
   BUS![CDATA[ps2]]/BUS
   TYPE![CDATA[tablet]]/TYPE
 /INPUT
 MEMORY![CDATA[1024]]/MEMORY
 NIC
   NETWORK_ID![CDATA[0]]/NETWORK_ID
 /NIC
 REQUIREMENTS![CDATA[ID=4]]/REQUIREMENTS
   /TEMPLATE
 /VMTEMPLATE



 [oneadmin@nebula ~]$ onetemplate show 9
 TEMPLATE 9 INFORMATION
 ID : 9
 NAME   : 
 USER   : oneadmin
 GROUP  : oneadmin
 REGISTER TIME  : 11/15 16:00:32

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

 TEMPLATE CONTENTS
 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
 CPU=1
 DISK=[
   IMAGE_ID=1 ]
 FEATURES=[
   ACPI=yes,
   PAE=yes,
   PCIBRIDGE=0 ]
 GRAPHICS=[
   LISTEN=0.0.0.0,
   TYPE=VNC ]
 INPUT=[
   BUS=usb,
   TYPE=mouse ]
 INPUT=[
   BUS=usb,
   TYPE=tablet ]
 INPUT=[
   BUS=ps2,
   TYPE=tablet ]
 MEMORY=1024
 NIC=[
   NETWORK_ID=0 ]
 REQUIREMENTS=ID=\4\
 [oneadmin@nebula ~]$




 At 2013-11-15 23:23:11,Tino Vazquez tinov...@gmail.com wrote:
Hi,

What is the template of the VM? OpenNebula version? We need more info
to be able to provide a proper answer.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.OpenNebula.org | @tinova79  | es.linkedin.com/in/tinova


On Fri, Nov 15, 2013 at 9:17 AM, hansz hanshizhun...@126.com wrote:
 Fri Nov 15 16:00:41 2013 [DiM][I]: New VM state is ACTIVE.
 Fri Nov 15 16:00:41 2013 [LCM][I]: New VM state is PROLOG.
 Fri Nov 15 16:11:37 2013 [LCM][I]: New VM state is BOOT
 Fri Nov 15 16:11:37 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/21/deployment.0
 Fri Nov 15 16:11:37 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Fri Nov 15 16:11:42 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vmware/deploy '/var/lib/one/vms/21/deployment.0'
 'esxinode1' 21 esxinode1
 Fri Nov 15 16:11:42 2013 [VMM][E]: deploy: Error executing: virsh -c
 'esx://esxinode1/?no_verify=1auto_answer=1' define
 /var/lib/one/vms/21/deployment.0 err: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: out:
 Fri Nov 15 16:11:42 2013 [VMM][I]: ExitCode: 255
 Fri Nov 15 16:11:42 2013 [VMM][I]: Failed to execute virtualization
 driver
 operation: deploy.
 Fri Nov 15 16:11:42 2013 [VMM][E]: Error deploying virtual machine
 Fri Nov 15 16:11:42 2013 [DiM][I]: New VM state is FAILED



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




___
Users mailing list
Users@lists.opennebula.org

Re: [one-users] after upgrade to opennebula 4.4, i cant deploy new vm

2013-11-18 Thread 12navi...@gmail.com
hi
yes, I can reset it smoothly

I even can deploy vm  with onevm deploy command !

but from sunstone, I still get the error


2013/11/18 Daniel Molina dmol...@opennebula.org

 Hi,

 Did you restart sunstone-server after upgrading?

 Cheers



On 17 November 2013 09:33, 12navi...@gmail.com 12navi...@gmail.com wrote:

 hi all,

 after upgrade to opennebula 4.4 beta, i get error message when deploying
 new vm

 the message from sunstone is


 *Wrong type NilClass. Not allowed! *
 my log from oned.log is


 Sun Nov 17 03:30:45 2013 [ReM][D]: Req:9600 UID:0 ImagePoolInfo result
 SUCCESS, IMAGE_POOLIMAGE...
 Sun Nov 17 03:30:46 2013 [ImM][I]: --Mark--
 Sun Nov 17 03:30:47 2013 [ReM][D]: Req:5632 UID:0 VirtualMachineInfo
 invoked, 133
 Sun Nov 17 03:30:47 2013 [ReM][D]: Req:5632 UID:0 VirtualMachineInfo
 result SUCCESS, VMID133/IDUID...
 Sun Nov 17 03:30:48 2013 [ReM][D]: Req:928 UID:0 ClusterPoolInfo invoked
 Sun Nov 17 03:30:48 2013 [ReM][D]: Req:928 UID:0 ClusterPoolInfo result
 SUCCESS, CLUSTER_POOLCLUST...



 and from /var/log/one/133.log is empty!


 all previous vm correctly work, i even migrate them between all vm, just i
 cant deploy new vm to specific host




 ___
 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


Re: [one-users] Set root password in VM

2013-11-18 Thread Giancarlo De Filippis


Il 18/11/2013 15:25 Giancarlo De Filippis ha scritto: 

 Hi all, 
 
 i've build my first vm with centos 6.4 image. 
 
 How i can setup the root password in vm? 
 
 Thanks.. 
 
 -- 
 
 GIANCARLO DE FILIPPIS 
 LTBL S.r.L. 
 Cell. +39 320 8155325
 Uff. +39 02 89604424
 Fax +39 02 89954500 
 __

-- 

GIANCARLO DE FILIPPIS 
LTBL S.r.L. 
Cell. +39 320 8155325
Uff. +39 02 89604424
Fax +39 02 89954500 
__ 

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


[one-users] Setting the SHAREABLE attribute

2013-11-18 Thread Gareth Bult
Hi, 

For the most recent versions of libvirt, in order to do a live migration with 
writethru cache turned 
on, the SHAREABLE/ attribute needs to be set in the DISK section of the 
configuration. virt-manager 
has a tick box for this in it's disk setup section .. is there an easy way to 
implement this in OpenNebula? 

tia 

-- 
Gareth Bult 
“The odds of hitting your target go up dramatically when you aim at it.” 



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


[one-users] (block) iotune support in templates

2013-11-18 Thread Stefan Kooman
Dear list,

Recently I've been playing with OpenNebula on Ubuntu Saucy (13.10). It
comes with libvirt-bin version 1.1.1 and qemu 1.5. One of the cool
things libvirtd / qemu are able to do now is block io throttling, or
iotune as libvirt calls it. You can now define min, max, total
KBytes/Sec for read, write and total, as wel as for IOPS/Sec. I would
like to have support for this in OpenNebula vm templates just like there
is for CPU (cputune). It would be nice to able to set a total maximum
IOPS / bandwitch for a specific user/group, just like cpu, mem, images,
#vm's, etc. (and have strict enforcement).

Use cases:

- prevent denial of service of virtual machines consuming too much IOPS
  / bandwith (io starvation, storage link saturation)
- be able to guarantee (minimal) disk IO performance. In combination with per
  user system datastores (ONE 4.4) you can choose the right disk type
  to satisfy latency needs. 
  
What do you think?

Gr. Stefan

P.s. with something like vdc-nebula in place [1], the need to restrict IO
will be much less then in traditional io settings (very cool project
indeed). 

[1]: http://blog.opennebula.org/?p=5408


-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl


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


Re: [one-users] Apache Passenger APT repository for Ubuntu/Debian

2013-11-18 Thread Stefan Kooman
Quoting Daniel Molina (dmol...@opennebula.org):
 Thanks for the info, Stefan.
 
 So from your previous emails, I think we should recommend running sunstone
 as oneadmin in the documentation. This way, we will fix the permission
 issues with the novnc_token folder and the temp files created when
 uploading a file. Also we should export the TMPDIR var in the
 config.ruscript instead of using sunstone-server for this. Am I
 missing anything
 else?
And there's no need to change permissions for /var/log/one/*, i.e.
sunstone.log, sunstone.error, novnc.log. 

Regarding TMPDIR: I think this applies to occi-server (occi-server.conf)
too.

Cheers,

Stefan Kooman

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl


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


Re: [one-users] Failed to create VM.(KVM)

2013-11-18 Thread Sam Song
Hi vishnu,

Which ds_mad and tm_mad do you use for the system datastore and image datastore 
separately?
Could you provide your vm template?

Regards

Sam

-邮件原件-
发件人: vishnu e divakaran [mailto:vishn...@gmail.com] 
发送时间: 2013年11月17日 0:58
收件人: Sam Song
主题: Re: 答复: [one-users] Failed to create VM.(KVM)

Yes disk.0 is not exist there,but disk.1 is there.

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


[one-users] Set root password in VM

2013-11-18 Thread Giancarlo De Filippis


Hi all, 

i've build my first vm with centos 6.4 image. 

How i can setup the root password in vm? 

Thanks.. 

-- 

GIANCARLO DE FILIPPIS 
LTBL S.r.L. 
Cell. +39 320 8155325
Uff. +39 02 89604424
Fax +39 02 89954500 
__ 

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


[one-users] jclouds4one addon

2013-11-18 Thread Javier Fontan
Hello,

I just wanted to inform you that the cloudbursting drivers that make
use of jclouds library are now available from its repository:

https://github.com/OpenNebula/addon-jclouds4one

Cheers

-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM in Opennebula for OpenVZ failed

2013-11-18 Thread Catalina Quinde
Hi, Nikolay

Thanks for reply, I used
https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home
and I have a problem:

When VM deploy in OpenVZ node takes another name for the file. tar.gz in
my case is VMopenvzamd64.tar.gz but in the 43.log shows a file 
default.tar.gz and VM state is FAILED

1. 43.log file contains:

oneadmin@ubuntuOpNeb:~$ cat /var/log/one/43.log
Sun Nov 17 23:55:27 2013 [DiM][I]: New VM state is ACTIVE.
Sun Nov 17 23:55:27 2013 [LCM][I]: New VM state is PROLOG.
Sun Nov 17 23:55:41 2013 [LCM][I]: New VM state is BOOT
Sun Nov 17 23:55:41 2013 [VMM][I]: Generating deployment file:
/var/lib/one/vms/43/deployment.0
Sun Nov 17 23:55:42 2013 [VMM][I]: ExitCode: 0
Sun Nov 17 23:55:42 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Sun Nov 17 23:55:42 2013 [VMM][I]: Command execution fail: cat  EOT |
/var/tmp/one/vmm/ovz/deploy '/var/lib/one/datastores/0/43/deployment.0'
'ubuntu' 43 ubuntu
Sun Nov 17 23:55:42 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
/var/lib/vz/template/cache/default.tar.gz
/var/lib/vz/template/cache/default.tar.gz.1384750541 2 /dev/null; true.
Sun Nov 17 23:55:42 2013 [VMM][E]: deploy: Command /usr/bin/sudo ln -sf 
/var/lib/vz/template/cache/default.tar.gz failed.
Sun Nov 17 23:55:42 2013 [VMM][E]: deploy: sudo: no tty present and no
askpass program specified
Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: no tty present and no askpass
program specified
Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: no tty present and no askpass
program specified
Sun Nov 17 23:55:42 2013 [VMM][I]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][I]: sudo: 3 incorrect password attempts
Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass
program specified
Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass
program specified
Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: no tty present and no askpass
program specified
Sun Nov 17 23:55:42 2013 [VMM][E]: Sorry, try again.
Sun Nov 17 23:55:42 2013 [VMM][E]: sudo: 3 incorrect password attempts
Sun Nov 17 23:55:42 2013 [VMM][E]:
Sun Nov 17 23:55:42 2013 [VMM][I]: ExitCode: 1
Sun Nov 17 23:55:42 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Sun Nov 17 23:55:42 2013 [VMM][E]: Error deploying virtual machine: sudo:
no tty present and no askpass program specified
Sun Nov 17 23:55:42 2013 [DiM][I]: New VM state is FAILED

2. The image file contains:

oneadmin@ubuntuOpNeb:~$ oneimage show 15
IMAGE 15
INFORMATION
ID : 15
NAME   : VMopenvzamd64
USER   : oneadmin
GROUP  : oneadmin
DATASTORE  : default
TYPE   : OS
REGISTER TIME  : 11/14 16:21:11
PERSISTENT : No
SOURCE : /var/lib/one/datastores/1/c01336142b657bca9afe183fe1755e5b
PATH   : /var/lib/images/VMopenvzamd64.tar.gz
SIZE   : 189M
STATE  : used
RUNNING_VMS: 1

PERMISSIONS

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

IMAGE
TEMPLATE
DESCRIPTION=Pruebas VM OpenVZ
DEV_PREFIX=hd

VIRTUAL MACHINES

ID USER GROUPNAMESTAT UCPUUMEM HOST
TIME
43 oneadmin oneadmin VMuOpenVZ   fail0  0K  0d
00h00

3. The template file contains:

OS=[ARCH=x86_64,BOOT=hd]
GRAPHICS=[TYPE=VNC,PORT=5900,LISTEN=0.0.0.0]
MEMORY=512
CONTEXT=[NETWORK=YES,SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY]]
REQUIREMENTS=ID=\3\
DISK=[IMAGE_ID=15,DEV_PREFIX=sd]
NIC=[NETWORK_ID=4]
CPU=1

Please help me Nicolay, thanks.
Have a nice day.

Caty.

2013/11/16 users-requ...@lists.opennebula.org

 Send Users mailing list submissions to
 users@lists.opennebula.org

 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 or, via email, send a message with subject or body 'help' to
 users-requ...@lists.opennebula.org

 You can reach the person managing the list at
 users-ow...@lists.opennebula.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Users digest...


 Today's Topics:

1. Re: VM in Opennebula for OpenVZ failed (kna...@gmail.com)
2. Re: Create Swap locally (Alberto Pic?n Couselo)
3. Contextualisation with Upstart (Gareth Bult)
4. Context CDROM seen as hard drive (Daniel Dehennin)


 --

 Message: 1
 Date: Sat, 16 Nov 2013 13:52:40 +0400
 From: kna...@gmail.com
 To: users@lists.opennebula.org
 Subject: Re: [one-users] VM in Opennebula for OpenVZ failed
 Message-ID: 52874068.4090...@gmail.com
 Content-Type: text/plain; charset=UTF-8; format=flowed

 Catalina Quinde wrote on 15/11/13 23:11:
  Hi Nikolay
 
  I use http://wiki.opennebula.org/openvz4opennebula, this guide helped
  me installed  openvz 

[one-users] VM in UNKNOWN / paused on KVM

2013-11-18 Thread Dmitri Chebotarov
Hello

I¹ve encountered interesting issue today:

Few of running/active VMs were paused by multiple KVM hosts for unknown
reason. ONE sees them as UNKNOWN until I manually run Œvirsh resume id¹
on each KVM host.
I¹m not sure what is causing this strange behavior. ONE¹s log doesn't show
anything about pausing, just says 'VM running but it was not found.
Restart and delete actions available or try to recover it manually¹ once
VM is paused on KVM.

Affected KVM hosts are Ubuntu Server 13.10 (I have 2nd cluster running
RHEL 6, which seems to be OK).
I've noticed that it happened when KVM hosts were heavy loaded - I.e.
MEM/CPU used  80%.


Does anyone know what could be the issue? May be a setting on KVM host?


--
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





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


[one-users] VM is in PROLOG state more than 1 hour

2013-11-18 Thread Documented Facts
Hi

I have run a LAMP ubuntu instance with SSH system data store. I take less
than 15 minutes to go to running state. But I use NFS with same image it
takes more than 1 hour and Host also cannot be accessed with SSH. I have
used fast Ethernet. is it the problem for this slow down ?

please suggest me ways to have shared storage with fast Ethernet. Image
size is 5 GB.

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


Re: [one-users] VM is in PROLOG state more than 1 hour

2013-11-18 Thread Ionut Popovici
5GB for fastethernet is a litle to much .. 5000/11 = 7min and 40 second 
if the channel is free .. but i asure u the channel is not free if u 
using other machines non persistent .. they need to write the changes to.

On 11/18/2013 11:37 PM, Documented Facts wrote:

Hi

I have run a LAMP ubuntu instance with SSH system data store. I take 
less than 15 minutes to go to running state. But I use NFS with same 
image it takes more than 1 hour and Host also cannot be accessed with 
SSH. I have used fast Ethernet. is it the problem for this slow down ?


please suggest me ways to have shared storage with fast Ethernet. 
Image size is 5 GB.


Thank you


___
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] after upgrade to opennebula 4.4, i cant deploy new vm

2013-11-18 Thread Daniel Molina
Hi,

Did you restart sunstone-server after upgrading?

Cheers


On 17 November 2013 09:33, 12navi...@gmail.com 12navi...@gmail.com wrote:

 hi all,

 after upgrade to opennebula 4.4 beta, i get error message when deploying
 new vm

 the message from sunstone is


 *Wrong type NilClass. Not allowed! *
 my log from oned.log is


 Sun Nov 17 03:30:45 2013 [ReM][D]: Req:9600 UID:0 ImagePoolInfo result
 SUCCESS, IMAGE_POOLIMAGE...
 Sun Nov 17 03:30:46 2013 [ImM][I]: --Mark--
 Sun Nov 17 03:30:47 2013 [ReM][D]: Req:5632 UID:0 VirtualMachineInfo
 invoked, 133
 Sun Nov 17 03:30:47 2013 [ReM][D]: Req:5632 UID:0 VirtualMachineInfo
 result SUCCESS, VMID133/IDUID...
 Sun Nov 17 03:30:48 2013 [ReM][D]: Req:928 UID:0 ClusterPoolInfo invoked
 Sun Nov 17 03:30:48 2013 [ReM][D]: Req:928 UID:0 ClusterPoolInfo result
 SUCCESS, CLUSTER_POOLCLUST...



 and from /var/log/one/133.log is empty!


 all previous vm correctly work, i even migrate them between all vm, just i
 cant deploy new vm to specific host




 ___
 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


[one-users] how to update the datastore TM?

2013-11-18 Thread Qiubo Su (David Su)
Dear OpenNebula Community,

Want to update the TM of default datastore from shared to ssh. Below is the
datastore list:

oneadmin@quicksu-P5K-SE:~$ onedatastore list

  ID NAMECLUSTER IMAGES TYPE TM
   0  system   -  0 -
  ssh
   1  default   1cluster0 fs
 shared

run onedatastore update 1, get below:

DS_MAD=fs
TM_MAD=shared

replace shared with ssh, save the file and exit. but when onedatastore
list, the return is still the same:

  ID NAMECLUSTER IMAGES TYPE TM
   0  system   -  0 -
  ssh
   1  default   1cluster0 fs
 shared

how to update the default datastore TM to ssh?

Best regards,
Q.S.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org