Re: [one-users] CentOS 7 image from marketplace.

2015-03-06 Thread Javier Fontan
I've updated the image in the marketplace. Now NetworkManager is disabled.
I hope it solves the problem.

On Thu, Feb 26, 2015 at 2:08 PM Madko madk...@gmail.com wrote:

 Similar problem here. It works better if you disable NetworkManager. The
 vmcontext rpm used in this image is still using basic network service. You
 are free to adapt it.

 Le Thu Feb 26 2015 at 13:19:09, Leszek Master keks...@gmail.com a
 écrit :

 I've downloaded CentOS 7 image from market place and i noticed that there
 is problem with contextualizing it. After i start a VM with this image it
 doesn't get contextualized by the first boot time. After I manually run
 init scripts everything works, it gave my network interfaces ip address and
 set up my hostname, even restart my VM with cloud-init config. But it's
 annoying that after i create my VM i need to log in to it using vnc and
 then contextualize it manually. Anyone had similiar problems?
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

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

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


Re: [one-users] Setting filesystem type for new disk crashes GlusterFS

2015-02-20 Thread Javier Fontan
I've missed this one, sorry.

Searching for your problem I've found people with the same problems using
glusterfs and XFS. Also XFS is usually the backing storage for gluster, at
least that's what most of the howtos say.

That's good to know that a new version solved the problem.

Cheers

On Mon Jan 26 2015 at 9:39:23 PM Wilma Hermann wilma.herm...@gmail.com
wrote:

 Hi,


  There seems to be a problem with sparse files and glusterfs and/or the
  underlying FS (XFS?).
 No, it's only in combination with mkfs. Creating sparse files without a
 preset filesystem (i.e. raw images) works perfectly.

 By the way: How did you figure out that XFS is used? Is it known to
 produce problems?

 In addition to your suggestions, I experimented with overriding the
 filesystem type setting by setting FSTYPE = raw in
 /var/lib/one/remotes/tm/shared/mkimage. As far as I tested, that worked as
 well. However, we recently upgraded to Ubuntu 14.04 and GlusterFS 3.4.2.
 Now the bug seems to be gone.

 Thanks anyway!

 Greetings

 Wilma


 2015-01-22 10:10 GMT+01:00 Javier Fontan jfon...@opennebula.org:

 There seems to be a problem with sparse files and glusterfs and/or the
 underlying FS (XFS?).

 You can disable that functionality adding an exit 1 command at the
 top of these scripts:

 * /var/lib/one/remotes/datastore/mkfs
 * /var/lib/one/remotes/tm/mkimage

 Another way of solving this is changing the what the image is created
 (so it is not sparse). The problem is that it will take a lot more
 time to create the image. The commad to change is 'dd' from those
 scripts. For example, for 'mkfs':

 exec_and_log $DD if=/dev/zero of=$DST bs=1 count=1 seek=${SIZE}M \
 Could not create image $DST

 to

 exec_and_log $DD if=/dev/zero of=$DST bs=1M count=${SIZE} \
 Could not create image $DST

 Cheers

 On Sat, Jan 17, 2015 at 10:43 AM, Wilma Hermann wilma.herm...@gmail.com
 wrote:
  Hi,
 
  Our OpenNebula setup uses GlusterFS to share /var/lib/one among all
  machines. Yesterday a customer created a new volatile disk for a VM. But
  this image creation crashed the gluster client on the host the VM was
  running on. I assume it has something to do with the fact that the
 customer
  entered 'ext3' as filesystem type.
 
  This isn't the first time this bug occured, we also had it almost one
 year
  ago and there it was also related to the filesystem type of an image. I
  believe that this feature is rarely used by our customers and simply
 wasn't
  used in the meantime. Now we are using OpenNebula 4.8.0 on Ubuntu
 12.04.5
  with glusterfs 3.2.5.
 
  Here's the log of the VM that triggered the crash:
 
  Sat Jan 10 13:24:21 2015 [Z0][VMM][I]: VM successfully rebooted-hard.
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Command execution fail:
  /var/lib/one/remotes/tm/shared/mkimage 51200 ext3
  192.168.128.14:/var/lib/one//datastores/0/346/disk.2 346 0
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: mkimage: Making filesystem of
 51200M
  and type ext3 at 192.168.128.14:/var/lib/one//datastores/0/346/disk.2
  Fri Jan 16 17:31:00 2015 [Z0][VMM][E]: mkimage: Command set -e
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: export PATH=/usr/sbin:/sbin:$PATH
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: dd if=/dev/zero
  of=/var/lib/one/datastores/0/346/disk.2 bs=1 count=1 seek=51200M
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: mkfs -t ext3 -F
  /var/lib/one/datastores/0/346/disk.2 failed: Warning: Permanently added
  '192.168.128.14' (ECDSA) to the list of known hosts.
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: 1+0 records in
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: 1+0 records out
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: 1 byte (1 B) copied, 0.000576409
 s,
  1.7 kB/s
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: mke2fs 1.42 (29-Nov-2011)
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Warning: could not erase sector
 2:
  Attempt to write block to filesystem resulted in short write
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Warning: could not read block 0:
  Attempt to read block from filesystem resulted in short read
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Warning: could not erase sector
 0:
  Attempt to write block to filesystem resulted in short write
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: mkfs.ext3: Attempt to write
 block to
  filesystem resulted in short write while zeroing block 13107184 at end
 of
  filesystem
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]:
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Could not write 5 blocks in inode
  table starting at 1027: Attempt to write block to filesystem resulted in
  short write
  Fri Jan 16 17:31:00 2015 [Z0][VMM][E]: Could not create image
  /var/lib/one/datastores/0/346/disk.2
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: ExitCode: 1
  Fri Jan 16 17:31:00 2015 [Z0][VMM][I]: Failed to execute transfer
 manager
  driver operation: tm_attach.
  Fri Jan 16 17:31:00 2015 [Z0][VMM][E]: Error attaching new VM Disk:
 Could
  not create image /var/lib/one/datastores/0/346/disk.2
 
  After that crash all subsequent operations fail because

Re: [one-users] Getting an HTTP-Error: 500 when executing oneacct -g group

2015-02-19 Thread Javier Fontan
I've found that the the change comes in release 1.36.0. I'll update the
static xmlrpc library that we use to generate packages for the next release
with 1.40.0, that is the latest stable release.

Right now the only distribution packages that use the stock xmlrpc-c
library are CentOS 7. It comes with version 1.32.5 so I suppose I'll have
to link them statically.

Concerning manual compilation. While the new release is not ready you can
compile OpenNebula linking statically with the new library and only
substitute oned binary. That should be in src/Nebula directory after
compiling. You should be able to upgrade normally with this method. These
are the steps we use to compile OpenNebula:


--8--
svn checkout http://svn.code.sf.net/p/xmlrpc-c/code/release_number/01.40.00
cd 01.40.00

export CXXFLAGS=-fPIC
export CFLAGS=-Wno-error=format-security
./configure --prefix=$PWD/install --enable-libxml2-backend
make install

# Delete dynamic libraries
rm -f install/{lib,lib64}/*.so install/{lib,lib64}/*.so.*

# Add xmlrpc-c libraries bin dir to the path
export PATH=$PWD/install/bin:$PATH
export XMLRPC=$PWD/install

cd opennebula source code
scons -j2 mysql=yes xmlrpc=$XMLRPC new_xmlrpc=yes syslog=yes
--8--

Cheers







On Tue, Feb 17, 2015 at 12:06 PM, RubEn DIez LAzaro rd...@cesga.es wrote:

  Compile our own OpenNebula will break the package system maintenance. You
 can forget use yum or any other package management system. You can forget
 about the updating scripts associate to the package for automatically
 migrate and adapt the database schemes to updated versions

 Compile our own OpenNebula in a production infrastructure means return to
 the Dark Ages from a sysadmin point of view... for EVERY site with this
 issue...

 In the easy way, OpenNebula staff should use a fixed version of
 libxmlrpc-c and so distribute a fixed package of OpenNebula.

 Other possibility is that libxmlrpc-c become a dynamically linked library
 instead statically linked one. In this way each site could use a fixed
 version of libxmlrpc-c

 Regards.



 On 17/02/15 11:15, Esteban Freire wrote:

 Hi Carlos,

 Thank you very much for letting us know, we need to think it deeply :)

 Just one question, which are the pros and cons of compiling oned? It is a
 serious thing for us since the infrastructure is on production and I am not
 sure if it will break future updates trough yum/rpm and also, if we could
 break something in current ON installation at CESGA. Personally, I don't
 like this decision but it is my humble opinion and in any case, we need to
 discuss about it.

 Thanks in advance,
 Esteban

 On 02/17/2015 11:05 AM, Carlos Martín Sánchez wrote:

 Hi,

  I forgot to add that if you want to test the new libxmlrpc version
 yourself, it's not that difficult to compile oned with the 'xmlrpc' scons
 option:
 http://docs.opennebula.org/4.10/integration/references/compile.html

  Regards.

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

 On Fri, Feb 13, 2015 at 10:39 AM, RubEn DIez LAzaro rd...@cesga.es
 wrote:

 Hi:

 I Does not know really if some recent version of libxmlrpc-c fix this
 bug... bug the patch seems to be into some branch

 http://sourceforge.net/p/xmlrpc-c/code/2520/

 I don't pretend to confuse you with how we discover this bug, but in
 short it appears when executing some accounting software by Boris Parak for
 the Federate cloud of the EGI project

 I hope the patch i link help to clarify the situation.

 Best regards.



 On 12/02/15 22:53, Alejandro Feijóo wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Hi to all.

 As Esteban say,  we have a planned updated to last stable opennebula
 release the Wednesday 18th, but i think we can wait if the libxmlrpc-c
 is updated in the next days or maybe weeks.

 I think we can wait because the new ON not have critical changes (we
 have pached one-flow yet) and make 2 updates in the same month can be a
 problem for our costumers... (we use oneflow in a lot of critical
 services and is a problem make 2 scheduled stops)


 But if the change is programated to 4.12 we going to update and patch it
 (I think Ruben have a special love story paching software hehe)


 Again, a lot of thanks.


 El 12/02/15 a las 19:32, Esteban Freire escribió:

 Hi Carlos,

 Thank you very much for checking it :)

 About if it should be fixed in 1.33.14, I hope Rubén answer to this
 tomorrow since it is the one looking at this issue.

 When do you think we could test this? Sorry for the question/hurry but
 we are failing accounting due to this issue in FedCloud (EGI). In
 principle, we are going to update to last ON version next Wednesday
 18th.

 Thanks in advance,
 Esteban

 On 02/12/2015 07:23 PM, Carlos Martín Sánchez wrote:

 Hi,

 I'm not directly involved in the packaging, but as far as I can tell,
 OpenNebula 4.8 comes with 

Re: [one-users] wrong gateway detected by vm-context

2015-02-17 Thread Javier Fontan
We should probably take out the code that generates the gateway as it only
gives problems:

https://github.com/OpenNebula/addon-context-linux/blob/master/base_rpm/etc/one-context.d/00-network#L68-L73

Concerning the GATEWAY_INTERFACE, this variable contains a number or the
ETHnum that appears in the context file. In fact it is not the name of
the interface as with the new naming scheme it can be called with a
different name, for example en3p8.

http://en.wikipedia.org/wiki/Consistent_Network_Device_Naming

Cheers

On Fri Feb 13 2015 at 1:49:42 PM Madko madk...@gmail.com wrote:

 I have found the solution. GATEWAY_IFACE must be set, but in upper case. I
 don't know why. Any idea? If I put GATEWAY_IFACE=eth1 (eth1 is the real
 name) it doesn't work, but GATEWAY_IFACE=ETH1 works...

 Le Fri Feb 13 2015 at 10:03:33, Madko madk...@gmail.com a écrit :

 Hi,

 It seems vmcontext scripts try to guess the gateway IP as soon as any
 interface has a gateway set.

 Here is my case:
 one vm with eth0 to internal admin network, and eth1 to wan. Only eth1
 has a gateway set.
 When init script vmcontext start, it found out that there is a gateway
 (but on eth1), and so is_gateway function on eth0 seems to returns true.
 After that the gateway is guessed with NETWORK_ADDRESS.1 but I don't know
 why?

 here is my context:
 ETH0_IP='192.168.199.109'
 ETH0_MAC='02:00:c0:a8:c7:6d'
 ETH1_DNS='10.156.255.245'
 ETH1_GATEWAY='10.156.0.1'
 ETH1_IP='10.156.24.93'
 ETH1_MAC='02:00:0a:9c:18:5d'
 ETH1_MASK='255.255.224.0'
 ETH1_NETWORK='10.156.0.0'

 Here is the ifcfg-eth0 written by vmcontext init script:
 DEVICE=eth0
 BOOTPROTO=none
 ONBOOT=yes
 TYPE=Ethernet
 NETMASK=255.255.255.0
 IPADDR=192.168.199.109
 GATEWAY=192.168.199.1

 ifcfg-eth1 is good and has its gateway correctly set.

 Here is my vnet template where no gateway is set (same problem if I
 remove the empty GATEWAY key):
 VIRTUAL NETWORK TEMPLATE

 BRIDGE=br0
 DESCRIPTION=réseau admin vm
 GATEWAY=
 PHYDEV=
 ROLE=admin
 VLAN=YES
 VLAN_ID=199

 is it a bug?

 Attached here is the vmcontext network script log

 best regards,

 Edouard

 ___
 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] This list is being replaced by a new community forum

2015-02-16 Thread Javier Fontan
I also don't generally like forums but we think we've found one that can be
used mostly like a mailing list. You can subscribe to a category and you'll
get all the new posts opened there. It is supported also to reply using
email so you don't need to open the web interface for that. Creating new
threads by email is still not enabled as we want to figure out the best way
to do it.

We decided to make the change as the current mailing list service does not
work from time to time and the archives (when working) is almost unusable
to search for old answers. The good thing about the forum interface is that
the answers can be easily searched and even moved to a FAQ or Howto section.

Cheers

On Mon Feb 16 2015 at 1:49:30 PM roe...@roedie.nl wrote:

 On 2015-02-16 12:59, Carlos Martín Sánchez wrote:
  Good news everyone!
 
  Starting today, the brand new community forum is open!
 
  After an ongoing problem with the current mailing lists hosting, we
  decided to replace them with a Discourse forum. The new forum will
  help us to have more dynamic conversations, and provide a much better
  place for newcomers to find answers in previous threads.
 
  This forum is for anything OpenNebula related -community support,
  events, announcements, development-. Go ahead and sign up now! It will
  only take a few seconds, and it’s going to be worth it.
 
  https://forum.opennebula.org/ [1]
 
  The current mailing lists will be taken down in 2 weeks, but the
  archives will be still accessible. But there’s no need to feel
  nostalgic about the emails, the new platform can be also used replying
  from your inbox.

 Aw, really? I just hate forums. I might be old fashioned but I think
 forums are really counter productive.

 Not that you need to chance it, I just wanted to throw in my $0.02.

 Greets,

 Sander
 ___
 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] Talk at FOSDEM

2015-01-27 Thread Javier Fontan
We'll meet there then! Cheers

On Tue, Jan 27, 2015, 9:56 PM Giovanni Toraldo m...@gionn.net wrote:

 Hi Javier,

 On Tue, Jan 27, 2015 at 1:03 PM, Javier Fontan jfon...@opennebula.org
 wrote:
  This Saturday I'll be at FOSDEM in Brussels talking about OpenNebula. If
 you
  happen to be there come and say hi!

 I will find you! :P

 Cheers,
 --
 Giovanni Toraldo
 http://gionn.net

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


[one-users] Talk at FOSDEM

2015-01-27 Thread Javier Fontan
Hi,

This Saturday I'll be at FOSDEM in Brussels talking about OpenNebula. If
you happen to be there come and say hi!

https://fosdem.org/2015/schedule/track/infrastructure_as_a_service/

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


Re: [one-users] Problems with the mailing list

2015-01-22 Thread Javier Fontan
Hello,

The mailing list seems to be working better now. The archives will
take a bit more to become available, meanwhile you can use one of
these other archives:

* http://www.mail-archive.com/users@lists.opennebula.org/
* http://dir.gmane.org/gmane.comp.distributed.opennebula.user

Cheers

On Tue, Jan 20, 2015 at 10:31 AM, Javier Fontan jfon...@opennebula.org wrote:
 Hello,

 We are experiencing technical problems with the mailing list. Mails
 are delayed and the list pages (subscription and archive) are really
 slow and sometimes don't even work.

 The hosting company told us that it should be fixed this week. They
 are changing hardware.

 Sorry for the inconvenience.

 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Problems with the mailing list

2015-01-20 Thread Javier Fontan
Hello,

We are experiencing technical problems with the mailing list. Mails
are delayed and the list pages (subscription and archive) are really
slow and sometimes don't even work.

The hosting company told us that it should be fixed this week. They
are changing hardware.

Sorry for the inconvenience.

-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] New Maintenance Release 4.10.2

2015-01-16 Thread Javier Fontan
Hi,

A new maintenance release [1] for OpenNebula 4.10 is available. There are
several fixes and improvements since 4.10.1 and and upgrade is recommended.
Some of the changes are as follows:

* Fix vulnerability in the xmlrpc server. All the packages except CentOS 7
are vulnerable and can lead to DOS attacks. You should upgrade as soon as
possible if you have public facing xmlrpc interface. Thanks to Dennis
Felsch and Christian Mainka for discovering it.
* vCenter: Import networks [2].
* vCenter: Attach/Detach NICs [3].
* vCenter: vCenter cloud view [4].
* vCenter: Contextualization support [5]. Make sure that you download the
new context packages [6].
* vCenter: Reacquire VM Templates from existing vCenter host [7].
* vCenter Import VM Templates with logo and description [8].
* Sunstone: Show/Hide accounting tables [9].
* Sunstone: Easily add SSH keys to a user [10].
* Sunstone: Default quotas are shown for a user when there are no used
resources [11].

For a more exhaustive list you can check the issue tracker [12].

You can download the packages from the following URL or use the package
repositories to update your OpenNebula installation:

http://opennebula.org/software/

Make sure you backup your configuration and happy upgrading!


[1] http://docs.opennebula.org/4.10/release_notes/release_notes/index.html
[2] http://dev.opennebula.org/issues/3306
[3] http://dev.opennebula.org/issues/3307
[4] http://dev.opennebula.org/issues/3412
[5] http://dev.opennebula.org/issues/3366
[6] https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.10.0
https://github.com/OpenNebula/addon-context-windows
[7] http://dev.opennebula.org/issues/3330
[8] http://dev.opennebula.org/issues/3356
[9] http://dev.opennebula.org/issues/3422
[10] http://dev.opennebula.org/issues/2761
[11] http://dev.opennebula.org/issues/2501
[12] http://dev.opennebula.org/projects/opennebula/issues?query_id=62
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Bulk delete of vCenter VM's leaves stray VM's

2015-01-08 Thread Javier Fontan
The deletion code worked like this:

* Get the list of VMs
* Search the list of a VM with an specific UUID

When several VMs are being deleted it could happen that one VM marked for
deletion is in the list of all VMs but by the time it checks its UUID it is
already deleted. There is another patch for that problem [1] that you can
apply to fix it.

Still, we have made some other changes to deal with VMs and templates in
folders so I think it is better to use the version 4.10.1 that comes with
all these fixes.

Cheers

[1]
http://dev.opennebula.org/projects/opennebula/repository/revisions/e2886255464e666c6a62d91cc1d016da6ab1a643/diff/

On Mon Jan 05 2015 at 12:56:49 PM Sebastiaan Smit b...@echelon.nl wrote:

  Hi Javier,



 The bug concerning the bulk creation of VM’s works as expected now. Do you
 have an idea of what the problem is while bulk deleting vm’s?



 Best regards,



 Sebastiaan Smit



 *Van:* Javier Fontan [mailto:jfon...@opennebula.org]
 *Verzonden:* vrijdag 14 november 2014 15:44
 *Aan:* Sebastiaan Smit; users@lists.opennebula.org
 *Onderwerp:* Re: [one-users] Bulk delete of vCenter VM's leaves stray VM's



 There was a bug in the driver that caused error when deploying several VMs
 at the same time. To fix it change the file
 /var/lib/one/remotes/vmm/vcenter/vcenter_driver.rb at line 120 from this
 code:



 def find_vm_template(uuid)

 vms = @dc.vmFolder.childEntity.grep(RbVmomi::VIM::VirtualMachine)



 return vms.find{ |v| v.config.uuid == uuid }

 end



 to this other one:



 def find_vm_template(uuid)

 vms = @dc.vmFolder.childEntity.grep(RbVmomi::VIM::VirtualMachine)



 return vms.find{ |v| v.config  v.config.uuid == uuid }

 end



 We are still looking into the problem when deleting several VMs.



 Thanks for telling us.



 On Thu Nov 13 2014 at 12:59:55 PM Javier Fontan jfon...@opennebula.org
 wrote:

 Hi,



 We have opened an issue to track this problem:



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



 Meanwhile you can decrease the number of actions sent changing in
 /etc/one/oned.conf the parameter -t (number of threads) for VM driver. For
 example:



 VM_MAD = [

 name   = vcenter,

 executable = one_vmm_sh,

 arguments  = -p -t 2 -r 0 vcenter -s sh,

 type   = xml ]



 Cheers



 On Wed Nov 12 2014 at 5:40:00 PM Sebastiaan Smit b...@echelon.nl wrote:

 Hi list,

 We're testing the vCenter functionality in version 4.10 and see some
 strange behaviour while doing bulk actions.

 Deleting VM's sometimes leave stray VM's on our cluster. We see the
 following in de VM log:

 Sun Nov  9 15:51:34 2014 [Z0][LCM][I]: New VM state is RUNNING
 Wed Nov 12 17:30:36 2014 [Z0][LCM][I]: New VM state is CLEANUP.
 Wed Nov 12 17:30:36 2014 [Z0][VMM][I]: Driver command for 60 cancelled
 Wed Nov 12 17:30:36 2014 [Z0][DiM][I]: New VM state is DONE
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Command execution
 fail: /var/lib/one/remotes/vmm/vcenter/cancel
 '423cdcae-b6b3-07c1-def6-96b9f3f4b7b3' 'demo-01' 60 demo-01
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Cancel of VM
 423cdcae-b6b3-07c1-def6-96b9f3f4b7b3 on host demo-01 failed due to
 ManagedObjectNotFound: The object has already been deleted or has not been
 completely created
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 ExitCode: 255
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Failed to execute
 virtualization driver operation: cancel.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Successfully
 execute network driver operation: clean.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: CLEANUP SUCCESS 60

 We see it in a different manner while bulk creating VM's (20+ at a time):

 Sun Nov  9 16:01:34 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is BOOT
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/81/deployment.0
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Successfully execute network driver
 operation: pre.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vcenter/deploy '/var/lib/one/vms/81/deployment.0'
 'demo-01' 81 demo-01
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Deploy of VM 81 on host demo-01
 with /var/lib/one/vms/81/deployment.0 failed due to undefined method
 `uuid' for nil:NilClass
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: ExitCode: 255
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: deploy.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][E]: Error deploying virtual machine
 Sun Nov  9 16:01:36 2014 [Z0][DiM][I]: New VM state is FAILED
 Wed Nov 12 17:30:19 2014 [Z0][DiM][I]: New VM state is DONE.
 Wed Nov 12 17:30:19 2014 [Z0][LCM][E]: epilog_success_action, VM in a
 wrong state


 I think these have two different root causes. The cluster is not under
 load.


 Has anyone

Re: [one-users] error: internal error: protocol 'gluster' accepts only one host

2015-01-08 Thread Javier Fontan
Most probably you have more than one host defined in the parameter
GLUSTER_HOST from the gluster datastore.

http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html#configuring-glusterfs-datastore

Cheers

On Wed Dec 31 2014 at 10:44:59 AM hansz hanshizhun...@126.com wrote:

 hi man
 today i meet a new question
 i use centos7 glusterfs 3.5 opennebula 4.10
 Wed Dec 31 17:31:26 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Wed Dec 31 17:31:26 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Wed Dec 31 17:31:27 2014 [Z0][LCM][I]: New VM state is BOOT
 Wed Dec 31 17:31:27 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/37/deployment.0
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: ExitCode: 0
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: Command execution fail: cat  EOT
 | /var/lib/one/remotes/vmm/kvm/deploy
 '/var/lib/one//datastores/101/37/deployment.0' '10.24.101.29' 37
 10.24.101.29
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/101/37/deployment.0
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: error: internal error: protocol
 'gluster' accepts only one host
 Wed Dec 31 17:31:28 2014 [Z0][VMM][E]: Could not create domain from
 /var/lib/one//datastores/101/37/deployment.0
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: ExitCode: 255
 Wed Dec 31 17:31:28 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: deploy.
 Wed Dec 31 17:31:28 2014 [Z0][VMM][E]: Error deploying virtual machine:
 Could not create domain from /var/lib/one//datastores/101/37/deployment.0
 Wed Dec 31 17:31:28 2014 [Z0][DiM][I]: New VM state is FAILED

 where is wrong? pls give me some help!



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


Re: [one-users] error: internal error unknown protocol type 'gluster'

2014-12-30 Thread Javier Fontan
We have tested the drivers with CentOS 6.5 so the packages should be
at least the version that comes with it. From the repos I see:

libvirt-0.10.2-29.el6.x86_64.rpm
qemu-kvm-0.12.1.2-2.415.el6.x86_64.rpm

Cheers

On Mon, Dec 22, 2014 at 2:38 AM, hansz hanshizhun...@126.com wrote:
 Hi, man
 i use centso6.5 and  CentOS-6-opennebula-4.10.1-1.tar.

 you have telled me ,Recent versions of CentOS6 (we are using 6.5) have an
 up to date
 libvirt/kvm package that supports Gluster . which version libvirt/kvm rpm
 bags have support Gluster ?

 libvirt-0.10.2-46.el6_6.2.x86_64.rpm is ok?




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-12-30 Thread Javier Fontan
From the information in the linked email it seems you are using
different gluster fs volumes for images and system datastore:

192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)

With glusterfs drivers the volume must be the same, that's why it is
not finding the disk. If you don't have any VMs running you can
probably fix it with:

# umount /var/lib/one/datastores/102
# rmdir /var/lib/one/datastores/102
# ln -s /var/lib/one/datastores/103 /var/lib/one/datastores/102

Cheers

On Wed, Dec 24, 2014 at 9:28 AM, hansz hanshizhun...@126.com wrote:
 hi man,
 i use centos7 and opennebula4.10  glusterfs3.5
 i also meet the
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-July/045482.html
 question.

 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed
 to create domain from /var/lib/one//datastores/102/10/deployment.0
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error:
 internal error process exited while connecting to monitor: qemu-kvm: -drive
 file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image gluster+tcp://192.168.0.199:24007/fc-
 img/10/disk.0: No such file or directory
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11
 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All
 subvolumes are down.
 Going offline until atleast one of them comes back up.


 how can i solve it? pls




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Users Digest, Vol 82, Issue 19

2014-12-30 Thread Javier Fontan
That share will be used to store all the files related to the running
Virtual Machines. This is disk images, checkpoint files for save/stop
and context image.

Disk image depends a lot on what do you use. Checkpoint files are the
size of the ram the VM uses and some hundred of megabytes more.
Context image is usually less than a megabyte if you don't add files
to it using the context mechanism.

Cheers

On Tue, Dec 16, 2014 at 1:49 PM, Michael A Cooper nexusgu...@gmail.com wrote:
 Hello Daniel,

  Thank you for explanation, May I ask what the share is needed for?
 I am just wondering so I know what size to make the share?

 Thanks,
 Michael

 Michael A Cooper
 Linux/Windows Web Administrator

 On Sun, Dec 14, 2014 at 3:51 PM, users-requ...@lists.opennebula.org wrote:

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

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

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

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


 Today's Topics:

1. Initial installation (Michael A Cooper)
2. Re: Initial installation (Daniel Dehennin)
3. Service without random IPs for servers. (M.S?rdienis)


 --

 Message: 1
 Date: Sun, 14 Dec 2014 08:38:08 -0500
 From: Michael A Cooper nexusgu...@gmail.com
 To: users@lists.opennebula.org
 Subject: [one-users] Initial installation
 Message-ID:

 cap6_76pmb-jhwyneqp9wo3eqn62fpzbn1v-j2-zyec5ah46...@mail.gmail.com
 Content-Type: text/plain; charset=utf-8

 Hello Everyone,

   I found this link OpenNebula Ubuntu 14.04 Quickstart

 http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
 to install open nebula on Ubuntu 14.04, This includes the frontend and how
 to add nodes. My question is according to this article, I can install
 OpenNebula frontend right on the Ubuntu Server with the KVM install, is
 this correct?

 Also is it possible to have just the frontend installed by itself (non-kvm
 server), then add nodes to it, I would prefer to it that way. If it is
 possible is there a step by step document for me to use to help me through
 the process?

 Does any know who wrote this article?

 Michael A Cooper
 Linux/Windows Web Administrator
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20141214/90577828/attachment.html

 --

 Message: 2
 Date: Sun, 14 Dec 2014 16:23:56 +0100
 From: Daniel Dehennin daniel.dehen...@baby-gnu.org
 To: users@lists.opennebula.org
 Subject: Re: [one-users] Initial installation
 Message-ID: 87bnn6uuer@hati.baby-gnu.org
 Content-Type: text/plain; charset=utf-8

 Michael A Cooper nexusgu...@gmail.com writes:

  Hello Everyone,

 Hello,

I found this link OpenNebula Ubuntu 14.04 Quickstart
 
  http://docs.opennebula.org/4.6/design_and_installation/quick_starts/qs_ubuntu_kvm.html
  to install open nebula on Ubuntu 14.04,

 Note that the current stable OpenNebula[1] is 4.10.

  This includes the frontend and how to add nodes. My question is
  according to this article, I can install OpenNebula frontend right on
  the Ubuntu Server with the KVM install, is this correct?
 
  Also is it possible to have just the frontend installed by itself
  (non-kvm
  server), then add nodes to it, I would prefer to it that way. If it is
  possible is there a step by step document for me to use to help me
  through
  the process?

 This article describes a multi-server setup:

 - the frontend which runs the management daemons, the opennebula web
   interface (sunstone) and a NFS server

 - the nodes which run libvirtd and use the NFS exported by the frontend

 In the NFS configuration[2], you have a warning about setting up what I
 call a ??single node??, i.e. everything on a single physical standalone
 machine.

 Some steps are already managed by the opennebula debian packages, like
 the Qemu configuration.

 The minimal requirement for a separated frontend is the ability for the
 user oneadmin on the frontend to connect over SSH on each nodes without
 passwords.

 If you want live migration, you must use shared storage[3][4].

 More informations are available in ?planning the installation?[5].

 Regards.

 Footnotes:
 [1]  http://docs.opennebula.org/stable/

 [2]
 http://docs.opennebula.org/stable/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-nfs

 [3]  http://docs.opennebula.org/stable/administration/storage/index.html

 [4]  personally I never share /var/lib/one as described in the quick
  start but /var/lib/one/datastores.

 

[one-users] Nodejs library joins OpenNebula addons

2014-12-30 Thread Javier Fontan
Hello,

I would like to give a warm welcome to the nodejs library made by Pedro
Dias to talk to OpenNebula XML-RPC.

This library already existed for some versions but it is now located at the
OpenNebula github community. We hope it is useful for your developments and
any contributions. You can find it at:

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

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


Re: [one-users] OpenNebula and FreeIPA authentication

2014-12-19 Thread Javier Fontan
The problem seems to be generated by a connection problem from the driver
to OpenNebula itself.

Can you change the file /var/lib/one/ruby/opennebula/ldap_auth.rb and
around line 89 change the code:

client = OpenNebula::Client.new
group_pool = OpenNebula::GroupPool.new(client)
group_pool.info

by

client = OpenNebula::Client.new
group_pool = OpenNebula::GroupPool.new(client)
STDERR.puts group_pool.info.inspect

After that enable mapping_generate and send me the output of the error. You
can leave that code changed as it only adds more information to errors.

Thanks

On Thu Dec 11 2014 at 5:41:26 PM Peter Harris doilooksensi...@gmail.com
wrote:

 Thanks Javier

 Output from onegroup list -x
 --
 GROUP_POOL
   GROUP
 ID0/ID
 NAMEoneadmin/NAME
 TEMPLATE/
 USERS
   ID0/ID
   ID1/ID
 /USERS
   /GROUP
   QUOTAS
 ID0/ID
 DATASTORE_QUOTA/
 NETWORK_QUOTA/
 VM_QUOTA/
 IMAGE_QUOTA/
   /QUOTAS
   GROUP
 ID1/ID
 NAMEusers/NAME
 TEMPLATE/
 USERS
   ID2/ID
 /USERS
 RESOURCE_PROVIDER
   ZONE_ID0/ZONE_ID
   CLUSTER_ID10/CLUSTER_ID
 /RESOURCE_PROVIDER
   /GROUP
   QUOTAS
 ID1/ID
 DATASTORE_QUOTA/
 NETWORK_QUOTA/
 VM_QUOTA/
 IMAGE_QUOTA/
   /QUOTAS
   DEFAULT_GROUP_QUOTAS
 DATASTORE_QUOTA/
 NETWORK_QUOTA/
 VM_QUOTA/
 IMAGE_QUOTA/
   /DEFAULT_GROUP_QUOTAS
 /GROUP_POOL
 --

 my /etc/one/auth/ldap_auth.conf
 --


 # Ldap authentication method
 :auth_method: :simple

 # Ldap server
 :host: ipa1.lab.mycompany.com

 :port: 389

 # Uncomment this line for tsl conections
 #:encryption: :simple_tls

 # base hierarchy where to search for users and groups
 :base: 'cn=users,cn=accounts,dc=lab,dc=mycompany,dc=com'


 # group the users need to belong to. If not set any user will do
 #:group: 'cn=cloud,ou=groups,dc=domain'


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

 # for Active Directory use this user_field instead
 #:user_field: 'sAMAccountName'

 # field name for group membership, by default it is 'member'
 #:group_field: 'member'

 # user field that that is in in the group group_field, if not set 'dn'
 will be used
 #:user_group_field: 'dn'

 # Generate mapping file from group template info
 #:mapping_generate: true
 :mapping_generate: false

 # Seconds a mapping file remain untouched until the next regeneration
 :mapping_timeout: 300

 # Name of the mapping file in OpenNebula var diretory
 :mapping_filename: server1.yaml

 # Key from the OpenNebula template to map to an AD group
 :mapping_key: GROUP_DN

 # Default group ID used for users in an AD group not mapped
 :mapping_default: 1
 --

 I can confirm that setting mapping_generate to false allows my user to get
 in, many thanks for that.

 I currently have vm groups configured in IPA, but happy enough to manage
 these groups in OpenNebula if the group mapping for FreeIPA is problematic.

 Thanks again

 Peter

 On 11 December 2014 at 09:12, Javier Fontan jfon...@opennebula.org
 wrote:

 There seems to be a problem getting the groups from OpenNebula. Can you
 send us the output of:

 onegroup list -x

 To fix the problem you can disable mapping generation adding this line to
 the server configuration:

 :mapping_generate: false

 Cheers

 On Mon Dec 08 2014 at 3:55:46 PM Mr Sensible doilooksensi...@gmail.com
 wrote:

 I am struggling a little bit with hooking my test OpenNebula in to my
 existing FreeIPA authentication domain.

 I am currently running OpenNebula 4.10.1 running on Centos 6.5, and I am
 trying to connect it to my existing FreeIPA 3.0.0 server.

 I currently have three services authenticating via ldap to the IPA
 server, so I think that bit is right.

 When I install opennebula for the first time, get everything setup, add
 the ldap authentication config, everything looks OK. I create a user in
 Sunstone, set the auth method to LDAP, and then successfully sign in to
 Sunstone. Happy face.
 I change the user to oneadmin group in Sunstone.

 The following day, I am no longer able to log in as that user, and no
 amount of deleting user and re-adding user seems to make any difference.
 I have also tried NOT creating the user via sunstone, and just logging
 in, same errors.

 Does anybody have any idea what I might be doing wrong, or even where I
 can look to figure what is not working? Config and log files below. Many
 thanks in advance.

 --
 oned.conf
 ---
 AUTH_MAD = [
  executable = one_auth_mad,
  authn = ssh

Re: [one-users] Network contextualization VM

2014-12-19 Thread Javier Fontan
Is one of the packages linked in the following page installed in your guest
system?

http://docs.opennebula.org/4.10/user/virtual_machine_setup/bcont.html

On Wed Dec 03 2014 at 2:56:16 PM Manuel Alfonso López Rourich 
alfonso.lo...@cenits.es wrote:

 Good morning Jose Ángel,

 Thank you very much for your response.

 udev rules within the vm in /etc/udev/rules create eth0 or 1 depending on
 the MAC.

 In /dev/sr0 a file named context.sh contains the IP and the gw among other
 data but I don't understand why eth0 doesn't have the IP associated or the
 route table is empty.

 I've tried to run a command on vm boot which executes ifconfig eth0 IP
 and route add default gw dir. The problem is that on boot the directory
 containing context.sh is not mounted and I cannot access the
 contextualization data.

 I've also tried to execute a script in /etc/one-context.d/ but it doesn't
 seem to execute.

 Thank you very much,

 Best regards



 2014-12-02 15:18 GMT+01:00 Jose Angel Diaz joseangel.d...@cenatic.es:

 Hi Manuel

 Have you test that the udev is not conflicting with your context
 interfaces?

 After install the context packages it's necesary to clean the resol.conf,
 delete some ifcfg-ethxx scripts on the system to make the context correctly
 change the info in the machine.

 Some time the /etc/udev/rules.d/70-persistent-net.rules

 To add some scripts to execute on the context stage you could add some
 scripts in the /etc/one-context.d dir with a correct secuential number and
 it could be launched inside the VM when is starting.

 Hope it helps..





 Enviado con MailTrack
 https://mailtrack.io/install?source=signaturelang=esreferral=joseangel.d...@cenatic.esidSignature=23

 2014-12-02 15:01 GMT+01:00 Manuel Alfonso López Rourich 
 alfonso.lo...@cenits.es:

 Good morning,

 I'd like to ask you a question about network contextualization of VMs.

 I had created a template with CentOS (in Contextualization tag Add
 network contextualization and Add SSH contextualization is enabled.

 After deploying a VM, I can see that there is a context.sh file with the
 content of some network parameters (ETH0_GATEWAY, etc.) but network is not
 configured correctly after the deployment of a vm (to fix it I have to
 execute (1) *ifconfig eth0 some_ip* and (2) *route add default gw*)

 How could I modify some script so that after booting a vm those commands
 are executed automatically?

 Thank you very much

 Best regards



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




 --
 Jose Angel Diaz Diaz

 Coordinador Tecnologico
 CENATIC

 
 -
 Correo Corporativo Fundación Cenatic

 Este email ha sido enviado desde una plataforma perteneciente a la
 Fundación Cenatic

 Cualquier duda o modificacion contactar con Fundación Cenatic
 +34 924 67 73 16
 i...@cenatic.es


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

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


Re: [one-users] opennebula and gentoo

2014-12-19 Thread Javier Fontan
Thanks for the ebuild!

I've added the link to it in the OpenNebula documentation. It should be up
after we regenerate the pages.

Cheers

On Thu Dec 18 2014 at 9:39:00 AM Thomas Stein himbe...@meine-oma.de wrote:

 Hello.

 FYI. I uploaded my ebuilds for gentoo to github. Feel free to do
 whatever you like with them. They work pretty well on my machines.

 https://github.com/himbeere/opennebula

 best regards
 t.
 ___
 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] vOneCloud Issue

2014-12-12 Thread Javier Fontan
Yes, the templates should appear in the OpenNebula web interface. Just to
clarify:

* You executed all commands as oneadmin user
* Ran onevcenter hosts to import the datacenter, this created a new host
(using CLI you can execute onehost list to show hosts)
* Ran onevcenter templates and after answering y when asked to process
datacenter MyQADC it exited to the prompt

onevcenter templates command should ask to import each template, here is
an example:

Do you want to process datacenter Testing [y/n]? y

  * VM Template found:
  - Name   : vOneCloud-1.0-template
  - UUID   : 4218450e-becc-b2f5-c1b5-ba0bd47030fa
  - Cluster: Testing
Import this VM template [y/n]? y
OpenNebula template 7 created!

Did you have any of those prompts? Are there any templates in that
datacenter? In case you didn't get the prompts an there are templates in
the datacenter you can try executing the command as this to get more
information in case there is an error importing them:

ruby -wd /usr/bin/onevcenter templates --vcenter your vcenter --vuser
your user --vpass your password

It would also be nice if you send us the files /var/log/one/sunstone.* to
check for any problems.

As a side note I was able to use special characters in the cli when put
inside single quotes, for example: 'password@#$%/()'



On Fri Dec 12 2014 at 3:58:14 PM Savage, Adam adam.sav...@monster.com
wrote:

 I think I may have found the issue.. When I ran the ruby command from the
 console it complained about my password for my VC account it didn’t like
 the special charectars !@#$ in the password. I created a local account on
 the vcenter server with no special charectars and it started rolling
 through all my vCenter VMs - took about 10 minutes (theres 2500 VMs in that
 vcenter) at the end it prompted me with Do you want to process Datacenter
 MyQADC [y/n]? I said yes and then it went to the prompt.. I assume it
 worked? Lol..

 Should the templates just appear in the portal or is there something else
 that needs to be done to import them in? I'm very much a newb to
 OpenNebula..

 Adam Savage | Principal VMware Systems Engineer

 -Original Message-
 From: Tino Vazquez [mailto:cvazquez@opennebula.systems]
 Sent: Friday, December 12, 2014 9:54 AM
 To: Savage, Adam
 Cc: Jaime Melis; OpenNebula Users
 Subject: Re: [one-users] vOneCloud Issue

 Hi Adam,

 We just tried your setup (3 level deep in folder templates with
 underscores) but couldn't reproduce the error. We'll wait for the
 requested output.

 Thanks a lot for your feedback,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 VP of Engineering | Head of Research at OpenNebula Systems
 cvazquez@OpenNebula.Systems | @OpenNebula

 --
 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 OpenNebula.Systems 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 abuse@opennebula.systems and delete the e-mail
 and attachments and any copy from your system. OpenNebula's thanks you for
 your cooperation.
 NOTICE:

 This message, and any attachments, contain(s) information that may be
 confidential or protected by privilege from disclosure and is intended only
 for the individual or entity named above. No one else may disclose, copy,
 distribute or use the contents of this message for any purpose. Its
 unauthorized use, dissemination or duplication is strictly prohibited and
 may be unlawful. If you receive this message in error or you otherwise are
 not an authorized recipient, please immediately delete the message and any
 attachments and notify the sender.
 ___
 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] The joy of Gluster

2014-12-11 Thread Javier Fontan
Both system an images storage should be the same when using gluster driver.
Usually you can do this mounting the gluster storage somewhere in your
system, for example /glusterfs and then symlinking the datastore
directories, for example:

ln -s /glusterfs /var/lib/one/datastores/0
ln -s /glusterfs /var/lib/one/datastores/100

If you already have it mounted in the system datastore directory you can
also symlink from there:

ln -s /var/lib/one/datastores/0 /var/lib/one/datastores/100

Cheers

On Thu Dec 04 2014 at 1:21:12 PM Peter Harris doilooksensi...@gmail.com
wrote:

 Hi

 I have just installed a test OpenNebula system to figure out how it all
 hangs together, and see if I can use it for our
 development/support/projects departments.

 I currently have:
 - on-ctrl
 4Gb RAM
 146Gb HD
 Centos 6.5
 OpenNebula 4.10.1, installed as per
 http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html
 Gluster 3.5.2, with on-node1 gluster volume mounted on
 /var/lib/one/datastores/0 (with datasores/1 linked to datastores/1)

 -on-node1
 16Gb RAM
 500Gb HD
 3TB HD, shared via gluster volume gv-storage, replicated on on-node2
 Centos 6.5
 OpenNebula 4.10.1, installed as per
 http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html
 Gluster 3.5.2 configured as per
 http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html,
 with on-node1 gluster volume mounted on /var/lib/one/datastores/0 (with
 datasores/1 linked to datastores/1)

 -on-node2
 16Gb RAM
 500Gb HD
 3TB HD, shared via gluster volume gv-storage, replicated on on-node1
 Centos 6.5
 OpenNebula 4.10.1, installed as per
 http://docs.opennebula.org/4.10/design_and_installation/building_your_cloud/ignc.html
 Gluster 3.5.2 configured as per
 http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html,
 with on-node2 gluster volume mounted on /var/lib/one/datastores/0 (with
 datasores/1 linked to datastores/1)

 Hopefully this is not a massively stupid configuration. I appreciated my
 shared filesystems should be on some form of SAN/NAS, but everything I have
 is begged, stolen or borrowed, and I have been given a smaller budget than
 normal (usually 0).

 My question is, if I follow
 http://docs.opennebula.org/4.10/administration/storage/gluster_ds.html,
 at the stage Configuring GlusterFS Datastore, I create the ds.conf, set
 the correct GLUSTER_HOST (using the same port listed on the web page) and
 GLUSTER_VOLUME name.

 When I run onedatastore create and then onedatastore list, the new
 datastore, ID 100, shows as the same size as the datastore directory on the
 ctrl server
  onedatastore list
   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
0 system3T 95%   - 0 sys  -
 shared
1 default   3T 95%   - 0 img  fs
 shared
2 files79G 95%   - 0 fil  fs   ssh
  100 glusterds79G 95%   - 0 img  fs
 shared

 I am confused, I was expecting glusterds to be the same as the 0 System /1
 default datastores. Do I actually need glusterds, or can I just go ahead
 and create my images on 1 default and have them used by the hosts (which
 have the gluster volume mounted on /var/lib/one/datastores/0 ).

 I have searched through the mail archive, and tried to follow what has
 been said there, but I still have a confused.

 Thanks in advance




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

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


Re: [one-users] OpenNebula and FreeIPA authentication

2014-12-11 Thread Javier Fontan
There seems to be a problem getting the groups from OpenNebula. Can you
send us the output of:

onegroup list -x

To fix the problem you can disable mapping generation adding this line to
the server configuration:

:mapping_generate: false

Cheers

On Mon Dec 08 2014 at 3:55:46 PM Mr Sensible doilooksensi...@gmail.com
wrote:

 I am struggling a little bit with hooking my test OpenNebula in to my
 existing FreeIPA authentication domain.

 I am currently running OpenNebula 4.10.1 running on Centos 6.5, and I am
 trying to connect it to my existing FreeIPA 3.0.0 server.

 I currently have three services authenticating via ldap to the IPA
 server, so I think that bit is right.

 When I install opennebula for the first time, get everything setup, add
 the ldap authentication config, everything looks OK. I create a user in
 Sunstone, set the auth method to LDAP, and then successfully sign in to
 Sunstone. Happy face.
 I change the user to oneadmin group in Sunstone.

 The following day, I am no longer able to log in as that user, and no
 amount of deleting user and re-adding user seems to make any difference.
 I have also tried NOT creating the user via sunstone, and just logging
 in, same errors.

 Does anybody have any idea what I might be doing wrong, or even where I
 can look to figure what is not working? Config and log files below. Many
 thanks in advance.

 --
 oned.conf
 ---
 AUTH_MAD = [
  executable = one_auth_mad,
  authn = ssh,x509,ldap,default,server_cipher,server_x509
 ]

 --
 ldap_auth.conf
 
 server 1:
  # Ldap authentication method
  :auth_method: :simple

  # Ldap server
  :host: ipa1.lab.company.com
  :port: 389

  # Uncomment this line for tsl conections
  #:encryption: :simple_tls

  # base hierarchy where to search for users and groups
  :base: 'cn=users,cn=accounts,dc=lab,dc=company,dc=com'

  # group the users need to belong to. If not set any user will do
  #:group: 'cn=users,cn=accounts'

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

   :order:
   - server 1

 --
 oned.log
 --
 Mon Dec  8 13:24:50 2014 [Z0][ReM][D]: Req:8640 UID:-1 GroupPoolInfo
 invoked
 Mon Dec  8 13:24:50 2014 [Z0][ReM][E]: Req:8640 UID:- GroupPoolInfo
 result FAILURE [GroupPoolInfo] User couldn't be authenticated, aborting
 call.
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1 Command
 execution fail: /var/lib/one/remotes/auth/ldap/authenticate peter.harris
 - 

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]: Command execution fail:
 /var/lib/one/remotes/auth/ldap/authenticate peter.harris - 
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1 Trying
 server server 1

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]: Trying server server 1
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 Exception raised authenticating to LDAP

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]: Exception raised authenticating
 to LDAP
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 #NoMethodError: undefined method `children' for nil:NilClass

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]: #NoMethodError: undefined method
 `children' for nil:NilClass
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /usr/lib/one/ruby/opennebula/xml_element.rb:357:in `build_hash'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /usr/lib/one/ruby/opennebula/xml_element.rb:357:in `build_hash'
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /usr/lib/one/ruby/opennebula/xml_element.rb:341:in `to_hash'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /usr/lib/one/ruby/opennebula/xml_element.rb:341:in `to_hash'
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /usr/lib/one/ruby/opennebula/ldap_auth.rb:93:in `generate_mapping'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /usr/lib/one/ruby/opennebula/ldap_auth.rb:93:in `generate_mapping'
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /usr/lib/one/ruby/opennebula/ldap_auth.rb:69:in `initialize'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /usr/lib/one/ruby/opennebula/ldap_auth.rb:69:in `initialize'
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /var/lib/one/remotes/auth/ldap/authenticate:69:in `new'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /var/lib/one/remotes/auth/ldap/authenticate:69:in `new'
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /var/lib/one/remotes/auth/ldap/authenticate:69

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /var/lib/one/remotes/auth/ldap/authenticate:69
 Mon Dec  8 13:24:50 2014 [Z0][AuM][D]: Message received: LOG I 1
 /var/lib/one/remotes/auth/ldap/authenticate:59:in `each'

 Mon Dec  8 13:24:50 2014 [Z0][AuM][I]:
 /var/lib/one/remotes/auth/ldap/authenticate:59:in `each'
 Mon Dec  8 13:24:50 

Re: [one-users] OpenNebula Sheepdog Addon released!

2014-11-24 Thread Javier Fontan
Great!

I've added the project to the addons catalog page:

http://opennebula.org/addons/catalog/

If you want you can write a little post in out blog explaining the
technology and how the driver makes use of it. Just send me an email and
I'll create a new user in the blog.

Thank you

On Mon Nov 24 2014 at 9:09:47 AM Fabian Zimmermann dev@gmail.com
wrote:

 Hi,

 just want to inform you about the release of

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

 I will do my best to keep the addon working.

 Please give it a try, any feedback and/or help is welcome!

 Thanks a lot,

 Fabian Zimmermann

 ___
 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] Ruby version

2014-11-19 Thread Javier Fontan
You can try using install_gems from the repository. It's for 4.10 so it
will install more packages than needed but should do the trick.

https://github.com/OpenNebula/one/blob/one-4.10/share/install_gems/install_gems

On Sun Nov 16 2014 at 1:26:00 PM Amier Anis amirud...@skali.net wrote:

 how to resolve this issue in 4.8 stable version?


 On Fri, Jul 25, 2014 at 6:23 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 That whould be the best way to go but there is not an easy path in
 CentOS 6. For the final version we will support CentOS 6 with stock
 ruby (1.8.7) but azure and softlayer hybrid drivers won't work in it.
 We have modified install_gems so it detects the ruby versions and does
 not try to install some gems. This change did not make to the beta.

 To be able to use install_gems in the beta you can execute it with this
 command:

 # ./install_gems quota sustone auth_ldap oneflow oca

 On Fri, Jul 25, 2014 at 11:53 AM, Giovanni Toraldo m...@gionn.net wrote:
  Hi,
 
  On Fri, Jul 25, 2014 at 9:27 AM, Anandharaj Subramaniam
  anandharaj.man...@mimos.my wrote:
  What is the recommended / minimum version for Ruby?
 
  You should upgrade to Ruby 1.9.3 as the warning are saying, Ruby 1.8.7
  is no more supported by upstream:
  https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/
 
  --
  Giovanni Toraldo
  http://gionn.net
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 ___
 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] gems instal

2014-11-18 Thread Javier Fontan
Using a non stock ruby can lead to lots of problems. If you are not sure on
how to make it work it is better not to change it.

We are aware of both problems with the gems. The got updated and they are
not longer compatible with ruby 1.8.7. There is already a fix for net-ldap
in the repository and we have opened a bug for zendesk_api:

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

To install those two gems you can use this command:

gem install  --no-ri --no-rdoc zendesk_api --version ' 1.5.0'
gem install  --no-ri --no-rdoc net-ldap --version ' 0.9.0'

The installation script will be fixed in next releases.

Cheers

On Tue Nov 18 2014 at 8:31:10 AM Amier Anis myma...@gmail.com wrote:

 any guidance on this matters?


 On Sun, Nov 16, 2014 at 8:32 PM, Amier Anis myma...@gmail.com wrote:

 How do I actually resolve this issue once I do yum install ruby193 using
 centos-release-SCL.

 I still got this error ..

 gem install --no-ri --no-rdoc zendesk_api net-ldap
 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.
 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.
 Error executing gem install --no-ri --no-rdoc zendesk_api net-ldap


 Hope can provide the step.

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819
 --
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering or
 damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

 On Sun, Nov 16, 2014 at 7:55 PM, Amier Anis myma...@gmail.com wrote:

 thanks.

 i installed this yum install centos-release-SCL .

 However, do I need to disable 1.8.7 from base repo ? or still required
 by opennnebule?

 On Sun, Nov 16, 2014 at 3:36 AM, Carlos A. cara...@upv.es wrote:

 You should install ruby 1.9.3. The easier way is by using rvm, but in
 centos you can use a extra repository from redhat to install it. The
 repository is the best method

 El 15 de noviembre de 2014 19:10:17 CET, Amier Anis myma...@gmail.com
 escribió:

 Dear Team,

 Can someone advise on this matters?

 i have issue during install gem /usr/share/one/install_gems

 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.

 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.

 Error executing gem install --no-ri --no-rdoc zendesk_api sqlite3
 sequel amazon-ec2 curb net-ldap builder trollop treetop parse-cron ox 
 mysql

 how do i resolve this issue.

 On Fri, Nov 14, 2014 at 10:58 PM, Amier Anis myma...@gmail.com
 wrote:

 Dear List,

 Centos 6.5
 OpenNebula 4.10

 I have this issue during   /usr/share/one/install_gems sunstone

 gem install --no-ri --no-rdoc nokogiri --version  1.6.0
 Building native extensions.  This could take a while...
 Successfully installed nokogiri-1.5.11
 1 gem installed
 gem install --no-ri --no-rdoc zendesk_api
 ERROR:  Error installing zendesk_api:
 zendesk_api requires Ruby version = 1.9.0.
 Error executing gem install --no-ri --no-rdoc zendesk_api


 --

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


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.





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


Re: [one-users] gems instal

2014-11-18 Thread Javier Fontan
You can download a fixed install_gems script in this link (press raw
button):

https://github.com/OpenNebula/one/blob/abca2ddd03b2a8075d529caa1e3907c55a7d171c/share/install_gems/install_gems

On Tue Nov 18 2014 at 1:29:06 PM Javier Fontan jfon...@opennebula.org
wrote:

 Using a non stock ruby can lead to lots of problems. If you are not sure
 on how to make it work it is better not to change it.

 We are aware of both problems with the gems. The got updated and they are
 not longer compatible with ruby 1.8.7. There is already a fix for net-ldap
 in the repository and we have opened a bug for zendesk_api:

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

 To install those two gems you can use this command:

 gem install  --no-ri --no-rdoc zendesk_api --version ' 1.5.0'
 gem install  --no-ri --no-rdoc net-ldap --version ' 0.9.0'

 The installation script will be fixed in next releases.

 Cheers

 On Tue Nov 18 2014 at 8:31:10 AM Amier Anis myma...@gmail.com wrote:

 any guidance on this matters?


 On Sun, Nov 16, 2014 at 8:32 PM, Amier Anis myma...@gmail.com wrote:

 How do I actually resolve this issue once I do yum install ruby193 using
 centos-release-SCL.

 I still got this error ..

 gem install --no-ri --no-rdoc zendesk_api net-ldap
 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.
 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.
 Error executing gem install --no-ri --no-rdoc zendesk_api net-ldap


 Hope can provide the step.

 Thanks you.

 Regards  Best Wishes,


 *.: Amier Anis :.*
 Mobile: +6012-260-0819
 --
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering
 or damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

 On Sun, Nov 16, 2014 at 7:55 PM, Amier Anis myma...@gmail.com wrote:

 thanks.

 i installed this yum install centos-release-SCL .

 However, do I need to disable 1.8.7 from base repo ? or still required
 by opennnebule?

 On Sun, Nov 16, 2014 at 3:36 AM, Carlos A. cara...@upv.es wrote:

 You should install ruby 1.9.3. The easier way is by using rvm, but in
 centos you can use a extra repository from redhat to install it. The
 repository is the best method

 El 15 de noviembre de 2014 19:10:17 CET, Amier Anis myma...@gmail.com
 escribió:

 Dear Team,

 Can someone advise on this matters?

 i have issue during install gem /usr/share/one/install_gems

 ERROR:  Error installing net-ldap:
 net-ldap requires Ruby version = 1.9.3.

 ERROR:  Error installing zendesk_api:
 mime-types requires Ruby version = 1.9.2.

 Error executing gem install --no-ri --no-rdoc zendesk_api sqlite3
 sequel amazon-ec2 curb net-ldap builder trollop treetop parse-cron ox 
 mysql

 how do i resolve this issue.

 On Fri, Nov 14, 2014 at 10:58 PM, Amier Anis myma...@gmail.com
 wrote:

 Dear List,

 Centos 6.5
 OpenNebula 4.10

 I have this issue during   /usr/share/one/install_gems sunstone

 gem install --no-ri --no-rdoc nokogiri --version  1.6.0
 Building native extensions.  This could take a while...
 Successfully installed nokogiri-1.5.11
 1 gem installed
 gem install --no-ri --no-rdoc zendesk_api
 ERROR:  Error installing zendesk_api:
 zendesk_api requires Ruby version = 1.9.0.
 Error executing gem install --no-ri --no-rdoc zendesk_api


 --

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


 --
 Sent from my Android device with K-9 Mail. Please excuse my brevity.





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


Re: [one-users] Bulk delete of vCenter VM's leaves stray VM's

2014-11-14 Thread Javier Fontan
There was a bug in the driver that caused error when deploying several VMs
at the same time. To fix it change the file
/var/lib/one/remotes/vmm/vcenter/vcenter_driver.rb at line 120 from this
code:

def find_vm_template(uuid)
vms = @dc.vmFolder.childEntity.grep(RbVmomi::VIM::VirtualMachine)

return vms.find{ |v| v.config.uuid == uuid }
end

to this other one:

def find_vm_template(uuid)
vms = @dc.vmFolder.childEntity.grep(RbVmomi::VIM::VirtualMachine)

return vms.find{ |v| v.config  v.config.uuid == uuid }
end

We are still looking into the problem when deleting several VMs.

Thanks for telling us.

On Thu Nov 13 2014 at 12:59:55 PM Javier Fontan jfon...@opennebula.org
wrote:

 Hi,

 We have opened an issue to track this problem:

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

 Meanwhile you can decrease the number of actions sent changing in
 /etc/one/oned.conf the parameter -t (number of threads) for VM driver. For
 example:

 VM_MAD = [
 name   = vcenter,
 executable = one_vmm_sh,
 arguments  = -p -t 2 -r 0 vcenter -s sh,
 type   = xml ]

 Cheers

 On Wed Nov 12 2014 at 5:40:00 PM Sebastiaan Smit b...@echelon.nl wrote:

 Hi list,

 We're testing the vCenter functionality in version 4.10 and see some
 strange behaviour while doing bulk actions.

 Deleting VM's sometimes leave stray VM's on our cluster. We see the
 following in de VM log:

 Sun Nov  9 15:51:34 2014 [Z0][LCM][I]: New VM state is RUNNING
 Wed Nov 12 17:30:36 2014 [Z0][LCM][I]: New VM state is CLEANUP.
 Wed Nov 12 17:30:36 2014 [Z0][VMM][I]: Driver command for 60 cancelled
 Wed Nov 12 17:30:36 2014 [Z0][DiM][I]: New VM state is DONE
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Command
 execution fail: /var/lib/one/remotes/vmm/vcenter/cancel
 '423cdcae-b6b3-07c1-def6-96b9f3f4b7b3' 'demo-01' 60 demo-01
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Cancel of VM
 423cdcae-b6b3-07c1-def6-96b9f3f4b7b3 on host demo-01 failed due to
 ManagedObjectNotFound: The object has already been deleted or has not been
 completely created
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 ExitCode: 255
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Failed to
 execute virtualization driver operation: cancel.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Successfully
 execute network driver operation: clean.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: CLEANUP SUCCESS 60

 We see it in a different manner while bulk creating VM's (20+ at a time):

 Sun Nov  9 16:01:34 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is BOOT
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/81/deployment.0
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Successfully execute network
 driver operation: pre.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vcenter/deploy '/var/lib/one/vms/81/deployment.0'
 'demo-01' 81 demo-01
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Deploy of VM 81 on host demo-01
 with /var/lib/one/vms/81/deployment.0 failed due to undefined method
 `uuid' for nil:NilClass
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: ExitCode: 255
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: deploy.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][E]: Error deploying virtual machine
 Sun Nov  9 16:01:36 2014 [Z0][DiM][I]: New VM state is FAILED
 Wed Nov 12 17:30:19 2014 [Z0][DiM][I]: New VM state is DONE.
 Wed Nov 12 17:30:19 2014 [Z0][LCM][E]: epilog_success_action, VM in a
 wrong state


 I think these have two different root causes. The cluster is not under
 load.


 Has anyone else seen this behaviour?

 Best regards,
 --
 Sebastiaan Smit
 Echelon BV

 E: b...@echelon.nl
 W: www.echelon.nl
 T: (088) 3243566 (gewijzigd nummer)
 T: (088) 3243505 (servicedesk)
 F: (053) 4336222

 KVK: 06055381


 ___
 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] Bulk delete of vCenter VM's leaves stray VM's

2014-11-13 Thread Javier Fontan
Hi,

We have opened an issue to track this problem:

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

Meanwhile you can decrease the number of actions sent changing in
/etc/one/oned.conf the parameter -t (number of threads) for VM driver. For
example:

VM_MAD = [
name   = vcenter,
executable = one_vmm_sh,
arguments  = -p -t 2 -r 0 vcenter -s sh,
type   = xml ]

Cheers

On Wed Nov 12 2014 at 5:40:00 PM Sebastiaan Smit b...@echelon.nl wrote:

 Hi list,

 We're testing the vCenter functionality in version 4.10 and see some
 strange behaviour while doing bulk actions.

 Deleting VM's sometimes leave stray VM's on our cluster. We see the
 following in de VM log:

 Sun Nov  9 15:51:34 2014 [Z0][LCM][I]: New VM state is RUNNING
 Wed Nov 12 17:30:36 2014 [Z0][LCM][I]: New VM state is CLEANUP.
 Wed Nov 12 17:30:36 2014 [Z0][VMM][I]: Driver command for 60 cancelled
 Wed Nov 12 17:30:36 2014 [Z0][DiM][I]: New VM state is DONE
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Command execution
 fail: /var/lib/one/remotes/vmm/vcenter/cancel 
 '423cdcae-b6b3-07c1-def6-96b9f3f4b7b3'
 'demo-01' 60 demo-01
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Cancel of VM
 423cdcae-b6b3-07c1-def6-96b9f3f4b7b3 on host demo-01 failed due to
 ManagedObjectNotFound: The object has already been deleted or has not been
 completely created
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 ExitCode: 255
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Failed to execute
 virtualization driver operation: cancel.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: LOG I 60 Successfully
 execute network driver operation: clean.
 Wed Nov 12 17:30:41 2014 [Z0][VMM][W]: Ignored: CLEANUP SUCCESS 60

 We see it in a different manner while bulk creating VM's (20+ at a time):

 Sun Nov  9 16:01:34 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Sun Nov  9 16:01:34 2014 [Z0][LCM][I]: New VM state is BOOT
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Generating deployment file:
 /var/lib/one/vms/81/deployment.0
 Sun Nov  9 16:01:34 2014 [Z0][VMM][I]: Successfully execute network driver
 operation: pre.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Command execution fail:
 /var/lib/one/remotes/vmm/vcenter/deploy '/var/lib/one/vms/81/deployment.0'
 'demo-01' 81 demo-01
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Deploy of VM 81 on host demo-01
 with /var/lib/one/vms/81/deployment.0 failed due to undefined method
 `uuid' for nil:NilClass
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: ExitCode: 255
 Sun Nov  9 16:01:36 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: deploy.
 Sun Nov  9 16:01:36 2014 [Z0][VMM][E]: Error deploying virtual machine
 Sun Nov  9 16:01:36 2014 [Z0][DiM][I]: New VM state is FAILED
 Wed Nov 12 17:30:19 2014 [Z0][DiM][I]: New VM state is DONE.
 Wed Nov 12 17:30:19 2014 [Z0][LCM][E]: epilog_success_action, VM in a
 wrong state


 I think these have two different root causes. The cluster is not under
 load.


 Has anyone else seen this behaviour?

 Best regards,
 --
 Sebastiaan Smit
 Echelon BV

 E: b...@echelon.nl
 W: www.echelon.nl
 T: (088) 3243566 (gewijzigd nummer)
 T: (088) 3243505 (servicedesk)
 F: (053) 4336222

 KVK: 06055381


 ___
 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] Contextualization with Cloud-init debug

2014-11-12 Thread Javier Fontan
Cloud-init log files are /var/log/cloud-init.log and
/var/log/cloud-init-output.log. You can also check the information it has
processed at /var/lib/cloud.

On Thu Oct 30 2014 at 5:07:49 PM Javier Juarez javier.jua...@gmail.com
wrote:

 Hi Vicent,

 I´m using a CentOS 6.5 OS base.
 I have configured the SELinux pocily with permissive
 I think that my cloud-init context file´s identation is correct...
 by the way, where is the cloud-init´s log file?

 thanks in advance, regards
 Javier

 On Thu, Oct 30, 2014 at 4:29 PM, vinc...@vanderkussen.org wrote:

 On 2014-10-30 15:33, Javier Juarez wrote:

 Hi dudes,

 I´m trying to make a small provisioning of our VMs based on cloud-init
 without success. The contextualization process works well apparently (our
 network interfaces and ssh keys have been deployed), but I think that the
 cloud-init phase does not work at all. Any ideas about how to debug this
 kind of behaviour after the contextualization step.

 We are using OpenNebula versión 4.8.0, our images have the
 contextualization package version 4.8.0 and our context file looks like
 that:

 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY],
   USER_DATA=#cloud-config
 bootcmd:
   - yum clean all
   - yum -y update
 packages:
   - tree
   - lsof
 runcmd:
   - curl http://sfs.csic.es/mri-installer/scripts/install_mri.sh|sh
   - curl http://sfs.csic.es/chef-installer/scripts/install_chef.sh|sh
 ]

 thanks in advance,
 Javier


 Hi Javier,

 Since cloud-init uses yaml for its config file you need to make sure
 indentation/syntax is correct.
 You can see this in the cloud-init logfile inside the VM (something like
 : can't read yaml blob).

 What OS are you using for the VM? When its CentOS/RHEL with Selinux
 enabled, you'll probably need to
 install a SELinux policy (i needed to in CentOS7).

 Regards,
 Vincent

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




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

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


[one-users] OpenNebula drivers for Test Kitchen

2014-11-11 Thread Javier Fontan
Hi,

I would like to let you know that a driver for Test Kitchen was open
sourced by Blackberry. I hope it can help you test your software in your
OpenNebula infrastructure.

https://github.com/test-kitchen/kitchen-opennebula

Also interesting are patches for Fog library to interface with OpenNebula.

https://github.com/blackberry/fog

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


Re: [one-users] network script contextualisation for ETH[0-, 9]+_SEARCH_DOMAIN

2014-10-23 Thread Javier Fontan
Is the domain defined in the VNET template as SEARCH_DOMAIN? That's
the variable that is then added as ETHx_SEARCH_DOMAIN in the context
script.

On Tue, Oct 21, 2014 at 6:40 PM, Olivier Sallou olivier.sal...@irisa.fr wrote:
 hi,
 we have defined a DOMAIN in a network template.

 In the VM template we selected the Add Network contextualization

 In my VM context I see
 ETH0_DNS='192.168.xx.XX'
 ETH0_GATEWAY='192.168.xx.XX'
 ETH0_IP='192.168.xx.XX'
 ETH0_MAC='00:04:c0:a8:02:3a'

 but there is no ETH0_SEARCH_DOMAIN, searched by /etc/one-context.d/01-dns

 I use one 4.8 with opennebula contextualization packages on Debian.

 Is it a bug in one 4.8 ?

 Olivier

 --


 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438


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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] User within LDAP group authentication

2014-10-23 Thread Javier Fontan
You can configure ldap with this parameters to make it work:

The same functionality can be done changing the configuration file:

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

# field name for group membership, by default it is 'member'
:group_field: 'memberUid'

# user field that that is in in the group group_field, if not set 'dn'
will be used
:user_group_field: 'uid'

Cheers

On Fri, Oct 10, 2014 at 2:42 PM, Manuel Alfonso López Rourich
alfonso.lo...@cenits.es wrote:
 Hello,

 Thank you very much for your so quickly response, but I would prefer not to
 change any OpenNebula script.

 Anyway, I wonder why that simple configuration doesn't work. Could someone
 who has integrated OpenLDAP groups with OpenNebula let us know his
 configuration and OpenLDAP entry types?

 Thank you very much

 Best regards

 2014-10-08 12:42 GMT+02:00 Marcin Stolarek ms...@icm.edu.pl:



 On 10/08/2014 12:32 PM, Manuel Alfonso López Rourich wrote:

 Good morning,

 I'd like to ask you about an issue with user authentication in SunStone:

 I've configured SunStone so that new users from an OpenLDAP directory
 can log in (the user is created automatically in OpenNebula). It works
 fine but when I configure *:group* in *ldap_auth.conf*, I can't
 authenticate new users within a LDAP group. The error that ONE throws is
 clear (*User ulopez is not in group
 cn=grupo_nuevo,ou=ou_nueva,dc=one,dc=es*) but I don't know what could

 be do so that it works. The documentation about LDAP groups with ONE is
 not very clear for me.

 The LDAP configuration is:

 server 1:
  :auth_method: :simple
  :host: 10.12.0.3
  :port: 389
  :base: 'dc=one,dc=es'

  # group the users need to belong to. If not set any user will do
  :group: 'cn=grupo_nuevo,ou=ou_nueva,dc=one,dc=es'

  # field that holds the user name, if not set 'cn' will be used
  :user_field: 'uid'
  # field name for group membership, by default it is 'member'
  :group_field: 'memberUid'

  # user field that that is in in the group group_field, if not set
 'dn' will be used
  #user_group_field: 'gidNumber'

 The directory entry for the group is the next one:

 # extended LDIF
 #
 # LDAPv3
 # base cn=grupo_nuevo,ou=ou_nueva,dc=one,dc=es with scope subtree
 # filter: (objectclass=*)
 # requesting: ALL
 #

 # grupo_nuevo, ou_nueva, one.es http://one.es
 dn: cn=grupo_nuevo,ou=ou_nueva,dc=one,dc=es
 gidNumber: 503
 cn: grupo_nuevo
 objectClass: posixGroup
 objectClass: top
 memberUid: ulopez

 # us_nuevo_lopez, grupo_nuevo, ou_nueva, one.es http://one.es
 dn: cn=us_nuevo_lopez,cn=grupo_nuevo,ou=ou_nueva,dc=one,dc=es
 givenName: us_nuevo
 gidNumber: 503
 homeDirectory: /home/users/ulopez
 sn: lopez
 loginShell: /bin/sh
 objectClass: inetOrgPerson
 objectClass: posixAccount
 objectClass: top
 uidNumber: 1009
 uid: ulopez
 cn: us_nuevo_lopez

 Thank you very much,

 Best regards




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



 Currently openebula supports only scheme with listofmembers (not sure if
 haven't make a mistake in name) objecClass.

 You can use my patch:

 https://github.com/cinek810/one/commit/925a124c96018aa8b4b44805aafa76280830a461

 to support groups in memberUid format.

 cheers,
 marcin
 ___
 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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] ATT: Admin - MailMan list archive fubar

2014-10-22 Thread Javier Fontan
There was a hiccup with the server but it's now working.

Cheers

On Tue, Oct 21, 2014 at 8:56 PM, BakGat Net bakgat...@gmail.com wrote:
 Dear admin,

 Looks like the MailMan list archive is busted - getting a 403/404 error.

 http://lists.opennebula.org/pipermail/users-opennebula.org/

 Cheers

 - J



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Datastore glusterfs

2014-10-21 Thread Javier Fontan
No, is not possible as the frontend also needs access to the gluster storage.

Cheers

On Tue, Oct 21, 2014 at 12:17 PM, Giancarlo De Filippis
gdefilip...@ltbl.it wrote:
 Hi all,

 i've this situation:

 1) Glusterhost with two IFlan 1 public interface, 1 private lan (gluster
 cluster with private lan)

 2) Kvm hostwith two Iflan 1 public interface, 1 private lan

 3) Front-endwith one IFlan with public interface

 I'd install gluster datastore with the private interface lan, is possible to
 configure if the frontend dont see private lan?

 Thanks for answer!!




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] LDAP Authentication with TLS

2014-10-21 Thread Javier Fontan
My bad. I'll modify the documentation accordingly.

Thank you

On Mon, Oct 20, 2014 at 9:45 AM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 OK, I figured it out. For the record:

 You should be able to use SSL uncommenting the line:
 :encryption: :simple_tls


 Well, no. Actually, in order to get it, you should have:

 :auth_method: :simple
 AND
 :encryption: :simple_tls

 -- Pavel Tankov


 On 10/17/2014 06:59 PM, Javier Fontan wrote:

 It seems I've forgot to delete that part from the documentation.
 Thanks for noticing.

 You should be able to use SSL uncommenting the line:

 :encryption: :simple_tls

 Cheers

 On Tue, Oct 14, 2014 at 4:47 PM, Pavel Tankov
 pavel.tan...@strategyobject.com wrote:

 Hello,

 I have Opennebula 4.8 and OpenLDAP 2.4.23 on a CentOS 6.5. I followed the
 doc [1] and succeeded in getting LDAP users to log on the Sunstone UI.
 Then
 I made my OpenLDAP accept TLS connections only and can't connect anymore.

 The documentation [1] says:

 
 Considerations  Limitations

 LDAP auth driver has a bug that does not let it connect to TLS LDAP
 instances. A patch is available in the bug issue [2] to fix this. The fix
 will be applied in future releases.
 

 However, the bug [2] is fixed by Javi Fontan almost 2 years ago. He said
 in
 his commit message: I've applied the patch mostly verbatim. Thanks! So,
 is
 the documentation for 4.8 wrong or is this limitation still valid now?

 Thanks!

 [1]
 http://docs.opennebula.org/4.8/administration/authentication/ldap.html
 [2] http://dev.opennebula.org/issues/1171
 --
 Pavel Tankov
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org








-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] LDAP Authentication with TLS

2014-10-17 Thread Javier Fontan
It seems I've forgot to delete that part from the documentation.
Thanks for noticing.

You should be able to use SSL uncommenting the line:

:encryption: :simple_tls

Cheers

On Tue, Oct 14, 2014 at 4:47 PM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Hello,

 I have Opennebula 4.8 and OpenLDAP 2.4.23 on a CentOS 6.5. I followed the
 doc [1] and succeeded in getting LDAP users to log on the Sunstone UI. Then
 I made my OpenLDAP accept TLS connections only and can't connect anymore.

 The documentation [1] says:

 
 Considerations  Limitations

 LDAP auth driver has a bug that does not let it connect to TLS LDAP
 instances. A patch is available in the bug issue [2] to fix this. The fix
 will be applied in future releases.
 

 However, the bug [2] is fixed by Javi Fontan almost 2 years ago. He said in
 his commit message: I've applied the patch mostly verbatim. Thanks! So, is
 the documentation for 4.8 wrong or is this limitation still valid now?

 Thanks!

 [1] http://docs.opennebula.org/4.8/administration/authentication/ldap.html
 [2] http://dev.opennebula.org/issues/1171
 --
 Pavel Tankov
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Typo Mistake in 4.8 Template Documentation

2014-10-17 Thread Javier Fontan
That's indeed a copy/paste problem. I'm changing it right now. Thanks

On Tue, Oct 14, 2014 at 1:25 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Everyone,

 There seems to be a typing error in the 4.8 template section
 documentation.[1]

 [1] http://docs.opennebula.org/4.8/user/references/template.html

 Under DISK SECTION :

 Persistent and clone disk / volatile disk

 I/O throttling attributes

 TOTAL_BYTES_SEC
 READ_BYTES_SEC
 WRITE_BYTES_SEC
 TOTAL_IOPS_SEC
 READ_IOPS_SEC
 WRITE_BYTES_SEC  It should be WRITE_IOPS_SEC

 Regards
 Kiran Ranjane

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] error: monitor socket did not show up.

2014-10-10 Thread Javier Fontan
It can certainly happen that two VMs get the same VNC port if you have
really old VMs running. The ports are recycled and is calculated this
way:

base_port + ( oid % (limit - base_port) )

* base_port is got from the config file, 5900 by default
* oid is the VM id
* limit is 65535

You may get more information in the libvirt/qemu log file at
/var/log/libvirt/qemu/one-vmid.log

Cheers

On Tue, Oct 7, 2014 at 9:08 PM, Steven Timm t...@fnal.gov wrote:

 We are commissioning a new OpenNebula 4.8 head node and so
 far we are seeing very good scalability.  But
 in tests where we are launching a lot of virtual machines at once
 we sometimes see the error:


 Tue Oct  7 08:46:43 2014 [Z0][VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/100/240/deployment.0
 Tue Oct  7 08:46:43 2014 [Z0][VMM][I]: error: monitor socket did not show
 up.: No such file or directory

 If we go to the system data store /var/lib/one/datastores/100/240/
 and do a manual virsh create deployment.0
 the VM is then created correctly.

 So I presume this is some kind of race condition inside the VM host.
 The question is what might that be?  some strange condition where
 two virsh creates are going after the same VNC port and one of them
 is failing?

 From /var/log/messages on the vm host I get the following


 Oct  7 08:46:38 cloudworker1036 libvirtd: 31490: info :
 virNetDevProbeVnetHdr:94
  : Enabling IFF_VNET_HDR
 Oct  7 08:46:38 cloudworker1036 kernel: device vnet8 entered promiscuous
 mode
 Oct  7 08:46:39 cloudworker1036 kernel: br1: port 10(vnet8) entering
 forwarding
 state
 Oct  7 08:46:42 cloudworker1036 libvirtd: 31490: error :
 qemuMonitorOpenUnix:300
  : monitor socket did not show up.: No such file or directory
 Oct  7 08:46:42 cloudworker1036 libvirtd: 31490: info :
 qemuConnectMonitor:1426
 : Failed to connect monitor for one-240

 Steve Timm

 --
 Steven C. Timm, Ph.D  (630) 840-8525
 t...@fnal.gov  http://home.fnal.gov/~timm/
 Fermilab Scientific Computing Division, Scientific Computing Services Quad.
 Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Datastore and Gluster + Cluster

2014-10-10 Thread Javier Fontan
Sorry for the late reply.

As system a images datastore in gluster are tied together you should
have one images datastore per cluster.

On Fri, Sep 26, 2014 at 3:36 PM, Amier Anis myma...@gmail.com wrote:
 dear Javier,

 based on you explanation previously can i use an image from single images
 datastore to the clusters?
 So i just create new system datastore to each cluster node. and share 1
 image datastore to every cluster node.

 Thanks you.

 Regards  Best Wishes,


 .: Amier Anis :.
 Mobile: +6012-260-0819

 
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering or
 damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

 On Thu, Sep 25, 2014 at 3:59 PM, Amier Anis myma...@gmail.com wrote:

 thanks javier. you save my world .. really appreciate it.


 On Wed, Sep 24, 2014 at 5:00 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 The cluster endpoint is only needed in the datastore template.
 Sunstone does not need to know anything about it

 On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis myma...@gmail.com wrote:
  thanks javier. i'm really appreciate it. i did almost same
  configuration
  without using this guide. where by
  i just do normal mount via fstab and create empty system and images in
  the
  sunstone.
 
  it works.
 
  by the way is that correct way or i still need to ensure the details of
  gluster must be in the sunstone setting?
  my first attempt did not work that time.
 
 
  On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan
  jfon...@opennebula.org
  wrote:
 
  GlusterFS is a bit different to the other shared storage as it needs
  to see the same files in both the system and images datastores. It
  needs both.
 
  Cluster 0
  Mount gluster_vol_0 in /storage
  Link /storage - /var/lib/one/datastores/100 (system)
  Link /storage - /var/lib/one/datastores/101 (images)
 
  Cluster 1
  Mount gluster_vol_1 in /storage
  Link /storage - /var/lib/one/datastores/102 (system)
  Link /storage - /var/lib/one/datastores/103 (images)
 
  Cluster 2
  Mount gluster_vol_2 in /storage
  Link /storage - /var/lib/one/datastores/104 (system)
  Link /storage - /var/lib/one/datastores/105 (images)
 
  Frontend
  Mount gluster_vol_0 in /storage/0
  Mount gluster_vol_0 in /storage/1
  Mount gluster_vol_0 in /storage/2
  Link /storage/0 - /var/lib/one/datastores/100 (system)
  Link /storage/0 - /var/lib/one/datastores/101 (images)
  Link /storage/1 - /var/lib/one/datastores/102 (system)
  Link /storage/1 - /var/lib/one/datastores/103 (images)
  Link /storage/2 - /var/lib/one/datastores/104 (system)
  Link /storage/2- /var/lib/one/datastores/105 (images)
 
  On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
   Dear Team,
  
   I would like to know little bit more about system datastore +
   gluster
   and
   cluster.
  
   node 0 - FrontEnd
   node 1 - Hypervisor 1
   node 2 - Hypervisor 2
  
   Cluster 1
   node 3 Hypervisor 3
   node 4 Hypervisor 4
  
   Cluster 2
   node 5 Hypervisor 5
   node 6 Hypervisor 6
  
   GlusterFS Storage 1 - mount to frontend to datastore 0
   GlusterFS Storage 2 - mount to frontend to datastore 100 - for
   Cluster 1
   GlusterFS Storage 3 - mount to frontend to datastore 101 - for
   Cluster 2
  
   I believe that all glusterfs storage need to mount to Frontend and
   hypervisor node.
  
   my question is
  
   Should I mount datastore 0 to all hypervisor node even it is
   clusters?
   or
   Do i only mount for each datastore to each clusters. let say
   GlusterFS
   Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
   In cluster 1, I only mount glusterfs 2 and set it as system
   datastore
   and
   image datastore. no datastore 0,1,2 in cluster 2.
  
   Which is the proper one?
   How do I set glusterfs as system and image datastore in opennebula.
   I
   only
   can set images datastore.
  
   Thanks in advance your kind help.
  
   Thanks you.
  
   Regards  Best Wishes,
  
  
   .: Amier Anis :.
   Mobile: +6012-260-0819
  
   
   IMPORTANT:
   This e-mail (including any attachment hereto) is intended solely for
   the
   addressee and is confidential and privileged. If this should have
   been
   sent
   to you in error, you are not to reproduce, distribute or take any
   action
   in
   reliance on it. Kindly notify us and delete the e-mail and all
   attachments
   immediately.
  
   As e-mail and/or attachments may contain

Re: [one-users] Opennebula 4.8 proble to upload iso

2014-10-10 Thread Javier Fontan
 Aug 26 20:39:42 2014 [Z0][ReM][D]: Req:2272 UID:0 TemplatePoolInfo
 invoked, -2, -1, -1

 Tue Aug 26 20:39:42 2014 [Z0][ReM][D]: Req:2272 UID:0 TemplatePoolInfo
 result SUCCESS, VMTEMPLATE_POOLVM...

 Tue Aug 26 20:39:42 2014 [Z0][ReM][D]: Req:6304 UID:0 ClusterPoolInfo
 invoked

 Tue Aug 26 20:39:42 2014 [Z0][ReM][D]: Req:6304 UID:0 ClusterPoolInfo
 result SUCCESS, CLUSTER_POOLCLUST...

 Tue Aug 26 20:39:43 2014 [Z0][ReM][D]: Req:2832 UID:0 DocumentPoolInfo
 invoked, -2, -1, -1, 101

 Tue Aug 26 20:39:43 2014 [Z0][ReM][D]: Req:2832 UID:0 DocumentPoolInfo
 result SUCCESS, DOCUMENT_POOL/DOC...

 Tue Aug 26 20:39:43 2014 [Z0][ReM][D]: Req:2832 UID:0 DocumentPoolInfo
 invoked, -2, -1, -1, 100

 Tue Aug 26 20:39:43 2014 [Z0][ReM][D]: Req:2832 UID:0 DocumentPoolInfo
 result SUCCESS, DOCUMENT_POOL/DOC...

 Tue Aug 26 20:39:43 2014 [Z0][ReM][D]: Req:3792 UID:0 ZoneInfo invoked, 0



 Grazie

 *Vincenzo Barbieri*

 [image: Logo per firma mail - v01]

   via Borgazzi, 27  20900 Monza

   c.so Orbassano, 336  10137 Torino

   Mobile:  (+39) 342 6521139

   vincenzo.barbi...@blueit.it

   www.blueit.it



 [image: paolo]



 P Please consider the environment before printing this document



 Questo messaggio di posta elettronica contiene informazioni di carattere
 riservato, privato e confidenziali rivolte esclusivamente al destinatario
 sopra indicato. E' vietato l'uso, la diffusione, distribuzione o
 riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto
 questo messaggio di posta elettronica per errore, siete pregati di
 segnalarlo immediatamente al mittente e distruggere quanto ricevuto
 (compresi i file allegati) senza farne copia. Qualsivoglia utilizzo non
 autorizzato del contenuto di questo messaggio costituisce violazione
 dell'obbligo di non prendere cognizione della corrispondenza tra altri
 soggetti, salvo piu grave illecito, ed espone il responsabile alle relative
 conseguenze.

 This e-mail message is for the designated recipient only and may contain
 legally privileged, proprietary, or otherwise private information. If you
 are not the intended recipient(S) and/or if you have received this e-mail
 in error, please notify the sender and destroy the original message and its
 attachments without reading or saving it in any manner. Any use,
 distribution, reproduction or disclosure by any other person is strictly
 prohibited.



 *From:* Javier Fontan [mailto:jfon...@opennebula.org]
 *Sent:* mercoledì 27 agosto 2014 13:26
 *To:* Vincenzo Barbieri
 *Cc:* users@lists.opennebula.org
 *Subject:* Re: [one-users] Opennebula 4.8 proble to upload iso



 Do you get any more information about the upload in /var/log/one/oned.log?



 On Tue, Aug 26, 2014 at 9:08 PM, Vincenzo Barbieri 
 vincenzo.barbi...@blueit.it wrote:

 Hi



 when I create a template of type cdrom and try to upload dell'immagene iso
 I get the following error.





 TTP/1.1 500 Tue Aug 26 20:39:33 2014 [I]: 192.168.2.244 - - [26/Aug/2014
 20:39:33] GET
 /image?timeout=falsecsrftoken=bf59266c40d563bfad0576a92cb00167 HTTP/1.1
 401 - 0.0029

 Tue Aug 26 20:39:33 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:33]
 GET /login HTTP/1.1 200 - 0.0627

 Tue Aug 26 20:39:40 2014 [I]: Updating user pool cache.

 Tue Aug 26 20:39:40 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:40]
 POST /login HTTP/1.1 204 - 0.2957

 Tue Aug 26 20:39:40 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:40]
 GET / HTTP/1.1 200 - 0.0479

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /zone?timeout=truecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0089

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /datastore?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0727

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /user?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0849

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /vnet?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0846

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /vm?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36 HTTP/1.1
 200 - 0.0761

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /host?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0701

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /user?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0148

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /group?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0103

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /acl?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0104

 Tue Aug 26 20:39:42 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:42]
 GET /image

[one-users] OpenNebula at CloudOpen

2014-10-10 Thread Javier Fontan
Hi,

On Wednesday next week I'll be at CloudOpen in Dusseldorf giving a talk and
a two hours tutorial about OpenNebula. If you want to meet just drop me an
email or reach me using twitter at @thevaw. More information here:

http://opennebula.org/opennebula-at-cloudopen-europe/

Cheers

-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] LDAP users in OpenNebula groups

2014-10-07 Thread Javier Fontan
You can use a Hook on user creation that moves the user to the desired
group after querying LDAP.

For the next OpenNebula version there is a feature that selects the
group from Active Directory:

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

I suppose this can be modified to use OpenLDAP groups.

Cheers

On Thu, Oct 2, 2014 at 2:26 PM, Manuel Alfonso López Rourich
alfonso.lo...@cenits.es wrote:
 Good morning,

 I've configured OpenLDAP and ONE so that new users in the directory can log
 in the SunStone interface and are created automatically as a new user in
 OpenNebula.

 Since those users are created in the group users by default, is there any
 way to configure OpenNebula so that users that belongs to a specific group
 in OpenLDAP are created within a specific group in OpenNebula?

 Thank you very much,

 Best regards

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] context package: network restart issue in Debian

2014-10-07 Thread Javier Fontan
Thanks for testing. I'll do the changes and testing here as soon as I can.

On Thu, Oct 2, 2014 at 3:07 PM, Olivier Sallou olivier.sal...@irisa.fr wrote:

 On 10/01/2014 06:56 PM, Javier Fontan wrote:
 This can probably be caused because after save the network
 configuration is already generated and the next time that network stop
 is not working. Can you check that using the same method as ubuntu
 makes it work? If this is correct I can modify the context packages
 accordingly.
 We already manually modified locally to remove the ubuntu test  to use
 the ifup/ifdown and it works

 Olivier

 Thanks

 On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou olivier.sal...@irisa.fr 
 wrote:
 Hi,
 we face some issues with the network restart on Debian with the
 00-network script.
 The issue occurs after an image save and a start of the new image, not
 at first boot.

 The network stop fails.

 In the 00-network script, there is a test  if [ ... ubuntu], to apply
 ifup/ifdown commands.
 Here is a relative revision (maybe ot the only one):
 http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08

 It seems that networking restart is not recommended (and deprecated) in
 Debian either. As ifup/ifdown is generic, why not applying this
 modification to both Ubuntu and Debian ? It seems that in some cases,
 the networking restart does not work either in Debian.

 Thanks

 Olivier

 --

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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



 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] DHCP Issues

2014-10-07 Thread Javier Fontan
OpenNebula does not manage a DHCP server out of the box. The standard
way of configuring the network is using the contextualization
packages:

http://docs.opennebula.org/4.8/user/virtual_machine_setup/bcont.html

Cheers

On Fri, Oct 3, 2014 at 5:58 PM, Brendan Rose bren...@bluecurtain.ca wrote:
 Hey everyone,

 I have finally been able to set up and install my own VM and have it
 work. The problem I'm running into now is that while Sunstone says the guest
 OS has the right IP (192.168.1.150) when I run ifconfig it shows up as
 192.168.30.15. On top of that I have several systems in my local network
 also being given these addresses. I'm also unable to ping the guest OS or
 the devices with the different IP addresses.

 I haven't been able to find any mention of OpenNebula coming with a DHCP
 server that should try to manage the physical network but it seems like it's
 trying.

 I'm running it on a Ubuntu 14.04 x64 fresh install with OpenNebula 4.8.
 Anyone have any ideas?

 Thanks!

 ---
 This email is free from viruses and malware because avast! Antivirus
 protection is active.
 http://www.avast.com

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Addtional Disk

2014-10-01 Thread Javier Fontan
There are two ways to do it:

* Create a new datablock image and select empty datablock. There you
can set the size and fstype. After that attach the new image to the
VM.
* In the template creation add a volatile disk. This will be created
in VM creation but you wont be able to save the image afterwards. This
is useful for swap and scratch disks you don't want to save when the
VM is deleted.

In both cases the context packages don't mount those disks for you.
You have to manually mount them or add a init script that does that
for you.

On Sat, Sep 27, 2014 at 9:57 AM, Amier Anis myma...@gmail.com wrote:
 Dear Team,

 How do i define the mapping the additional disk to /mnt/data or
 /var/lib/mysql during bootup the vm. consider i already install vm context
 in my images. hope somebody can advise further to achieve this.

 In template, storage tab what is the means these and what is sample value
 should i put

 Target =
 Format =
 Device Prefix =

 For driver, I'm using qcow image and during upload the image i already
 define driver for qcow2, do in template should i re-define it again?

 sorry little bit confusing.

 Thanks you.

 Regards  Best Wishes,


 .: Amier Anis :.
 Mobile: +6012-260-0819

 
 IMPORTANT:
 This e-mail (including any attachment hereto) is intended solely for the
 addressee and is confidential and privileged. If this should have been sent
 to you in error, you are not to reproduce, distribute or take any action in
 reliance on it. Kindly notify us and delete the e-mail and all attachments
 immediately.

 As e-mail and/or attachments may contain viruses and other interfering or
 damaging elements, the receipt and/or downloading of e-mail and/or
 attachments will be at your own risk and we accept no liability for any
 damage sustained as a result of any such viruses; you should carry out your
 own virus checks before opening any attachment.

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Windows contextualization

2014-10-01 Thread Javier Fontan
You should not have to add any DEV_PARAMETER. These are added
automatically when you chose to use network contextualization. You can
add DNS_SEARCH in the VM template and it will be used.

On Thu, Sep 25, 2014 at 9:19 AM, Christoph Pleger
christoph.ple...@cs.tu-dortmund.de wrote:
 Hello,

 Looking at the context.ps1 script here
 (https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1)
 it appears that:

 The format of DEV_DNS is a space separated list of DNS server IPs - e.g.
 192.168.0.1 192.168.0.2
 I can't see where DEV_DNS_SEARCH is being set, so I guess it is ignored.
 I would expect this to be a list of search domains - the equivalent to the
 'search domain' entry inside nsswitch.conf on Linux/Unix systems.

 Thank you for the answer, that at least helps a little further. But still
 I hope that someone can tell me what to insert for DEV ... (I had
 guessed that the people who wrote that documentation are reading here and
 know the answer)

 Regards
   Christoph

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] context package: network restart issue in Debian

2014-10-01 Thread Javier Fontan
This can probably be caused because after save the network
configuration is already generated and the next time that network stop
is not working. Can you check that using the same method as ubuntu
makes it work? If this is correct I can modify the context packages
accordingly.

Thanks

On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou olivier.sal...@irisa.fr wrote:
 Hi,
 we face some issues with the network restart on Debian with the
 00-network script.
 The issue occurs after an image save and a start of the new image, not
 at first boot.

 The network stop fails.

 In the 00-network script, there is a test  if [ ... ubuntu], to apply
 ifup/ifdown commands.
 Here is a relative revision (maybe ot the only one):
 http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08

 It seems that networking restart is not recommended (and deprecated) in
 Debian either. As ifup/ifdown is generic, why not applying this
 modification to both Ubuntu and Debian ? It seems that in some cases,
 the networking restart does not work either in Debian.

 Thanks

 Olivier

 --

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Datastore and Gluster + Cluster

2014-09-24 Thread Javier Fontan
The cluster endpoint is only needed in the datastore template.
Sunstone does not need to know anything about it

On Tue, Sep 23, 2014 at 9:44 PM, Amier Anis myma...@gmail.com wrote:
 thanks javier. i'm really appreciate it. i did almost same configuration
 without using this guide. where by
 i just do normal mount via fstab and create empty system and images in the
 sunstone.

 it works.

 by the way is that correct way or i still need to ensure the details of
 gluster must be in the sunstone setting?
 my first attempt did not work that time.


 On Tue, Sep 23, 2014 at 11:55 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 GlusterFS is a bit different to the other shared storage as it needs
 to see the same files in both the system and images datastores. It
 needs both.

 Cluster 0
 Mount gluster_vol_0 in /storage
 Link /storage - /var/lib/one/datastores/100 (system)
 Link /storage - /var/lib/one/datastores/101 (images)

 Cluster 1
 Mount gluster_vol_1 in /storage
 Link /storage - /var/lib/one/datastores/102 (system)
 Link /storage - /var/lib/one/datastores/103 (images)

 Cluster 2
 Mount gluster_vol_2 in /storage
 Link /storage - /var/lib/one/datastores/104 (system)
 Link /storage - /var/lib/one/datastores/105 (images)

 Frontend
 Mount gluster_vol_0 in /storage/0
 Mount gluster_vol_0 in /storage/1
 Mount gluster_vol_0 in /storage/2
 Link /storage/0 - /var/lib/one/datastores/100 (system)
 Link /storage/0 - /var/lib/one/datastores/101 (images)
 Link /storage/1 - /var/lib/one/datastores/102 (system)
 Link /storage/1 - /var/lib/one/datastores/103 (images)
 Link /storage/2 - /var/lib/one/datastores/104 (system)
 Link /storage/2- /var/lib/one/datastores/105 (images)

 On Sat, Sep 20, 2014 at 7:28 PM, Amier Anis myma...@gmail.com wrote:
  Dear Team,
 
  I would like to know little bit more about system datastore + gluster
  and
  cluster.
 
  node 0 - FrontEnd
  node 1 - Hypervisor 1
  node 2 - Hypervisor 2
 
  Cluster 1
  node 3 Hypervisor 3
  node 4 Hypervisor 4
 
  Cluster 2
  node 5 Hypervisor 5
  node 6 Hypervisor 6
 
  GlusterFS Storage 1 - mount to frontend to datastore 0
  GlusterFS Storage 2 - mount to frontend to datastore 100 - for Cluster 1
  GlusterFS Storage 3 - mount to frontend to datastore 101 - for Cluster 2
 
  I believe that all glusterfs storage need to mount to Frontend and
  hypervisor node.
 
  my question is
 
  Should I mount datastore 0 to all hypervisor node even it is clusters?
  or
  Do i only mount for each datastore to each clusters. let say GlusterFS
  Storage 1 for non-cluster node, glusterfs 2 for cluster 2 and etc.
  In cluster 1, I only mount glusterfs 2 and set it as system datastore
  and
  image datastore. no datastore 0,1,2 in cluster 2.
 
  Which is the proper one?
  How do I set glusterfs as system and image datastore in opennebula. I
  only
  can set images datastore.
 
  Thanks in advance your kind help.
 
  Thanks you.
 
  Regards  Best Wishes,
 
 
  .: Amier Anis :.
  Mobile: +6012-260-0819
 
  
  IMPORTANT:
  This e-mail (including any attachment hereto) is intended solely for the
  addressee and is confidential and privileged. If this should have been
  sent
  to you in error, you are not to reproduce, distribute or take any action
  in
  reliance on it. Kindly notify us and delete the e-mail and all
  attachments
  immediately.
 
  As e-mail and/or attachments may contain viruses and other interfering
  or
  damaging elements, the receipt and/or downloading of e-mail and/or
  attachments will be at your own risk and we accept no liability for any
  damage sustained as a result of any such viruses; you should carry out
  your
  own virus checks before opening any attachment.
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan





-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Adding network interface doesn't change vm context

2014-09-24 Thread Javier Fontan
The file with data of the context CD (context.sh) is generated by
OpenNebula daemon itself, not by a script, so this change is trickier.
There is already a ticket about it:

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

On Tue, Sep 16, 2014 at 5:22 AM, Marcin Stolarek ms...@icm.edu.pl wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Guys,
 I've noticed that when a network interface is added to running VM,
 this doesn't change VM context, so even if VM is restarted this
 network interface isn't configured via contextualization mechanism.

 Should it be considered a bug? Where should I look to patch this issue?

 I believe that there is a shell script which executes appropriate
 commands on my physical host to add a network interface to vm, maybe
 it's possible to add context modification to this script?
 It won't change context of running machine, but in case of restart the
 context will be changed and NIC configured appropriately.

 cheers,
 marcin
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.14 (GNU/Linux)

 iQEcBAEBAgAGBQJUF6zWAAoJEEjNHARke2+evFkIAL9oUFVYETSWMzAzN1O9Su6u
 kWluAw7pahkShuv0GPEJcpoS70IbVvhLAmWLfHFcBgIBx1zhVMx9Q1SpNVUJmvuE
 P4DZkEhioAnqig9L7fMkJyzexbuQg0omIszHXSJpEZSD8yYyPkab+A4KHGoY7DfB
 2JwyGsgLhWOERHflCrZBHAJHyvMMBMPpo3BUg14vqhxsmCKD8pStUk8k47SZIVz4
 kR8uZ1FptDEOD2FB7Y5MnpMtIxdrKdmyMQyeLvvv8WxGRCAasGijRaq5eh8sywRu
 9CG0feoku2iVU6Jsb0SocDzOGyPNtpk+/0/TzGDnPMEWbrQHA5kevdQXDYfym3M=
 =NpUt
 -END PGP SIGNATURE-
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Where are the CentOS one-context-4.8.0-1.noarch rpm files?

2014-09-24 Thread Javier Fontan
That looks like a bug in the documentation indeed. We will take a look
at it. Thanks.

On Tue, Sep 23, 2014 at 11:47 AM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Thank you for the response! I was just about to reply to my thread that I'd
 found the package and help other people but, fortunately, you were faster. I
 would have given false information. Anyway, please, see below how I got
 confused:

 I wasn't getting a response for a while and thought I was asking a too
 obvious question, so I went to re-read the documentation once again more
 carefully. The documentation here:
 (1) http://docs.opennebula.org/4.8/user/virtual_machine_setup/bcont.html
 says:

 Install from our repositories package one-context in Ubuntu/Debian or
 opennebula-context in CentOS/RedHat. Instructions to add the repository at
 the installation guide.

 where installation guide is a hyperlink to
 (2)
 http://docs.opennebula.org/4.8/design_and_installation/building_your_cloud/ignc.html#ignc
 However, (2) explains how to add the opennebula repo for CentOS and the link
 to the repo is:
 (3) http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64.
 But (3) DOES NOT have the contextualization rpm packages.

 On the other hand, (1) also says:
 Download and install the package for your distribution:

 DEB: Compatible with Ubuntu 11.10 to 14.04 and Debian 6/7
 RPM: Compatible with CentOS and RHEL 6/7

 where RPM is a hyperlink to
 (4) http://dev.opennebula.org/attachments/download/804/one-context_4.8.0.rpm
 which, apparently according to your mail, is not the latest version.

 Please, fix the documentation in (1) to mention
 http://dev.opennebula.org/projects/opennebula/files instead.

 -- Pavel Tankov


 On 09/23/2014 12:22 PM, Javier Fontan wrote:

 The images from the marketpace already come with the context packages
 installed.

 To download the packages you can go to one of these places:

 http://dev.opennebula.org/projects/opennebula/files
 https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

 On Fri, Sep 19, 2014 at 1:49 PM, Pavel Tankov
 pavel.tan...@strategyobject.com wrote:

 Hello,

 I am installing a CentOS 6.5 VM from scratch. I would like, of course, to
 contextualize it. Where can I download the one-context-4.8.0-1.noarch.rpm
 from? It is installed by default on a CentOS 6.5 VM that I deploy from
 the
 Marketplace.

 Thank you.

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





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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Where are the CentOS one-context-4.8.0-1.noarch rpm files?

2014-09-24 Thread Javier Fontan
I'm working in upstream cloud-init to try to add all the features of
context packages. We will move to them when all the features are
there. Centos 6 support included.

On Tue, Sep 23, 2014 at 12:41 PM, Karanbir Singh mail-li...@karan.org wrote:
 On 09/23/2014 10:22 AM, Javier Fontan wrote:
 The images from the marketpace already come with the context packages 
 installed.

 To download the packages you can go to one of these places:

 http://dev.opennebula.org/projects/opennebula/files
 https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1



 Given that we can have CentOS-7 now run with cloud-init, is it worth
 trying to backport this cloud-init to 6 as well ?

 - KB


 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] CentOS-7 mainline GenericCloud test image

2014-09-24 Thread Javier Fontan
Here is the problem.

There is already a configuration file for eth0 that is configured for
dhcp. When the system starts it tries to start network service but
gives an error as there is no dhcp server. network.target is not
started. The sshd service depends on network.target so it does not
start.

The way cloud-init configures the network is with ifup command. This
configures the interface with the OpenNebula provided info but even if
the network is up the service is not. This happens after the network
service gives error.

I see two ways to fix this:

* Delete /etc/sysconfig/network-interfaces/ifcfg-eth0
* Add this patch to cloud-init to restart network service (the first
lines are already in DataSourceOpenNebula.py, just added the
start/stop network):

--8--
# apply static network configuration only in 'local' dsmode
if ('network-interfaces' in results and self.dsmode == local):
LOG.debug(Updating network interfaces from %s, self)
self.distro.apply_network(results['network-interfaces'])
try:
(out, _err) = util.subp([systemctl, stop, network])
(out, _err) = util.subp([systemctl, start, network])
except util.ProcessExecutionError:
util.logexc(LOG, Restart network command failed)
--8--

Another thing I would do is to delete the nameserver already
configured in /etc/resolv.com:

--8--
nameserver 10.0.2.3
--8--

Another thing I've noticed is that NetworkManager is no longer
installed in the image. It was in previous versions.

On Tue, Sep 23, 2014 at 3:46 PM, Javier Fontan jfon...@opennebula.org wrote:
 There is another bigger problem. I've found out that I had a DHCP
 server running in my machine. Deactivating it configures the IP
 correctly (can be pinged) but SSH is inaccessible (port closed?). It
 also adds the DNS configuration but there is already a nameserver in
 /etc/resolv.conf in the original image. Can you delete or make the
 file /etc/resolv.conf empty in the image?

 After restarting the VM it works correctly. I'm looking into the SSH problem.

 On Tue, Sep 23, 2014 at 3:28 PM, Javier Fontan jfon...@opennebula.org wrote:
 IP, hostname and SSH key configuration work but not DNS configuration.
 I think it worked in older versions of the image. Any change in the
 cloud-init code?

 On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org 
 wrote:
 hi,

 http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2

 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a

 This is the last Release Candidate for the Generic cloud mainline image,
 these will be build and released monthly to include all security updates
 and bugfix's.

 These are compressed qcow2 images, with cloud-init and growpart utils
 installed, root logins are deprecated in favour of default 'centos' logins.

 Please test, and I will monitor this thread for comments. unless there
 is a major blocker, I will move to release this early next week.

 Please note : this is a common image, and repsents an identical
 footprint on all official centos images in public and private clouds.

 Regards and thanks for the work that Javier Fontan did to bring in the
 opennebula support to cloud-init,

 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Where are the CentOS one-context-4.8.0-1.noarch rpm files?

2014-09-23 Thread Javier Fontan
The images from the marketpace already come with the context packages installed.

To download the packages you can go to one of these places:

http://dev.opennebula.org/projects/opennebula/files
https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

On Fri, Sep 19, 2014 at 1:49 PM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Hello,

 I am installing a CentOS 6.5 VM from scratch. I would like, of course, to
 contextualize it. Where can I download the one-context-4.8.0-1.noarch.rpm
 from? It is installed by default on a CentOS 6.5 VM that I deploy from the
 Marketplace.

 Thank you.

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] updated from 3.2 to 4.6

2014-09-23 Thread Javier Fontan
Make sure that PATH is not pointing to the old OpenNebula installation
and ONE_LOCATION environment variable is unset.

On Tue, Sep 23, 2014 at 8:59 AM, Alejandro Feijóo alfei...@cesga.es wrote:
 Hi.

 I have a VM that runn opennebula utils (onevm, onevnet, oneimage) from
 3.2 version. This utils conect to Opennebula server that yesterday had a 4.6
 version, and worked fine (conect using RPC)

 but now, we updated server to 4.8 and onevnet stop working (if a did a
 onevnet show ID_net)


 The problem:

 I decided to update to 4.8 the utils at MV, remember that 3.2 was installing
 using a tar.gz, but now we use a yum install opennebula.

 All was fine at VM, but after that... the Opennebula utils say that are a
 3.2 version (I can see that using onevnet -h)... but rpm say that was
 installed 4.8

 any idea? i think there are a problem at ruby or similar...

 Thanks in advance.

 --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] CentOS-7 mainline GenericCloud test image

2014-09-23 Thread Javier Fontan
IP, hostname and SSH key configuration work but not DNS configuration.
I think it worked in older versions of the image. Any change in the
cloud-init code?

On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org wrote:
 hi,

 http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2

 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a

 This is the last Release Candidate for the Generic cloud mainline image,
 these will be build and released monthly to include all security updates
 and bugfix's.

 These are compressed qcow2 images, with cloud-init and growpart utils
 installed, root logins are deprecated in favour of default 'centos' logins.

 Please test, and I will monitor this thread for comments. unless there
 is a major blocker, I will move to release this early next week.

 Please note : this is a common image, and repsents an identical
 footprint on all official centos images in public and private clouds.

 Regards and thanks for the work that Javier Fontan did to bring in the
 opennebula support to cloud-init,

 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] CentOS-7 mainline GenericCloud test image

2014-09-23 Thread Javier Fontan
There is another bigger problem. I've found out that I had a DHCP
server running in my machine. Deactivating it configures the IP
correctly (can be pinged) but SSH is inaccessible (port closed?). It
also adds the DNS configuration but there is already a nameserver in
/etc/resolv.conf in the original image. Can you delete or make the
file /etc/resolv.conf empty in the image?

After restarting the VM it works correctly. I'm looking into the SSH problem.

On Tue, Sep 23, 2014 at 3:28 PM, Javier Fontan jfon...@opennebula.org wrote:
 IP, hostname and SSH key configuration work but not DNS configuration.
 I think it worked in older versions of the image. Any change in the
 cloud-init code?

 On Fri, Sep 19, 2014 at 12:18 PM, Karanbir Singh mail-li...@karan.org wrote:
 hi,

 http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud-20140917_02.qcow2

 sha256: 836934ff633a7c8accabe44a1196f0b89b4553c29fb270c7d44798000ea6f35a

 This is the last Release Candidate for the Generic cloud mainline image,
 these will be build and released monthly to include all security updates
 and bugfix's.

 These are compressed qcow2 images, with cloud-init and growpart utils
 installed, root logins are deprecated in favour of default 'centos' logins.

 Please test, and I will monitor this thread for comments. unless there
 is a major blocker, I will move to release this early next week.

 Please note : this is a common image, and repsents an identical
 footprint on all official centos images in public and private clouds.

 Regards and thanks for the work that Javier Fontan did to bring in the
 opennebula support to cloud-init,

 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] networking restart issue on Market images

2014-09-23 Thread Javier Fontan
I'm not sure about the Debian image but the Ubuntu 14.04 - OpenNebula 4.8
uses newer context packages that are not compatible with old OpenNebula
versions. They now need the MAC address from the interface to find the
correct interface with the new interface naming scheme. Until OpenNebula
4.6 this information is not added to the Context section.

I have updated the Ubuntu 14.04 - OpenNebula 4.8 as it had some other
problems.

Try this image, it should be compatible with your OpenNebula version:

http://appliances.c12g.com/Ubuntu-14.04/ubuntu14.04.qcow2.gz

On Thu, Sep 18, 2014 at 3:47 PM, Olivier Sallou olivier.sal...@irisa.fr
wrote:

  Hi,
 I have tried to use the following images from Market in my OpenNebula
 private cloud (4.2).

 The Debian image boots but it is impossible to connect. As this image has
 a login/root available, I connected to the VNC and saw that network files
 (/etc/network/interfaces)  were correctly setup, but the ifconfig command
 shows an errouneous config.

 If I execute a service networking restart, the network restart and
 interfaces from ifconfig are fine (and network access too).

 So everything done at startup by one-context.d files is correct, but it
 seems that the service networking stop/start from contextualisation fails
 (though I see nothing in /var/log).


 On the Ubuntu image, from the market too, I cannot be sure, as there is no
 root password to access. I only see the same symptoms (cannot connect to
 the VM).

 I have no issues with my own/local VMs.

 I saw a previous post (
 http://lists.opennebula.org/pipermail/users-opennebula.org/2014-March/044229.html)
 about networking issues and I wonder if this is the same problem and market
 image were not updated.

  Appliance - debian-7.1-amd64-kvm   ID 52168fb81d2be703  URL link
 http://marketplace.c12g.com/appliance/52168fb81d2be703
 Publisher Demo-TIC  Downloads 1637  OS Debian 7.1  Arch x86_64  Size 5GB
 Hypervisor KVM



  Appliance - Ubuntu 14.04 - KVM - OpenNebula 4.8   ID
 53e7c1b28fb81d6a6903  URL link
 http://marketplace.c12g.com/appliance/53e7c1b28fb81d6a6903
 Publisher C12G Labs  Downloads 573  OS
   Arch x86_64  Size 10GB  Hypervisor KVM

  Regards

 Olivier

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Real CPU/MEM = 0 after upgrade

2014-09-23 Thread Javier Fontan
Ganglia IM drivers are no longer included in the distribution and we
have not modified them for quite some time so I'm not sure they will
work.

There may be also a problem related with the new collectd system to
get information, now monitoring is pushed from the nodes and is active
by default.

Check these documents:

http://docs.opennebula.org/4.8/administration/monitoring/mon.html
http://docs.opennebula.org/4.8/administration/monitoring/imudppushg.html

On Tue, Sep 23, 2014 at 11:58 AM, Olivier Sallou
olivier.sal...@irisa.fr wrote:
 As additional info,
 I tested ganglia_probe, and it looks fine:

 oneadmin@genokvm4:/var/lib/one/remotes/im/ganglia.d$ ./ganglia_probe kvm
 14 genokvm7
 TOTALCPU=2400
 CPUSPEED=2666
 TOTALMEMORY=99202048
 USEDMEMORY=98827836
 FREEMEMORY=374212
 FREECPU=2181.6
 USEDCPU=218.40001
 NETTX=9129152.00
 NETRX=9256168.00
 VMS_INFORMATION=


 On 09/23/2014 10:56 AM, Olivier Sallou wrote:
 Hi,
 I have upgraded from 4.2 to 4.8, and  all processes are fine BUT:

 the REAL CPU and MEM values of all my hosts remain at 0 (while allcoated
 is ok).
 I use the ganglia driver, I don't know if it is used for real values.

 Messages look fine:

 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm6 (13)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm7 (14)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm3 (21)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm8 (22)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm9 (24)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm10 (25)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Monitoring host genokvm11 (26)
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm6 (13) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm7 (14) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm3 (21) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm8 (22) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm9 (24) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm10 (25) successfully
 monitored.
 Tue Sep 23 10:54:57 2014 [Z0][InM][D]: Host genokvm11 (26) successfully
 monitored.


 I have waited for quite a long time, so it should not be a problem

 Any idea how to debug this ? This prevent VM scheduling

 Thanks

 Olivier


 --
 Olivier Sallou
 IRISA / University of Rennes 1
 Campus de Beaulieu, 35000 RENNES - FRANCE
 Tel: 02.99.84.71.95

 gpg key id: 4096R/326D8438  (keyring.debian.org)
 Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] AppMarket 2.0.2 released

2014-09-19 Thread Javier Fontan
We have just released a new version of AppMarket that fixes some
incompatibilities with ONE 4.8. Here you have more information about
the release and the links to download the packages:

https://github.com/OpenNebula/addon-appmarket#appmarket-202

-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Error when instantiating template with OS Disk and Datablock - 4.8

2014-09-17 Thread Javier Fontan
When you say datablock you mean that you've created an image and is if
type datablock?

From the logs it says that the driver is qcow2:

format=qcow2,

Can you check that the image is really in qcow2 format?

qemu-img info /var/lib/one//datastores/0/1151/disk.1

If it's not either:

* When creating the datablock specify qcow2 as the FS Type
* Add DRIVER=raw to the image

On Tue, Sep 16, 2014 at 6:32 PM, Robert Tanase robert.tan...@appnor.com wrote:
 Hello One Users,

 I am facing a strange behavior when instantiating a template.

 1) When template contains only the OS disk (qcow2) - VM instances get on
 Active/Running'

 2) When a second disk (Datablock - 1GB - vd - no other settings) - got the
 following error:

 I was trying also with qcow2 Datablock - same result.

 Any help is much appreciated.

 Thank you,
 Robert Tanase

 Tue Sep 16 19:21:26 2014 [DiM][I]: New VM state is ACTIVE.
 Tue Sep 16 19:21:27 2014 [LCM][I]: New VM state is PROLOG.
 Tue Sep 16 19:21:47 2014 [LCM][I]: New VM state is BOOT
 Tue Sep 16 19:21:47 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/1151/deployment.0
 Tue Sep 16 19:21:47 2014 [VMM][I]: ExitCode: 0
 Tue Sep 16 19:21:47 2014 [VMM][I]: Successfully execute network driver
 operation: pre.
 Tue Sep 16 19:21:49 2014 [VMM][I]: Command execution fail: cat  EOT |
 /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/1151/deployment.0'
 'bu-mf39071.appnor.net' 1151 bu-mf39071.mydomain.net
 Tue Sep 16 19:21:49 2014 [VMM][I]: setlocale: No such file or directory
 Tue Sep 16 19:21:49 2014 [VMM][I]: error: Failed to create domain from
 /var/lib/one//datastores/0/1151/deployment.0
 Tue Sep 16 19:21:49 2014 [VMM][I]: error: internal error process exited
 while connecting to monitor: kvm: -drive
 file=/var/lib/one//datastores/0/1151/disk.1,if=none,id=drive-ide0-0-1,format=qcow2,cache=none:
 could not open disk image /var/lib/one//datastores/0/1151/disk.1: Invalid
 argument
 Tue Sep 16 19:21:49 2014 [VMM][I]:
 Tue Sep 16 19:21:49 2014 [VMM][E]: Could not create domain from
 /var/lib/one//datastores/0/1151/deployment.0
 Tue Sep 16 19:21:49 2014 [VMM][I]: ExitCode: 255
 Tue Sep 16 19:21:49 2014 [VMM][I]: Failed to execute virtualization driver
 operation: deploy.
 Tue Sep 16 19:21:49 2014 [VMM][E]: Error deploying virtual machine: Could
 not create domain from /var/lib/one//datastores/0/1151/deployment.0
 Tue Sep 16 19:21:49 2014 [DiM][I]: New VM state is FAILED



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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] EPL repo for CentOS 7

2014-09-10 Thread Javier Fontan
Thanks for the heads up. We will change the documentation.

On Wed, Sep 10, 2014 at 11:30 AM, Karanbir Singh mail-li...@karan.org wrote:
 you should not need any of that, just a simple 'yum install
 epel-release' will now work on any CentOS distro/arch/ver

 - KB

 On 09/10/2014 10:18 AM, Anandharaj Subramaniam wrote:
 Hi,



 The EPL repo URL stated in the documentation is not valid. Should be
 updated.



 Wrong:

 /yum install
 http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm/

 Correct:

 /yum install 
 http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm/







 --

 Regards,

 Anandharaj




 
 *DISCLAIMER:*

 This e-mail (including any attachments) is for the addressee(s) only and
 may be confidential, especially as regards personal data. If you are not
 the intended recipient, please note that any dealing, review,
 distribution, printing, copying or use of this e-mail is strictly
 prohibited. If you have received this email in error, please notify the
 sender immediately and delete the original message (including any
 attachments).


 MIMOS Berhad is a research and development institution under the purview
 of the Malaysian Ministry of Science, Technology and Innovation.
 Opinions, conclusions and other information in this e-mail that do not
 relate to the official business of MIMOS Berhad and/or its subsidiaries
 shall be understood as neither given nor endorsed by MIMOS Berhad and/or
 its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts
 responsibility for the same. All liability arising from or in connection
 with computer viruses and/or corrupted e-mails is excluded to the
 fullest extent permitted by law.

 --
 -
 -
 DISCLAIMER:

 This e-mail (including any attachments) is for the addressee(s)
 only and may contain confidential information. If you are not the
 intended recipient, please note that any dealing, review,
 distribution, printing, copying or use of this e-mail is strictly
 prohibited. If you have received this email in error, please notify
 the sender immediately and delete the original message.
 MIMOS Berhad is a research and development institution under
 the purview of the Malaysian Ministry of Science, Technology and
 Innovation. Opinions, conclusions and other information in this e-
 mail that do not relate to the official business of MIMOS Berhad
 and/or its subsidiaries shall be understood as neither given nor
 endorsed by MIMOS Berhad and/or its subsidiaries and neither
 MIMOS Berhad nor its subsidiaries accepts responsibility for the
 same. All liability arising from or in connection with computer
 viruses and/or corrupted e-mails is excluded to the fullest extent
 permitted by law.




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



 --
 Karanbir Singh
 +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
 GnuPG Key : http://www.karan.org/publickey.asc
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Run bash script in vm on spin-up (Users Digest, Vol 79, Issue 20)

2014-09-09 Thread Javier Fontan
You are right. There are some CONTEXT variables that are not in the
template documentation. Thanks for the tip.

On Tue, Sep 9, 2014 at 7:44 AM, Rolandas Naujikas
rolandas.nauji...@mif.vu.lt wrote:
 Please look

 http://docs.opennebula.org/4.8/user/references/template.html#context-section

 and

 http://docs.opennebula.org/4.8/user/virtual_machine_setup/cong.html

 FILES_DS and INIT_SCRIPTS.

 INIT_SCRIPTS is missing in context reference documentation.

 Regards,
 Rolandas Naujikas

 On 2014.09.08 23:09, kerryhall . wrote:

 Thanks! I'm still having issues here unfortunately. I tried putting:

 FILES_DS=$FILE[IMAGE=\test.sh\]

 into my template context section, but I get:

 User 0 does not own an image with name: test.sh

 I'm not trying to include an image, I just want test.sh (a file in my file
 datastore) to get copied to anywhere on my vm's filesystem. (And
 eventually, I want test.sh to get run on vm creation, or failing that,
 every time the vm starts)

 Thanks!!

 On Fri, Jul 25, 2014 at 11:18 PM, Valentin Bud valentin@gmail.com
 wrote:

 Hello Kerry,

 Under Defining Context [1] there is an example how to use FILES_DS.

 FILES_DS=$FILE[IMAGE=\test.sh\]

 [1]: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html

 Best,
 Valentin



 On Fri, Jul 25, 2014 at 11:29 PM, kerryhall . kerryh...@gmail.com
 wrote:

 Hi folks,

 I am trying to run a bash script on a vm as it gets spun up. I've read:
 http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html

 but there isn't too much to go on there.

 I have created test.sh and put it into the files datastore on the
 head node.

 The issue I am having is that the syntax in the Defining Context
 section of
 http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html is
 ambiguous, specifically the files_ds section. I have tried:

 FILES_DS=$FILE[\test.sh\]

 and
 FILES_DS=/var/lib/one/datastores/2/test.sh

 As a first step, I'm just trying to get this file included in my vm at
 all.

 Thanks!
 Kerry


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



 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140908/73439fbb/attachment-0001.htm



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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] ONE 4.8 + Gluster-3.4.5 on Centos 6.5 -- VMs stuck in BOOT

2014-09-09 Thread Javier Fontan
That's right. Even if it is using GlusterFS the way of accessing the
files is using the fuse filesystem. This makes the IO performance
suffer.

Do you get any errors in the log files related to gluster when you try
to boot a machine with DISK_TYPE=GLUSTER is activated? It could be a
firewall or a permission problem. Make sure that the hypervisor host
can access clu100 port 24007.

Also make sure that the server has the rpc-auth-allow-insecure option
configured and was restarted after the change.

On Sat, Aug 30, 2014 at 11:44 AM, Marco Aroldi marco.aro...@gmail.com wrote:
 Hi all,
 this is my first post to the list

 My goal is to get ONE 4.8 up and running using Gluster as datastore,
 everything on CentOS 6.5
 The problem: the VM remains stuck in BOOT status
 I've found a way to boot the machines (see below), but I think is not
 the correct way to manage this setup.

 First, let me describe what I've done until now:
 I've followed the docs at
 http://docs.opennebula.org/4.8/administration/storage/gluster_ds.html
 and the post on the blog by Javier Fontan
 http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/

 This is my Gluster volume:
 Volume Name: sys-one
 Type: Replicate
 Volume ID: f1bf1bcc-0280-46db-aab8-69fd34672263
 Status: Started
 Number of Bricks: 1 x 2 = 2
 Transport-type: tcp
 Bricks:
 Brick1: clu001:/one
 Brick2: clu100:/one
 Options Reconfigured:
 cluster.server-quorum-type: server
 cluster.quorum-type: auto
 network.remote-dio: enable
 cluster.eager-lock: enable
 performance.stat-prefetch: on
 performance.io-cache: off
 performance.read-ahead: off
 performance.quick-read: off
 storage.owner-gid: 9869
 storage.owner-uid: 9869
 server.allow-insecure: on

 And the datastores:
   ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
1 default   230.7G 86%   - 6 img  fs   shared
2 files 230.7G 86%   - 0 fil  fs   ssh
  108 GLUSTER  24G 52%   cluss 2 img  fs   shared
  110 new system   24G 52%   cluss 0 sys  -shared


 DATASTORE 108 INFORMATION
 ID : 108
 NAME   : GLUSTER
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: cluss
 TYPE   : IMAGE
 DS_MAD : fs
 TM_MAD : shared
 BASE PATH  : /var/lib/one//datastores/108
 DISK_TYPE  :

 DATASTORE CAPACITY
 TOTAL: : 24G
 FREE:  : 12.5G
 USED:  : 6.3G
 LIMIT: : 12.7G

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

 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 CLONE_TARGET=SYSTEM
 DISK_TYPE=GLUSTER
 DS_MAD=fs
 GLUSTER_HOST=clu100:24007
 GLUSTER_VOLUME=sys-one
 LIMIT_MB=13000
 LN_TARGET=NONE
 TM_MAD=shared
 TYPE=IMAGE_DS

 DATASTORE 110 INFORMATION
 ID : 110
 NAME   : new system
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: cluss
 TYPE   : SYSTEM
 DS_MAD : -
 TM_MAD : shared
 BASE PATH  : /var/lib/one//datastores/110
 DISK_TYPE  : FILE

 DATASTORE CAPACITY
 TOTAL: : 24G
 FREE:  : 12.5G
 USED:  : 6.3G
 LIMIT: : -

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

 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 SHARED=YES
 TM_MAD=shared
 TYPE=SYSTEM_DS


 Here is the mounted glusterfs:
 clu100:/sys-one on /gluster type fuse.glusterfs
 (rw,default_permissions,allow_other,max_read=131072)

 And the symbolic links in the datastores directory:
 lrwxrwxrwx  1 oneadmin oneadmin8 Aug 30 10:18 108 - /gluster
 lrwxrwxrwx  1 oneadmin oneadmin8 Aug 30 10:18 110 - /gluster

 I've found the culprit in the system datastore:
 Created a new system datastore ON THE LOCAL FILESYSTEM:

 111 system230.7G 86%   - 0 sys  -shared

 DATASTORE 111 INFORMATION
 ID : 111
 NAME   : system
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : SYSTEM
 DS_MAD : -
 TM_MAD : shared
 BASE PATH  : /var/lib/one//datastores/111
 DISK_TYPE  : FILE

 DATASTORE CAPACITY
 TOTAL: : 230.7G
 FREE:  : 199.2G
 USED:  : 1M
 LIMIT: : -

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

 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 SHARED=YES
 TM_MAD=shared
 TYPE=SYSTEM_DS

 Deploying now puts the VM in RUNNING status but, correct me if I'm
 wrong, this setup is not compliant, right?
 Thanks for the help

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan

Re: [one-users] Live migration fails

2014-09-08 Thread Javier Fontan
Go to machine 10.23.24.13 and as oneadmin execute:

ssh 10.23.24.19

Most probably you have an old fingerprint for that host in the known_hosts file

On Mon, Sep 8, 2014 at 8:09 AM, Johan Kooijman m...@johankooijman.com wrote:
 Yup, not a problem at all.


 On Mon, Sep 8, 2014 at 8:05 AM, Sander Klein roe...@roedie.nl wrote:

 Hi,

 Can the destination host oneadmin ssh to the source host?

 Greets,

 Sander

 On 8 sep. 2014, at 07:54, Johan Kooijman m...@johankooijman.com wrote:

 Hey All,

 I just tried to live migrate a VM, but got a message it failed:

 migrate: Command virsh --connect qemu:///system migrate --live one-810
 qemu+ssh://10.23.24.19/system failed: error: Cannot recv data: Host key
 verification failed.: Connection reset by peer

 See https://plakbord.cloud.nl/p/hBkytAtcPG627NLYrUS18AAB.

 qemu process is running as user oneadmin. user oneadmin can succesfully
 ssh to the node. Am I missing something here?

 --
 Met vriendelijke groeten / With kind regards,
 Johan Kooijman

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




 --
 Met vriendelijke groeten / With kind regards,
 Johan Kooijman

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-08 Thread Javier Fontan
The context packages are meant to be used with static networking. To
add that parameters to network configuration you can do one of these
things:

* Create the network configuration in the base images manually and do
not set network contextualization in OpenNebula so they are not
overwritten.
* Modify the context packages to add those parameters [1]

For the third thing there is no way to do it. OpenNebula gets an IP
from the network pool and assigns it to the NIC. There is no way to
change it after it is selected and there is no external method of
selecting the IP. What you can do is configure DHCP so it picks the
same IP as OpenNebula had selected for the VM. The MAC addresses are
generated from the MAC prefix and the IP, you can configure DHCP with
those mac/ip pairs.

MAC = PREFIX + IP in hex

02:00:0a:00:00:01 = 02:00 + 10.0.0.1 (in hex is 0a:00:00:01)

[1] 
https://github.com/OpenNebula/addon-context-linux/blob/master/base_rpm/etc/one-context.d/00-network#L103-L114

On Sat, Sep 6, 2014 at 12:23 AM, kerryhall . kerryh...@gmail.com wrote:
 Hi folks,

 I have a small ONE cluster that I am currently setting up on 4.8. I have a
 ethernet network model, and I have added the following line to my template:

 SET_HOSTNAME=$NAME.mydomain.int

 So far so good, but I need to be able to do the following three things:
 1. set BOOTPROTO=dhcp in /etc/sysconfig/network-scripts/ifcfg-eth0 on new
 vms
 2. set DHCP_HOSTNAME=$NAME.mydomain.int on new vms
 3. set the IP field in sunstone to vm's IP address provided by DHCP

 How do I accomplish these items? I was thinking run a bash script on vm
 startup for items 1 and 2, unless there is a builtin ONE way to do this, but
 what about item 3? Is there just a straight up DHCP networking model I can
 use to make this easier? Does anyone currently use ONE with DHCP?

 Thanks!!
 Kerry

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Thin provisioning and image size

2014-09-08 Thread Javier Fontan
Then the value makes sense as the units stored are Megabytes.

On Fri, Sep 5, 2014 at 3:34 PM, Daniel Dehennin
daniel.dehen...@baby-gnu.org wrote:
 Javier Fontan jfon...@opennebula.org writes:

 Which was the size of the original image? I think that when you do a
 save_as (deferred disk snapshot) it just copies the size of the
 original image to the new one.

 I started with empty qcow2 disk of several virtual sizes, but on disk
 they are all 196KB.

 Regards.
 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] New context packages

2014-09-05 Thread Javier Fontan
Hi,

We've released new context packages with these fixes:

* Disable NetworkManager in RHEL networks (Nicolas Belan)
* Fixed loopback ip address flushing in Debian/Ubuntu (Artur Kraev)

You can find more information and download links at:

https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

Cheers

-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Thin provisioning and image size

2014-09-05 Thread Javier Fontan
Which was the size of the original image? I think that when you do a
save_as (deferred disk snapshot) it just copies the size of the
original image to the new one.

On Tue, Sep 2, 2014 at 2:09 PM, Daniel Dehennin
daniel.dehen...@baby-gnu.org wrote:
 Hello,

 The size of my qcow2 images is always reported as 1M:

 IMAGE 114 INFORMATION
 ID : 114
 NAME   : debian-wheezy
 USER   : nebula
 GROUP  : nebula
 DATASTORE  : default
 TYPE   : OS
 REGISTER TIME  : 04/10 10:18:26
 PERSISTENT : No
 SOURCE :
 /var/lib/one/datastores/1/5d2be6f9746fc3447be11c6621da87df
 FSTYPE : save_as
 SIZE   : 1M
 STATE  : rdy
 RUNNING_VMS: 0

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

 IMAGE TEMPLATE
 DEV_PREFIX=vd
 DRIVER=qcow2
 SAVED_DISK_ID=0
 SAVED_IMAGE_ID=17
 SAVED_VM_ID=347
 SAVE_AS=YES

 As far as I understand, the size is calculated only at creation time and
 never updated.

 I think we could differentiate the real size from the virtual size in
 case of thin provisioning like qcow2, qemu-img actually reports:

 qemu-img info /var/lib/one/datastores/1/5d2be6f9746fc3447be11c6621da87df
 image: /var/lib/one/datastores/1/5d2be6f9746fc3447be11c6621da87df
 file format: qcow2
 virtual size: 40G (42949672960 bytes)
 disk size: 629M
 cluster_size: 65536
 Format specific information:
 compat: 1.1
 lazy refcounts: false

 Regards.

 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] New context packages

2014-09-05 Thread Javier Fontan
You can install them over the old ones.

On Fri, Sep 5, 2014 at 3:19 PM, Hüning, Christian
christian.huen...@haw-hamburg.de wrote:
 Great news!

 So I can basically just install this over the older package? Or do I need to 
 first uninstall the old one?

 -Ursprüngliche Nachricht-
 Von: Users [mailto:users-boun...@lists.opennebula.org] Im Auftrag von Javier 
 Fontan
 Gesendet: Freitag, 5. September 2014 15:00
 An: users@lists.opennebula.org
 Betreff: [one-users] New context packages

 Hi,

 We've released new context packages with these fixes:

 * Disable NetworkManager in RHEL networks (Nicolas Belan)
 * Fixed loopback ip address flushing in Debian/Ubuntu (Artur Kraev)

 You can find more information and download links at:

 https://github.com/OpenNebula/addon-context-linux/releases/tag/v4.8.1

 Cheers

 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | 
 @OpenNebula | github.com/jfontan 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Fwd: Add New Storage Box

2014-09-03 Thread Javier Fontan
We have not tested that configuration but if you only use persistent images
it may work. Make sure you don't try to do cold migrations as the
checkpoint is saved to the system datastore and probably will get some time
to be synchronized with the new node.


On Tue, Aug 26, 2014 at 9:04 AM, Rhesa Mahendra rh...@lintasmediadanawa.com
 wrote:

  Datastore 0 and datastore 2 will be synchronized frontend + nodes (we
 just use persistent image) so i think datastore 0 just synchronized
 symbolic link.
 If we have problem maybe existing storage box (datastore 1) broken, all vm
 used new storage box ( datastore 100) will not impact with datastore 1
 because datastore 0 shared and synchronized across frontend +nodes. it
 possible?

 Rhesa


 On 08/26/2014 01:52 PM, Jaime Melis wrote:

 Rhesa,

  the problem is datastore 0, it's the system datastore. If you move it to
 the local nodes, it will not be shared and synchronized across the nodes,
 therefore you will lose many benefits like live-migration and instant
 persintant image VM deployment.

  Why is it that you want to move datastore 0 to the frontend + nodes?


 On Tue, Aug 26, 2014 at 8:44 AM, Rhesa Mahendra 
 rh...@lintasmediadanawa.com wrote:

  Jaime,

 Thanks for your reply, now datastore 0 and datastore 2 are in existing
 storage box, mounted in frontend + nodes, we want to move datastore 0 and
 datastore 2 from existing storage box to frontend + nodes, could it be done?

 So in existing storage box just have datastore 1 and in new storage box
 just have datastore 100.

 Rhesa.


 On 08/26/2014 01:34 PM, Jaime Melis wrote:

 Hi,

  I don't entirely understand the difference between both options, could
 you explain in more detail what you mean by distributing the datastore to
 all the nodes?

  Assuming your configuration is as follows: NFS Server exports
 datastores 0 and 1 - Mounted in Frontend + Nodes

  I recommend the following option:
 - Create a new Image datastore (it will have ID = 100, in this example
 we will assume it has ID: 100)
 - Create a new exports directive in your new storage box, for example
 /storage/datastores/100
  - Mount that mountpoint in all the nodes including the frontend in the
 following path: /var/lib/one/datastores/100

  Now you can register more images in the new datastore (ID: 100), and
 since they are all persistent they will not take space in the system
 datastore (ID: 0)

  Best regards,
 Jaime



 On Tue, Aug 26, 2014 at 6:05 AM, Rhesa Mahendra 
 rh...@lintasmediadanawa.com wrote:

  Guys, please help.



  Original Message   Subject: Add New Storage Box  Date: Mon,
 25 Aug 2014 16:21:13 +0700  From: Rhesa Mahendra
 rh...@lintasmediadanawa.com rh...@lintasmediadanawa.com  To:
 users@lists.opennebula.org users@lists.opennebula.org
 users@lists.opennebula.org, Javier Fontan jfon...@opennebula.org
 jfon...@opennebula.org

 Guys,

 We have plan to add a new storage box, Our existing storage :
 /var/lib/one/datastore/0 = system
 /var/lib/one/datastore/1 = image
 /var/lib/one/datastore/2 = file
 All type are from one storage box.

 We did internal discuss and we get result with two options:

 1. We add a new storage box as an image type and define it as
 /var/lib/one/datastore/3 = image2.

 Or

 2. We will distribute /var/lib/one/datastore/0 = system and
 /var/lib/one/datastore/2 = file to all nodes (all node are synced), then
 we add the new storage box as /var/lib/one/datastore/3 = image2
 So with this second option, the nodes only mount two path from the
 storage box (/var/lib/one/datastore/1 = image [from existing storage
 box]  and /var/lib/one/datastore/3 = image2 [from new storage box]). All
 the images are persistent
 Please give us some advise with pros and cons within this two options,
 thanks.

 Rhesa




 ___
 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




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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] OpenNebula Puppet resource types available

2014-09-03 Thread Javier Fontan
Thanks Martin!

I've added both links to the community wiki:

http://community.opennebula.org/start?#system_configuration_management


On Fri, Aug 8, 2014 at 9:20 AM, Martin Alfke tux...@gmail.com wrote:
 Hi,

 I have created a set of OpenNebula Puppet resource type which allow you to 
 manage your OpenNebula installation using Puppet DSL only.

 The code can be found on github 
 (https://github.com/epost-dev/opennebula-puppet-module).
 Example usage is on my blog 
 (http://tuxmea.blogspot.de/2014/08/opennebula-puppet-types-and-providers.html).

 Please report issues directly at the github project 
 (https://github.com/epost-dev/opennebula-puppet-module/issues).

 I am still looking for someone who can do a review and code improvements.

 - Martin

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] 2 problems in VMs

2014-09-03 Thread Javier Fontan
Here is the problem:

Wed Aug 20 11:42:39 2014 [ReM][E]: Req:3216 UID:5 TemplateInstantiate
result FAILURE [TemplateInstantiate] Error allocating a new virtual
machine. DISK 0: User 5 does not own an image with name:
CentOS-6.5_x86_64 . Set IMAGE_UNAME or IMAGE_UID of owner in DISK.

You need to change IMAGE=.. to IMAGE_UID and the ID number or add
IMAGE_UNAME with the owner of that image.

On Wed, Aug 20, 2014 at 8:19 AM, Sudeep Narayan Banerjee
snbaner...@iitgn.ac.in wrote:
 Dear Javier,

 This is the oned.log when user snbanerjee(myself) is trying to instantiate
 the template CentOS-6.5 from my GUI LDAP account.

 
 [oneadmin@front ~]$ tail -f /var/log/one/oned.log
 Wed Aug 20 11:42:39 2014 [ReM][D]: Req:4288 UID:5 TemplateInfo invoked, 33
 Wed Aug 20 11:42:39 2014 [ReM][D]: Req:4288 UID:5 TemplateInfo result
 SUCCESS, VMTEMPLATEID33/...
 Wed Aug 20 11:42:39 2014 [ReM][D]: Req:3216 UID:5 TemplateInstantiate
 invoked, 33, , false, DESCRIPTION=Very sm...
 Wed Aug 20 11:42:39 2014 [InM][D]: Host nc2 (19) successfully monitored.
 Wed Aug 20 11:42:39 2014 [ONE][E]: DISK 0: User 5 does not own an image with
 name: CentOS-6.5_x86_64 . Set IMAGE_UNAME or IMAGE_UID of owner in DISK.
 Wed Aug 20 11:42:39 2014 [ReM][E]: Req:3216 UID:5 TemplateInstantiate result
 FAILURE [TemplateInstantiate] Error allocating a new virtual machine. DISK
 0: User 5 does not own an image with name: CentOS-6.5_x86_64 . Set
 IMAGE_UNAME or IMAGE_UID of owner in DISK.
 Wed Aug 20 11:42:52 2014 [AuM][D]: Message received: AUTHENTICATE SUCCESS
 1108 -


 -


 [oneadmin@front ~]$ oneimage show 35
 IMAGE 35 INFORMATION
 ID : 35
 NAME   : CentOS-6.5_x86_64
 USER   : oneadmin
 GROUP  : oneadmin
 DATASTORE  : default
 TYPE   : OS
 REGISTER TIME  : 08/11 10:32:36
 PERSISTENT : No
 SOURCE : /var/lib/one//datastores/1/89fc59d8a0382ab679df53f3c6c4627c
 PATH   : http://appliances.c12g.com/CentOS-6.5/centos6.5.qcow2.gz
 SIZE   : 267M
 STATE  : rdy
 RUNNING_VMS: 0

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

 IMAGE TEMPLATE
 DEV_PREFIX=hd
 DRIVER=qcow2

 VIRTUAL MACHINES

 

 Regards,
 Sudeep



 On Mon, Aug 18, 2014 at 1:47 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 Do you get any extra information on oned.log? Maybe the user does not
 have permission to use a network or the template itself.

 On Mon, Aug 11, 2014 at 8:20 AM, Sudeep Narayan Banerjee
 snbaner...@iitgn.ac.in wrote:
  Dear Valentin,
 
  I am using 4.6.2 version.
 
  I did from CLI and GUI and checked that is um- for all
  owner,group,others
 
  I also tried by changing the group; chgrp from oneadmin to users but no
  luck. Users is the group that carries all the LDAP users.
 
  The only way it works, if I manually change the ownership of the
  username.
  But we have our LDAP users to directly login and use. Is that the only
  way
  to manually enter each  everyone's ownership!?!
 
  Regards,
  Sudeep
 
 
  On Mon, Aug 11, 2014 at 11:45 AM, Valentin Bud valentin@gmail.com
  wrote:
 
  Hello Sudeep,
 
  I don't know what version of OpenNebula are you using. I have tested on
  my
  setup,
  which uses 4.4. The following might not apply in your case. See inline.
 
 
  [oneadmin@front ~]$ oneimage chmod 33 664
 
 
  [oneadmin@front ~]$ oneimage show 33
  IMAGE 33 INFORMATION
  ID : 33
  NAME   : win7_sys
  USER   : oneadmin
  GROUP  : oneadmin
  DATASTORE  : default
  TYPE   : OS
  REGISTER TIME  : 07/30 14:49:49
  PERSISTENT : No
  SOURCE :
  /var/lib/one//datastores/1/0f72c7f0cd7fdc78f53b4fdbd2edb008
  PATH   : /home/wind.qcow2
  SIZE   : 9G
  STATE  : rdy
  RUNNING_VMS: 0
 
  PERMISSIONS
  OWNER  : um-
  GROUP  : u--
  OTHER  : ---
 
  IMAGE TEMPLATE
  DEV_PREFIX=hd
  DRIVER=qcow2
 
 
  According to the above output it seems like oneimage chmod didn't
  change
  the
  permissions.
 
  I think they should resemble the following:
  PERMISSIONS
  OWNER  : um-
  GROUP  : um-
  OTHER  : u--
 
  Can you try chmod-ing again, if it still doesn't work maybe it's a bug.
 
  Best,
  Valentin
 
 
 
 
  --
  Thanks  Regards,
  Sudeep Narayan Banerjee
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan




 --
 Thanks  Regards,
 Sudeep Narayan Banerjee



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan

Re: [one-users] Default Attributes

2014-09-03 Thread Javier Fontan
I've just tried the RAW parameter in the driver conf and works OK.
Make sure you restart oned as the default values are read by oned and
not by the driver itself.

Also I had to change the line to this to make it work:

RAW = osbootmenu enable='yes'//os

On Fri, Aug 29, 2014 at 2:28 PM, Stefan Kooman ste...@bit.nl wrote:
 Hi,

 I'm trying to get some Default Attributes for kvm [1], i.e. default
 bootmenu in vm's: RAW = osbootmenu enable=\'yes\'//os entry in
 vmm_exec_kvm.conf. I've tried old and new syntax, see [2] but it's not
 working for newly created vm's. I'm running ONE 4.8. I've synced all the
 hosts and restarted opennebula (if at all needed). This extra bit
 of XML is not included in the domain XML's. Any hints?

 Gr. Stefan

 [1]:
 http://docs.opennebula.org/4.8/administration/virtualization/kvmg.html?highlight=kvm#default-attributes
 [2]: http://dev.opennebula.org/issues/2951



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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] VMs stuck in pending

2014-09-03 Thread Javier Fontan
Your datastore has this parameter:

CLONE_TARGET=SELF

That's why it is checking the storage in the images datastore. It
thinks the clone is made in the same datastore as the origin image.
You have to set it to SYSTEM so it knows you copy the file to the
system datastore.

On Fri, Aug 22, 2014 at 5:25 PM, Simon Vera-Schockner
svera...@akamai.com wrote:
 Hey all,

 I've been scratching my head against this one for a while, all my VMs are
 stuck in a pending mode. I checked sched.log to see why and got this:


 Fri Aug 22 15:20:47 2014 [VM][D]: Pending/rescheduling VM and capacity
 requirements:
   VM  CPU  Memory   System DS  Image DS
 
  418   10 1048576 236  DS 100: 20  DS 101: 0
  419   10 1048576 236  DS 100: 20  DS 101: 0
 Fri Aug 22 15:20:47 2014 [HOST][D]: Discovered Hosts (enabled):
  222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
 241 242 243 244 246 247 248 249 250 251 252 253 254 255 256 259 272 273 274
 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 316
 317 318 319 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336
 337 338 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
 Fri Aug 22 15:20:47 2014 [SCHED][I]: VM 418: Image Datastore 100 does not
 have enough free storage.
 Fri Aug 22 15:20:47 2014 [SCHED][I]: VM 419: Image Datastore 100 does not
 have enough free storage.
 Fri Aug 22 15:20:47 2014 [SCHED][I]: Scheduling Results:


 This is the datastore in question that it's failing on
 one-master:~$ onedatastore show 100
 DATASTORE 100 INFORMATION
 ID : 100
 NAME   : qcow2ssh
 USER   : oneadmin
 GROUP  : oneadmin
 CLUSTER: -
 TYPE   : IMAGE
 DS_MAD : fs
 TM_MAD : qcow2ssh
 BASE PATH  : /var/lib/one//datastores/100
 DISK_TYPE  : FILE

 DATASTORE CAPACITY
 TOTAL: : 233.7G
 FREE:  : 119.6G
 USED:  : 2.4G
 LIMIT: : -

 PERMISSIONS
 OWNER  : uma
 GROUP  : u--
 OTHER  : u--

 DATASTORE TEMPLATE
 CLONE_TARGET=SELF
 DISK_TYPE=FILE
 DS_MAD=fs
 LN_TARGET=NONE
 TM_MAD=qcow2ssh

 IMAGES
 4
 11
 13
 15


 I checked VirtualMachineXML.cc and noticed it looped through all datastores
 to determine if there was enough capacity.

 If the virtual machine isn't being deployed to an image datastore, why does
 it check the capacity, and subsequently cause my vm not to be deployed?
 Manually deploying using onevm deploy works just fine.

 Thanks,

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] ubuntu 14.04 as image - no network on first boot

2014-09-02 Thread Javier Fontan
There is a pull request that should fix this problem. I'll generate
new packages as soon as possible. Thanks for the tip.

https://github.com/OpenNebula/addon-context-linux/pull/4

On Wed, Aug 6, 2014 at 5:40 PM, Wilma Hermann wilma.herm...@gmail.com wrote:
 Hi,

 Just stumbled on a curious case today: Using the new context packages under
 Ubuntu 14.04 killed my loopback NIC since it was left it without an IP (so
 127.0.0.1 was not set). I changed the script to call '/sbin/ifquery -X lo
 -la' to leave the loopback device as is.

 Furthermore, under Ubuntu 12.04 ifquery has different console options. No
 idea if they changed it recently, but for the same functionality under 12.04
 one must call '/sbin/ifquery -e lo --list'. Using the 14.04 call from above
 throws an error.

 Greetings
 Wilma

 2014-04-28 22:20 GMT+02:00 Javier Fontan jfon...@opennebula.org:

 I've updated the debian packages with the ip flush command sent by Stefan
 (thanks!). Now it seems to work even when an IP was previously configured in
 the interfaces file. This will make the context scripts more resilient when
 you save a disk without cleaning the interfaces file.

 http://dev.opennebula.org/attachments/download/780/one-context_4.6.0.deb

 If there are no major bugs with the new package this will be the one
 linked in the documentation.

 ML, the source of the context packages in the OpenNebula repository [1].
 We usually put the created packages in the files section of the development
 web pages [2] and link them in the documentation [3].

 [1]
 https://github.com/OpenNebula/one/tree/master/share/scripts/context-packages
 [2] http://dev.opennebula.org/projects/opennebula/files
 [3] http://docs.opennebula.org/4.6/user/virtual_machine_setup/bcont.html


 On Mon, Apr 28, 2014 at 5:55 PM, ML mail mlnos...@yahoo.com wrote:

 Thanks for the new package. I just tested this version 4.6.0 which now
 works perfectly with ubuntu 14.04 and I have network access from the first
 boot.

 Btw: is there an official repository or download page for the ONE context
 packages?




 On Saturday, April 26, 2014 2:28 AM, Javier Fontan
 jfon...@opennebula.org wrote:
 We have applied the changes made by Michael. That seems to do the
 trick. Thank you!

 You can find the package at
 http://dev.opennebula.org/attachments/download/779/one-context_4.6.0.deb

 Cheers

 On Fri, Apr 25, 2014 at 8:54 AM, ML mail mlnos...@yahoo.com wrote:
  Small addition here: after the first boot (where the network is not
  available) instead of rebooting (where the network works afterwards), I 
  can
  simply run ifup eth0 and the network is working. So somehow ONE context
  sets things up correctly but eth0 is simply not up after the first boot...
 
 
 
 
 
 
  On , ML mail mlnos...@yahoo.com wrote:
  I also had no problems with Ubuntu 12.04, this problem only arises with
  14.04. After installing the package I did not touch the interfaces file,
  actually I never touched it and strangely enough it has the correct 
  context
  data in it but eth0 is just not configured upon first boot.
 
 
  Maybe it's my Ubutnu 14.04 image itself... I installed a minimal server
  version of Ubuntu with only OpenSSH from the tasksel menu. Do I maybe need
  additional packages or to run/configure anything additional
  post-installation?
 
  Regards
  ML
 
 
 
 
 
  On Thursday, April 24, 2014 7:57 PM, Javier Fontan
  jfon...@opennebula.org wrote:
  We have tested the package in both 12.04 and 14.04. Network works fine
  in the first boot. Did you modify interfaces file after installing the
  package? One of the things the package does is to empty the interfaces
  file, just has the loopback configured so it does not configure the
  network before the context package starts.
 
  On Thu, Apr 24, 2014 at 2:55 PM, Javier Fontan jfon...@opennebula.org
  wrote:
  Thanks! I'll take a look at it and test it in other distros.
 
  On Thu, Apr 24, 2014 at 8:00 AM, Michael Kutzner
  michael.kutz...@virtion.de wrote:
  Hi Javier,
 
 
  Am 23.04.2014 um 21:18 schrieb Javier Fontan
  jfon...@opennebula.org:
 
  Network restart is not supported in ubuntu. There is new code to
  overcome this issue but we are still testing the packages. A package
  with the latest code is attached if you want to try. You can install
  it over the previous version.
 
  I run into the same problem today and tried to figure out
  what could be a way also to included fixed interfaces configured
  in /etc/network/interfaces.d.
 
  So, I slightly changed at the end of 00-network (from
  configure_network on)
  == snip ==
  configure_network()
  {
  gen_network_configuration  /etc/network/interfaces
  echo source /etc/network/interfaces.d/*.cfg 
  /etc/network/interfaces
  }
 
  deactivate_network()
  {
  . /etc/os-release
  if [ $ID = ubuntu ]; then
  IFACES=`/sbin/ifquery -la`
 
  for i in $IFACES; do
  DEV=`get_dev $i`
  /sbin/ifdown $i
  done
  else

Re: [one-users] CentOS 7 - KVM - OpenNebula 4.8 from Marketplace doesn't start

2014-09-02 Thread Javier Fontan
Hi, I've just uploaded a new version of the image with the correct format.

On Tue, Aug 26, 2014 at 11:52 AM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 We are going to convert it to a more compatible version and reupload.

 Hello, guys. Any progress on that?
 Thanks.


 On 08/21/2014 04:23 PM, Javier Fontan wrote:

 We found a problem with the format of that image. It only works with
 qemu = 1.10. We are going to convert it to a more compatible version
 and reupload.

 In case you have a machine with a newer qemu version you can use this
 command to convert it:

 $ qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 orig_image
 dest_image

 Sorry for the inconveniences.

 On Thu, Aug 21, 2014 at 10:16 AM, Pavel Tankov
 pavel.tan...@strategyobject.com wrote:

 Hello Users,

 I have the following setup:

 Physical host: CentOS 6.5 (64 bit, of course), KVM, all set up following
 the Quickstart Guide here:
 http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos_kvm.html
 Opennebula 4.8.0

 I got from the Marketplace the image named CentOS 7 - KVM - OpenNebula
 4.8. Imported it and it and created the template automatically for me. I
 modified the template to add my ssl public key to be able to login as root,
 added a network and pretty much that was it. I tried to instantiate the
 template, but the VM keeps getting into the FAILED status.

 Do you have any idea why it wouldn't start? Thanks in advance.

 Here is the VM log:

  BEGIN LOG 
 Wed Jul 30 18:00:53 2014 [DiM][I]: New VM state is ACTIVE.
 Wed Jul 30 18:00:53 2014 [LCM][I]: New VM state is PROLOG.
 Wed Jul 30 18:00:56 2014 [LCM][I]: New VM state is BOOT
 Wed Jul 30 18:00:56 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/9/deployment.0
 Wed Jul 30 18:00:56 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:56 2014 [VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute network driver
 operation: post.
 Wed Jul 30 18:00:57 2014 [LCM][I]: New VM state is RUNNING
 Thu Jul 31 14:03:18 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute virtualization
 driver operation: shutdown.
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute network driver
 operation: clean.
 Thu Jul 31 14:03:51 2014 [LCM][I]: New VM state is EPILOG
 Thu Jul 31 14:03:51 2014 [DiM][I]: New VM state is DONE
 Thu Aug 7 12:09:20 2014 [DiM][I]: New VM state is ACTIVE.
 Thu Aug 7 12:09:20 2014 [LCM][I]: New VM state is PROLOG.
 Thu Aug 7 12:09:21 2014 [LCM][I]: New VM state is BOOT
 Thu Aug 7 12:09:21 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/9/deployment.0
 Thu Aug 7 12:09:21 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:21 2014 [VMM][I]: Successfully execute network driver
 operation: pre.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute network driver
 operation: post.
 Thu Aug 7 12:09:22 2014 [LCM][I]: New VM state is RUNNING
 Thu Aug 7 12:24:05 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute virtualization
 driver operation: shutdown.
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute network driver
 operation: clean.
 Thu Aug 7 12:24:15 2014 [LCM][I]: New VM state is EPILOG
 Thu Aug 7 12:24:16 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:03:52 2014 [DiM][I]: New VM state is ACTIVE.
 Tue Aug 19 16:03:52 2014 [LCM][I]: New VM state is PROLOG.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is BOOT
 Tue Aug 19 16:03:53 2014 [VMM][I]: Generating deployment file:
 /var/lib/one/vms/9/deployment.0
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver
 operation: pre.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute virtualization
 driver operation: deploy.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver
 operation: post.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is RUNNING
 Tue Aug 19 16:05:37 2014 [LCM][I]: New VM state is CLEANUP.
 Tue Aug 19 16:05:37 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:05:37 2014 [VMM][W]: Ignored: LOG I 9 Driver command for 9
 cancelled

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error

Re: [one-users] Opennebula 4.8 proble to upload iso

2014-08-27 Thread Javier Fontan
Do you get any more information about the upload in /var/log/one/oned.log?


On Tue, Aug 26, 2014 at 9:08 PM, Vincenzo Barbieri 
vincenzo.barbi...@blueit.it wrote:

 Hi



 when I create a template of type cdrom and try to upload dell'immagene iso I
 get the following error.





 TTP/1.1 500 Tue Aug 26 20:39:33 2014 [I]: 192.168.2.244 - - [26/Aug/2014
 20:39:33] GET
 /image?timeout=falsecsrftoken=bf59266c40d563bfad0576a92cb00167 HTTP/1.1
 401 - 0.0029

 Tue Aug 26 20:39:33 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:33]
 GET /login HTTP/1.1 200 - 0.0627

 Tue Aug 26 20:39:40 2014 [I]: Updating user pool cache.

 Tue Aug 26 20:39:40 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:40]
 POST /login HTTP/1.1 204 - 0.2957

 Tue Aug 26 20:39:40 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:40]
 GET / HTTP/1.1 200 - 0.0479

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /zone?timeout=truecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0089

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /datastore?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0727

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /user?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0849

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /vnet?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0846

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /vm?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36 HTTP/1.1
 200 - 0.0761

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /host?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0701

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /user?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0148

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /group?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0103

 Tue Aug 26 20:39:41 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:41]
 GET /acl?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0104

 Tue Aug 26 20:39:42 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:42]
 GET /image?timeout=truecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0112

 Tue Aug 26 20:39:42 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:42]
 GET /vmtemplate?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0113

 Tue Aug 26 20:39:42 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:42]
 GET /cluster?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0105

 Tue Aug 26 20:39:43 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:43]
 GET
 /service_template?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.1132

 Tue Aug 26 20:39:43 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:43]
 GET /service?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.1167

 Tue Aug 26 20:39:43 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:43]
 GET
 /cluster?timeout=truezone_id=0csrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.0164

 Tue Aug 26 20:39:44 2014 [I]: 192.168.2.244 - - [26/Aug/2014 20:39:44]
 GET /marketplace?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.8899

 Tue Aug 26 21:00:56 2014 [I]: 192.168.2.244 - - [26/Aug/2014 21:00:56]
 GET /image?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.4465

 Tue Aug 26 21:01:30 2014 [I]: 192.168.2.244 - - [26/Aug/2014 21:01:30]
 GET /image?timeout=falsecsrftoken=d85164e3de3389b69675e4e350c47c36
 HTTP/1.1 200 - 0.7304

 Tue Aug 26 21:02:15 2014 [I]: 192.168.2.244 - - [26/Aug/2014 21:02:15]
 POST
 /upload?csrftoken=d85164e3de3389b69675e4e350c47c36img=%7B%22image%22%3A%7B%22NAME%22%3A%22cdrom1%22%2C%22TYPE%22%3A%22CDROM%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%22ds_id%22%3A%22105%22%7Dfile=en_windows_server_2012_r2_with_update_x64_dvd_4065220.isoqqfile=en_windows_server_2012_r2_with_update_x64_dvd_4065220.iso
 HTTP/1.1 500 - 109.9501



 Grazie

 *Vincenzo Barbieri*

 [image: Logo per firma mail - v01]

   via Borgazzi, 27  20900 Monza

   c.so Orbassano, 336  10137 Torino

   Mobile:  (+39) 342 6521139

   vincenzo.barbi...@blueit.it

   www.blueit.it



 [image: paolo]



 P Please consider the environment before printing this document



 Questo messaggio di posta elettronica contiene informazioni di carattere
 riservato, privato e confidenziali rivolte esclusivamente al destinatario
 sopra indicato. E' vietato l'uso, la diffusione, distribuzione o
 riproduzione da parte di ogni altra persona. Nel caso aveste ricevuto
 questo messaggio di posta elettronica per errore, siete pregati di
 segnalarlo immediatamente al mittente e distruggere quanto ricevuto
 (compresi i file allegati) 

Re: [one-users] Error while hot adding virtio nic model to VM

2014-08-27 Thread Javier Fontan
There seems to be a problem related with libvirt and selinux. Can you
try disabling SElinux and doing the attach again? Virtio nic attach is
supported.

On Fri, Aug 22, 2014 at 2:01 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Everyone,

 I am getting error while hot plugging virtio nic model to VM
 One 4.8
 Host - Ubuntu 14.04
 VM -  Windows 2008 R2 (Virtio Drivers already install in the VM)


 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Command execution fail:
 /var/tmp/one/vmm/kvm/attach_nic 'one-15' '02:00:c0:a8:7a:08' 'virbr0'
 'virtio' 'dummy' 15 kvm-node
 Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: attach_nic: Command virsh --connect
 qemu:///system attach-device one-15 (
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: cat EOT
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: interface type='bridge'
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: source bridge='virbr0'/
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: mac address='02:00:c0:a8:7a:08'/
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: model type='virtio'/
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]:
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: /interface
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: EOT
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ) failed: error: Failed to attach
 device from /dev/fd/63
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: error: internal error: unable to
 execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
 Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Could not attach () to one-15
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ExitCode: 1
 Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: attach_nic.
 Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Error attaching new VM NIC: Could not
 attach () to one-15

 Regards
 Kiran Ranjane

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Error while hot adding virtio nic model to VM

2014-08-27 Thread Javier Fontan
You can try but I think disabling apparmor will make libvirt unusable.
I'm not sure about it.

On Wed, Aug 27, 2014 at 2:20 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hi Javier,

 I am using Ubuntu 14.04 as host OS, Do you want me to disable apparmor?

 Regards
 Kiran Ranjane


 On Wed, Aug 27, 2014 at 5:44 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 There seems to be a problem related with libvirt and selinux. Can you
 try disabling SElinux and doing the attach again? Virtio nic attach is
 supported.

 On Fri, Aug 22, 2014 at 2:01 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Everyone,
 
  I am getting error while hot plugging virtio nic model to VM
  One 4.8
  Host - Ubuntu 14.04
  VM -  Windows 2008 R2 (Virtio Drivers already install in the VM)
 
 
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Command execution fail:
  /var/tmp/one/vmm/kvm/attach_nic 'one-15' '02:00:c0:a8:7a:08' 'virbr0'
  'virtio' 'dummy' 15 kvm-node
  Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: attach_nic: Command virsh
  --connect
  qemu:///system attach-device one-15 (
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: cat EOT
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: interface type='bridge'
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: source bridge='virbr0'/
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: mac
  address='02:00:c0:a8:7a:08'/
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: model type='virtio'/
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]:
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: /interface
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: EOT
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ) failed: error: Failed to
  attach
  device from /dev/fd/63
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: error: internal error: unable to
  execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
  Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Could not attach () to one-15
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ExitCode: 1
  Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Failed to execute virtualization
  driver operation: attach_nic.
  Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Error attaching new VM NIC: Could
  not
  attach () to one-15
 
  Regards
  Kiran Ranjane
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan





-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Error while hot adding virtio nic model to VM

2014-08-27 Thread Javier Fontan
It seems to be a bug in libvirt from Ubuntu 14.04. There is a fixed
pakage in the trusty-proposed repo. You can try adding the
ubuntu-proposed repo and upgrading libvirt or try applying this patch

https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1322568/comments/3

The bug report is here:

https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1322568

On Wed, Aug 27, 2014 at 2:51 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Yes, it made libvirt unusable and had to install apparmor it again.

 Tried again on a linux VM got the same error :

 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: Successfully execute network driver
 operation: pre.
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: Command execution fail:
 /var/tmp/one/vmm/kvm/attach_nic 'one-30' '02:00:c0:a8:7a:13' 'virbr0'
 'virtio' 'dummy' 30 kvm-node
 Wed Aug 27 18:20:33 2014 [Z0][VMM][E]: attach_nic: Command virsh --connect
 qemu:///system attach-device one-30 (
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: cat EOT
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: interface type='bridge'
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: source bridge='virbr0'/
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: mac address='02:00:c0:a8:7a:13'/
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: model type='virtio'/
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]:
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: /interface
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: EOT
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: ) failed: error: Failed to attach
 device from /dev/fd/63
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: error: internal error: unable to
 execute QEMU command 'getfd': No file descriptor supplied via SCM_RIGHTS
 Wed Aug 27 18:20:33 2014 [Z0][VMM][E]: Could not attach () to one-30
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: ExitCode: 1
 Wed Aug 27 18:20:33 2014 [Z0][VMM][I]: Failed to execute virtualization
 driver operation: attach_nic.
 Wed Aug 27 18:20:33 2014 [Z0][VMM][E]: Error attaching new VM NIC: Could not
 attach () to one-30


 On Wed, Aug 27, 2014 at 6:12 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 You can try but I think disabling apparmor will make libvirt unusable.
 I'm not sure about it.

 On Wed, Aug 27, 2014 at 2:20 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hi Javier,
 
  I am using Ubuntu 14.04 as host OS, Do you want me to disable apparmor?
 
  Regards
  Kiran Ranjane
 
 
  On Wed, Aug 27, 2014 at 5:44 PM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  There seems to be a problem related with libvirt and selinux. Can you
  try disabling SElinux and doing the attach again? Virtio nic attach is
  supported.
 
  On Fri, Aug 22, 2014 at 2:01 PM, kiran ranjane
  kiran.ranj...@gmail.com
  wrote:
   Hello Everyone,
  
   I am getting error while hot plugging virtio nic model to VM
   One 4.8
   Host - Ubuntu 14.04
   VM -  Windows 2008 R2 (Virtio Drivers already install in the VM)
  
  
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Command execution fail:
   /var/tmp/one/vmm/kvm/attach_nic 'one-15' '02:00:c0:a8:7a:08' 'virbr0'
   'virtio' 'dummy' 15 kvm-node
   Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: attach_nic: Command virsh
   --connect
   qemu:///system attach-device one-15 (
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: cat EOT
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: interface type='bridge'
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: source bridge='virbr0'/
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: mac
   address='02:00:c0:a8:7a:08'/
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: model type='virtio'/
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]:
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: /interface
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: EOT
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ) failed: error: Failed to
   attach
   device from /dev/fd/63
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: error: internal error: unable
   to
   execute QEMU command 'getfd': No file descriptor supplied via
   SCM_RIGHTS
   Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Could not attach () to one-15
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: ExitCode: 1
   Fri Aug 22 17:22:41 2014 [Z0][VMM][I]: Failed to execute
   virtualization
   driver operation: attach_nic.
   Fri Aug 22 17:22:41 2014 [Z0][VMM][E]: Error attaching new VM NIC:
   Could
   not
   attach () to one-15
  
   Regards
   Kiran Ranjane
  
   ___
   Users mailing list
   Users@lists.opennebula.org
   http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  
 
 
 
  --
  Javier Fontán Muiños
  Developer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | @OpenNebula | github.com/jfontan
 
 



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan





-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org

Re: [one-users] Edit template for instentinated VM.

2014-08-27 Thread Javier Fontan
After a VM is deployed you can not change those parameters. You can
change the capacity (memory and cpu) when the VM is powered off or
attach a new nic with a different model.

On Mon, Aug 25, 2014 at 2:18 PM, Leszek Master keks...@gmail.com wrote:
 Hello. I've instantiated some of the VM's, and now i need to change some
 settings for them, for example network card model and add acpi. How can i
 edit the VM Settings in the template tab without redeploying vm ? Can i do
 it simply by editing deployment file?

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] failed to deploy VM

2014-08-27 Thread Javier Fontan
It seems that the datastore 103 is not mounted in the hypervisor node:

Mon Aug 25 13:48:07 2014 [Z0][TM][I]: sh: cd: line 2: can't cd to
/vmfs/volumes/103/21

On Mon, Aug 25, 2014 at 2:07 PM, Vincenzo Barbieri
vincenzo.barbi...@blueit.it wrote:
 Hi

 I'm starting to study OpenNebula, I configured the environment, but I have
 problems when I deploy the VM. Can you help?

 Following error



 on Aug 25 13:48:06 2014 [Z0][DiM][I]: New VM state is ACTIVE.
 Mon Aug 25 13:48:06 2014 [Z0][LCM][I]: New VM state is PROLOG.
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: Command execution fail:
 /var/lib/one/remotes/tm/vmfs/clone
 one-sandbox:/vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5
 prdesx01:/vmfs/volumes/103/21/disk.0 21 1
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: clone: Cloning
 one-sandbox:/vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5 in
 prdesx01:/vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][TM][E]: clone: Command cd
 /vmfs/volumes/103/21
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: export PATH=/usr/sbin:/sbin:$PATH
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: if [ FILE != CDROM ]; then
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: if [ ! -d /vmfs/volumes/103/21/disk.0
 ]; then
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: mkdir -p /vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: fi
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: vmkfstools -U
 /vmfs/volumes/103/21/disk.0/disk.vmdk
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: rm -f /vmfs/volumes/103/21/disk.0/*
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: vmkfstools -i
 /vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5/disk.vmdk -d thin
 /vmfs/volumes/103/21/disk.0/disk.vmdk
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: else
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: if [ ! -d /vmfs/volumes/103/21 ]; then
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: mkdir -p /vmfs/volumes/103/21
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: fi
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: rm -f /vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: cp
 /vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5 /vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]:
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: rm -f /vmfs/volumes/103/21/disk.0.iso
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: ln -s /vmfs/volumes/103/21/disk.0
 /vmfs/volumes/103/21/disk.0.iso
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: fi failed: Warning: Permanently added
 'prdesx01,192.168.1.251' (RSA) to the list of known hosts.
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: sh: cd: line 2: can't cd to
 /vmfs/volumes/103/21
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: Failed to delete virtual disk: The
 system cannot find the file specified (25).
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: DiskLib_Check() failed for source disk
 The system cannot find the file specified (25).
 Mon Aug 25 13:48:07 2014 [Z0][TM][E]: Error cloning
 one-sandbox:/vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5 to
 prdesx01:/vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][TM][I]: ExitCode: 255
 Mon Aug 25 13:48:07 2014 [Z0][TM][E]: Error executing image transfer script:
 Error cloning one-sandbox:/vmfs/volumes/1/b8b9e642447d67a7f256d2a02989fba5
 to prdesx01:/vmfs/volumes/103/21/disk.0
 Mon Aug 25 13:48:07 2014 [Z0][DiM][I]: New VM state is FAILED





 Grazie

 Vincenzo Barbieri












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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Information about image size (oneimage list)

2014-08-27 Thread Javier Fontan
This happens because the stat method (the one that gets the size about
the image) is called before the image is uncompressed. This is
something we have to fix. You can make the way it gets the size in the
stat script from the datastore remotes dir. Change qemu-img info
to du and parse the output.

On Mon, Aug 25, 2014 at 9:28 PM, Paulo A L Rego pauloalr@gmail.com wrote:
 Hello all,

 I downloaded two imagens from marketplace (Ubuntu 14.04 and CentOS 7.0).
 Both images disk size are + - 1 GB, with 10G virtual size..
 Using qemu-img info something like this appears...
 file format: qcow2
 virtual size: 10G (10737418240 bytes)
 disk size: 919M
 All good for these two images.

 The problem is: I created my own image of Ubuntu using vmbuilder with a 30
 GB hard disk...The image disk size is 1 GB too. This is the qemu-img info:
 file format: qcow2
 virtual size: 31G (33555480576 bytes)
 disk size: 1.0G

 However, when i use oneimage list...the images downloaded from marketplace
 appear occupying quite lower space.
 Actually, they are occupying exactly the disk size, and my image seems to
 be occupying the virtual size.

 $ oneimage list
   ID USER   GROUP  NAMEDATASTORE SIZE   TYPE PER
 STAT RVMS
0 oneadmin   oneadmin   UbuntuServer-14 qcow   1.1G   OS
 No rdy 0
2 oneadmin   oneadmin   UbuntuServer-12 qcow   31.3G OS
 No rdy 0
3 oneadmin   oneadmin   CentOS-7.0_x86_   qcow   919M  OS
 No rdy 0

 Whats is going on? How can i make my image occupy less space too?

 Ps:. My datastore is using qcow driver.

 Thanks a lot!

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Nomadic CentOS repository: WHY?!?

2014-08-26 Thread Javier Fontan
Probably we should have explained these changes more clearly in the
release notes. There were two things we wanted to do with the repos:

* Have repositories for development versions so it is easier to test
* Separate repositories between series so the software is not upgraded
accidentally from 4.6 to 4.8. In this case there are several
configuration file changes that need to be addressed manually and we
don't want to render an OpenNebula installation unusable with an
upgrade.

To do both things we create a new repo per series starting from the
development versions. [1]

Concerning the context packages. In 4.8 we moved the context packages
code to an addon [2]. This makes easier to people to contribute and
create new versions with bugfixes and features without the need of
releasing a new OpenNebula version. Before this change the code was in
the main repo and our package scripts also created context packages
that were pushed to the repositories. This had a problem as sometimes
the context packages from the repo and from our web page were not
exactly the same. Now we build directly from the new repository and
upload them to the files section of redmine [3] as Damon has pointed
and to the github repository [4]. Both are binary.

[1] http://dev.opennebula.org/issues/2843
[2] https://github.com/OpenNebula/addon-context-linux
[3] http://dev.opennebula.org/projects/opennebula/files
[4] https://github.com/OpenNebula/addon-context-linux/releases

On Tue, Aug 26, 2014 at 2:43 AM, Bill Cole
openneb-users-20120...@billmail.scconsult.com wrote:
 On 25 Aug 2014, at 19:40, Damon (Albino Geek) wrote:

 Hello,

 I found that there is actually a prebuilt 4.8 context RPM in one of their
 source trees (not GitHub).


 That's not exactly helpful. The fact that there's an RPM in some unnamed
 place built from who-knows-what revision is an interesting and maybe
 indicative factoid, but it does not clarify whether or not there will be a
 canonical RPM for the package in the same repository as those for the other
 packages (or anywhere documented.)


 As per the repo change, this new version actually makes more sense and
 follows proper repo format.
 http://mirrors.kernel.org/centos/6/os/x86_64/ being an example repository
 that follows standard format.

 The stable path part didn't make any sense considering how versions work
 in OpenNebula.


 The '4.8' part doesn't make any sense in any context, and *changing* the
 baseurl for the repository with each release does away with a key reason for
 using a package repository.



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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] OpenNebula Windows Server 2008 R2.

2014-08-22 Thread Javier Fontan
No, I mean that attached nics are not configured by the context
system. You need to do it manually.

On Thu, Aug 21, 2014 at 6:53 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Okay, so you mean to say that once the script is copied and executed, I need
 to remove context.ps1 from context cd?



 On Thu, Aug 21, 2014 at 10:06 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 You have to take into account that the context CD is not regenerated
 after the VM is created so attached nics can not be automatically
 configured.

 On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  Windows machine boot fine and I am able to login.
  Issue is with ip contextualization where the IP is different inside the
  VM
  and different in Sunstone.
 
  I followed Windows Contextualization 4.8 documentation
  -- Copied .vbs script to C: and enable it as a startup script.
  -- Include context.ps1 into the CONTEXT files through Sunstone
  -- rebooted the VM
  -- After reboot it did not assign the ip that was displayed in sunstone.
  -- Then I deleted .opennebula-context and rebooted again and it took
  correct
  Ip that was assigned in Sunstone.
 
  -- However when I hot added another nic to the VM it did not assign the
  ip
  as it was in sunstone instead it took different ip from DHCP.
  -- I delete the .opennebula-context file and rebooted it again but first
  nic
  got correct IP but the second nic did not.
 
  Regards
  Kiran Ranjane
 
 
 
 
  On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro andremonte...@ua.pt
  wrote:
 
  Hi Kiran,
 
 
 
  Can you provide more details on the your problem? I need to know if the
  problem is the machine not booting, not starting windows or not
  executing
  the script.
 
 
 
  --
 
  André Monteiro
 
  
  De: kiran ranjane kiran.ranj...@gmail.com
  Enviado: 21 de agosto de 2014 15:55
  Para: Javier Fontan
  Cc: André Monteiro; Users OpenNebula
 
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Javier,
 
  I downloaded context from the latest 4.8 version documentation. I tried
  Linux version both .deb and .rmp on ubuntu and centos and they are
  working
  fine but having trouble with windows context.
 
  Regards
  Kiran Ranjane
 
 
  On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  Which version of the context scripts are you using? I've been using
  the latest version from the documentation and work OK for me.
 
 
 
  http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html
 
  On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane
  kiran.ranj...@gmail.com
  wrote:
   Hello Andre,
  
   I am also facing the same issue while contextualization Windows 2008
   R2
   virtual machine. As said above, first time it does not work and I
   need
   to
   delete .opennebula from c drive and then restart the VM and it
   works,
   However if I add second nic interface it does not contextualize even
   after
   deleting .opennebula and re-running the the vbs scripts.
  
   Windows Version - Windows Server 2008 R2 Enterprise
   WMI - 6.1.7600.16385
   Powershell - 2.0
  
   Regards
   Kiran Ranjane
  
  
   On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro
   andremonte...@ua.pt
   wrote:
  
   Hi Leszek,
  
  
  
   Please send me details about your Windows version, Powershell and
   WMI,
   it
   may be a problem of  versions. Executing the file on Powershell ISE
   returns
   any error?
  
  
  
   --
  
   André Monteiro
  
   
   De: Jaime Melis jme...@opennebula.org
   Enviado: terça-feira, 29 de Abril de 2014 10:45
   Para: Leszek Master
   Cc: Users OpenNebula; André Monteiro
   Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
  
   Hi Leszek,
  
   apologies with the delay. We've been busy with the release. Does
   the
   hostname change with a reboot?
  
   Does anyone have expertise changing the windows hostname without a
   reboot
   from the powershell CLI? these ares the lines that change the
   hostname:
  
  
   https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
  
   Adding Andé Monteiro, the original author of that line, to the
   conversation.
  
   cheers,
   Jaime
  
  
   On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
   wrote:
  
   Also now i see that it do everything beside changing hostname. The
   Hostname stays unchanged :(
  
  
   2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
  
   I've got VM already contextualized but if i delete .opennebula
   file
   from C: and rerun this, it works 100% good. So why it doesn't
   work
   in the
   first time? Any idea how to track this down?
  
   Also how to delete the cd-rom permamently after contextualizing
   my
   VM?
  
  
   2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
  
   Hi Leszek,
  
   have you tried running the context.ps1 manually?
  
   (inside

Re: [one-users] CentOS 7 - KVM - OpenNebula 4.8 from Marketplace doesn't start

2014-08-21 Thread Javier Fontan
We found a problem with the format of that image. It only works with
qemu = 1.10. We are going to convert it to a more compatible version
and reupload.

In case you have a machine with a newer qemu version you can use this
command to convert it:

$ qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 orig_image dest_image

Sorry for the inconveniences.

On Thu, Aug 21, 2014 at 10:16 AM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Hello Users,

 I have the following setup:

 Physical host: CentOS 6.5 (64 bit, of course), KVM, all set up following the 
 Quickstart Guide here: 
 http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos_kvm.html
 Opennebula 4.8.0

 I got from the Marketplace the image named CentOS 7 - KVM - OpenNebula 4.8. 
 Imported it and it and created the template automatically for me. I modified 
 the template to add my ssl public key to be able to login as root, added a 
 network and pretty much that was it. I tried to instantiate the template, but 
 the VM keeps getting into the FAILED status.

 Do you have any idea why it wouldn't start? Thanks in advance.

 Here is the VM log:

  BEGIN LOG 
 Wed Jul 30 18:00:53 2014 [DiM][I]: New VM state is ACTIVE.
 Wed Jul 30 18:00:53 2014 [LCM][I]: New VM state is PROLOG.
 Wed Jul 30 18:00:56 2014 [LCM][I]: New VM state is BOOT
 Wed Jul 30 18:00:56 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Wed Jul 30 18:00:56 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:56 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Wed Jul 30 18:00:57 2014 [LCM][I]: New VM state is RUNNING
 Thu Jul 31 14:03:18 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: shutdown.
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute network driver 
 operation: clean.
 Thu Jul 31 14:03:51 2014 [LCM][I]: New VM state is EPILOG
 Thu Jul 31 14:03:51 2014 [DiM][I]: New VM state is DONE
 Thu Aug 7 12:09:20 2014 [DiM][I]: New VM state is ACTIVE.
 Thu Aug 7 12:09:20 2014 [LCM][I]: New VM state is PROLOG.
 Thu Aug 7 12:09:21 2014 [LCM][I]: New VM state is BOOT
 Thu Aug 7 12:09:21 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Thu Aug 7 12:09:21 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:21 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Thu Aug 7 12:09:22 2014 [LCM][I]: New VM state is RUNNING
 Thu Aug 7 12:24:05 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: shutdown.
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute network driver 
 operation: clean.
 Thu Aug 7 12:24:15 2014 [LCM][I]: New VM state is EPILOG
 Thu Aug 7 12:24:16 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:03:52 2014 [DiM][I]: New VM state is ACTIVE.
 Tue Aug 19 16:03:52 2014 [LCM][I]: New VM state is PROLOG.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is BOOT
 Tue Aug 19 16:03:53 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is RUNNING
 Tue Aug 19 16:05:37 2014 [LCM][I]: New VM state is CLEANUP.
 Tue Aug 19 16:05:37 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:05:37 2014 [VMM][W]: Ignored: LOG I 9 Driver command for 9 
 cancelled

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: failed to get 
 domain 'one-9'

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: Domain not found: 
 no domain with matching name 'one-9'

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
 virtualization driver 

Re: [one-users] Type Filesystem

2014-08-21 Thread Javier Fontan
I don't fully inderstand the question.

Anyway for VMware you either use a SAN connected to the hypervisor nodes
using vmfs or you export an NFS share to them. For NFS we have been using
ext4 from a linux machine without troubles.


2014-08-20 10:01 GMT+02:00 Maria Jular maria.ju...@fcsc.es:

 Hello,



 What filesystem type is the best to create a datablock image in Sunstone
 using vmware with opennebula 4.6.2?



 Thank you!



 *María Jular Castañeda*

 *Técnico de Sistemas*



 Tfn: +34-987-29 33 23 / e-mail: maria.ju...@fcsc.es x...@fcsc.es

 http://www.fcsc.es

 Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León

 24071 León





 [image: cid:image004.jpg@01CEDEE4.54E4BEB0]



 [image: logoFCSCL_bn.png]

 Este mensaje se dirige exclusivamente a su destinatario y puede contener
 información privilegiada o confidencial. Si Vd. no es el destinatario
 indicado, queda notificado de que la lectura, utilización, divulgación y/o
 copia sin autorización está prohibida en virtud de la legislación
 vigente.   Si ha recibido este mensaje por error, le rogamos que nos lo
 comunique inmediatamente por esta misma vía y proceda a su destrucción. El
 correo electrónico vía Internet no permite asegurar la confidencialidad de
 los mensajes que se transmiten ni su integridad o correcta recepción. La
 Fundación Centro de Supercomputación de Castilla y León no asume ninguna
 responsabilidad por estas circunstancias.



 This message is intended exclusively for its addressee and may contain
 information that is CONFIDENTIAL and protected by a professional privilege
 or whose disclosure is prohibited by law. If you are not the intended
 recipient you are hereby notified that any read, dissemination, copy or
 disclosure of this communication is strictly prohibited by law.

 If this message has been received in error, please immediately notify us
 via e-mail and delete it. Internet e-mail neither guarantees the
 confidentiality nor the integrity or proper receipt of the messages sent. 
 Fundación
 Centro de Supercomputación de Castilla y León does not assume any liability
 for those circumstances.





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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread Javier Fontan
Which version of the context scripts are you using? I've been using
the latest version from the documentation and work OK for me.

http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html

On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Andre,

 I am also facing the same issue while contextualization Windows 2008 R2
 virtual machine. As said above, first time it does not work and I need to
 delete .opennebula from c drive and then restart the VM and it works,
 However if I add second nic interface it does not contextualize even after
 deleting .opennebula and re-running the the vbs scripts.

 Windows Version - Windows Server 2008 R2 Enterprise
 WMI - 6.1.7600.16385
 Powershell - 2.0

 Regards
 Kiran Ranjane


 On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt wrote:

 Hi Leszek,



 Please send me details about your Windows version, Powershell and WMI,  it
 may be a problem of  versions. Executing the file on Powershell ISE returns
 any error?



 --

 André Monteiro

 
 De: Jaime Melis jme...@opennebula.org
 Enviado: terça-feira, 29 de Abril de 2014 10:45
 Para: Leszek Master
 Cc: Users OpenNebula; André Monteiro
 Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

 Hi Leszek,

 apologies with the delay. We've been busy with the release. Does the
 hostname change with a reboot?

 Does anyone have expertise changing the windows hostname without a reboot
 from the powershell CLI? these ares the lines that change the hostname:
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134

 Adding Andé Monteiro, the original author of that line, to the
 conversation.

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com wrote:

 Also now i see that it do everything beside changing hostname. The
 Hostname stays unchanged :(


 2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:

 I've got VM already contextualized but if i delete .opennebula file
 from C: and rerun this, it works 100% good. So why it doesn't work in the
 first time? Any idea how to track this down?

 Also how to delete the cd-rom permamently after contextualizing my VM?


 2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:

 Hi Leszek,

 have you tried running the context.ps1 manually?

 (inside the PowerShell terminal)
 d:
 Set-ExecutionPolicy unrestricted
 Invoke-Expression context.ps1

 what happens then?

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
 wrote:

 It doesn't contextualize it for me - only the RDP enable working.

 Also i would like to know how to deattach permamently context cd-rom
 from a VM, there is my CONTEXT variables i don't want to be seen by
 end-user. Is there any way to do that?


 2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:

 Hi Leszek,

 in case you haven't seen this:
 http://opennebula.org/windows-contextualization/

 cheers,
 Jaime


 On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis jme...@opennebula.org
 wrote:

 Hi Leszek,

 we are  currently working on a contextualization guide for Windows.
 We will probably release it next week.

 Regards,
 Jaime


 On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master keks...@gmail.com
 wrote:

 I've got problem with running Windows Server 2008 R2 VM's in
 OpenNebula. It doesn't get contexted. I tryied to use manual:
 http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 but it doesn't work in my environment. The scripts is on context cd 
 but the
 VM doesn;t get the ip, hostname and user account. Can anyone help me 
 get
 this working?

 ___
 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




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




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




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



 ___
 Users mailing list
 Users@lists.opennebula.org
 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread Javier Fontan
You have to take into account that the context CD is not regenerated
after the VM is created so attached nics can not be automatically
configured.

On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Andre,

 Windows machine boot fine and I am able to login.
 Issue is with ip contextualization where the IP is different inside the VM
 and different in Sunstone.

 I followed Windows Contextualization 4.8 documentation
 -- Copied .vbs script to C: and enable it as a startup script.
 -- Include context.ps1 into the CONTEXT files through Sunstone
 -- rebooted the VM
 -- After reboot it did not assign the ip that was displayed in sunstone.
 -- Then I deleted .opennebula-context and rebooted again and it took correct
 Ip that was assigned in Sunstone.

 -- However when I hot added another nic to the VM it did not assign the ip
 as it was in sunstone instead it took different ip from DHCP.
 -- I delete the .opennebula-context file and rebooted it again but first nic
 got correct IP but the second nic did not.

 Regards
 Kiran Ranjane




 On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro andremonte...@ua.pt wrote:

 Hi Kiran,



 Can you provide more details on the your problem? I need to know if the
 problem is the machine not booting, not starting windows or not executing
 the script.



 --

 André Monteiro

 
 De: kiran ranjane kiran.ranj...@gmail.com
 Enviado: 21 de agosto de 2014 15:55
 Para: Javier Fontan
 Cc: André Monteiro; Users OpenNebula

 Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

 Hi Javier,

 I downloaded context from the latest 4.8 version documentation. I tried
 Linux version both .deb and .rmp on ubuntu and centos and they are working
 fine but having trouble with windows context.

 Regards
 Kiran Ranjane


 On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 Which version of the context scripts are you using? I've been using
 the latest version from the documentation and work OK for me.


 http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html

 On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  I am also facing the same issue while contextualization Windows 2008 R2
  virtual machine. As said above, first time it does not work and I need
  to
  delete .opennebula from c drive and then restart the VM and it works,
  However if I add second nic interface it does not contextualize even
  after
  deleting .opennebula and re-running the the vbs scripts.
 
  Windows Version - Windows Server 2008 R2 Enterprise
  WMI - 6.1.7600.16385
  Powershell - 2.0
 
  Regards
  Kiran Ranjane
 
 
  On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt
  wrote:
 
  Hi Leszek,
 
 
 
  Please send me details about your Windows version, Powershell and WMI,
  it
  may be a problem of  versions. Executing the file on Powershell ISE
  returns
  any error?
 
 
 
  --
 
  André Monteiro
 
  
  De: Jaime Melis jme...@opennebula.org
  Enviado: terça-feira, 29 de Abril de 2014 10:45
  Para: Leszek Master
  Cc: Users OpenNebula; André Monteiro
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Leszek,
 
  apologies with the delay. We've been busy with the release. Does the
  hostname change with a reboot?
 
  Does anyone have expertise changing the windows hostname without a
  reboot
  from the powershell CLI? these ares the lines that change the
  hostname:
 
  https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
 
  Adding Andé Monteiro, the original author of that line, to the
  conversation.
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
  wrote:
 
  Also now i see that it do everything beside changing hostname. The
  Hostname stays unchanged :(
 
 
  2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
 
  I've got VM already contextualized but if i delete .opennebula
  file
  from C: and rerun this, it works 100% good. So why it doesn't work
  in the
  first time? Any idea how to track this down?
 
  Also how to delete the cd-rom permamently after contextualizing my
  VM?
 
 
  2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  have you tried running the context.ps1 manually?
 
  (inside the PowerShell terminal)
  d:
  Set-ExecutionPolicy unrestricted
  Invoke-Expression context.ps1
 
  what happens then?
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
  wrote:
 
  It doesn't contextualize it for me - only the RDP enable working.
 
  Also i would like to know how to deattach permamently context
  cd-rom
  from a VM, there is my CONTEXT variables i don't want to be seen
  by
  end-user. Is there any way to do that?
 
 
  2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  in case you haven't seen

Re: [one-users] 2 problems in VMs

2014-08-18 Thread Javier Fontan
Do you get any extra information on oned.log? Maybe the user does not
have permission to use a network or the template itself.

On Mon, Aug 11, 2014 at 8:20 AM, Sudeep Narayan Banerjee
snbaner...@iitgn.ac.in wrote:
 Dear Valentin,

 I am using 4.6.2 version.

 I did from CLI and GUI and checked that is um- for all owner,group,others

 I also tried by changing the group; chgrp from oneadmin to users but no
 luck. Users is the group that carries all the LDAP users.

 The only way it works, if I manually change the ownership of the username.
 But we have our LDAP users to directly login and use. Is that the only way
 to manually enter each  everyone's ownership!?!

 Regards,
 Sudeep


 On Mon, Aug 11, 2014 at 11:45 AM, Valentin Bud valentin@gmail.com
 wrote:

 Hello Sudeep,

 I don't know what version of OpenNebula are you using. I have tested on my
 setup,
 which uses 4.4. The following might not apply in your case. See inline.


 [oneadmin@front ~]$ oneimage chmod 33 664


 [oneadmin@front ~]$ oneimage show 33
 IMAGE 33 INFORMATION
 ID : 33
 NAME   : win7_sys
 USER   : oneadmin
 GROUP  : oneadmin
 DATASTORE  : default
 TYPE   : OS
 REGISTER TIME  : 07/30 14:49:49
 PERSISTENT : No
 SOURCE :
 /var/lib/one//datastores/1/0f72c7f0cd7fdc78f53b4fdbd2edb008
 PATH   : /home/wind.qcow2
 SIZE   : 9G
 STATE  : rdy
 RUNNING_VMS: 0

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

 IMAGE TEMPLATE
 DEV_PREFIX=hd
 DRIVER=qcow2


 According to the above output it seems like oneimage chmod didn't change
 the
 permissions.

 I think they should resemble the following:
 PERMISSIONS
 OWNER  : um-
 GROUP  : um-
 OTHER  : u--

 Can you try chmod-ing again, if it still doesn't work maybe it's a bug.

 Best,
 Valentin




 --
 Thanks  Regards,
 Sudeep Narayan Banerjee

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Could not read from CDROM (code 0004)

2014-08-18 Thread Javier Fontan
The problem seems to be the context CD, it's attached to hda and the
bootable cd to hdb. It tries to boot from the first cdrom and is not
bootable. It is strange that you don't have CONTEXT defined in your
template file. You can do two things. Take out CONTEXT section in case
it is defined so there is only one CDROM or specify the target so the
bootable CD is hda, something like this:

CONTEXT=[
  NETWORK=YES,
  TARGET=hdb ]
DISK=[
  IMAGE=Debian,
  IMAGE_UNAME=jakal,
  READONLY=yes,
  TARGET=hda ]

On Fri, Aug 15, 2014 at 8:05 AM, IBC Service Network / Zolotuhin
Aleksey a.zolotu...@ibc.ru wrote:
 Hello!

 Thank you very much for your reply.

 Contents of the file /var/lib/one/datastores/0/35/deployment.0:

 domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'
 nameone-35/name
 cputune
 shares512/shares
 /cputune
 memory524288/memory
 os
 type arch='x86_64'hvm/type
 boot dev='cdrom'/
 boot dev='hd'/
 /os
 devices
 emulator/usr/bin/qemu-system-x86_64/emulator
 disk type='network' device='disk'
 source protocol='rbd' name='one/one-7'
 host name='cloud2'/
 /source
 target dev='hdc'/
 driver name='qemu' type='raw' cache='none'/
 /disk
 disk type='network' device='cdrom'
 source protocol='rbd' name='one/one-5'
 host name='cloud2'/
 /source
 target dev='hdb'/
 readonly/
 driver name='qemu' type='raw' cache='none'/
 /disk
 disk type='file' device='cdrom'
 source
 file='/var/lib/one//datastores/0/35/disk.2'/
 target dev='hda'/
 readonly/
 driver name='qemu' type='raw'/
 /disk
 interface type='bridge'
 source bridge='br0'/
 virtualport type='openvswitch'/
 mac address='02:00:c0:a8:0a:79'/
 /interface
 graphics type='vnc' listen='0.0.0.0' port='5935'/
 /devices
 features
 acpi/
 /features
 /domain


 output of the command
 $ file /var/lib/one/datastores/0/35/*
 /var/lib/one/datastores/0/35/deployment.0: ASCII text
 /var/lib/one/datastores/0/35/disk.2:   # ISO 9660 CD-ROM filesystem data
 'CONTEXT'
 /var/lib/one/datastores/0/35/disk.2.iso:   symbolic link to
 `/var/lib/one/datastores/0/35/disk.2'

 Debian DATABLOCK disk is located in the Ceph.
 Debian ISO disk is located in the Ceph.

 After the upgrade to version 4.8. I get the following message:
 Booting from DVD/CD...

 Boot failed: Could not read from CDROM (code 0004)
 Booting from Hard Disk...
 Boot failed: not a bootable disk

 No bootable device.
 

 Best regards,
 Aleksey Zolotukhin



  Original Message 
 Subject: Re: [one-users] Could not read from CDROM (code 0004)
 From: Jaime Melis jme...@opennebula.org
 To: IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru
 Date: 13.08.2014 13:54

 Hi,

 can you send us this file from the hypervisor:

 /var/lib/one/datastores/0/vmid/deployment.0
 and run this command:

 $ file /var/lib/one/datastores/0/vmid/*


 On Mon, Aug 11, 2014 at 12:25 PM, IBC Service Network / Zolotuhin Aleksey
 a.zolotu...@ibc.ru wrote:

 Hello!

 I set up a cluster of 3 nodes Opennebula and Ceph.
 Operating system Ubuntu 14.04.

 libvirt version:
 libvirt-bin - 1.2.2-0ubuntu13.1.2
 libvirt0 - 1.2.2-0ubuntu13.1.2

 qemu version:
 qemu - 2.0.0+dfsg-2ubuntu1.2
 qemu-common - 2.0.0+dfsg-2ubuntu1.2
 qemu-keymaps - 2.0.0+dfsg-2ubuntu1.2
 qemu-kvm - 2.0.0+dfsg-2ubuntu1.2
 qemu-system - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-arm - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-common - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-mips - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-misc - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-ppc - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-sparc - 2.0.0+dfsg-2ubuntu1.2
 qemu-system-x86 - 2.0.0+dfsg-2ubuntu1.2
 qemu-user - 2.0.0+dfsg-2ubuntu1.2
 qemu-utils - 2.0.0+dfsg-2ubuntu1.2

 Try to install Debian using debian iso.

 VM template:
 CPU=0.5
 DISK=[
   IMAGE=debian 7,
   IMAGE_UNAME=jakal ]
 DISK=[
   IMAGE=Debian,
   IMAGE_UNAME=jakal,
   READONLY=yes ]
 FEATURES=[
   ACPI=yes ]
 GRAPHICS=[
   LISTEN=0.0.0.0,
   TYPE=VNC ]
 MEMORY=512
 NIC=[
   NETWORK=LAN,
   NETWORK_UNAME=jakal ]
 OS=[
   BOOT=cdrom ]

 But when the virtual machine starts, I get the following message:
 Booting from DVD/CD...
 Boot failed: Could not read from CDROM (code 0004)
 No bootable device.

 I tried looking for this problem on the internet and I have not found the
 cause of this 

Re: [one-users] Ruby version

2014-07-25 Thread Javier Fontan
That whould be the best way to go but there is not an easy path in
CentOS 6. For the final version we will support CentOS 6 with stock
ruby (1.8.7) but azure and softlayer hybrid drivers won't work in it.
We have modified install_gems so it detects the ruby versions and does
not try to install some gems. This change did not make to the beta.

To be able to use install_gems in the beta you can execute it with this command:

# ./install_gems quota sustone auth_ldap oneflow oca

On Fri, Jul 25, 2014 at 11:53 AM, Giovanni Toraldo m...@gionn.net wrote:
 Hi,

 On Fri, Jul 25, 2014 at 9:27 AM, Anandharaj Subramaniam
 anandharaj.man...@mimos.my wrote:
 What is the recommended / minimum version for Ruby?

 You should upgrade to Ruby 1.9.3 as the warning are saying, Ruby 1.8.7
 is no more supported by upstream:
 https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/

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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Setting hostname for vm

2014-07-22 Thread Javier Fontan
You should use SET_HOSTNAME variable instead:

http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html#using-user-template-variables

On Tue, Jul 22, 2014 at 10:37 AM, Diego M. thedragonsreb...@hotmail.com wrote:
 I was checkign the documentation, and you can use for HOSTNAME=$NAME on the
 contextualization part of your template.
 I tried it and didn't worked for me, but it is supposed to work. Maybe I'm
 doing something wrong.

 
 Date: Mon, 21 Jul 2014 17:14:56 -0700
 From: kerryh...@gmail.com
 To: users@lists.opennebula.org
 Subject: [one-users] Setting hostname for vm


 Hi folks,

 I'm trying to determine how I can set the hostname for the vms I spin up. It
 looks like the web interface for vms has no place to enter additional
 one-off type properties, like hostname. This is true for both the user web
 interface and the admin web interface.

 The template creation interface certainly has a place for raw data, but I'm
 assuming I shouldn't have to create one template per vm just to set the
 hostname. Perhaps setting up a template correctly will change the vm
 interface, allowing a place to type in a hostname.

 Host and guest are both CentOS 6.

 Thanks!
 Kerry


 ___ 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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] OpenNebula 4.8 Beta 1 ready for testing

2014-07-21 Thread Javier Fontan
Hello,

The OpenNebula team is really happy to release the first beta for
version 4.8 (4.7.80). In this version, alongside several fixes, we
have been working on some new features:

* Improvements to the Cloud View interface like OneFlow integration
* New VDC admin view that matches the Cloud View.
* New virtual network model that make its configuration and management
more flexible with address ranges.
* IP reservation.
* Network interface default configuration
* Quotas can now specify a value of 0 to disable certain objects for
users or groups.
* Logs now have the zone ID so its easier to parse in a centralized
syslog configuration.
* New datastore to use local block devices.
* Inter datastore image clone.
* Support for RBD format 2 in CEPH drivers
* IO throttling for disk devices.
* New hybrid drivers for Microsoft Azure and IBM Softlayer services.
* OneGate can now be used to get information about all the VMs in a service.
* OneFlow can wait until a VM phones home before starting the rest of VMs.
* Network configuration in a flow can be specified per role.
* User input on template instantiation for certain VM parameters.
* Default view for a group in Sunstone.
* Instantiate VMs on hold.
* Boot order can be selected from Sunstone.

You can find more information about the new features in the release notes [1].

In this new release we also start supporting RHEL/CentOS 7. We
encourage everyone that is using or planning to use this distributions
to try the new packages and fill any bugs found in them.

We have also created new repositories for this release so its easier
to install and your 4.6 installations don't upgrade automatically to
it.

You can download the packages from the software page [2] or use the
new repositories [3]. Now is the time to try it and fill bugs so we
can fix them before the final release.

This new release code name is Lemon Slice [4]. From Wikipedia:

The Lemon slice nebula, also known as IC 3568, is a planetary nebula
that is 1.3 kiloparsecs (4500 ly) away from Earth in the constellation
of Camelopardalis (just 7.5 degrees from Polaris). It is a relatively
young nebula and has a core diameter of only about 0.4 light years.
The Lemon slice nebula is one of the most simple nebulae known, with
an almost perfectly spherical morphology. It appears very similar to a
lemon, for which it is named. The core of the nebula does not have a
distinctly visible structure in formation and is mostly composed of
ionized helium. The central star is a very hot and bright asymptotic
red giant, and can be seen as a red-orange hue in an amateur's
telescope. A faint halo of interstellar dust surrounds the nebula.

Thank you all for the input, patches and bug reports that made this
release possible.

Happy testing!


[1] http://docs.opennebula.org/4.8/release_notes/release_notes/whats_new.html
[2] http://opennebula.org/software/
[3] 
http://docs.opennebula.org/4.8/design_and_installation/building_your_cloud/ignc.html
[4] http://en.wikipedia.org/wiki/Lemon_slice_nebula

-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Failing ONE 4.7.80-1 on Debian

2014-07-21 Thread Javier Fontan
Can you try enabling the core and executing the daemon manually? (as
oneadmin user)

$ ulimit -c 15000
$ oned -f

It should generate a core file that we can try to analyze.

On Sun, Jul 20, 2014 at 12:54 AM, Daniel Dehennin
daniel.dehen...@baby-gnu.org wrote:
 Daniel Dehennin daniel.dehen...@baby-gnu.org writes:

 Ok, I tried on testing, I'll give a try on Wheezy.

 Hello,

 After your answer on IRC, I tried to strace the oned process to see what
 could be wrong, I modifies the /usr/bin/one on line 187 with:

 strace -f -o /tmp/oned.strace.log $ONED -f 21 

 Here is the output:

 3933  open(/var/lib/one, O_RDONLY|O_CLOEXEC) = 5
 3933  fsync(5)  = 0
 3933  close(5)  = 0
 3933  lseek(4, 0, SEEK_SET) = 0
 3933  write(4, \331\325\5\371 \241c\327\0\0\0\3, 12) = 12
 3933  fsync(4)  = 0
 3933  lseek(3, 0, SEEK_SET) = 0
 3933  write(3, SQLite format 3\0\4\0\1\1\0@  \0\0\0\37\0\0\0+..., 1024) 
 = 1024
 3933  lseek(3, 39936, SEEK_SET) = 39936
 3933  write(3, 
 \r\0\0\0\1\3k\0\3k\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 1024) = 
 1024
 3933  lseek(3, 40960, SEEK_SET) = 40960
 3933  write(3, 
 \n\0\0\0\1\3\362\0\3\362\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 
 1024) = 1024
 3933  fsync(3)  = 0
 3933  close(4)  = 0
 3933  unlink(/var/lib/one/one.db-journal) = 0
 3933  fcntl(3, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
 len=510}) = 0
 3933  fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, 
 len=2}) = 0
 3933  fcntl(3, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) 
 = 0
 3933  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
 3933  +++ killed by SIGSEGV +++

 I don't know if this help, it's on Debian wheezy AMD64, uname -a:

 Linux test-nebula 3.14-1-amd64 #1 SMP Debian 3.14.12-1 (2014-07-11) 
 x86_64 GNU/Linux

 Regards.
 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF

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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Authentication Front-End

2014-07-21 Thread Javier Fontan
You are totally right. I messed it up. The port to proxy is 2633 from oned.

On Mon, Jul 21, 2014 at 3:07 PM, María Noelia Gil marianoelia@um.es wrote:
 But the 9869 is Sunsone port or Oned port? Oned using 2633, right?
 Could I configure a proxy for port 2633?

 El 21/07/2014, a las 15:00, Javier Fontan jfon...@opennebula.org escribió:

 You can also use a proxy for oned, port 9869. Then you have to tell
 the clients to use the proxy address.

 For CLI you set the environment variable ONE_XMLRPC:

 export ONE_XMLRPC=https://server:port/RPC2

 For Sunstone it can be changed in /etc/one/sunstone-server.conf:

 :one_xmlrpc: https://server:port/RPC2

 On Mon, Jul 21, 2014 at 11:34 AM, María Noelia Gil
 marianoelia@um.es wrote:
 Thanks, but I meant the SSL / TLS protection of messages sent from Sunstone
 to the Front-End (User useradmin). Right here you can establish an SSL / TLS
 tunnel?

 El 21/07/2014, a las 11:00, Carlos Martín Sánchez cmar...@opennebula.org
 escribió:

 Hi María,

 On Sun, Jul 20, 2014 at 7:51 PM, María Noelia Gil marianoelia@um.es
 wrote:

 Hello there! I am studying the authentication mechanism in OpenNebula. The
 authentication based in username/password against the Front-End unused
 SSL/TLS tunnel or HMAC. Why the information is not protected? Is it 
 possible
 to configure a SSL / TLS tunnel?

 Thank you.


 That should be covered by the Sunstone authentication docs. [1]

 Regards

 [1]
 http://docs.opennebula.org/4.6/administration/sunstone_gui/suns_auth.html
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula



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




 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] Failing ONE 4.7.80-1 on Debian

2014-07-19 Thread Javier Fontan
What version of debian are you using? We have tried both 7.1 and 7.6
without problems.

On Sat, Jul 19, 2014 at 7:27 PM, Daniel Dehennin
daniel.dehen...@baby-gnu.org wrote:
 Hello,

 As I'm very interested in the changes to VNET[1][2] in the next ONE 4.8,
 I tried the Debian package I found in the new repos[3].

 I don't know if it's in a state for testing but unfortunately, oned
 segfault.

 I attach the logs.

 Regards.

 Footnotes:
 [1]  dev.opennebula.org/issues/2858

 [2]  
 https://github.com/OpenNebula/docs/blob/master/source/user/virtual_resource_management/vgg.rst

 [3]  http://downloads.opennebula.org/repo/4.8/

 --
 Daniel Dehennin
 Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


 root@test-nebula:~# apt-cache policy opennebula
 opennebula:
   Installed: 4.7.80-1
   Candidate: 4.7.80-1
   Version table:
  *** 4.7.80-1 0
 500 http://downloads.opennebula.org/repo/4.8/Debian/7/ 
 stable/opennebula amd64 Packages
 100 /var/lib/dpkg/status
  3.4.1-3.1 0
 500 http://ftp.fr.debian.org/debian/ wheezy/main amd64 Packages

 # Enable debug
 root@test-nebula:~# sed -e '2a set -x\n' /usr/bin/one

 root@test-nebula:~# /bin/sh -x /etc/init.d/opennebula start
 + PATH=/sbin:/usr/sbin:/bin:/usr/bin
 + DESC=OpenNebula cloud
 + NAME=one
 + DAEMON=/usr/bin/one
 + DAEMON_ARGS=
 + PIDFILE=/var/run/one.pid
 + SCRIPTNAME=/etc/init.d/one
 + [ -x /usr/bin/one ]
 + . /lib/init/vars.sh
 + TMPTIME=0
 + SULOGIN=no
 + DELAYLOGIN=no
 + UTC=yes
 + VERBOSE=no
 + FSCKFIX=no
 + [ -f /etc/default/rcS ]
 + . /etc/default/rcS
 + unset EDITMOTD
 + unset RAMRUN
 + unset RAMLOCK
 + [ -r /proc/cmdline ]
 + cat /proc/cmdline
 + [  ]
 + [  ]
 + . /lib/lsb/init-functions
 + run-parts --lsbsysinit --list /lib/lsb/init-functions.d
 + [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
 + . /lib/lsb/init-functions.d/20-left-info-blocks
 + FANCYTTY=
 + [ -e /etc/lsb-base-logging.sh ]
 + true
 + [ no != no ]
 + do_start
 + mkdir -p /var/run/one /var/lock/one
 + chown oneadmin /var/run/one /var/lock/one
 + su oneadmin -s /bin/sh -c one start
 + '[' -z '' ']'
 + ONE_PID=/var/run/one/oned.pid
 + ONE_SCHEDPID=/var/run/one/sched.pid
 + ONE_CONF=/etc/one/oned.conf
 + ONE_DB=/var/lib/one/one.db
 + ONE_LOG=/var/log/one/oned.log
 + ONE_SCHED_LOG=/var/log/one/sched.log
 + ONE_XMLRPC_LOG=/var/log/one/one_xmlrpc.log
 + ONED=/usr/bin/oned
 + ONE_SCHEDULER=/usr/bin/mm_sched
 + LOCK_FILE=/var/lock/one/one
 + KILL_9_SECONDS=5
 + BACKUP=true
 + '[' start = -f ']'
 + case $1 in
 + setup
 ++ dirname /var/run/one/oned.pid
 + ONE_PID_DIR=/var/run/one
 + mkdir -p /var/run/one
 + '[' '!' -w /var/run/one ']'
 + '[' -f /var/lock/one/one ']'
 + start
 + '[' '!' -x /usr/bin/oned ']'
 + '[' '!' -x /usr/bin/mm_sched ']'
 + '[' '!' -f /var/lib/one/one.db ']'
 + '[' '!' -f /var/lib/one/.one/one_auth ']'
 + start_oned
 + '[' true = true ']'
 + '[' -f /var/log/one/oned.log ']'
 + '[' -f /var/log/one/one_xmlrpc.log ']'
 + LASTRC=0
 + LASTPID=7652
 + '[' 0 -ne 0 ']'
 + echo 7652
 + start_sched
 + /usr/bin/oned -f
 + '[' true = true ']'
 + '[' -f /var/log/one/sched.log ']'
 + LASTRC=0
 + LASTPID=7653
 + '[' 0 -ne 0 ']'
 + echo 7653
 + sleep 3
 + /usr/bin/mm_sched
 /usr/bin/one: line 130:  7652 Segmentation fault  $ONED -f 21
 + STARTED=true
 ++ cat /var/run/one/oned.pid
 + ps 7652
 + '[' 1 -ne 0 ']'
 + echo 'oned failed to start'
 oned failed to start
 + STARTED=false
 ++ cat /var/run/one/sched.pid
 + ps 7653
 + '[' 0 -ne 0 ']'
 + '[' false == false ']'
 + stop
 + stop_oned
 + '[' -f /var/run/one/oned.pid ']'
 ++ cat /var/run/one/oned.pid
 + PID=7652
 + kill 7652
 + counter=0
 + ps 7652
 + rm -f /var/run/one/oned.pid
 + stop_sched
 + '[' -f /var/run/one/sched.pid ']'
 ++ cat /var/run/one/sched.pid
 + kill 7653
 + rm -f /var/run/one/sched.pid
 /usr/bin/one: line 119:  7653 Terminated  $ONE_SCHEDULER
 + exit -1
 + :

 root@test-nebula:~# cat /var/log/one/oned.log
 Sat Jul 19 19:09:06 2014 [Z0][ONE][I]: Starting OpenNebula 4.7.80
 
  OpenNebula Configuration File
 
 AUTH_MAD=AUTHN=ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
 DATASTORE_BASE_PATH=/var/lib/one//datastores
 DATASTORE_CAPACITY_CHECK=yes
 DATASTORE_LOCATION=/var/lib/one//datastores
 DATASTORE_MAD=ARGUMENTS=-t 15 -d 
 dummy,fs,vmfs,lvm,ceph,dev,EXECUTABLE=one_datastore
 DB=BACKEND=sqlite
 DEFAULT_CDROM_DEVICE_PREFIX=hd
 DEFAULT_DEVICE_PREFIX=hd
 DEFAULT_IMAGE_TYPE=OS
 DEFAULT_UMASK=177
 ENABLE_OTHER_PERMISSIONS=YES
 FEDERATION=MASTER_ONED=,MODE=STANDALONE,ZONE_ID=0
 HM_MAD=EXECUTABLE=one_hm
 HOST_MONITORING_EXPIRATION_TIME=43200
 HOST_PER_INTERVAL=15
 IMAGE_RESTRICTED_ATTR=SOURCE
 IM_MAD=ARGUMENTS=-p 4124 -f 5 -t 50 -i 20,EXECUTABLE=collectd,NAME=collectd
 IM_MAD=ARGUMENTS=-r 3 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=kvm
 INHERIT_DATASTORE_ATTR=CEPH_HOST
 INHERIT_DATASTORE_ATTR=CEPH_SECRET
 

Re: [one-users] one-context 4.6 RPM on Fedora 20 VM

2014-07-15 Thread Javier Fontan
The linked package is meant to be a fix and should work with network
names not called ETH*. I've tested here with a virtio network. I'll
try with an emulated card then.

On Tue, Jul 15, 2014 at 12:56 PM, Maxim Terletskiy terlets...@emu.ru wrote:
 Hi!

 I just installed CentOS 7 and one-context package you linked. All scripts
 works ok except network configurator. Looks like this is because vmcontext
 script looking for interfaces named eth*, but I configured vm with rtl8139
 card and in system this card showing as ens3.

 Any ideas about how to fix it?

 14.07.2014 19:14, Javier Fontan пишет:

 I have made some changes to the context packages that hopefully fix
 the problem with Fedora 20. I still could not try the package in
 Fedora 20. It would be great if someone could give it a try.

 http://dev.opennebula.org/attachments/download/794/one-context_4.7.0.rpm

 It is tested in CentOS 7 and works fine


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



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] one-context 4.6 RPM on Fedora 20 VM

2014-07-15 Thread Javier Fontan
The configuration file is correctly generated
(/etc/sysconfig/network-scripts/ifcfg-ens3) but is not started up.
I've added an ifup after interface configuration. Here is the new
version

http://dev.opennebula.org/attachments/download/796/one-context_4.7.1.rpm

On Tue, Jul 15, 2014 at 3:08 PM, Javier Fontan jfon...@opennebula.org wrote:
 The linked package is meant to be a fix and should work with network
 names not called ETH*. I've tested here with a virtio network. I'll
 try with an emulated card then.

 On Tue, Jul 15, 2014 at 12:56 PM, Maxim Terletskiy terlets...@emu.ru wrote:
 Hi!

 I just installed CentOS 7 and one-context package you linked. All scripts
 works ok except network configurator. Looks like this is because vmcontext
 script looking for interfaces named eth*, but I configured vm with rtl8139
 card and in system this card showing as ens3.

 Any ideas about how to fix it?

 14.07.2014 19:14, Javier Fontan пишет:

 I have made some changes to the context packages that hopefully fix
 the problem with Fedora 20. I still could not try the package in
 Fedora 20. It would be great if someone could give it a try.

 http://dev.opennebula.org/attachments/download/794/one-context_4.7.0.rpm

 It is tested in CentOS 7 and works fine


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



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
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] one-context 4.6 RPM on Fedora 20 VM

2014-07-15 Thread Javier Fontan
It is not possible as MAC address is used to find the correct
interface as we can not rely in the old naming (ETH0, ETH1, etc).

You can add the mac address manually in the context:

ETH0_MAC = $NIC[MAC, NETWORK=\network name\]

On Tue, Jul 15, 2014 at 4:52 PM, Maxim Terletskiy terlets...@emu.ru wrote:
 I found the problem in my setup. I'm using 4.2 and it is generating next
 context:
 CONTEXT
 ETH0_IP10.10.10.60
 NETWORKYES
 TARGEThda
 DISK_ID3
 ETH0_MASK255.255.255.0
 ETH0_GATEWAY10.10.10.1
 ETH0_DNS8.8.8.8

 As I see 00-network in get_context_interfaces() function generating list
 of devices from context variables and looking for ETH[0-9] or ETH[0-9]_MAC
 in env. My 4.2 not generating this variables, so no network config. Is it
 possible to update this package somehow to add backward compatibility with
 4.2?

 15.07.2014 17:59, Javier Fontan пишет:

 The configuration file is correctly generated
 (/etc/sysconfig/network-scripts/ifcfg-ens3) but is not started up.
 I've added an ifup after interface configuration. Here is the new
 version

 http://dev.opennebula.org/attachments/download/796/one-context_4.7.1.rpm

 On Tue, Jul 15, 2014 at 3:08 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 The linked package is meant to be a fix and should work with network
 names not called ETH*. I've tested here with a virtio network. I'll
 try with an emulated card then.

 On Tue, Jul 15, 2014 at 12:56 PM, Maxim Terletskiy terlets...@emu.ru
 wrote:

 Hi!

 I just installed CentOS 7 and one-context package you linked. All
 scripts
 works ok except network configurator. Looks like this is because
 vmcontext
 script looking for interfaces named eth*, but I configured vm with
 rtl8139
 card and in system this card showing as ens3.

 Any ideas about how to fix it?

 14.07.2014 19:14, Javier Fontan пишет:

 I have made some changes to the context packages that hopefully fix
 the problem with Fedora 20. I still could not try the package in
 Fedora 20. It would be great if someone could give it a try.


 http://dev.opennebula.org/attachments/download/794/one-context_4.7.0.rpm

 It is tested in CentOS 7 and works fine


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



 --
 Javier Fontán Muiños
 Developer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | @OpenNebula | github.com/jfontan




 --
 С уважением,
 Терлецкий Максим
 ООО ТБ
 +7(499)917-0115
 http://www.emu.ru




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


  1   2   3   4   5   6   7   8   >