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

2013-12-30 Thread hansz
Hi,
i use opennebula 4.4 install on centos 6.4  and esxi5.1 and use two iscsi disks 
as the datastores.
follow the http://opennebula.org/documentation:archives:rel4.2:vmware_ds.
i use a disk-flat.vmdk(8G) and disk.vmdk  tar  to disk.tar.bz2 .
then upload it through the sunstone,
today i new install one and use ,but i found it takes a long time to create vm 
the log
Tue Dec 31 14:35:53 2013 [DiM][I]: New VM state is ACTIVE.
Tue Dec 31 14:35:53 2013 [LCM][I]: New VM state is PROLOG.
Tue Dec 31 14:43:41 2013 [LCM][I]: New VM state is BOOT
Tue Dec 31 14:43:41 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/28/deployment.0
Tue Dec 31 14:43:42 2013 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Dec 31 14:43:56 2013 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Tue Dec 31 14:43:56 2013 [VMM][I]: Successfully execute network driver 
operation: post.
Tue Dec 31 14:43:56 2013 [LCM][I]: New VM state is RUNNING


it only takes about 30s to copy the disk-flat.vmdk and disk.vmdk  from the 
image datastore (100) to the os datastore, (101)but it takes too long a time 
from  PRLOLOG to BOOT ,
anythin wrong ?


[oneadmin@opennebula ~]$ onedatastore show 100 
DATASTORE 100 INFORMATION   
ID : 100 
NAME   : Vos 
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: cluster1
TYPE   : SYSTEM  
DS_MAD : -   
TM_MAD : vmfs
BASE PATH  : /vmfs/volumes/100   
DISK_TYPE  : FILE


DATASTORE CAPACITY  
TOTAL: : 199.8G  
FREE:  : 198.8G  
USED:  : 977M
LIMIT: : -   


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


DATASTORE TEMPLATE  
BASE_PATH="/vmfs/volumes"
BRIDGE_LIST="10.24.101.72"
SHARED="YES"
TM_MAD="vmfs"
TYPE="SYSTEM_DS"


IMAGES 
[oneadmin@opennebula ~]$ 




[oneadmin@opennebula ~]$ onedatastore show 101
DATASTORE 101 INFORMATION   
ID : 101 
NAME   : Vimage  
USER   : oneadmin
GROUP  : oneadmin
CLUSTER: cluster1
TYPE   : IMAGE   
DS_MAD : vmfs
TM_MAD : vmfs
BASE PATH  : /vmfs/volumes/101   
DISK_TYPE  : FILE


DATASTORE CAPACITY  
TOTAL: : 302.3G  
FREE:  : 261.1G  
USED:  : 41G 
LIMIT: : -   


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


DATASTORE TEMPLATE  
BASE_PATH="/vmfs/volumes"
BRIDGE_LIST="10.24.101.72"
CLONE_TARGET="SYSTEM"
DISK_TYPE="FILE"
DS_MAD="vmfs"
LN_TARGET="NONE"
TM_MAD="vmfs"
TYPE="IMAGE_DS"


IMAGES 
0  
1  
2  
[oneadmin@opennebula ~]$



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


Re: [one-users] One 4.2 xen 4.2 vm always pend

2013-12-30 Thread kenny . kenny
Solved. 
It was a problem with proxy enviroment variables.
Thanks for all.
 

De: Daniel Molina < dmol...@opennebula.org >Enviada: Segunda-feira, 30 de Dezembro de 2013 15:27Para: kenny.ke...@bol.com.brAssunto: Re: [one-users] One 4.2 xen 4.2 vm always pend
Hi,

On 30 December 2013 18:19,  wrote:

Hello, i have a opennebula 4.2 and xen 4.2 working , it stop to work suddenly. When i create a virtual machine it appears as pend, and dont chenge the status.
 
It was working bu stopped and de vm log (XXX.log) is empty.
 
does anybody knows wht happens?
 
idont known what i need to do because the log is empty...

 
if the vm is in pending state, it's because the scheduler cannot find enough available resources to deploy the vm. You should check the sched.log
 

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


 
-- 

--
Daniel MolinaProject EngineerOpenNebula - Flexible Enterprise Cloud Made Simplewww.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] One 4.2 xen 4.2 vm always pend

2013-12-30 Thread kenny . kenny
Thanks for the response. 
 
ihave this in sched.log
 
Mon Dec 30 21:08:11 2013 [POOL][E]: Could not retrieve pool info from ONEMon Dec 30 21:08:11 2013 [VM][E]: Exception raised: Unable to transport XML to server and get XML response back.  libcurl failed to execute the HTTP POST transaction, explaining:  Failed connect to localhost:808; Connection refused
 

De: Daniel Molina < dmol...@opennebula.org >Enviada: Segunda-feira, 30 de Dezembro de 2013 15:27Para: kenny.ke...@bol.com.brAssunto: Re: [one-users] One 4.2 xen 4.2 vm always pend
Hi,

On 30 December 2013 18:19,  wrote:

Hello, i have a opennebula 4.2 and xen 4.2 working , it stop to work suddenly. When i create a virtual machine it appears as pend, and dont chenge the status.
 
It was working bu stopped and de vm log (XXX.log) is empty.
 
does anybody knows wht happens?
 
idont known what i need to do because the log is empty...

 
if the vm is in pending state, it's because the scheduler cannot find enough available resources to deploy the vm. You should check the sched.log
 

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


 
-- 

--
Daniel MolinaProject EngineerOpenNebula - Flexible Enterprise Cloud Made Simplewww.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] Can't install VMware ESXI 5.5, 5.1 and 5.0 onto the PC with Asus P5QPL-AM motherboard and Intel E6750 CPU

2013-12-30 Thread Tino Vazquez
Hi,

You need to search the VMware KB for help on the ESXi installation.
Afterwards, if you have configuration problems to make ESX work with
OpenNebula, let us know.

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


Re: [one-users] hot add nic

2013-12-30 Thread Daniel Molina
Hi,

When you attach a new nic you can specify the "model" attr in the template:
http://docs.opennebula.org/stable/administration/virtualization/kvmg.html?highlight=kvm#virtio

Hope this helps


On 27 December 2013 04:05, Shankhadeep Shome  wrote:

> Hot adding NICs work really well on 4.2 however I noticed that the added
> nic is a realtek device which basically limits network speeds to 10-12
> MBps. Is there a way to hot add a virtio nic instead? Is there some default
> value I can change?
>
> root@ubuntu-102:/mnt/glusterfs-mount1# lspci
> 00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev
> 02)
> 00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
> 00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton
> II]
> 00:01.2 USB controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton
> II] (rev 01)
> 00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)
> 00:02.0 VGA compatible controller: Cirrus Logic GD 5446
> 00:03.0 Ethernet controller: Red Hat, Inc Virtio network device
> *00:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8139/8139C/8139C+ (rev 20) <---???*
> 00:05.0 SCSI storage controller: Red Hat, Inc Virtio block device
> 00:06.0 RAM memory: Red Hat, Inc Virtio memory balloon
>
>
> ___
> 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] Questions on ONE 4.4

2013-12-30 Thread Daniel Molina
Hi,


On 22 December 2013 14:50, Vassilis Vatikiotis
wrote:

> - Why System DS capacity doesn't show anything on Sunstone (no cluster
> setup, system DS  is on cluster none)?
>

It could be due to:
  * You have not deploy any vm in that datastore yet
  * If it is an "non shared" datastore (i.e ssh) the capacity will be shown
in the host instead of the ds


> - Is it possible to move a VM from one datastore to another? If yes,
> can it be done Via Sunstone or manually?
>

What do you mean a running VM or the image?

- Is it possible to set quotas per host? If not, how can I set same
> sane settings in order to avoid **per host** overloading?
>

You can tune the scheduler policies to achieve that
http://docs.opennebula.org/stable/administration/references/schg.html?highlight=scheduler

Cheers


>
> Thank you all!
>
> --
> --
> Vassilis. Vatikiotis
> Systems & Network Engineer
> Institute of Informatics & Telecommunications
> NCSR Demokritos, Greece
> ___
> 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] One 4.2 xen 4.2 vm always pend

2013-12-30 Thread Daniel Molina
Hi,


On 30 December 2013 18:19,  wrote:

> Hello, i have a opennebula 4.2 and xen 4.2 working , it stop to work
> suddenly. When i create a virtual machine it appears as pend, and dont
> chenge the status.
>
> It was working bu stopped and de vm log (XXX.log) is empty.
>
> does anybody knows wht happens?
>
> idont known what i need to do because the log is empty...
>

if the vm is in pending state, it's because the scheduler cannot find
enough available resources to deploy the vm. You should check the sched.log


> thanlks
>
> ___
> 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] One 4.2 xen 4.2 vm always pend

2013-12-30 Thread kenny . kenny
Hello, i have a opennebula 4.2 and xen 4.2 working , it stop to work suddenly. When i create a virtual machine it appears as pend, and dont chenge the status.
 
It was working bu stopped and de vm log (XXX.log) is empty.
 
does anybody knows wht happens?
 
idont known what i need to do because the log is empty...
thanlks
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] how to configure the vms High Availability?

2013-12-30 Thread Daniel Molina
#---
VM_HOOK = [
   name  = "on_failure_recreate",
   on= "UNKNOWN",
   command   = "onevm delete --recreate",
   arguments = "$VMID" ]
#-

http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html?highlight=high%20availability



On 30 December 2013 14:20, hansz  wrote:

> Hi,
> should i configure my oned.conf like
>
>
> HOST_HOOK = [
> name  = "error",
> on= "",
>
> command   = "ft/host_error.rb",
> arguments = "$HID -r n",
> remote= no ]
>
>
> VM_HOOK = [
>name  = "on_failure_recreate",
>on= "FAILED",
>command   = "/usr/bin/env onevm delete --recreate",
>arguments = "ID" ]
>
> ?
> or like what?
>
>
>
>
>
>
>
>
>


-- 
--
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] Review of 2013 and Outlook for 2014

2013-12-30 Thread Ignacio M. Llorente
Dear community,

We have just published an article with what this year has meant for the
OpenNebula project and a peek at what you can expect from us in 2014.

http://blog.opennebula.org/?p=5660

Looking back, it is inspiring the distance that we have come together since
our first release of OpenNebula six years ago. And that is nothing compared
to what is planned for the future. We are looking forward to another year
of great running memories.

We want to give a huge THANKS! to our community. No, seriously guys, you
rock big time. OpenNebula wouldn’t be nearly as good as it is today without
all of you.

We’d also like to take this opportunity to wish you health, happiness and
prosperity in 2014 to you and your loved ones!.

Ignacio

On behalf of the OpenNebula Project.

-- 
Ignacio M. Llorente, PhD, MBA
Project Director
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | imllore...@opennebula.org |
@OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] how to configure the vms High Availability?

2013-12-30 Thread hansz
Hi,
should i configure my oned.conf like 
HOST_HOOK = [
name  = "error",
on= "",
command   = "ft/host_error.rb",
arguments = "$HID -r n",
remote= no ]
VM_HOOK = [
   name  = "on_failure_recreate",
   on= "FAILED", command   = "/usr/bin/env onevm delete --recreate", 
arguments = "ID" ]
?
or like what? 








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


Re: [one-users] how to configure the vms High Availability?

2013-12-30 Thread Daniel Molina
HI,

If you power off the host the VM will enter in the "unknown" state. Try
specifying a hook for this state ("on" argument)
  on = UNKNOWN

Cheers


On 30 December 2013 09:27, hansz  wrote:

> Hi,
> i use opennebula4.4 install on centos6.4 , and add two hosts(esxi5.1,
> esxi01,esxi02) on the sunstone. and create a cluster  with the two hosts
> and one virtual networks and two datastores.(the datastores i use iscsi
>  mounted both on esxi01 and esxi02)
> today i have a try  ,i create one vm on host esxi01 . what i want is  if
> i power the esxi01 the vm could migrate to esxi02 .
> clould i make it sucessfully?
>
> i also read
> http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
> but i does not work ,
> and the oned.conf  in my opennebula 4.4 is
>
>
> HOST_HOOK = [
> name  = "error",
> on= "ERROR",
> command   = "ft/host_error.rb",
> arguments = "$HID -r n",
> remote= no ]
>
>
> VM_HOOK = [
>name  = "on_failure_recreate",
>on= "FAILED",
>command   = "/usr/bin/env onevm delete --recreate",
>arguments = "ID" ]
>
>
>  the red are not same with the 
> http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
>
>
> anything wrong?
>
>
>

>
>
> ___
> 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] images upload problems

2013-12-30 Thread Daniel Molina
Hi,


On 30 December 2013 09:39, kiran ranjane  wrote:

> Hi,
>
> I am also having multiple issues while uploading images through sunstone
> an even when I import it from MarketPlace, TTY image gets downloaded
> without any errors, but when I try to import large size appliance from
> marketplace then after sometime the status goes into ERROR in sunstone
> image list.
>
> -- Also if I upload image to sunstone, it shows the progress bar and then
> it goes into error state.
> -- When I checked the size from terminal using ls -lh and the size also
> differs in sunstone and in backend.
> -- I tried ON using virtual appliance from Marketplace and it also gives
> same issue while uploading the images.
> -- Is this a bug in 4.4 because it is running fine in 4.2
>

Could you check if there is any errors in oned.log after uploading the
images?

Cheers


>
> Regards
> Kiran Ranjane
>
>
> On Mon, Dec 30, 2013 at 8:34 AM, hansz  wrote:
>
>> Hi ,
>> I use opennebula4.4 install on centos6.4 and esxi5.1 ,ruby is 1.8.7
>> when i upload the image (i tar  disk-flat.vmdk(8G) and disk.vmdk  a
>> disk.tar.bz2 ,the size of the disk.tar.bz2 is about 3G )
>> then i upload the disk.tar.bz2  through the sunstone ,
>> even though i run oneimage list as the oneadmin it show the image is rdy
>>  ,but on the sunstone the images is uploading .
>> anything wrong?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> 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
>
>


-- 
--
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] images upload problems

2013-12-30 Thread Daniel Molina
Hi,


On 30 December 2013 04:04, hansz  wrote:

> Hi ,
> I use opennebula4.4 install on centos6.4 and esxi5.1 ,ruby is 1.8.7
> when i upload the image (i tar  disk-flat.vmdk(8G) and disk.vmdk  a
> disk.tar.bz2 ,the size of the disk.tar.bz2 is about 3G )
> then i upload the disk.tar.bz2  through the sunstone ,
> even though i run oneimage list as the oneadmin it show the image is rdy
>  ,but on the sunstone the images is uploading .
> anything wrong?
>

What do you mean with "the image is uploading", If the image status is rdy
in the cli it should be the same in sunstone.

Cheers


>
>
>
>
>
>
>
>
>
> ___
> 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] images upload problems

2013-12-30 Thread kiran ranjane
Hi,

I am also having multiple issues while uploading images through sunstone an
even when I import it from MarketPlace, TTY image gets downloaded without
any errors, but when I try to import large size appliance from marketplace
then after sometime the status goes into ERROR in sunstone image list.

-- Also if I upload image to sunstone, it shows the progress bar and then
it goes into error state.
-- When I checked the size from terminal using ls -lh and the size also
differs in sunstone and in backend.
-- I tried ON using virtual appliance from Marketplace and it also gives
same issue while uploading the images.
-- Is this a bug in 4.4 because it is running fine in 4.2

Regards
Kiran Ranjane


On Mon, Dec 30, 2013 at 8:34 AM, hansz  wrote:

> Hi ,
> I use opennebula4.4 install on centos6.4 and esxi5.1 ,ruby is 1.8.7
> when i upload the image (i tar  disk-flat.vmdk(8G) and disk.vmdk  a
> disk.tar.bz2 ,the size of the disk.tar.bz2 is about 3G )
> then i upload the disk.tar.bz2  through the sunstone ,
> even though i run oneimage list as the oneadmin it show the image is rdy
>  ,but on the sunstone the images is uploading .
> anything wrong?
>
>
>
>
>
>
>
>
>
> ___
> 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] how to configure the vms High Availability?

2013-12-30 Thread hansz
Hi,
i use opennebula4.4 install on centos6.4 , and add two hosts(esxi5.1, 
esxi01,esxi02) on the sunstone. and create a cluster  with the two hosts and 
one virtual networks and two datastores.(the datastores i use iscsi  mounted 
both on esxi01 and esxi02)
today i have a try  ,i create one vm on host esxi01 . what i want is  if i 
power the esxi01 the vm could migrate to esxi02 .
clould i make it sucessfully?


i also read 
http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
but i does not work ,
and the oned.conf  in my opennebula 4.4 is
HOST_HOOK = [
name  = "error",
on= "ERROR",
command   = "ft/host_error.rb",
arguments = "$HID -r n",
remote= no ]
VM_HOOK = [
   name  = "on_failure_recreate",
   on= "FAILED", command   = "/usr/bin/env onevm delete --recreate", 
arguments = "ID" ]
 the red are not same with the 
http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html#ftguide
anything wrong?

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