Re: [one-users] Problem boot VM template with opennebula

2014-03-21 Thread Cuquerella Sanchez, Javier
Hi,

I don’t output anything. by putting the command stays there

[root@VTSS003 ~]# xm list
NameID   Mem VCPUs  State   Time(s)
Domain-0 0  1024 1 r-  19487.0
ciudad20201 67  2048 1 -b   2512.8
ciudad20202 68  2048 1 -b559.8
ciudad20203 69  2048 1 -b   8516.7
one-106133  4096 1 -b489.9
[root@VTSS003 ~]# xm console 133

maybe it's useful to bring to the template: KERNEL_CMD = ro xencons=tty 
console=tty1]  , no?



Thanks.

Regards


---
Javier Cuquerella Sánchez

javier.cuquere...@atos.net
Atos Research  Innovation
Systems Administrator
Albarracin 25
28037-Madrid (SPAIN)
Tfno: +34.91.214.8080
www.atosresearch.eu
es.atos.net 
 

-Original Message-
From: Javier Fontan [mailto:jfon...@opennebula.org] 
Sent: Thursday, March 20, 2014 6:56 PM
To: Cuquerella Sanchez, Javier
Cc: users@lists.opennebula.org
Subject: Re: Problem boot VM template with opennebula

Are you getting an error with xm console or it just doesn't output anything?

On Thu, Mar 20, 2014 at 5:50 PM, Cuquerella Sanchez, Javier 
javier.cuquere...@atos.net wrote:
 HI,

 The virtual machine runs on both xen and opennebula:

 [root@VTSS003 106]# xm list | grep one
 one-106133  4096 1 -b 11.3

 [oneadmin@VTSS003 CUQUE]$ onevm list
 ID USER GROUPNAMESTAT UCPUUMEM HOST 
 TIME
106 oneadmin oneadmin one-106 runn0  4G ARICLOUD10d 
 01h10

 Template virtual machine:

 [oneadmin@VTSS003 CUQUE]$ cat VMencourage7.tmpl
 NAME   = Encourage7
 MEMORY = 4096
 CPU= 1
 OS=[ KERNEL = /boot/vmlinuz-2.6.32-279.el6.x86_64, INITRD = 
 /boot/initramfs-2.6.32-279.el6.x86_64.img, KERNEL_CMD = ro , root 
 = xvda1 ] DISK =[ DRIVER=file:, IMAGE_ID=27, TARGET=xvda1 ] 
 DISK =[ TYPE  = swap, SIZE = 1024, TARGET = sdb  ] NIC = [ 
 NETWORK_ID = 3 ] GRAPHICS=[ KEYMAP=es, LISTEN=0.0.0.0, PORT=5902, 
 TYPE=vnc ] RAW=[ DATA=device_model='/usr/lib64/xen/bin/qemu-dm', 
 TYPE=xen ]



 Xen log is correct:

 [root@VTSS003 CUQUE]# tail -f /var/log/xen/xend.log
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices vbd.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:144) Waiting for 51713.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:628) hotplugStatusCallback 
 /local/domain/0/backend/vbd/133/51713/hotplug-status.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:642) hotplugStatusCallback 1.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices irq.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices vfb.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices pci.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices vusb.
 [2014-03-20 16:15:56 4335] DEBUG (DevController:139) Waiting for devices vtpm.
 [2014-03-20 16:15:56 4335] INFO (XendDomain:1225) Domain one-106 (133) 
 unpaused.

 but I can not connect to the machine or by using VNC or xen using the 
 command: xm console IDmachine

 Opennebula log :

 [root@VTSS003 CUQUE]# tail -f /var/log/one/106.log Thu Mar 20 16:15:52 
 2014 [LCM][I]: New VM state is BOOT Thu Mar 20 16:15:52 2014 [VMM][I]: 
 Generating deployment file: /var/lib/one/106/deployment.0 Thu Mar 20 
 16:15:53 2014 [VMM][I]: ExitCode: 0 Thu Mar 20 16:15:53 2014 [VMM][I]: 
 Successfully execute network driver operation: pre.
 Thu Mar 20 16:15:56 2014 [VMM][D]: deploy: Credits set to 256 Thu Mar 
 20 16:15:56 2014 [VMM][I]: ExitCode: 0 Thu Mar 20 16:15:56 2014 
 [VMM][I]: Successfully execute virtualization driver operation: deploy.
 Thu Mar 20 16:15:56 2014 [VMM][I]: ExitCode: 0 Thu Mar 20 16:15:56 
 2014 [VMM][I]: Successfully execute network driver operation: post.
 Thu Mar 20 16:15:56 2014 [LCM][I]: New VM state is RUNNING Thu Mar 20 
 16:26:01 2014 [VMM][I]: Found interface tap-52-2064 but domain 52 does not 
 exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-53-2064 but domain 53 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-54-2064 but domain 54 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-55-2064 but domain 55 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-56-2064 but domain 56 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-57-2064 but domain 57 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-58-2064 but domain 58 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-59-2064 but domain 59 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found interface tap-60-2064 but domain 60 
 does not exist.
 Thu Mar 20 16:26:01 2014 [VMM][I]: Found 

Re: [one-users] OpenNebula TechDay Ede - Agenda and Speaker Line-up

2014-03-21 Thread Jaime Melis
Dear all,

Quick reminder to let you know that today is the final chance to sign up
for the event.

cheers,
Jaime


On Mon, Mar 17, 2014 at 10:33 AM, Jaime Melis jme...@opennebula.org wrote:

 Dear community,

 We have the final agenda for the TechDay in Ede, Netherlands, March 26th:

 http://opennebula.org/opennebula-techday-ede-agenda-and-speaker-line-up/

 Registration is still open. Looking forward to seeing you at the event!

 Regards,
 Jaime

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




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


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-21 Thread Daniel Molina
On 21 March 2014 03:39, sam song samsong8...@gmail.com wrote:

  Hi all,

 Thanks for your reply.

 I have configured one 4.0 to run in apache2 as a vhost, but there is an
 another issue.
 After I login to sunstone successfully and the dashboard is shown, the
 browser is directed to the login page again at once.
 I think it may be a misconfiguration issue.
 I only changed the sunstone listening ip, session is managed by memory.


Are you using Apache as a proxy or are you using Passenger?




 Any advice?

 Sam


 于 2014年03月21日 01:01, Daniel Molina 写道:


 On 20 March 2014 17:54, Daniel Molina dmol...@opennebula.org wrote:

 In OpenNebula you can run sunstone on top of apache but memcache is not
 supported, so you have to force only one server instance in your apache
 configuration, otherwise authentication won't work.


 This applies to one-4.0, in one-4.4 memcache is supported


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




-- 
--
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] Error running sunstone when built from source

2014-03-21 Thread Daniel Molina
On 20 March 2014 18:46, Stephen Levy stephen.l...@telogis.com wrote:

 It actually started working after I synched the system clock with NTP.
 Why does the clock being synched matter?


The authentication token is generated in the server, so it is assumed that
the system clock is synch'd. Otherwise, the browser will consider that the
token expired and you will get redirected to the login page.



 *From:* Daniel Molina [mailto:dmol...@opennebula.org]
 *Sent:* Thursday, March 20, 2014 11:51 AM

 *To:* Stephen Levy
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Error running sunstone when built from source



 Hi Stephen,



 My dev machine is a CentOS 6.4 and Sunstone it's working ok. Are you still
 experiencing this issue?, if so, could you send us your sunstone-server.conf



 Cheers



 On 14 March 2014 17:22, Stephen Levy stephen.l...@telogis.com wrote:

 They are running on the same server.  I have installed 4.4.1 on Centos
 6.2, and it seems to work correctly.  The issue seems to only occur on
 Centos 6.4 and above.



 *From:* Daniel Molina [mailto:dmol...@opennebula.org]
 *Sent:* Tuesday, March 11, 2014 11:09 AM
 *To:* Stephen Levy
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Error running sunstone when built from source



 Hi,



 On 7 March 2014 18:03, Stephen Levy stephen.l...@telogis.com wrote:

 I have installed version 4.4.1 from source on Centos 6.5, and the
 opennebula server and sunstone server seem to startup correctly, however,
 when I try to log into sunstone, it seems to accept my username and
 password, and it starts to show the main dashboard, but then it immediately
 stops and goes back to the login screen.  I don't see any errors in the
 log.  I thought it might have been a permissions problem, but everything
 seems to be correct there.  Any ideas as to what might be going on?



 Please check if the system clock is sync'd in the server where sunstone is
 running



 Cheers






 Thanks,

 Stephen



 This e-mail, and any attachments, is intended only for use by the
 addressee(s) named herein and may contain legally privileged and/or
 confidential information.  It is the property of Telogis.  If you are not
 the intended recipient of this e-mail, you are hereby notified that any
 dissemination, distribution or copying of this e-mail, any attachments
 thereto, and use of the information contained, is strictly prohibited.  If
 you have received this e-mail in error, please notify the sender and
 permanently delete the original and any copy thereof.


 ___
 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



 This e-mail, and any attachments, is intended only for use by the
 addressee(s) named herein and may contain legally privileged and/or
 confidential information.  It is the property of Telogis.  If you are not
 the intended recipient of this e-mail, you are hereby notified that any
 dissemination, distribution or copying of this e-mail, any attachments
 thereto, and use of the information contained, is strictly prohibited.  If
 you have received this e-mail in error, please notify the sender and
 permanently delete the original and any copy thereof.





 --

 --

 Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula

 This e-mail, and any attachments, is intended only for use by the
 addressee(s) named herein and may contain legally privileged and/or
 confidential information.  It is the property of Telogis.  If you are not
 the intended recipient of this e-mail, you are hereby notified that any
 dissemination, distribution or copying of this e-mail, any attachments
 thereto, and use of the information contained, is strictly prohibited.  If
 you have received this e-mail in error, please notify the sender and
 permanently delete the original and any copy thereof.




-- 
--
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] Copy image on Ceph to file-based datastore

2014-03-21 Thread Jaime Melis
Hi,

Have you benchmarked Online write-through caching / Online write-back / Offline
write-back ?

Are you proposing we should allow the three options or just stick to one?

Anyways, this sounds like an amazing addon :)
http://opennebula.org/addons/create/

It'd be nice if in the machine template where you specify individual
 disks, if you could state what caching mode to use.  Alternatives would
 be to specify it in the image template or (least favourable) in the
 datastore template.


If I understood correctly, you can use the CACHE option here:
http://docs.opennebula.org/4.4/user/references/template.html#persistent-and-clone-disks

although it might need a change in order to be able to specify the target
cache. How do you think the interface should be?

cheers,
Jaime

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


Re: [one-users] Shutting down a VM

2014-03-21 Thread Vassilis Vatikiotis
Carlos, thanks for your answer.

Is there a way of restarting a VM which has been shutdown from within,
i.e. not using thge onevm command/Sunstone command? Whenever I try to
do such a thing a get a Wrong state error, in Sunstone.

Regards

On Thu, Mar 20, 2014 at 12:01 PM, Carlos Martín Sánchez
cmar...@opennebula.org wrote:
 Hi,

 On Wed, Mar 19, 2014 at 6:25 PM, Vassilis Vatikiotis
 vatik...@iit.demokritos.gr wrote:

 Hello all,

 shutdown down a VM from within this VM using shutdown or poweroff
 stops? the VM leaving it in State: Active and LCM State: Unknown. The
 VM template has been configured with ACPI and acpid runs inside the
 VM.

 Is it possible to use the linux commands (shutdown/poweroff) to bring
 a VM down and OpenNebula reporting this particular VM as being
 stopped?

 Regards


 It's not possible at the moment, but this is something that has been
 discussed before in the list, and we have a ticket [1] planned for 4.8.

 Regards

 [1] http://dev.opennebula.org/issues/2452

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




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


Re: [one-users] ubuntu template from marketplace has wrong gateway

2014-03-21 Thread Steven Furgus
To answer my own question, I added this directive to my network template
NETWORK_GATEWAY=x.x.x.x


Found it in the documentation: Please note that any arbitrary value can be
set in the Virtual Network template, and then used in the
contextualizationhttp://archives.opennebula.org/documentation:rel4.4:congsection
of the VM. For instance, NETWORK_GATEWAY=x.x.x.x might be used to
define the Virtual Network, and then used in the context section of the VM
to configure its network to connect through the GATEWAY.



On Fri, Mar 21, 2014 at 8:35 AM, Steven Furgus stevenfur...@gmail.comwrote:

 Hey there,


 I am able to ssh into the vm from the box that is running the ubuntu vm,
 and from there run the command route add default gw x.x.x.x eth0. After I
 set the correct route, the vm is able to access the internet and I can
 reach the vm from other places.

 How can I correct the image or the template to have the correct route when
 i launch the vm?


 Many Thanks

 Steven Furgus

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


Re: [one-users] Shutting down a VM

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

On Fri, Mar 21, 2014 at 12:59 PM, Vassilis Vatikiotis 
vatik...@iit.demokritos.gr wrote:

 Carlos, thanks for your answer.

 Is there a way of restarting a VM which has been shutdown from within,
 i.e. not using thge onevm command/Sunstone command? Whenever I try to
 do such a thing a get a Wrong state error, in Sunstone.

 Regards


For VMs in the unknown state you need to use the boot command. See [1] for
more information.

Regards

[1]
http://docs.opennebula.org/4.4/user/virtual_resource_management/vm_guide_2.html#life-cycle-operations-for-administrators

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


 On Thu, Mar 20, 2014 at 12:01 PM, Carlos Martín Sánchez
 cmar...@opennebula.org wrote:
  Hi,
 
  On Wed, Mar 19, 2014 at 6:25 PM, Vassilis Vatikiotis
  vatik...@iit.demokritos.gr wrote:
 
  Hello all,
 
  shutdown down a VM from within this VM using shutdown or poweroff
  stops? the VM leaving it in State: Active and LCM State: Unknown. The
  VM template has been configured with ACPI and acpid runs inside the
  VM.
 
  Is it possible to use the linux commands (shutdown/poweroff) to bring
  a VM down and OpenNebula reporting this particular VM as being
  stopped?
 
  Regards
 
 
  It's not possible at the moment, but this is something that has been
  discussed before in the list, and we have a ticket [1] planned for 4.8.
 
  Regards
 
  [1] http://dev.opennebula.org/issues/2452
 
  --
  Carlos Martín, MSc
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 



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


[one-users] Datastores takes half of space

2014-03-21 Thread Christophe Duez
Hello there,
in my opennebula GUI I can see that my DataStores take 28,5 GB.
There are the 3 default storages files, default and system.
I removed all vm's and iso's and still no space has came free...
How can I clean up this data or is this normal that a clean opennebula
takes 28Gigs?
-- 
Kind regards,
Duez Christophe
Student at University of Antwerp :
Master of Industrial Sciences: Electronics-ICT

E christophe.d...@student.uantwperen.be
L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can sunstone 4.0 be deployed on apache2 + passenger

2014-03-21 Thread sam song
Hi Daniel,

I am using Passenger with apache2, configured according to [1].

[1]
http://docs.opennebula.org/4.4/advanced_administration/scalability/suns_advance.html#running-sunstone-with-passenger-in-apache


于 2014年03月21日 17:33, Daniel Molina 写道:



 On 21 March 2014 03:39, sam song samsong8...@gmail.com
 mailto:samsong8...@gmail.com wrote:

 Hi all,

 Thanks for your reply.

 I have configured one 4.0 to run in apache2 as a vhost, but there
 is an another issue.
 After I login to sunstone successfully and the dashboard is shown,
 the browser is directed to the login page again at once.
 I think it may be a misconfiguration issue.
 I only changed the sunstone listening ip, session is managed by
 memory.


 Are you using Apache as a proxy or are you using Passenger?


 Any advice?

 Sam


 于 2014年03月21日 01:01, Daniel Molina 写道:

 On 20 March 2014 17:54, Daniel Molina dmol...@opennebula.org
 mailto:dmol...@opennebula.org wrote:

 In OpenNebula you can run sunstone on top of apache but
 memcache is not supported, so you have to force only one
 server instance in your apache configuration, otherwise
 authentication won't work.


 This applies to one-4.0, in one-4.4 memcache is supported


 -- 
 --
 Daniel Molina
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org http://www.OpenNebula.org |
 dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula


 ___
 Users mailing list
 Users@lists.opennebula.org mailto: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 http://www.OpenNebula.org |
 dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula

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