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

2013-11-18 Thread knawnd
Make sure that in VM template you specify OSTEMPLATE variable with an 
appropriate valueas it is written in the guide.

For example,
OSTEMPLATE="sl-6-x86_64"

I does make a sense to use only those names what are mentioned inthe 
filenames located in /etc/vz/dists/ since OpenVZ hypervisor invokes 
corresponding scripts located in /etc/vz/dists/scripts/.

I.e. if you specify something like
OSTEMPLATE="mytestvm" and there is no config file mytestvm.conf in 
/etc/vz/dists and no scripts in /etc/vz/dists/scripts/ then default 
config and scripts will beused by openvz hypervisor on the cloud worker 
node.


Hope it helps,
Nikolay.

Catalina Quinde wrote on 18/11/13 09:43:
Nicolay Nikolay then send the mail before, I noticed an error in the 
sudoers file at OpenVZ node for requesting password, and I resolve, I 
made a new virtual machine, but the problem of the file 
"default.tar.gz" continues, I don't know because usedthis one.I send 
contains file 44.log:


oneadmin@ubuntuOpNeb:~$ cat /var/log/one/44.log
Mon Nov 18 00:29:26 2013 [DiM][I]: New VM state is ACTIVE.
Mon Nov 18 00:29:26 2013 [LCM][I]: New VM state is PROLOG.
Mon Nov 18 00:29:47 2013 [LCM][I]: New VM state is BOOT
Mon Nov 18 00:29:47 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/44/deployment.0

Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 0
Mon Nov 18 00:29:48 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Mon Nov 18 00:29:48 2013 [VMM][I]: Command execution fail: cat << EOT 
| /var/tmp/one/vmm/ovz/deploy 
'/var/lib/one/datastores/0/44/deployment.0' 'ubuntu' 44 ubuntu
Mon Nov 18 00:29:48 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.1384752587" 2> /dev/null; 
true".
Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: Command "/usr/bin/sudo ln 
-sf "" "/var/lib/vz/template/cache/default.tar.gz"" failed.
Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: ln: failed to create 
symbolic link `/var/lib/vz/template/cache/default.tar.gz' -> `': No 
such file or directory
Mon Nov 18 00:29:48 2013 [VMM][E]: ln: failed to create symbolic link 
`/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or 
directory

Mon Nov 18 00:29:48 2013 [VMM][E]:
Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 1
Mon Nov 18 00:29:48 2013 [VMM][I]: Failed to execute virtualization 
driver operation: deploy.
Mon Nov 18 00:29:48 2013 [VMM][E]: Error deploying virtual machine: 
ln: failed to create symbolic link 
`/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or 
directory

Mon Nov 18 00:29:48 2013 [DiM][I]: New VM state is FAILED

Thanks Nicolay.


2013/11/18 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 

[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


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

2013-11-18 Thread Catalina Quinde
Nicolay Nikolay then send the mail before, I noticed an error in the sudoers
file at OpenVZ node for requesting password, and I resolve, I made a new
virtual machine, but the problem of the file "default.tar.gz" continues, I
don't know because used this one. I send contains file 44.log:

oneadmin@ubuntuOpNeb:~$ cat /var/log/one/44.log
Mon Nov 18 00:29:26 2013 [DiM][I]: New VM state is ACTIVE.
Mon Nov 18 00:29:26 2013 [LCM][I]: New VM state is PROLOG.
Mon Nov 18 00:29:47 2013 [LCM][I]: New VM state is BOOT
Mon Nov 18 00:29:47 2013 [VMM][I]: Generating deployment file:
/var/lib/one/vms/44/deployment.0
Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 0
Mon Nov 18 00:29:48 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Mon Nov 18 00:29:48 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/ovz/deploy '/var/lib/one/datastores/0/44/deployment.0'
'ubuntu' 44 ubuntu
Mon Nov 18 00:29:48 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.1384752587" 2> /dev/null; true".
Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: Command "/usr/bin/sudo ln -sf ""
"/var/lib/vz/template/cache/default.tar.gz"" failed.
Mon Nov 18 00:29:48 2013 [VMM][E]: deploy: ln: failed to create symbolic
link `/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or
directory
Mon Nov 18 00:29:48 2013 [VMM][E]: ln: failed to create symbolic link
`/var/lib/vz/template/cache/default.tar.gz' -> `': No such file or directory
Mon Nov 18 00:29:48 2013 [VMM][E]:
Mon Nov 18 00:29:48 2013 [VMM][I]: ExitCode: 1
Mon Nov 18 00:29:48 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Mon Nov 18 00:29:48 2013 [VMM][E]: Error deploying virtual machine: ln:
failed to create symbolic link `/var/lib/vz/template/cache/default.tar.gz'
-> `': No such file or directory
Mon Nov 18 00:29:48 2013 [DiM][I]: New VM state is FAILED

Thanks Nicolay.


2013/11/18 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  : 1

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, "<..."
> 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, "133 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, "
>
>
> 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] 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


[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 in UNKNOWN / paused on KVM

2013-11-18 Thread Ionut Popovici
If u user in production don't use sqlite db it won't work well because 
.. on every db I/O it will lock db not allowing other process to access db.
So if monitoring access the db .. others things like sunstone or any api 
will have to wait for db unlock .. or for sure u can get timeout.

Same thing happened to me to ! So i moved on mysqlbackend.
On 11/18/2013 11:16 PM, Dmitri Chebotarov wrote:

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


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


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


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 

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

[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


[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


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


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


[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


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


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


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 

> 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, "<..."
> 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, "133 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, "
>
>
> 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] 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  wrote:
>
> opennebula 4.2
>
>
> [oneadmin@nebula ~]$ onetemplate show 9 -x
> 
>   9
>   0
>   0
>   oneadmin
>   oneadmin
>   
>   
> 1
> 1
> 0
> 0
> 0
> 0
> 0
> 0
> 0
>   
>   1384502432
>   
> 
>   
>   
> 
> 
> 
>   
> 
> 
>   
>   
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
>   
>   
> 
> 
> 
>   
> 
> 
>   
> 
>
>
>
> [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"  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  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=1&auto_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


Re: [one-users] esxi windows vms lost NIC dirver

2013-11-18 Thread Tino Vazquez
Hi,

If the problem is that Windows doesn't detect the NIC, maybe you can
try to install the VMware tools inside the windows guest.

If you edit the settings of the VM using the VI client, does it have a
network interface? Also, is it of type E1000?

Regards,

-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 Fri, Nov 8, 2013 at 9:05 AM, hansz  wrote:
> hi,
> i have try follow
> http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
> ,but my windows lost NIC driver too,i use opennebula 4.2 install on centos
> 6.4  and esxi 5.1
> the template
>
> REQUIREMENTS="ID=\"4\""
> GRAPHICS=[LISTEN="0.0.0.0",TYPE="VNC"]
> INPUT=[BUS="ps2",TYPE="tablet"]
> INPUT=[BUS="ps2",TYPE="mouse"]
> DISK=[IMAGE_ID="34"]
> MEMORY="1024"
> NIC=[MODEL="e1000",NETWORK_ID="12"]
> CPU="1"
> CONTEXT=[PASSWORD="password",SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]",NETWORK="YES",FILES="/var/lib/one/scripts/SetupComplete.cmd
> /var/lib/one/scripts/one-context.ps1 /var/lib/one/scripts/unattend.xml
> /var/lib/one/scripts/README.txt  /var/lib/one/scripts/startup.vbs"]
>
> anything wrong?
>
>
>
>
>
> At 2013-11-04 19:22:57,"Tino Vazquez"  wrote:
>>Hi,
>>
>>NIC_ID is internally assigned by OpenNebula, the user should not want
>>or be able to change this.
>>
>>Regards,
>>
>>-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 4, 2013 at 10:27 AM, hansz  wrote:
>>> hi man,
>>> today i find my windows vms which lost Nic drver the NIC_ID  is 0,where
>>> can
>>> i configure the NIC_ID ?
>>>
>>>
>>>
>>> ___
>>> 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] OpenNebula 4.4 Retina Beta 2 (4.3.85) is Out!

2013-11-18 Thread Liu, Guang Jun (Gene)
Cool! Thanks for sharing Tino!

When do you think the final official will be available? The reason I am 
asking is because I am on the way to setup my organization's lab w/ 
4.2. If 4.4 will be GA in next week, I would like to try 4.4 instead.

Thanks,

Gene Liu

On Mon 18 Nov 2013 02:28:06 PM EST, Tino Vazquez wrote:
> Dear Community,
>
> Thanks to the terrific feedback obtained from the release of
> OpenNebula 4.4 Beta (4.3.80) Retina, the OpenNebula project announces
> the immediate availability of the second beta of OpenNebula 4.4
> Retina. This release includes important features that meet real
> demands from production environments, with a focus on optimization of
> storage, monitoring, cloud bursting, and public cloud interfaces.
>
> This beta version comes with a number of bugfixes and feature
> enhancements (check the release notes [1] for more information). We
> would like to highlight the differences from the first beta that
> motivated this release. First of all, improvements in the Ceph storage
> drivers, that now allows the use of these drivers in all the supported
> platforms. We would appreciate any feedback that we can get with this
> bug fix. It is also worth noting the name change of the LVM filesystem
> drivers, from 'shared_lvm' to 'fs_lvm'. Please note that, in order to
> update the new drivers in the virtualization hosts, the administrator
> has to perform a 'onehost sync' operation in the front-end.
>
> We are now set to basically bug-fixing and feature-freeze. Note that
> this is a beta release aimed at testers and developers to try the new
> features, and send a more than welcomed feedback for the final release.
>
> As usual OpenNebula releases are named after a Nebula. The Retina
> Nebula (IC 4406) is a planetary nebula near the western border of the
> constellation Lupus, the Wolf. It has dust clouds and has the shape of
> a torus.
>
> The OpenNebula Team
>
> LINKS
>
> * [1] Release Notes:
> http://www.opennebula.org/software:rnotes:rn-rel4.4beta2
> * Download: http://opennebula.org/software:software
> * Documentation: http://opennebula.org/documentation:rel4.4
>
> --
> 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.
>
>
>
> ___
> 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] [SOLVED] Re: Context CDROM seen as hard drive

2013-11-18 Thread Daniel Dehennin
Javier Fontan  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


[one-users] OpenNebula 4.4 Retina Beta 2 (4.3.85) is Out!

2013-11-18 Thread Tino Vazquez
Dear Community,

Thanks to the terrific feedback obtained from the release of OpenNebula 4.4
Beta (4.3.80) Retina, the OpenNebula project announces the immediate
availability of the second beta of OpenNebula 4.4 Retina. This release
includes important features that meet real
demands from production environments, with a focus on optimization of
storage, monitoring, cloud bursting, and public cloud interfaces.

This beta version comes with a number of bugfixes and feature enhancements
(check the release notes [1] for more information). We would like to
highlight the differences from the first beta that motivated this release.
First of all, improvements in the Ceph storage drivers, that now allows the
use of these drivers in all the supported platforms. We would appreciate
any feedback that we can get with this bug fix. It is also worth noting the
name change of the LVM filesystem drivers, from 'shared_lvm' to 'fs_lvm'.
Please note that, in order to update the new drivers in the virtualization
hosts, the administrator has to perform a 'onehost sync' operation in the
front-end.

We are now set to basically bug-fixing and feature-freeze. Note that this
is a beta release aimed at testers and developers to try the new features,
and send a more than welcomed feedback for the final release.

As usual OpenNebula releases are named after a Nebula. The Retina Nebula
(IC 4406) is a planetary nebula near the western border of the
constellation Lupus, the Wolf. It has dust clouds and has the shape of a
torus.

The OpenNebula Team

LINKS

* [1] Release Notes:
http://www.opennebula.org/software:rnotes:rn-rel4.4beta2
* Download: http://opennebula.org/software:software
* Documentation: http://opennebula.org/documentation:rel4.4

--
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.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2013-11-18 Thread Javier Fontan
Do not use virtio as a device driver for the CDROM as it does not
emulate a CD. Use IDE (hda, for example).

On Sat, Nov 16, 2013 at 6:23 PM, Daniel Dehennin
 wrote:
> Hello,
>
> Running the debian installer with some preseed under ONE 4.2/Wheezy[1]
> gives me some troubles during partitioning.
>
> Here is my deployment.0:
>
> #+begin_src xml
> 
> one-21
> 2
> 
> 512
> 
> 524288
> 
> hvm
> 
> 
> 
> /usr/bin/kvm
> 
> 
> 
>  io='threads'/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  keymap='fr'/>
> 
> 
> 
> 
> 
> #+end_src
>
> The disk.1 is seen by Linux as a disk:
>
> root@wheezy:/home/system# udevadm info -q env -p /block/vdb
> DEVLINKS=/dev/disk/by-label/CONTEXT 
> /dev/disk/by-path/pci-:00:05.0-virtio-pci-virtio2
> DEVNAME=/dev/vdb
> DEVPATH=/devices/pci:00/:00:05.0/virtio2/block/vdb
> DEVTYPE=disk
> ID_FS_LABEL=CONTEXT
> ID_FS_LABEL_ENC=CONTEXT
> ID_FS_TYPE=iso9660
> ID_FS_USAGE=filesystem
> ID_FS_VERSION=Joliet\x20Extension
> ID_PATH=pci-:00:05.0-virtio-pci-virtio2
> ID_PATH_TAG=pci-_00_05_0-virtio-pci-virtio2
> MAJOR=254
> MINOR=16
> SUBSYSTEM=block
> UDEV_LOG=3
> USEC_INITIALIZED=2487053
>
> It's missing the “ID_CDROM=1”.
>
> The Debian installer is then not completely automatic since it ask to
> select which disk to use.
>
> Any hints to make it appear as a CDROM?
>
> Regards.
>
> Footnotes:
> [1]  libvirt-bin version 0.9.12-11+deb7u4
>
> --
> Daniel Dehennin
> Récupérer ma clef GPG:
> gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



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


[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

  9
  0
  0
  oneadmin
  oneadmin
  
  
1
1
0
0
0
0
0
0
0
  
  1384502432
  

  
  



  


  
  
  


  
  


  
  


  
  


  
  



  


  







[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"  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  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=1&auto_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] 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