Re: [one-users] error installing sunstone

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

On Thu, Feb 6, 2014 at 7:25 AM, Meduri Jagadeesh meduri.jagade...@msn.com
 wrote:

 got error while installing cmd :sudo apt-get install
 opennebula-sunstone.any solution?

 error:

 Setting up opennebula-sunstone (4.4.1-1) ...
 Error executing econe-server.
 Check /var/log/one/econe-server.error and /var/log/one/econe-server.log
 for more information
 Error executing occi-server.
 Check /var/log/one/occi-server.error and /var/log/one/occi-server.log for
 more information


Well, what do the logs say?
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Questions about OpenNebula system

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

/var/lib/one is a restricted dir, and opennebula won't allow you to
register images from that path. See the datastore configuration docs for
more information [1]

Regards

[1] http://docs.opennebula.org/devel/administration/storage/fs_ds.html

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


On Tue, Feb 4, 2014 at 11:20 AM, Qiubo Su (David Su) qiub...@gmail.comwrote:

 Dear Carlos and OpenNebula Community,

 Thanks. You're quite right. I have below question for you:
 in OpenNebula 3.8.1, if oneimage create .. with below template:

 NAME = win-xp-5
 PATH = /var/lib/image/win-xp-2.qcow2
 TYPE = OS

 the image created successfully, but when PATH =
 /var/lib/one/var/datastores/
 win-xp-2.qcow2, get below error is oned.log file. do you know why and how
 to fix it? Thank you very much !

 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG E 22 cp: Not
 allowed to copy images from /var/lib/one/var/ /var/lib/one/etc/
 /var/lib/one/

 Sun Feb  2 22:29:31 2014 [ImM][E]: cp: Not allowed to copy images from
 /var/lib/one/var/ /var/lib/one/etc/ /var/lib/one/
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG E 22 Not allowed
 to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2

 Sun Feb  2 22:29:31 2014 [ImM][E]: Not allowed to copy image file
 /var/lib/one/var/datastores/win-xp-2.qcow2
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG I 22 ExitCode: 255

 Sun Feb  2 22:29:31 2014 [ImM][I]: ExitCode: 255
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: CP FAILURE 22 Not
 allowed to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2

 Sun Feb  2 22:29:31 2014 [ImM][E]: Error copying image in the datastore:
 Not allowed to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2


 On Tue, Feb 4, 2014 at 11:10 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

 Please forward your questions to the mailing list, this way others can
 help and more people with the same problems will benefit from the answers.

 Regards

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


 On Mon, Feb 3, 2014 at 9:01 PM, Qiubo Su (David Su) qiub...@gmail.comwrote:

 Dear Carlos,

 Thanks. You're quite right. I have below question for you:

 in OpenNebula 3.8.1, if oneimage create .. with below template:

 NAME = win-xp-5
  PATH = /var/lib/image/win-xp-2.qcow2
 TYPE = OS

 the image created successfully, but when PATH =
 /var/lib/one/var/datastores/win-xp-2.qcow2, get below error is oned.log
 file. do you know why and how to fix it? Thank you very much !

 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG E 22 cp: Not
 allowed to copy images from /var/lib/one/var/ /var/lib/one/etc/
 /var/lib/one/

 Sun Feb  2 22:29:31 2014 [ImM][E]: cp: Not allowed to copy images from
 /var/lib/one/var/ /var/lib/one/etc/ /var/lib/one/
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG E 22 Not
 allowed to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2

 Sun Feb  2 22:29:31 2014 [ImM][E]: Not allowed to copy image file
 /var/lib/one/var/datastores/win-xp-2.qcow2
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: LOG I 22 ExitCode:
 255

 Sun Feb  2 22:29:31 2014 [ImM][I]: ExitCode: 255
 Sun Feb  2 22:29:31 2014 [ImG][D]: Message received: CP FAILURE 22 Not
 allowed to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2

 Sun Feb  2 22:29:31 2014 [ImM][E]: Error copying image in the datastore:
 Not allowed to copy image file /var/lib/one/var/datastores/win-xp-2.qcow2



 On Mon, Feb 3, 2014 at 11:54 PM, Carlos Martín Sánchez 
 cmar...@opennebula.org wrote:

 Hi,

  Why the $VMID can't be passed to fail.sh when it is activated?

 Where did you get that? The docs say $ID, not $VMID.

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


 On Mon, Feb 3, 2014 at 10:58 AM, Qiubo Su (David Su) qiub...@gmail.com
  wrote:

 Dear OpenNebula Community,

 I'm using the OpenNebula 3.8.1 at the moment, however both of the
 VM_HOOK and HOST_HOOK features don't look working well. Does anyone have
 similar problem with OpenNebula 3.8.1? How about the later version, e.g.
 3.8.3 or 3.8.5?

 Thank you very much.

 Best regards,
 Q.D.S.


 On Sun, Feb 2, 2014 at 9:17 PM, Qiubo Su (David Su) qiub...@gmail.com
  wrote:

 Dear OpenNebula Community,

 Sent you below email yesterday about not able to generate the desired
 FAILED state event (i.e. read permission denied when chmod -r
 /var/lib/image/win-xp-2.qcow2) to activate the action defined in the
 VM_HOOK section in ~/etc/oned.conf.

 Moreover, the $VMID (2nd 

Re: [one-users] Error installing opennebula

2014-02-06 Thread Hamada, Ondrej
Have you properly added repo for latest opennebula? Have you run apg-get update 
then?

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Meduri Jagadeesh
Sent: Thursday, February 06, 2014 6:54 AM
To: users@lists.opennebula.org
Subject: [one-users] Error installing opennebula

Iam trying to install opennebula in our college lab iam getting this error.

What is the reason ? solution ?

apt-get install opennebula opennebula-sunstone nfs-kernel-server




Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 opennebula : Depends: opennebula-tools (= 3.2.1-2) but 4.4.1-1 is to be 
installed
E: Unable to correct problems, you have held broken packages.


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you for understanding.

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


Re: [one-users] VNC in sunstone not working on firefox 26 (one 4.4)

2014-02-06 Thread Daniel Molina
Hi,

Did you restart novnc-server after changing those values in
sunstone-server.conf?

Cheers


On 4 February 2014 13:44, Hamada, Ondrej ondrej.ham...@acision.com wrote:

  Hmm, so the problem is probably in my VNC proxy configuration. If I
 enable the websockets for user, then the VNC window shows up, but it is
 disconnected. In chrome it is now disconnected too and novnc.log reports
 missing pem file in /var/lib/one although I have specified both certificate
 and key in the vnc-proxy parameters in sunstone-server.conf



 *From:* Wilma Hermann [mailto:wilma.herm...@gmail.com]
 *Sent:* Tuesday, February 04, 2014 1:10 PM
 *To:* Hamada, Ondrej
 *Cc:* Daniel Molina; users

 *Subject:* Re: [one-users] VNC in sunstone not working on firefox 26 (one
 4.4)



 Hi,

 The reset of the connection is perfectly right. It's only about trusting
 the certificate on that port. After that, secure VNC should work. Make
 sure, that the user account you're using in Sunstone has secure Websockets
 enabled. You can't access the insecure VNC from an TLS-protected Sunstone
 because of the Same-Origin-Policy.

 Greetings

 Wilma



 2014-02-04 Hamada, Ondrej ondrej.ham...@acision.com:

 Hi,

 Thank you for hints, but my connection gets reseted when trying to access
 https://opennebulaaddr:29876. I already have permanent exception for my
 cert in firefox.



 Ondra



 *From:* Daniel Molina [mailto:dmol...@opennebula.org]
 *Sent:* Tuesday, February 04, 2014 12:03 PM
 *To:* Hamada, Ondrej
 *Cc:* users
 *Subject:* Re: [one-users] VNC in sunstone not working on firefox 26 (one
 4.4)



 Hi Ondra,



 Let us know if the solution proposed by Wilma works for you.



 Thank you both for your feedback.



 On 1 February 2014 19:41, Wilma Hermann wilma.herm...@gmail.com wrote:

 Hi,

 are you using a self-signed certificate? I encountered the same issue with
 a snakeoil-cert, Firefox seems to store the trust to a certain certificate
 not only based on the domain but also on the port used. Since VNC is using
 a different port, this ends up in a missing trust-warning. Try opening
 https://opennebulaaddr https://opennebulaaddr/vm/272/startvnc:29876/ in
 your firefox. If it gives you a warning, then you only need to trust your
 cert and sucure VNC should work.

 Greetings

 Wilma



 2014-01-31 Tino Vazquez cvazq...@c12g.com:



 Hi,

 Ok, thanks for letting us know. I've opened a ticket to reproduce and
 solve this problem for future releases:

  http://dev.opennebula.org/issues/2703

 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 31 January 2014 17:05, Hamada, Ondrej ondrej.ham...@acision.com
 wrote:
  Hi Tino,
  Yes, I can confirm that. Without SSL the VNC works in firefox.
 
  Regards,
 
  Ondra
 
  -Original Message-
  From: Tino Vazquez [mailto:cvazq...@c12g.com]
  Sent: Friday, January 31, 2014 12:50 PM
  To: Hamada, Ondrej
  Cc: users
  Subject: Re: [one-users] VNC in sunstone not working on firefox 26 (one
 4.4)
 
  Hi Ondrej,
 
  Just to rule out other problems, can you confirm that without SSL VNC is
 working in Firefox?
 
  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 30 January 2014 17:59, Hamada, Ondrej ondrej.ham...@acision.com
 wrote:
  Hi Tino,
  Thank you for reply. Here's the 

Re: [one-users] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread Daniel Molina
On 4 February 2014 17:58, ML mail mlnos...@yahoo.com wrote:

 I have found out the problem with the 403 forbidden errors, I needed to
 pass the following HTTP headers in my nginx reverse proxy configuration:

 proxy_set_headerX-Real-IP $remote_addr;
 proxy_set_headerX-Forwarded-For
 $proxy_add_x_forwarded_for;
 proxy_set_headerHost $http_host;


Great, could you share with the list how did you configure nginx and
sunstone, and the whole configuration?

Thank you


-- 
--
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] onevnet policy violation?

2014-02-06 Thread Carlos Martín Sánchez
Hi Stefan,

On Wed, Feb 5, 2014 at 3:26 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Carlos Martín Sánchez (cmar...@opennebula.org):



  In future versions, we may change this and allow to select more than one
  cluster for each host/vnet/ds...

 I thought this was already possible but I must be mistaken with sharing
 resources between VDC / oZones. Did Ruben create #2591 for this [1]?


Yes, that ticket is for this functionality.

In 4.4, different oZones VDCs can use the same resources. But don't get too
attached to the VDCs, they will be merged with the existing groups in the
core. See this section of the dev docs for more info [1].

Regards

[1]
https://github.com/OpenNebula/docs/blob/master/source/administration/users_and_groups/manage_users.rst#managing-resource-provider-within-groups

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


On Wed, Feb 5, 2014 at 3:26 PM, Stefan Kooman ste...@bit.nl wrote:

 Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 
  You can create vnets directly in a cluster, using the --cluster option
 [1],
  but not with the CLUSTER attribute [2].
  I agree that since the new vnet is defined with a template, it is more
  intuitive to set the cluster also there, so I've opened a ticket for this
  [3].

 Thanks.

 
  This is a bit hard to explain easily in the docs, but the key is this
  paragraph [4]:
 
  Virtual Machines using resources from Datastores or Virtual Networks in
 the
  Cluster 'none' can be deployed in any Host, which must be properly
  configured.
 
  That is, your vnet is not in any cluster (or cluster 'none'), which means
  that all hosts (either in cluster none or any other cluster) will be able
  to deploy the VM.
  The core sees that you are requesting something specific to cluster
  kvm_cluster and a vnet that is configured to be used by any Host,
 including
  those in kvm_cluster.
 
  If you try to create a VM using resources from two different clusters,
 the
  core will complain on creation, it won't wait for the scheduler to
 notice.
 
 
  This may be a bit convoluted, but the other option we had was to force
 you
  to put everything in a cluster. That would mean that you can't configure
 a
  network to be used by both xen and kvm hosts.

 It makes perfect sense.

  In future versions, we may change this and allow to select more than one
  cluster for each host/vnet/ds...

 I thought this was already possible but I must be mistaken with sharing
 resources between VDC / oZones. Did Ruben create #2591 for this [1]?

 Thanks for your explanation.

 Gr. Stefan

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

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

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


Re: [one-users] Sunstone noVNC with WSS support

2014-02-06 Thread Daniel Molina
Hi,


On 5 February 2014 16:58, ML mail mlnos...@yahoo.com wrote:

 Hello,

 I would like to use noVNC in Sunstone over an encrypted channel (WSS).
 Therefore I have generated my own SSL key and certificate which I have
 added to the sunstone-server.conf configuration. The problem is that this
 does not work, when I start VNC from the Sunstone web interface I get the
 following error message in novnc.log:

 SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

 Does this mean I need an official SSL certificate?


Please, check if the solution proposed in this thread, fixes your problem
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html

Cheers



 Regards
 ML

 ___
 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] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread ML mail
Hi Daniel,

I already posted my nginx server configuration in this thread. That's all it 
needs, I did not change any configuration parameters on the sunstone side.

Regards
ML




On Thursday, February 6, 2014 10:52 AM, Daniel Molina dmol...@opennebula.org 
wrote:
 


On 4 February 2014 17:58, ML mail mlnos...@yahoo.com wrote:

I have found out the problem with the 403 forbidden errors, I needed to pass 
the following HTTP headers in my nginx reverse proxy configuration:


    proxy_set_header    X-Real-IP $remote_addr;
    proxy_set_header    X-Forwarded-For 
$proxy_add_x_forwarded_for;
    proxy_set_header    Host $http_host;
Great, could you share with the list how did you configure nginx and sunstone, 
and the whole configuration?

Thank you



-- 

--
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] Sunstone noVNC with WSS support

2014-02-06 Thread ML mail
This workaround fixes that problem yes but it is not a good workaround 
especially if you want to offer opennebula to real customers. I hope another 
better alternative can be found in the future but I am aware that this is 
mostly a browser problem :|

Regards
ML





On Thursday, February 6, 2014 10:56 AM, Daniel Molina dmol...@opennebula.org 
wrote:
 
Hi,



On 5 February 2014 16:58, ML mail mlnos...@yahoo.com wrote:

Hello,

I would like to use noVNC in Sunstone over an encrypted channel (WSS). 
Therefore I have generated my own SSL key and certificate which I have added 
to the sunstone-server.conf configuration. The problem is that this does not 
work, when I start VNC from the Sunstone web interface I get the following 
error message in novnc.log:

SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

Does this mean I need an official SSL certificate?


Please, check if the solution proposed in this thread, fixes your problem
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html


Cheers
 

Regards
ML

___
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] Contextualization of a VM with Centos 5.X

2014-02-06 Thread Javier Fontan
That's also a way to do it, sure. The scripts needed are:

https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages/base_rpm
https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages/base

Then the init script vmcontext must be turned on to run on boot.

I just was a bit concerned on doing it manually in that bunch of VMs/images.

On Wed, Feb 5, 2014 at 2:10 PM, Hamada, Ondrej
ondrej.ham...@acision.com wrote:
 The customization rpm is quite simple - you can always extract the scripts, 
 modify them and then deploy them according to spec file. It won't be so 
 comfortable as installing rpm, but still, it is quite easy.

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Fernando 
 Felix-Redondo
 Sent: Wednesday, February 05, 2014 1:26 PM
 To: users@lists.opennebula.org
 Subject: Re: [one-users] Contextualization of a VM with Centos 5.X

 Hello Javier,

 Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not 
 available in Centos 5 unless I install it manually...

 Regards
 Fernando
 --
 Fernando Felix-Redondo  [ISDEFE, S.A.]  | fernando.fe...@esa.int  |
 Phone: +34 91 813 1368
 SMOS DPGS Operations
 Computer Systems and Reliability Engineer


 2014-02-05 Javier Fontan jfon...@opennebula.org:
 One way you can do this is creating the packages in that version of
 the distribution. The source of the context packages come with the
 source code, in directory share/scripts/context-packages. There you
 can find information on how to build them in the README file [1] and
 some more information in the documentation page [2].

 To create the packages for CentOS the command will be:

 $ PACKAGE_TYPE=rpm ./generate.sh


 [1]
 https://github.com/OpenNebula/one/blob/master/share/scripts/context-pa
 ckages/README.md [2]
 http://docs.opennebula.org/stable/user/virtual_machine_setup/cong.html
 #generating-custom-contextualization-packages

 On Wed, Feb 5, 2014 at 11:30 AM, Fernando Felix-Redondo
 fernando.fe...@esa.int wrote:
 Dear all,

 I need to deploy a bunch of VMs with CentOS 5.9 on my ONE
 infrastructure but I'm facing the problem that I'm not able to
 install the opennebula-context package because is built for the
 CentOS 6.X and the system complaints about the rpmlib versions.

 Is there anywhere an opennebula-context package suitable for CentOS
 5.X or any alternative to install the contextualization tools, please?

 Regards
 Fernando
 --
 Fernando Felix-Redondo  [ISDEFE, S.A.]  | fernando.fe...@esa.int  |
 Phone: +34 91 813 1368
 SMOS DPGS Operations
 Computer Systems and Reliability Engineer
 ___
 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

 This message and any attachments are intended for the use of the addressee 
 or addressees only.
 The unauthorised disclosure, use, dissemination or copying (either in
 whole or in part) of its content is not permitted.
 If you received this message in error, please notify the sender and delete 
 it from your system.
 Emails can be altered and their integrity cannot be guaranteed by the sender.

 Please consider the environment before printing this email.

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


 This e-mail and any attachment is for authorised use by the intended 
 recipient(s) only. It may contain proprietary material, confidential 
 information and/or be subject to legal privilege. It should not be copied, 
 disclosed to, retained or used by, any other party. If you are not an 
 intended recipient then please promptly delete this e-mail and any attachment 
 and all copies and inform the sender. Thank you for understanding.


 ___
 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] VNC in sunstone not working on firefox 26 (one 4.4)

2014-02-06 Thread Hamada, Ondrej
Hi,
Yes, I restarted whole sunstone.

From: Daniel Molina [mailto:dmol...@opennebula.org]
Sent: Thursday, February 06, 2014 10:51 AM
To: Hamada, Ondrej
Cc: users
Subject: Re: [one-users] VNC in sunstone not working on firefox 26 (one 4.4)

Hi,

Did you restart novnc-server after changing those values in 
sunstone-server.conf?

Cheers

On 4 February 2014 13:44, Hamada, Ondrej 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com wrote:
Hmm, so the problem is probably in my VNC proxy configuration. If I enable the 
websockets for user, then the VNC window shows up, but it is disconnected. In 
chrome it is now disconnected too and novnc.log reports missing pem file in 
/var/lib/one although I have specified both certificate and key in the 
vnc-proxy parameters in sunstone-server.conf

From: Wilma Hermann 
[mailto:wilma.herm...@gmail.commailto:wilma.herm...@gmail.com]
Sent: Tuesday, February 04, 2014 1:10 PM
To: Hamada, Ondrej
Cc: Daniel Molina; users

Subject: Re: [one-users] VNC in sunstone not working on firefox 26 (one 4.4)

Hi,
The reset of the connection is perfectly right. It's only about trusting the 
certificate on that port. After that, secure VNC should work. Make sure, that 
the user account you're using in Sunstone has secure Websockets enabled. You 
can't access the insecure VNC from an TLS-protected Sunstone because of the 
Same-Origin-Policy.
Greetings
Wilma

2014-02-04 Hamada, Ondrej 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com:
Hi,
Thank you for hints, but my connection gets reseted when trying to access 
https://opennebulaaddr:29876. I already have permanent exception for my cert in 
firefox.

Ondra

From: Daniel Molina 
[mailto:dmol...@opennebula.orgmailto:dmol...@opennebula.org]
Sent: Tuesday, February 04, 2014 12:03 PM
To: Hamada, Ondrej
Cc: users
Subject: Re: [one-users] VNC in sunstone not working on firefox 26 (one 4.4)

Hi Ondra,

Let us know if the solution proposed by Wilma works for you.

Thank you both for your feedback.

On 1 February 2014 19:41, Wilma Hermann 
wilma.herm...@gmail.commailto:wilma.herm...@gmail.com wrote:
Hi,
are you using a self-signed certificate? I encountered the same issue with a 
snakeoil-cert, Firefox seems to store the trust to a certain certificate not 
only based on the domain but also on the port used. Since VNC is using a 
different port, this ends up in a missing trust-warning. Try opening 
https://opennebulaaddrhttps://opennebulaaddr/vm/272/startvnc:29876/ in your 
firefox. If it gives you a warning, then you only need to trust your cert and 
sucure VNC should work.
Greetings
Wilma

2014-01-31 Tino Vazquez cvazq...@c12g.commailto:cvazq...@c12g.com:

Hi,

Ok, thanks for letting us know. I've opened a ticket to reproduce and
solve this problem for future releases:

 http://dev.opennebula.org/issues/2703

Regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.comhttp://www.c12g.com | @C12G | 
es.linkedin.com/in/tinovahttp://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.commailto:ab...@c12g.com and delete the 
e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On 31 January 2014 17:05, Hamada, Ondrej 
ondrej.ham...@acision.commailto:ondrej.ham...@acision.com wrote:
 Hi Tino,
 Yes, I can confirm that. Without SSL the VNC works in firefox.

 Regards,

 Ondra

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.commailto:cvazq...@c12g.com]
 Sent: Friday, January 31, 2014 12:50 PM
 To: Hamada, Ondrej
 Cc: users
 Subject: Re: [one-users] VNC in sunstone not working on firefox 26 (one 4.4)

 Hi Ondrej,

 Just to rule out other problems, can you confirm that without SSL VNC is 
 working in Firefox?

 Regards,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs 
 www.c12g.comhttp://www.c12g.com | @C12G | 
 es.linkedin.com/in/tinovahttp://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 

Re: [one-users] econe-describe-images command in ON 4.4

2014-02-06 Thread Daniel Molina
On 5 February 2014 21:05, Hyun Woo Kim hyun...@fnal.gov wrote:

  Hi Daniel,

  Let me ask another question.

  Looks like we have to use one template create command now,
 i.e. /etc/one/ec2query_templates/m1.small.erb is not enough.


Yes, this is the new way of specifying instance type, it allows you to use
restricted attributes that the user couldn't use otherwise and share
different instance types among different user using the opennebula
permissions. You can still use the old file based templates changing the
use_file_templates var in econe.conf. But I recommend using the new system.

http://docs.opennebula.org/stable/advanced_administration/public_cloud/ec2qcg.html#configuration



  So, I did
  vi /tmp/m1.small with the following contents
 NAME  = m1.small
 EC2_INSTANCE_TYPE = m1.small
 CPU= 1
 MEMORY = 1024
 DISK = [ IMAGE_ID   = %= erb_vm_info[:img_id] % ]
 NIC=[ NETWORK_ID=0,  MODEL = virtio]


  And then
 onetemplate create /tmp/m1.small

  but I am getting
 [TemplateAllocate] Error allocating a new virtual machine template. Parse
 error: syntax error, unexpected EQUAL, expecting COMMA or CBRACKET at line
 6, columns 114:116

  Looks like
 DISK = [ IMAGE_ID   = %= erb_vm_info[:img_id] % ]
 is not understood.

  When I create a template without DISK = [ IMAGE_ID   = %=
 erb_vm_info[:img_id] % ] line,
 I can create a template, but without DISK attribute, how is the ami that a
 user is using in econe-run-instances
 passed to the template??


The template should not contain the DISK since it will be generated by the
econe-server using the information provided by the user, same for the user
data and keypairs. You can check the code here:
https://github.com/OpenNebula/one/blob/master/src/cloud/ec2/lib/instance.rb#L151



  Now, even with this incomplete template, I am getting the following
 error message when I do

  econe-run-instances -U http://fermicloud122.fnal.gov:4567/ -K hwkim -S
 5baa6 ami-0008

  econe-run-instances: Unexpected server error. response.body is:
 ResponseRequestId/ErrorsErrorCodeInvalidInstanceAttributeValue.NotFound/CodeMessageInvalidInstanceAttributeValue.NotFound
 m1.small/Message/Error/Errors/Response


Could you check that the template is available for the hwkim user and that
it contains the EC2_INSTANCE_TYPE = m1.small tag?



  I am following the following links to configure and use EC2 in ON4.4


 http://docs.opennebula.org/stable/advanced_administration/public_cloud/ec2qug.html

 http://docs.opennebula.org/stable/advanced_administration/public_cloud/ec2qcg.html

  My impression is that these guides are a bit not complete to follow.
 Could you guide me to a right direction?

  Thank you!
 HyunWoo




-- 
--
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] Sunstone with nginx as reverse-proxy - server exception

2014-02-06 Thread Daniel Dehennin
Daniel Molina dmol...@opennebula.org writes:

 On 4 February 2014 17:58, ML mail mlnos...@yahoo.com wrote:

 I have found out the problem with the 403 forbidden errors, I needed to
 pass the following HTTP headers in my nginx reverse proxy configuration:

 proxy_set_headerX-Real-IP $remote_addr;
 proxy_set_headerX-Forwarded-For
 $proxy_add_x_forwarded_for;
 proxy_set_headerHost $http_host;


 Great, could you share with the list how did you configure nginx and
 sunstone, and the whole configuration?


Personnaly I added a “client_max_body_size” to upload images:

#+begin_src conf
  # /etc/nginx/sites-available/opennebula-sunstone
  # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
  ##

  upstream sunstone {
  server 127.0.0.1:9869;
  }

  server {
  listen 80 default_server;
  listen [::]:80 default_server ipv6only=on;

  root /usr/share/nginx/html;
  index index.html index.htm;

  server_name nebula.baby-gnu.net;

  access_log  /var/log/nginx/opennebula-sunstone-access.log;
  error_log  /var/log/nginx/opennebula-sunstone-error.log;

  # To upload ISO files, must be increased for VMs images
  client_max_body_size 1G;

  location / {
  include proxy_params;
  proxy_pass http://sunstone;
  }
  }
#+end_src

Regards.

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


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


Re: [one-users] TCP/IP error: VNC connection to hypervisor host got refused or disconnected

2014-02-06 Thread Daniel Molina
Hi,

Are you getting that error from Sunstone?

Cheers


On 6 February 2014 08:53, Neelaya Dhatchayani neels.v...@gmail.com wrote:

 Hi

 I am gettin the following error while trying to launch a VM that I have
 created in opennebula with xen hypervisor.

 TCP/IP error: VNC connection to hypervisor host got refused or disconnected

 Can anyone help me one this

 thanks
 neelaya

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


Re: [one-users] Using CloudInit for contextualization

2014-02-06 Thread Javier Fontan
I've been trying the image and I could not make the user data work.
Cloud-init is able to get networking options and configures the
network but it doesn't restart it so the changes make any effect. It
is also able to get the user data and writes it to the user data file
used later for configuration but it does nothing with it. It could be
a problem with the cloud-init configuration in that machine.

I'll do more debugging as soon as I get some time.

On Tue, Feb 4, 2014 at 1:19 PM, Javier Fontan jfon...@opennebula.org wrote:
 I'll try to test that image and will let you know what I can find.

 On Tue, Feb 4, 2014 at 1:18 PM, Wilma Hermann wilma.herm...@gmail.com wrote:
 No, I never touched that file. It's current setting is

 DISK = [ driver = raw , cache = none]

 I also tried converting the Ubuntu Image to qcow and raw using qemu-img to
 make sure it is no problem with the image format. That also didn't change
 anything.


 2014-02-04 Javier Fontan jfon...@opennebula.org:

 It's a long shot but do you have the default image set to qcow2? In
 '/etc/one/vmm_exec/vmm_exec_kvm.conf':

 DISK = [ driver = qcow2 ]

 If this is the case change it to raw, restart oned and try again. The
 image already has the driver set to qcow2 so it should work.

 On Tue, Feb 4, 2014 at 11:48 AM, Wilma Hermann wilma.herm...@gmail.com
 wrote:
  I also tried it with the current Alpha 2 of Ubuntu 14.04 which includes
  cloud-init 0.7.5, but it does not work either. You can find the output
  of
  onevm and oneimage attached.
 
  Thanks in advance
  Wilma
 
  2014-02-04 Javier Fontan jfon...@opennebula.org:
 
  It should be working. Can you send us the output of onevm show -x
  vmid of one of those machines?
 
  On Mon, Feb 3, 2014 at 6:17 PM, Wilma Hermann wilma.herm...@gmail.com
  wrote:
   Hi,
  
   I'm using the release image from yesterday (02-Feb-2014 03:39) [1].
   And
   the
   machine uses cloud-init 0.7.3:
  
   # virt-cat one-42 /var/log/cloud-init.log | grep running
   2014-02-03 15:18:56,873 - util.py[DEBUG]: Cloud-init v. 0.7.3 running
   'init-local' at Mon, 03 Feb 2014 15:18:56 +. Up 4.48 seconds.
  
   [1]: http://cloud-images.ubuntu.com/releases/13.10/release/
  
   Thanks in advance
   Wilma
  
   2014-02-03 Javier Fontan jfon...@opennebula.org:
  
   Are you using a recent version of those images? OpenNebula support
   was
   added in cloud-init 0.7.3 and the current images come with that
   version. User data can be specified with USER_DATA or USERDATA
   parameters so your configuration seems to be OK.
  
   On Mon, Feb 3, 2014 at 5:54 PM, Wilma Hermann
   wilma.herm...@gmail.com
   wrote:
Hi,
   
Well, the core of the problem sounds logical to me. Nevertheless,
I
have
to
wait 2 minutes for the network initialization to time-out until I
can
reboot
the machine using the CtrlAltDel-Button in VNC... That's not
comfortable,
but bearable.
   
However, I cannot get that USER_DATA variable to work. Whatever I
enter
there, it is obviously ignored. I tried it with the exact code
from
the
documentation you mentioned, but also with something like
   
CONTEXT=[NETWORK=YES,SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],
  USER_DATA=#cloud-config
bootcmd:
 - echo HelloWorld  /etc/issue
 ]
   
just to get a visual feedback that the USER_DATA is being used by
cloud-init. None of it worked out.
   
Is there a special trick with USER_DATA?
   
Just in case that's important: I'm using OpenNebula 4.4 with
libvirt/KVM.
   
Thanks in advance
Wilma
   
2014-01-30 Javier Fontan jfon...@opennebula.org:
   
Unfortunately the current version of cloud-init does not load new
network parameters after they are configured in some
distributions.
There is a ticket to track that problem [1]
   
The documentation gives some ideas on how to overcome this [2]:
   
--8--
The current version of cloud-init configures the network before
running cloud-init configuration. This makes the network
configuration
not reliable. Until a new version that fixes this is released you
can
add OpenNebula context packages or this user data to reboot the
machine so the network is properly configured.
--8--
   
[1] https://bugs.launchpad.net/cloud-init/+bug/1225922
[2]
   
   
   
http://docs.opennebula.org/stable/user/virtual_machine_setup/cloud-init.html
   
On Tue, Jan 28, 2014 at 1:56 PM, Wilma Hermann
wilma.herm...@gmail.com
wrote:
 Hi,

 I'm trying to get a Ubuntu 13.10 guest to work, which uses a
 official
 Cloud-image (http://cloud-images.ubuntu.com/saucy/) as disk.
 However,
 the VM
 is not integrating into the virtual network. I've double
 checked
 the
 virtual
 network settings with CentOS-VMs, the network works correctly.

 I've found out that CloudInit writes a correct
 

Re: [one-users] Contextualization of a VM with Centos 5.X

2014-02-06 Thread Fernando Felix-Redondo
Dear Javier,

Don't care! I've just installed the scripts in the base image and it
goes perfect. The bunch of VMs I need to deploy are all identical.
They are the working nodes of a virtual cluster actually.

Thank you for your support
Fernando
--
Fernando Felix-Redondo  [ISDEFE, S.A.]  | fernando.fe...@esa.int  |
Phone: +34 91 813 1368
SMOS DPGS Operations
Computer Systems and Reliability Engineer


2014-02-06 11:05 GMT+01:00 Javier Fontan jfon...@opennebula.org:
 That's also a way to do it, sure. The scripts needed are:

 https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages/base_rpm
 https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages/base

 Then the init script vmcontext must be turned on to run on boot.

 I just was a bit concerned on doing it manually in that bunch of VMs/images.

 On Wed, Feb 5, 2014 at 2:10 PM, Hamada, Ondrej
 ondrej.ham...@acision.com wrote:
 The customization rpm is quite simple - you can always extract the scripts, 
 modify them and then deploy them according to spec file. It won't be so 
 comfortable as installing rpm, but still, it is quite easy.

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Fernando 
 Felix-Redondo
 Sent: Wednesday, February 05, 2014 1:26 PM
 To: users@lists.opennebula.org
 Subject: Re: [one-users] Contextualization of a VM with Centos 5.X

 Hello Javier,

 Unfortunately, this mechanism needs Ruby = 1.8.7 and that version is not 
 available in Centos 5 unless I install it manually...

 Regards
 Fernando
 --
 Fernando Felix-Redondo  [ISDEFE, S.A.]  | fernando.fe...@esa.int  |
 Phone: +34 91 813 1368
 SMOS DPGS Operations
 Computer Systems and Reliability Engineer


 2014-02-05 Javier Fontan jfon...@opennebula.org:
 One way you can do this is creating the packages in that version of
 the distribution. The source of the context packages come with the
 source code, in directory share/scripts/context-packages. There you
 can find information on how to build them in the README file [1] and
 some more information in the documentation page [2].

 To create the packages for CentOS the command will be:

 $ PACKAGE_TYPE=rpm ./generate.sh


 [1]
 https://github.com/OpenNebula/one/blob/master/share/scripts/context-pa
 ckages/README.md [2]
 http://docs.opennebula.org/stable/user/virtual_machine_setup/cong.html
 #generating-custom-contextualization-packages

 On Wed, Feb 5, 2014 at 11:30 AM, Fernando Felix-Redondo
 fernando.fe...@esa.int wrote:
 Dear all,

 I need to deploy a bunch of VMs with CentOS 5.9 on my ONE
 infrastructure but I'm facing the problem that I'm not able to
 install the opennebula-context package because is built for the
 CentOS 6.X and the system complaints about the rpmlib versions.

 Is there anywhere an opennebula-context package suitable for CentOS
 5.X or any alternative to install the contextualization tools, please?

 Regards
 Fernando
 --
 Fernando Felix-Redondo  [ISDEFE, S.A.]  | fernando.fe...@esa.int  |
 Phone: +34 91 813 1368
 SMOS DPGS Operations
 Computer Systems and Reliability Engineer
 ___
 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

 This message and any attachments are intended for the use of the addressee 
 or addressees only.
 The unauthorised disclosure, use, dissemination or copying (either in
 whole or in part) of its content is not permitted.
 If you received this message in error, please notify the sender and delete 
 it from your system.
 Emails can be altered and their integrity cannot be guaranteed by the 
 sender.

 Please consider the environment before printing this email.

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


 This e-mail and any attachment is for authorised use by the intended 
 recipient(s) only. It may contain proprietary material, confidential 
 information and/or be subject to legal privilege. It should not be copied, 
 disclosed to, retained or used by, any other party. If you are not an 
 intended recipient then please promptly delete this e-mail and any 
 attachment and all copies and inform the sender. Thank you for understanding.


 ___
 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

 This message and any attachments are intended for the use of the addressee or 
 addressees only.
 The unauthorised disclosure, use, 

Re: [one-users] onevnet policy violation?

2014-02-06 Thread Stefan Kooman
Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 Hi Stefan,
 
 On Wed, Feb 5, 2014 at 3:26 PM, Stefan Kooman ste...@bit.nl wrote:
 
  Quoting Carlos Martín Sánchez (cmar...@opennebula.org):
 
 
 
   In future versions, we may change this and allow to select more than one
   cluster for each host/vnet/ds...
 
  I thought this was already possible but I must be mistaken with sharing
  resources between VDC / oZones. Did Ruben create #2591 for this [1]?
 
 
 Yes, that ticket is for this functionality.
 
 In 4.4, different oZones VDCs can use the same resources. But don't get too
 attached to the VDCs, they will be merged with the existing groups in the
 core. See this section of the dev docs for more info [1].

Thanks for the warning. At the opennebula conference you already
announced a complete overhaul of oZones/VDC ... so I didn't use it in
production yet. Curious 

 [1]
 https://github.com/OpenNebula/docs/blob/master/source/administration/users_and_groups/manage_users.rst#managing-resource-provider-within-groups

Ok, so it's safe to use Admin Groups and Resource Provider
functionality referenced in [1]?

Gr. Stefan

-- 
| BIT BV  http://www.bit.nl/Kamer van Koophandel 09090351
| GPG: 0xD14839C6   +31 318 648 688 / i...@bit.nl
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] TCP/IP error: VNC connection to hypervisor host got refused or disconnected

2014-02-06 Thread Neelaya Dhatchayani
yes I am getting the error from sunstone as well as in my host machine


On Thu, Feb 6, 2014 at 3:51 PM, Daniel Molina dmol...@opennebula.orgwrote:

 Hi,

 Are you getting that error from Sunstone?

 Cheers


 On 6 February 2014 08:53, Neelaya Dhatchayani neels.v...@gmail.comwrote:

 Hi

 I am gettin the following error while trying to launch a VM that I have
 created in opennebula with xen hypervisor.

 TCP/IP error: VNC connection to hypervisor host got refused or
 disconnected

 Can anyone help me one this

 thanks
 neelaya

 ___
 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 | @OpenNebulaHi,

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


Re: [one-users] ldap auth without automatic user creation

2014-02-06 Thread Javier Fontan
I'm not sure I've understood the problem. Maybe this explanation helps.

The user name of a user with ldap driver is used to find it in ldap.
It first searches for an ldap user with a DN equal to the OpenNebula
user name. This way you can set the OpenNebula user name to a full dn
of a user.

In case there's no user with that dn it searches for users that have a
field that are equal to the OpenNebula user name. By default this
field is cn but it can be changed in ldap auth configuration file:

--8--
# field that holds the user name, if not set 'cn' will be used
:user_field: 'cn'
--8--

In this example the field that we want to use as user name is uid:

--8--
dn: cn=Robert Smith,ou=people,dc=example,dc=com
objectclass: inetOrgPerson
cn: Robert Smith
cn: Robert J Smith
cn: bob  smith
sn: smith
uid: rjsmith
userpassword: rJsmitH
ou: Human Resources
--8--

And we can change the ldap auth user_field to uid.

The user in OpenNebula should have

user name: rjsmith
password: -
driver: ldap

On Wed, Feb 5, 2014 at 10:41 AM, Nicolas Bélan nicolas.be...@gmail.com wrote:
 Hello,

 I tried successfully the LDAP auth using one 4.4, with the 'default'
 auth engine.

 So, I am able to log on Sunstone with a user in the right LDAP group, if
 it is not created on the one user DB.

 But, I am trying to answer this use case, and I can't achieve it:

 1) create a user through sunstone and set it a LDAP scheme auth.
 2) assign VM to this user (let's say uid 2)
 3) create a correct CN in LDAP DB, and assign it to the right group
 4) auth with sunstone GUI

 I creates a user 3, without any VM (same filter id ...)

 I would like to (pre)create user in sunstone, and give them accesses
 later through LDAP auth.
 Is it possible ?

 Thank you
 Best regards,
 Nicolas.

 ___
 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


[one-users] Fwd: VM Opennebula with OpenVZ

2014-02-06 Thread Nikita Balashov
Have you created a symlink on the front-end ln -s /var/lib/one/datastores
/vz/one/datastores?


2014-02-06 Catalina Quinde catalinaqui...@gmail.com:

 Hi Nikolay,

 Thanks for reply, I used Opennebula version 4.2 and OpenVZ version
 2.6.32-042stab083.2, the vm log file is below, the mv runs correctly but
 when I put it on STOP has errors:

 alexopn@ubuntuOpNeb:~$ cat /var/log/one/14.log
 Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.
 Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.
 Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context
 Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT
 Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/14/deployment.0
 Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618 2
 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo ln -sf
 /vz/one/datastores/0/14/disk.0
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl create 1014 --layout ploop --ostemplate debian-7.0-x86_64
 --private /vz/one/datastores/0/14/private --root
 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo tar -cf
 /vz/one/datastores/0/14/disk.0 --gzip -Sp -C
 /vz/one/datastores/0/14/private . --ignore-failed-read.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo rm -f
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz 2 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo cp
 /vz/one/datastores/0/14/vm_conf /etc/vz/conf/1014.conf.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing
 contextualization, no context given.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 -R /vz/one/datastores/0/14/private.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl start 1014.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver
 operation: post.
 Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING
 Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo
 /usr/sbin/vzctl chkpnt 1014 --dumpfile /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo chown
 oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization
 driver operation: save.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver
 operation: clean.
 Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP
 Wed Dec 18 16:14:02 2013 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/ssh/mv ubuntu:/vz/one/datastores/0/14
 ubuntuOpNeb:/vz/one/datastores/0/14 14 0
 Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving
 ubuntu:/vz/one/datastores/0/14 to ubuntuOpNeb:/vz/one/datastores/0/14
 Wed Dec 18 16:14:02 2013 [TM][E]: mv: Command eval ssh ubuntu 'tar -C
 /vz/one/datastores/0 -cf - 14' | ssh ubuntuOpNeb 'tar -C
 /vz/one/datastores/0 -xf -' failed: tar: /vz/one/datastores/0: No se puede
 open: No existe el archivo o el directorio
 Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting
 now
 Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target
 host
 Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2
 Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script:
 Error copying disk directory to target host
 Wed Dec 18 16:14:02 2013 [DiM][I]: New VM state is FAILED
 Wed Dec 18 16:15:30 2013 [DiM][I]: New VM state is DONE.
 alexopn@ubuntuOpNeb:~$

 Thanks, Caty.

 ___
 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] ldap auth without automatic user creation

2014-02-06 Thread Nicolas Bélan
Thank you for the explanation.

I am trying to detail more the steps I am using.

I have a LDAP tree with users (eg foobar user).
I will setup a VM in one-4.4 and I would like to assign it to foobar.
But, foobar does not exists yet in one (especially sunstone) until
foobar logged in, right ?
So, I would like to add it before any login, and assign its VM to its
user id. So, I create a foobar user (same UID as LDAP) in one.

But, If I create with oneuser foobar and set its auth engine to LDAP,
it seems that one do no find it.
It creates a new User ID when foobar logs in. (In fact, if I understand,
it finds the ldap one, and display it without any search in one users DB).
I have two users with the same ID (but numeric ID different), the LDAP
one and the ONE-4.4 one ( :-) ). Which seems right with your description.

Is there a way to map the oneuser foobar and the ldap one ? or to
link both ?

To be clear, I would like to authentify the one user to LDAP, but only
auth may be externalized to ldap.

Thank you
Nicolas


Le 06/02/2014 12:24, Javier Fontan a écrit :
 I'm not sure I've understood the problem. Maybe this explanation helps.

 The user name of a user with ldap driver is used to find it in ldap.
 It first searches for an ldap user with a DN equal to the OpenNebula
 user name. This way you can set the OpenNebula user name to a full dn
 of a user.

 In case there's no user with that dn it searches for users that have a
 field that are equal to the OpenNebula user name. By default this
 field is cn but it can be changed in ldap auth configuration file:

 --8--
 # field that holds the user name, if not set 'cn' will be used
 :user_field: 'cn'
 --8--

 In this example the field that we want to use as user name is uid:

 --8--
 dn: cn=Robert Smith,ou=people,dc=example,dc=com
 objectclass: inetOrgPerson
 cn: Robert Smith
 cn: Robert J Smith
 cn: bob  smith
 sn: smith
 uid: rjsmith
 userpassword: rJsmitH
 ou: Human Resources
 --8--

 And we can change the ldap auth user_field to uid.

 The user in OpenNebula should have

 user name: rjsmith
 password: -
 driver: ldap

 On Wed, Feb 5, 2014 at 10:41 AM, Nicolas Bélan nicolas.be...@gmail.com 
 wrote:
 Hello,

 I tried successfully the LDAP auth using one 4.4, with the 'default'
 auth engine.

 So, I am able to log on Sunstone with a user in the right LDAP group, if
 it is not created on the one user DB.

 But, I am trying to answer this use case, and I can't achieve it:

 1) create a user through sunstone and set it a LDAP scheme auth.
 2) assign VM to this user (let's say uid 2)
 3) create a correct CN in LDAP DB, and assign it to the right group
 4) auth with sunstone GUI

 I creates a user 3, without any VM (same filter id ...)

 I would like to (pre)create user in sunstone, and give them accesses
 later through LDAP auth.
 Is it possible ?

 Thank you
 Best regards,
 Nicolas.

 ___
 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] First OpenNebula TechDays at Ede, Netherlands, 26 March 2014

2014-02-06 Thread Tino Vazquez
Dear OpenNebula users,

The OpenNebula Project is proud to announce the first OpenNebula
TechDays [1], to be held in Ede, Netherlands, next 26th March. This
event will be hosted by BIT.nl, an internet service provider with a
strong relation with the open source community.

Let us know through eve...@opennebula.org if you are interested in
giving a talk in the TechDays. The talk should be oriented towards
sharing cloud use cases and deployment experiences, introducing new
integrations and ecosystem developments and/or describing other
related cloud open-source projects and tools.

Moreover, there are sponsorship opportunities available. This is a not
for profit event, all funds raised are used for OpenNebula promotion
and for further OpenNebula TechDay Events. Again, if interested, let
us know through eve...@opennebula.org.

This is the first event of a series of OpenNebula TechDays to be held
all around the globe, stay tuned since we will announce shortly other
events and one of them might be next door!

The OpenNebula Team

[1] 
http://opennebula.org/first-opennebula-techdays-at-ede-netherlands-26-march-2014/

--
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] VM Opennebula with OpenVZ

2014-02-06 Thread Catalina Quinde
Thanks Nikita for reply,

I don't have symlink ln -s /var/lib/one/datastores /vz/one/datastores, in
configuration file oned.conf I have:

DATASTORE_LOCATION = /vz/one/datastores

Regards, Caty.



2014-02-06 6:45 GMT-05:00 Nikita Balashov balashov.nik...@gmail.com:

 Have you created a symlink on the front-end ln -s /var/lib/one/datastores
 /vz/one/datastores?


 2014-02-06 Catalina Quinde catalinaqui...@gmail.com:

 Hi Nikolay,

 Thanks for reply, I used Opennebula version 4.2 and OpenVZ version
 2.6.32-042stab083.2, the vm log file is below, the mv runs correctly but
 when I put it on STOP has errors:

 alexopn@ubuntuOpNeb:~$ cat /var/log/one/14.log
 Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.
 Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.
 Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context
 Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT
 Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/14/deployment.0
 Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618 2
 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo ln -sf
 /vz/one/datastores/0/14/disk.0
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl create 1014 --layout ploop --ostemplate debian-7.0-x86_64
 --private /vz/one/datastores/0/14/private --root
 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo tar
 -cf /vz/one/datastores/0/14/disk.0 --gzip -Sp -C
 /vz/one/datastores/0/14/private . --ignore-failed-read.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo rm -f
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz 2 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo cp
 /vz/one/datastores/0/14/vm_conf /etc/vz/conf/1014.conf.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing
 contextualization, no context given.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 -R /vz/one/datastores/0/14/private.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl start 1014.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver
 operation: post.
 Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING
 Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo
 /usr/sbin/vzctl chkpnt 1014 --dumpfile /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo chown
 oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization
 driver operation: save.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver
 operation: clean.
 Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP
 Wed Dec 18 16:14:02 2013 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/ssh/mv ubuntu:/vz/one/datastores/0/14
 ubuntuOpNeb:/vz/one/datastores/0/14 14 0
 Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving
 ubuntu:/vz/one/datastores/0/14 to ubuntuOpNeb:/vz/one/datastores/0/14
 Wed Dec 18 16:14:02 2013 [TM][E]: mv: Command eval ssh ubuntu 'tar -C
 /vz/one/datastores/0 -cf - 14' | ssh ubuntuOpNeb 'tar -C
 /vz/one/datastores/0 -xf -' failed: tar: /vz/one/datastores/0: No se puede
 open: No existe el archivo o el directorio
 Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting
 now
 Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target
 host
 Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2
 Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script:
 Error copying disk directory to target host
 Wed Dec 18 16:14:02 2013 [DiM][I]: New VM state is FAILED
 Wed Dec 18 16:15:30 2013 [DiM][I]: New VM state is DONE.
 alexopn@ubuntuOpNeb:~$

 Thanks, Caty.

 ___
 

Re: [one-users] VM Opennebula with OpenVZ

2014-02-06 Thread Nikita Balashov
DATASTORE_LOCATION used only to specify location on hosts, not on the
frontend. So, you need to create the mentioned simlink on the frontend with
the current implementation of the driver


2014-02-06 Catalina Quinde catalinaqui...@gmail.com:

 Thanks Nikita for reply,

 I don't have symlink ln -s /var/lib/one/datastores /vz/one/datastores,
 in configuration file oned.conf I have:

 DATASTORE_LOCATION = /vz/one/datastores

 Regards, Caty.



 2014-02-06 6:45 GMT-05:00 Nikita Balashov balashov.nik...@gmail.com:

 Have you created a symlink on the front-end ln -s /var/lib/one/datastores
 /vz/one/datastores?


 2014-02-06 Catalina Quinde catalinaqui...@gmail.com:

 Hi Nikolay,

 Thanks for reply, I used Opennebula version 4.2 and OpenVZ version
 2.6.32-042stab083.2, the vm log file is below, the mv runs correctly but
 when I put it on STOP has errors:

 alexopn@ubuntuOpNeb:~$ cat /var/log/one/14.log
 Wed Dec 18 15:46:10 2013 [DiM][I]: New VM state is ACTIVE.
 Wed Dec 18 15:46:10 2013 [LCM][I]: New VM state is PROLOG.
 Wed Dec 18 15:46:10 2013 [VM][I]: Virtual Machine has no context
 Wed Dec 18 15:46:48 2013 [LCM][I]: New VM state is BOOT
 Wed Dec 18 15:46:48 2013 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/14/deployment.0
 Wed Dec 18 15:46:48 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:46:48 2013 [VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618 2
 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo ln
 -sf /vz/one/datastores/0/14/disk.0
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl create 1014 --layout ploop --ostemplate debian-7.0-x86_64
 --private /vz/one/datastores/0/14/private --root
 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl set 1014 --diskspace 2G:2.2G --save.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo tar
 -cf /vz/one/datastores/0/14/disk.0 --gzip -Sp -C
 /vz/one/datastores/0/14/private . --ignore-failed-read.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo rm -f
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo mv
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387399618
 /var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz 2 /dev/null; true.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo cp
 /vz/one/datastores/0/14/vm_conf /etc/vz/conf/1014.conf.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Not performing
 contextualization, no context given.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 -R /vz/one/datastores/0/14/private.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo
 /usr/sbin/vzctl start 1014.
 Wed Dec 18 15:47:54 2013 [VMM][I]: deploy: Executed /usr/bin/sudo chown
 1001:1001 /vz/one/datastores/0/14/root.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Wed Dec 18 15:47:54 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 15:47:54 2013 [VMM][I]: Successfully execute network driver
 operation: post.
 Wed Dec 18 15:47:54 2013 [LCM][I]: New VM state is RUNNING
 Wed Dec 18 16:13:40 2013 [LCM][I]: New VM state is SAVE_STOP
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo
 /usr/sbin/vzctl chkpnt 1014 --dumpfile /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: save: Executed /usr/bin/sudo chown
 oneadmin:oneadmin /vz/one/datastores/0/14/checkpoint.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute virtualization
 driver operation: save.
 Wed Dec 18 16:13:56 2013 [VMM][I]: ExitCode: 0
 Wed Dec 18 16:13:56 2013 [VMM][I]: Successfully execute network driver
 operation: clean.
 Wed Dec 18 16:13:56 2013 [LCM][I]: New VM state is EPILOG_STOP
 Wed Dec 18 16:14:02 2013 [TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/ssh/mv ubuntu:/vz/one/datastores/0/14
 ubuntuOpNeb:/vz/one/datastores/0/14 14 0
 Wed Dec 18 16:14:02 2013 [TM][I]: mv: Moving
 ubuntu:/vz/one/datastores/0/14 to ubuntuOpNeb:/vz/one/datastores/0/14
 Wed Dec 18 16:14:02 2013 [TM][E]: mv: Command eval ssh ubuntu 'tar -C
 /vz/one/datastores/0 -cf - 14' | ssh ubuntuOpNeb 'tar -C
 /vz/one/datastores/0 -xf -' failed: tar: /vz/one/datastores/0: No se puede
 open: No existe el archivo o el directorio
 Wed Dec 18 16:14:02 2013 [TM][I]: tar: Error is not recoverable: exiting
 now
 Wed Dec 18 16:14:02 2013 [TM][E]: Error copying disk directory to target
 host
 Wed Dec 18 16:14:02 2013 [TM][I]: ExitCode: 2
 Wed Dec 18 16:14:02 2013 [TM][E]: Error executing image transfer script:
 

Re: [one-users] ONE 4.4 to 4.4.1 upgrade on Debian 7 fails

2014-02-06 Thread Jaime Melis
Hi ML,

I've created a bug report to fix this for future releases:
http://dev.opennebula.org/issues/2715

You are probably seeing this error because your /var/lib/one/datastores is
mounted by NFS (or other network file system) and the OpenNebula has no
root privileges on those files. Can you try to reconfigure the NFS server
that is exporting the share mounted on /var/lib/one/datastores and add the
no_root_squash option to the /etc/exports [1] file?

Please take into account that this is just a workaround, you can revert to
root_squash after the upgrade and this will be fixed for future OpenNebula
releases.

[1] http://linux.die.net/man/5/exports

Cheers,
Jaime


On Thu, Feb 6, 2014 at 2:15 PM, ML mail mlnos...@yahoo.com wrote:

 Hello,

 I am upgrading from ONE 4.4 to 4.4.1 on Debian 7 using the official ONE
 package repository for Debian packages. So for that purpose I ran sudo
 apt-get upgrade but it looks like one of the upgrade scripts wants to do a
 chown on my datastores which are mounted through NFS, as such the upgrade
 fails (only the user oneadmin has permissions on the NFS datastore).

 Here would be the output:

 Installing new version of config file
 /etc/one/vmm_exec/vmm_exec_vmware.conf ...
 Installing new version of config file /etc/one/vmm_exec/vmm_exec_xen3.conf
 ...
 chown: changing ownership of
 `/var/lib/one/datastores/100/6f3d3a9e784b79a09455dbbb985c246b': Operation
 not permitted
 chown: changing ownership of
 `/var/lib/one/datastores/100/88988fd1f4394f2fe9f9ea599f26d7cf': Operation
 not permitted
 chown: changing ownership of
 `/var/lib/one/datastores/100/8e09740c6206cb5a6c6d190cbc723e13': Operation
 not permitted
 chown: changing ownership of
 `/var/lib/one/datastores/100/1bce7999b33e9af585b65ef279cc9d30': Operation
 not permitted
 chown: changing ownership of
 `/var/lib/one/datastores/100/563167c9590a17acd593ec1688696c61': Operation
 not permitted
 chown: changing ownership of
 `/var/lib/one/datastores/100/1cc0e0009d38d7d3ad5b55456d156277': Operation
 not permitted
 chown: changing ownership of `/var/lib/one/datastores/100': Operation not
 permitted
 chown: changing ownership of
 `/var/lib/one/datastores/1/0dd4f6e8a685d499637d5bbdd6407a96': Operation not
 permitted
 chown: changing ownership of
 `/var/lib/one/datastores/1/37fea94121e4f95b2de837779cbb6529': Operation not
 permitted
 chown: changing ownership of
 `/var/lib/one/datastores/1/247c3855502c98df1ba05c66e21c483c': Operation not
 permitted
 chown: changing ownership of
 `/var/lib/one/datastores/1/c9952e0792f4205f8f0749fd3564a8f6': Operation not
 permitted
 chown: changing ownership of `/var/lib/one/datastores/1': Operation not
 permitted
 dpkg: error processing opennebula (--configure):
  subprocess installed post-installation script returned error exit status 1
 Errors were encountered while processing:
  opennebula
 E: Sub-process /usr/bin/dpkg returned an error code (1)

 As such the upgrade fails... What should I do? Change the NFS permissions
 to allow root full access on the datastore? or manually chown the files?
 and btw why is a chown needed on the datastore files?

 Regards,
 ML

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




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


Re: [one-users] ONE 4.4 to 4.4.1 upgrade on Debian 7 fails

2014-02-06 Thread ML mail
Hi Jaime,

That's exactly it. Thanks for filing the bug report. I have applied the 
workaround by manually doing a chown and restarting the upgrade.

Regards,
ML




On Thursday, February 6, 2014 3:46 PM, Jaime Melis jme...@opennebula.org 
wrote:
 
Hi ML,

I've created a bug report to fix this for future releases: 
http://dev.opennebula.org/issues/2715

You are probably seeing this error because your /var/lib/one/datastores is 
mounted by NFS (or other network file system) and the OpenNebula has no root 
privileges on those files. Can you try to reconfigure the NFS server that is 
exporting the share mounted on /var/lib/one/datastores and add the 
no_root_squash option to the /etc/exports [1] file?

Please take into account that this is just a workaround, you can revert to 
root_squash after the upgrade and this will be fixed for future OpenNebula 
releases.

[1] http://linux.die.net/man/5/exports


Cheers,
Jaime



On Thu, Feb 6, 2014 at 2:15 PM, ML mail mlnos...@yahoo.com wrote:

Hello,

I am upgrading from ONE 4.4 to 4.4.1 on Debian 7 using the official ONE 
package repository for Debian packages. So for that purpose I ran sudo 
apt-get upgrade but it looks like one of the upgrade scripts wants to do a 
chown on my datastores which are mounted through NFS, as such the upgrade 
fails (only the user oneadmin has permissions on the NFS datastore). 

Here would be the output:

Installing new version of config file /etc/one/vmm_exec/vmm_exec_vmware.conf 
...
Installing new version of config file /etc/one/vmm_exec/vmm_exec_xen3.conf ...
chown: changing ownership of 
`/var/lib/one/datastores/100/6f3d3a9e784b79a09455dbbb985c246b': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/88988fd1f4394f2fe9f9ea599f26d7cf': Operation
 not permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/8e09740c6206cb5a6c6d190cbc723e13': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/1bce7999b33e9af585b65ef279cc9d30': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/563167c9590a17acd593ec1688696c61': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/100/1cc0e0009d38d7d3ad5b55456d156277': Operation not 
permitted
chown: changing ownership of `/var/lib/one/datastores/100': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/0dd4f6e8a685d499637d5bbdd6407a96': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/37fea94121e4f95b2de837779cbb6529': Operation not 
permitted
chown: changing ownership of 
`/var/lib/one/datastores/1/247c3855502c98df1ba05c66e21c483c': Operation not 
permitted
chown: changing ownership of
 `/var/lib/one/datastores/1/c9952e0792f4205f8f0749fd3564a8f6': Operation not 
permitted
chown: changing ownership of `/var/lib/one/datastores/1': Operation not 
permitted
dpkg: error processing opennebula (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 opennebula
E: Sub-process /usr/bin/dpkg returned an error code (1)


As such the upgrade fails... What should I do? Change the NFS permissions to 
allow root full access on the datastore? or manually chown the files? and btw 
why is a chown needed on the datastore files?

Regards,
ML

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




-- 

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


Re: [one-users] Sunstone noVNC with WSS support

2014-02-06 Thread Wilma Hermann
There is a really easy fix for that: Get a real certificate from a real CA.
You should not use self-signed certs for a production environment.

Greetings
Wilma


2014-02-06 ML mail mlnos...@yahoo.com:

 This workaround fixes that problem yes but it is not a good workaround
 especially if you want to offer opennebula to real customers. I hope
 another better alternative can be found in the future but I am aware that
 this is mostly a browser problem :|

 Regards
 ML



   On Thursday, February 6, 2014 10:56 AM, Daniel Molina 
 dmol...@opennebula.org wrote:
  Hi,


 On 5 February 2014 16:58, ML mail mlnos...@yahoo.com wrote:

 Hello,

 I would like to use noVNC in Sunstone over an encrypted channel (WSS).
 Therefore I have generated my own SSL key and certificate which I have
 added to the sunstone-server.conf configuration. The problem is that this
 does not work, when I start VNC from the Sunstone web interface I get the
 following error message in novnc.log:

 SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca

 Does this mean I need an official SSL certificate?


 Please, check if the solution proposed in this thread, fixes your problem

 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html

 Cheers



 Regards

 ML


 ___
 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 http://www.opennebula.org/ | dmol...@opennebula.org| 
 @OpenNebula



 ___
 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 template default boot architecture

2014-02-06 Thread ML mail
Hello,

In sunstone is it possible to set as default boot architecture x86_64 in the VM 
template? If yes, how? The default is an empty field and it looks like that if 
I do not select x86_64 it goes for i686.


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


Re: [one-users] SPICE support

2014-02-06 Thread Daniel Dehennin
Javier Fontan jfon...@opennebula.org writes:

 Hi,

Hello,

[...]

 The proposed solution is adding an special raw parameter that is
 automatically added when SPICE is selected. Another option is having a
 predefined set of options that can be configured like the number of
 USBs or the sound card model.

 I am not used to SPICE and can not set the parameters more used nor
 understand values like the channel name (is it always the same?).

 Could you help me selecting which parameters should we add? Do you
 prefer a RAW like value where to add anything you want?

To use it, I would like to make a selection in some predefined items.

1. select SPICE graphics, this display a list of predefined items

2. checkbox “enable vdagent support”, if selected: display the channel
   name with a default to “com.redhat.spice.0” which seems to be the
   default, at leat on Debian[1]

3. checkbox “enable guest agent”, if selected, the target name must be
   “org.qemu.guest_agent.0” to communicate with guest agent[2]

4. checkbox “enable USB ports”, if selected: ask the number of ports

5. checkbox “enable sound”, if selected: list card models, with a
   default selected

For the UI, I'm not sure about the fixed list of checkboxes, maybe some
kind of list to select items to enable which add a bloc in the
wizard:

1. select SPICE graphics

2. display a list: “Enable list of items”

3. user select one item in the list, for example “vdagent support”

4. a bloc is added in the wizard:
   * with the title “vdagent support (X)”, the (X) represent a “remove
 this items”
   * with an input field labeled “channel name:” and a default value of
 “com.redhat.spice.0”

5. the “vdagent support” is removed from the selection list to avoid
   adding several times the same item

Then, we could be mad and imagine some kind of “RAW wizard creator”, to
let users define their own RAW templates:

- define a type: “KVM”

- define label: “enable USB ports”

- checkbox “require user input”, if selected, for each input
  * define id: “usb_port_numbers”
  * define label: “number of port”
  * define type: “integer”
  * define default: “3”

- define a RAW template (as Jinja template since I don't know ruby ones):
devices
   {% for port in usb_port_numbers %}
redirdev bus='usb' type='spicevmc'/
   {% endfor %}
/devices  

But I'm getting off-topic of the thread ;-)

Regards.

Footnotes: 
[1]  
http://anonscm.debian.org/gitweb/?p=collab-maint/spice-vdagent.git;a=blob;f=debian/spice-vdagent.init#l28

[2]  http://libvirt.org/formatdomain.html#elementCharChannel

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


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


[one-users] Sunstone errors after upgrade to 4.4.1 on Debian Jessie

2014-02-06 Thread Daniel Dehennin
Hello,

I just upgrade my ONE installation to 4.4.1 from OpenNebula deb
repository[1] and my sunstone does not work anymore.

The CLI is working.

According to my logs, it looks like a problem with ruby Tilt, mine is in
version 2.0.0-1 from debian, here are the sunstone logs:

root@yggdrasil:/etc/one# cat /var/log/one/sunstone.error 
== Sinatra/1.4.3 has taken the stage on 9869 for development with backup from 
Thin
WARN: tilt autoloading 'tilt/erb' in a non thread-safe way; explicit require 
'tilt/erb' suggested.
NoMethodError - undefined method `mappings' for Tilt:Module:
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `find_template'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:829:in `block in 
compile_template'
/usr/lib/ruby/vendor_ruby/tilt.rb:88:in `fetch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:816:in `compile_template'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:797:in `render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `block in render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:657:in `erb'
/usr/lib/one/sunstone/sunstone-server.rb:261:in `block in main'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `block in compile!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `[]'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (3 levels) in 
route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:966:in `route_eval'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (2 levels) in 
route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:987:in `block in 
process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:948:in `block in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `each'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1059:in `block in dispatch!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1056:in `dispatch!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `block in call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:870:in `call'
/usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:212:in `call'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in `context'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in `call'
/usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in `call'
/usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:175:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1949:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `block in call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1726:in `synchronize'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `call'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `block in 
pre_process'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `catch'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:78:in `pre_process'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `call'
/usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `block in 
spawn_threadpool'

Regards.

Footnotes: 
[1]  deb http://downloads.opennebula.org/repo/Debian/7 stable opennebula

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


pgpIFGNW9T133.pgp
Description: PGP signature
___
Users mailing list
Users@lists.opennebula.org

Re: [one-users] error installing sunstone

2014-02-06 Thread Daniel Dehennin
Carlos Martín Sánchez cmar...@opennebula.org writes:

Hello,

[...]

 Well, what do the logs say?

On my personal system, after the upgrade to 4.4.1 on a Debian Jessie, I
have the following:

root@yggdrasil:~# cat /var/log/one/occi-server.error 
Port 4567 busy.

root@yggdrasil:~# netstat -lpn | grep ':4567'
tcp0  0 127.0.0.1:4567  0.0.0.0:*   LISTEN  
17233/ruby  

root@yggdrasil:~# ps -p 17233 www
  PID TTY  STAT   TIME COMMAND
17233 ?Sl 0:00 ruby 
/usr/lib/one/ruby/cloud/econe/econe-server.rb

So, it looks like econe-server and occi-server want to use the same
port.

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


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


Re: [one-users] Sunstone errors after upgrade to 4.4.1 on Debian Jessie

2014-02-06 Thread Ruben S. Montero
Hi Daniel

OpenNebula 4.4.1, has been certified using tilt up to 1.4.4 (wheezy shipd
with 1.3 something, I believe). The upgrade to opennebula which requires
ruby-sinatra, and in turns it requires ruby-tilt, may have upgraded the
tilt gem in your setup...

We should look at it, for the upcoming jessie (
http://dev.opennebula.org/issues/2716). If possible downgrade tilt

Thanks for the heads up

Ruben

-- Forwarded message --
From: Daniel Dehennin daniel.dehen...@baby-gnu.org
Date: Thu, Feb 6, 2014 at 10:11 PM
Subject: [one-users] Sunstone errors after upgrade to 4.4.1 on Debian Jessie
To: users@lists.opennebula.org


Hello,

I just upgrade my ONE installation to 4.4.1 from OpenNebula deb
repository[1] and my sunstone does not work anymore.

The CLI is working.

According to my logs, it looks like a problem with ruby Tilt, mine is in
version 2.0.0-1 from debian, here are the sunstone logs:

root@yggdrasil:/etc/one# cat /var/log/one/sunstone.error
== Sinatra/1.4.3 has taken the stage on 9869 for development with backup
from Thin
WARN: tilt autoloading 'tilt/erb' in a non thread-safe way; explicit
require 'tilt/erb' suggested.
NoMethodError - undefined method `mappings' for Tilt:Module:
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:755:in `find_template'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:829:in `block in
compile_template'
/usr/lib/ruby/vendor_ruby/tilt.rb:88:in `fetch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:816:in `compile_template'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:797:in `render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `block in render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:807:in `render'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:657:in `erb'
/usr/lib/one/sunstone/sunstone-server.rb:261:in `block in main'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1541:in `block in
compile!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `[]'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (3 levels)
in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:966:in `route_eval'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:950:in `block (2 levels)
in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:987:in `block in
process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:985:in `process_route'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:948:in `block in route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `each'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:947:in `route!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1059:in `block in
dispatch!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1056:in `dispatch!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `block in call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `block in invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `catch'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1041:in `invoke'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:882:in `call!'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:870:in `call'
/usr/lib/ruby/vendor_ruby/rack/commonlogger.rb:33:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:212:in `call'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:225:in
`context'
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:220:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/xss_header.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/path_traversal.rb:16:in
`call'
/usr/lib/ruby/vendor_ruby/rack/protection/json_csrf.rb:18:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/base.rb:50:in `call'
/usr/lib/ruby/vendor_ruby/rack/protection/frame_options.rb:31:in
`call'
/usr/lib/ruby/vendor_ruby/rack/nulllogger.rb:9:in `call'
/usr/lib/ruby/vendor_ruby/rack/head.rb:11:in `call'
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb:21:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:175:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1949:in `call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `block in call'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1726:in `synchronize'
/usr/lib/ruby/vendor_ruby/sinatra/base.rb:1449:in `call'
/usr/lib/ruby/vendor_ruby/thin/connection.rb:80:in `block in
pre_process'

Re: [one-users] [SOLVED] Sunstone errors after upgrade to 4.4.1 on Debian Jessie

2014-02-06 Thread Daniel Dehennin
Ruben S. Montero rsmont...@opennebula.org writes:

 Hi Daniel

 OpenNebula 4.4.1, has been certified using tilt up to 1.4.4 (wheezy shipd
 with 1.3 something, I believe). The upgrade to opennebula which requires
 ruby-sinatra, and in turns it requires ruby-tilt, may have upgraded the
 tilt gem in your setup...

 We should look at it, for the upcoming jessie (
 http://dev.opennebula.org/issues/2716). If possible downgrade tilt

Thanks a lot, I solved it be downgrading:

echo 'deb http://ftp.fr.debian.org/debian/ wheezy main'  
/etc/apt/sources.list.d/wheezy.list
apt-get update
apt-get install ruby-tilt=1.3.3-2 ruby-sinatra=1.3.2-2
apt-mark hold ruby-tilt
invoke-rc.d opennebula-sunstone restart

A question is asked about the downgrade.

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


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


Re: [one-users] VM template default boot architecture

2014-02-06 Thread Ruben S. Montero
Hi,

You can select the default arch (as well as other defaults)  in
/etc/one/vmm_exec/. There is a file for each hypervisor, take a look for
the one you are using and update the default parameters as needed

Cheers

Ruben


On Thu, Feb 6, 2014 at 7:28 PM, ML mail mlnos...@yahoo.com wrote:

 Hello,

 In sunstone is it possible to set as default boot architecture x86_64 in
 the VM template? If yes, how? The default is an empty field and it looks
 like that if I do not select x86_64 it goes for i686.

 Regards,
 ML

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




-- 
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid

URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] KVM PV-EOI

2014-02-06 Thread Shankhadeep Shome
Hi

Please consider exposing the para-virtualized end of interrupts flag to the
vm configuration markup

Expose the KVM end of Interrupt feature to improve KVM vm performance

Instead of the standard apic enable apic eoi=on for newer linux
kernels like Fedora 18/RHEL 6.4+/Ubuntu 13.04 and up on KVM

Here is some more info regarding this feature..

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/6.4_Release_Notes/virtualization.html

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