Re: [one-users] Users Digest, Vol 82, Issue 19

2014-12-16 Thread Michael A Cooper
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.

 [5]
 http://docs.opennebula.org/stable/design_and_installation/building_your_cloud/plan.html

 --
 Daniel Dehennin
 R?cup?rer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
 Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
 -- next part --
 A non-text attachment was scrubbed...
 Name: not available
 Type: application/pgp-signature
 Size: 342 bytes
 Desc: not available
 URL: 
 http://lists.opennebula.org/pipermail/users-opennebula.org

[one-users] The SSH Keys in Quick Start

2014-12-15 Thread Michael A Cooper
Hey Everyone,

  In the quick start, he mentions Configuring SSH Keys, It doesn't tell
where I am suppose to create although I assume on the frontend and then
copy the keys to each node, Should I also create ssh keys on each node and
copy them to the frontend.

Thanks,
Michael A Cooper
Linux/Windows Web Administrator
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Initial installation

2014-12-14 Thread Michael A Cooper
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
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] New to OpenNebula

2014-12-09 Thread Michael A Cooper
Hello Everyone,

   I am new to OpenNebula, I am having a problem adding a host to my
OpenNebula installation, it is the Sandbox version, the appliance to be
exact. I added my host but it gave me an error

Tue Dec 9 10:54:06 2014 : Error monitoring Host 192.168.1.2 (1): -

I am not sure where to get the details of this error, Also I noticed I can
not find where to change the credentials for the host I added.

Thanks for your help,
Michael A Cooper
Linux/Windows Web Administrator
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula with Ceph

2014-08-14 Thread Michael

You mentioned compute and for a second I nearly replied about OpenStack...

Ceph storage can be used in a variety of ways. For VM's you'll likely be 
presenting OpenNebula with RBD storage access so that it can churn you 
out datablocks to mount. You can format those datablocks as if they were 
any normal disk, including setting up LVM to give some more flexibility.


-Michael

On 14/08/2014 05:21, Pons wrote:


Hi OpenNebula Users,

Currently, we have a cloud infrastructure with opennebula for the 
compute nodes and ceph for the storage solution. Is it possible to use 
LVM in a VM while using ceph as a datastore?


Regards,
Pons
Apollo Global Corp.



___
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] 4.6.1-1 Gluster Datastore, /usr/libexec/qemu-kvm errors upon Reboot (update)

2014-06-18 Thread Michael Kutzner
Hi,

Am 18.06.2014 um 20:57 schrieb Javier Fontan jfon...@opennebula.org:

 The previous error with the disk could be a permission problem. Are
 you able to read/write the image? Can you check permissions in the
 fuse mounted filesystem?
 
 I've never got the stderr problem. This issue may be the culprit but
 it was just the first thing I've found:
 
 https://bugzilla.redhat.com/show_bug.cgi?id=1088589

If you follow the links inside that article, you find  a patch at
http://review.gluster.org/#/c/7607/2/libglusterfs/src/logging.c

I run into the same error using libglusterfs, so I remade the gluster
packages (making our own gluster packages and overwriting the Ubuntu ones).
With Gluster3.5 and the patch from the above link, it works fine.

Best, Michael

 
 On Wed, Jun 18, 2014 at 7:38 PM, Fabella, Wesley wfabe...@novetta.com wrote:
 Also,
 
 When using the Gluster Datastore I've been getting this error as well when I
 deploy a VM it gets hung up at BOOT.  The former post was actually deploying
 from default id 1 datastore which is a gluster mount point for the same
 directory as the Gluster Datastore id 103.
 
 Here get Permission denied after trying to create logfile /dev/stderr
 
 [root@shelf3-node4 ~]# tail -f /var/log/libvirt/qemu/one-53.log
 2014-06-18 17:29:28.884+: starting up
 LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/root USER=root
 LOGNAME=root QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name one-53 -S -M
 rhel6.5.0 -enable-kvm -m 40960 -realtime mlock=off -smp
 10,sockets=10,cores=1,threads=1 -uuid 75dbd668-3cf6-c0ee-0803-c0f835b68951
 -nodefconfig -nodefaults -chardev
 socket,id=charmonitor,path=/var/lib/libvirt/qemu/one-53.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
 -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive
 file=gluster+tcp://storage1:24007/GLUSTERFS-ONE/53/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none
 -device
 ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
 -drive
 file=/var/lib/one//datastores/0/53/disk.1,if=none,media=cdrom,id=drive-ide0-0-1,readonly=on,format=raw
 -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -netdev
 tap,fd=23,id=hostnet0 -device
 rtl8139,netdev=hostnet0,id=net0,mac=02:00:80:7b:00:39,bus=pci.0,addr=0x3
 -vnc 0.0.0.0:53 -vga cirrus -device
 virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
 ERROR: failed to create logfile /dev/stderr (Permission denied)
 
 
 
 -- W
 
 ___
 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] What is the best way to reboot a storage server in order to cause the least amount of disruption to running VMs?

2014-04-29 Thread Michael

Hi Gerry,

While I don't have any recommendations on the reboot process, if you're 
using KVM I'd certainly recommend Ceph as a solution for high 
availability storage. We've gone as far as rolling linux distribution 
upgrades to our storage cluster with no loss of VM connectivity.


-Michael

On 29/04/2014 16:50, Gerry O'Brien wrote:

Hi,

Our OpenNebula Debian Wheezy storage server has been running for 
466 days and needs to be rebooted as there have been many kernel 
patches during this time. It exports the datastores to the hosts using 
NFS.


What is the best way to reboot the server in order to cause the 
least amount of disruption to running VMs? I've thought about 
suspending all running VMs, rebooting the storage server and resuming 
the VMs after the storages serveris back. Would this work? Obviously, 
any VMs that have to maintain real time connections would be in 
trouble, e.g. iSCSI mounts, but would an ordinary machines resume 
successfully after the storage server reboots. The host NFS mounts are 
as here: /datastores nfs 
vers=4,bg,rw,_netdev,fsc,rsize=32768,wsize=32768,intr,noatime


In general, is there a recommended way of providing HA storage to 
hosts?


Regards,
Gerry



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


Re: [one-users] vm deployment via image stored in ceph datastore

2014-04-29 Thread Michael

Hi Steve,

I just downloaded the CentOS 6.2 image to our Ceph data-store to test 
and I get the same error. I tried using CentOS rescue and I just get No 
usable disks have been found when it scans for an existing OS.


It may be worth grabbing a distro ISO, uploading it into Open Nebula, 
writing out an empty datablock into Ceph and installing it like normal. 
You can then contextualise it yourself if you need to.


-Michael

On 29/04/2014 20:06, Campbell, Bill wrote:

Try changing your target from 'hda' to 'vda' and see if that helps

*

*

*Bill Campbell
*Infrastructure Architect

Axcess Financial Services, Inc.
7755 Montgomery Rd., Suite 400
Cincinnati, OH  45236



*From: *Steve @ MyEvolve st...@myevolve.com
*To: *Bill Campbell bcampb...@axcess-financial.com
*Cc: *Ruben S. Montero rsmont...@opennebula.org, 
users@lists.opennebula.org

*Sent: *Tuesday, April 29, 2014 2:47:56 PM
*Subject: *Re: vm deployment via image stored in ceph datastore

Hi Bill,

I just tried specifying raw as the driver, but no luck.  Same result.

It's really strange because I can deploy the ttylinux image from the 
market place no problem.


Thanks,
Steve




___
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-04-24 Thread Michael Kutzner
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
service networking stop
fi
}

activate_network()
{
. /etc/os-release
if [ $ID = ubuntu ]; then
IFACES=`/sbin/ifquery -la`

for i in $IFACES; do
DEV=`get_dev $i`
/sbin/ifup $i
done
else
service networking stop
sleep 1
service networking start
fi

sleep 2
}

deactivate_network
configure_network
activate_network
== snip ==

That works fine for me - especially in a mixed setup where I want to
use the context on the one hand, but have the need to configure alias
interfaces on the other hand (which is only handy on a VM with a 
fixed configuration).

What I did not check yet if that influences somehow any other kind of
package (relying on existing interfaces)

Best, Michael



 
 
 
 On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote:
 Hello,
 
 I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS 
 release. I usually prepare my images by simply installing the the ONE 
 context package 
 (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb) 
 which I also did for this image.
 
 
 Now when I deploy a VM using this image on the very first boot the network 
 is not working, although the /etc/network/interafaces gets correctly setup 
 by the ONE context package an ifconfig eth0 shows no IP addresses assigned 
 to the interface. Also a service networking restart does not work. The 
 only workaround I found for now is to reboot the VM, then networking works 
 correctly.
 
 Is it possible that this is an issue related to the ONE context package? or 
 simply some new networking code that Ubuntu 14.04 might have added or 
 modified?
 
 
 Regards
 ML
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 -- 
 Javier Fontán Muiños
 Developer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 one-context_4.5.85.deb___
 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] ubuntu 14.04 as image - no network on first boot

2014-04-24 Thread Michael Kutzner
Hi Javier,

Am 24.04.2014 um 19:02 schrieb Javier Fontan jfon...@opennebula.org:

 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.

checked, yes, that was one reason, I suppose - there was left an entry from
the tests I made (had an older version of the context package before which
modified the interface file also at shutdown, there was no
check if in „start“ or „stop“ phase).

Perhaps this may have been the error?

Another issue was the missing source for files in the interfaces.d directory
(which is needed if you would like to config fixed configurations - or which
sounds to be a way to go in combination with the context package)

Best, Michael


 
 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
service networking stop
fi
 }
 
 activate_network()
 {
. /etc/os-release
if [ $ID = ubuntu ]; then
IFACES=`/sbin/ifquery -la`
 
for i in $IFACES; do
DEV=`get_dev $i`
/sbin/ifup $i
done
else
service networking stop
sleep 1
service networking start
fi
 
sleep 2
 }
 
 deactivate_network
 configure_network
 activate_network
 == snip ==
 
 That works fine for me - especially in a mixed setup where I want to
 use the context on the one hand, but have the need to configure alias
 interfaces on the other hand (which is only handy on a VM with a
 fixed configuration).
 
 What I did not check yet if that influences somehow any other kind of
 package (relying on existing interfaces)
 
 Best, Michael
 
 
 
 
 
 
 On Wed, Apr 23, 2014 at 8:26 PM, ML mail mlnos...@yahoo.com wrote:
 Hello,
 
 I just generated a KVM qcow2 image for the new Ubuntu Server 14.04 LTS 
 release. I usually prepare my images by simply installing the the ONE 
 context package 
 (http://dev.opennebula.org/attachments/download/768/one-context_4.5.0.deb)
  which I also did for this image.
 
 
 Now when I deploy a VM using this image on the very first boot the 
 network is not working, although the /etc/network/interafaces gets 
 correctly setup by the ONE context package an ifconfig eth0 shows no IP 
 addresses assigned to the interface. Also a service networking restart 
 does not work. The only workaround I found for now is to reboot the VM, 
 then networking works correctly.
 
 Is it possible that this is an issue related to the ONE context package? 
 or simply some new networking code that Ubuntu 14.04 might have added or 
 modified?
 
 
 Regards
 ML
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 --
 Javier Fontán Muiños
 Developer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 one-context_4.5.85.deb___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
 --
 Javier Fontán Muiños
 Developer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 
 
 
 -- 
 Javier Fontán Muiños
 Developer
 OpenNebula - The Open Source Toolkit for Data Center Virtualization
 www.OpenNebula.org | @OpenNebula | github.com/jfontan
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org

[one-users] Configuration of 2 different transfer manager variants in ONE 3.6

2014-04-03 Thread Michael Gienger
Dear all,

 

do you have experience in configuring two different transfer managers in ONE
3.6?

We need to use LVM and SSH (for testing purposes, afterwards NFS) inside one
single cloud cluster so that all images are available for BOTH types of
nodes. As ONE is requiring a separated datastore for this, is there a
workaround available?

 

Thanks,

Michael

 

 

-

 

Michael Gienger

 

Höchstleistungsrechenzentrum Stuttgart

Universität Stuttgart

Nobelstraße 19

70569 Stuttgart

 

Phone: +49 711 685 63824

Fax:   +49 711 685 65832

 

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


[one-users] Database management

2014-03-13 Thread Michael Gienger
Dear OpenNebula users,

 

I need some information about the ONE database management / maintenance, on
which basis are old values removed to keep the DB small? Is it based on time
intervals, DB size or something different? And furthermore, can it be
configured?

I looked through the net and unfortunately, there is no clear information
provided.

 

Thanks for your help,

Michael

 

 

-

 

Michael Gienger

 

Höchstleistungsrechenzentrum Stuttgart

Universität Stuttgart

Nobelstraße 19

70569 Stuttgart

 

Phone: +49 711 685 63824

Fax:   +49 711 685 65832

 

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


[one-users] Version 4.4.1-1 create Ceph datastored VM fails

2014-02-20 Thread Michael

Hi All,

Have just added a new KVM HV which has gone in as opennebula version 
4.4.1-1, creating VM fails with:


Thu Feb 20 14:19:33 2014 [DiM][I]: New VM state is PENDING
Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is ACTIVE.
Thu Feb 20 14:19:41 2014 [LCM][I]: New VM state is PROLOG.
Thu Feb 20 14:19:41 2014 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/ceph/context /var/lib/one/vms/438/context.sh 
#address#101:/mnt/one/datastores/107/438/disk.2 438 107
Thu Feb 20 14:19:41 2014 [TM][I]: sh: 1: 
/var/lib/one/remotes/tm/ceph/context: not found

Thu Feb 20 14:19:41 2014 [TM][I]: ExitCode: 127
Thu Feb 20 14:19:41 2014 [TM][E]: Error executing image transfer script
Thu Feb 20 14:19:41 2014 [DiM][I]: New VM state is FAILED

I can't see a file /var/lib/one/remotes/tm/ceph/context on the new 
4.4.1-1 or my 4.4.0-1 HV which work. Any ideas what's going on?


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


Re: [one-users] Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. error after upgrade from 4.2 to 4.4

2014-01-07 Thread Michael

On 07/01/2014 19:27, Gerry O'Brien wrote:
SCHED_MESSAGE=Tue Jan  7 18:58:59 2014 : No system datastore meets 
SCHED_DS_REQUIREMENTS: CLUSTER_ID = 100  !(PUBLIC_CLOUD = YES)


Does your datastore meet these requirements?

$onedatastore list
$onecluster show 100

Also, the web interface to sunstone server hangs with blue circles 
when the hosts infrastructure page is refreshed. 


There's some common JS issues after an upgrade to 4.4, try fully 
clearing your browser cache and see if that makes any difference.


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


Re: [one-users] Problem Datastore with LVM

2014-01-07 Thread Michael
Your command execution fail is for a data-store with id 116, not 117 if 
that's any help to your troubleshooting.


-Michael

On 06/01/2014 09:17, Rhesa Mahendra wrote:

Guys,

I get error like this :

command execution fail: /var/lib/one/remotes/datastore/lvm/monitor 
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4x
MTY8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1F 


Pm9uZWFkbWluPC9HTkFNRT48TkFNRT5zdG9yYWdlPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dOR
VJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHU 

k9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00 

+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+bHZtPC9EU19NQUQ+PFRNX01BRD5sdm08L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS8vZGF0YXN0b3Jlcy8xMTY8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFP 




[oneadmin@idc-vcoz01 kvm-probes.d]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
   0 system0M - - 0 sys -
shared
   1 default   914.9G 93%   - 0 img fs   
shared

   2 files 914.9G 93%   - 0 fil fs   ssh
 117 idc-storage   0M - - 0 img lvm  lvm


[oneadmin@idc-vcoz01 kvm-probes.d]$ onedatastore show 117
DATASTORE 117 INFORMATION
ID : 117
NAME   : idc-storage
USER   : rhesa
GROUP  : oneadmin
CLUSTER: -
TYPE   : IMAGE
DS_MAD : lvm
TM_MAD : lvm
BASE PATH  : /var/lib/one//datastores/117
DISK_TYPE  : BLOCK

DATASTORE CAPACITY
TOTAL: : 0M
FREE:  : 0M
USED:  : 0M
LIMIT: : -

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

DATASTORE TEMPLATE
BRIDGE_LIST=idc-vcoz01
CLONE_TARGET=SELF
DISK_TYPE=BLOCK
DS_MAD=lvm
LN_TARGET=NONE
TM_MAD=lvm
TYPE=IMAGE_DS
VG_NAME=idccluster


any help?

Thanks.

Rhesa Mahendra.
___
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] Datastore 0 filtered out. It does not fulfill SCHED_DS_REQUIREMENTS. error after upgrade from 4.2 to 4.4

2014-01-07 Thread Michael

Hi Gerry,


onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
   0 system 21.4T 98%   - 0 sys -
shared
   1 default21.4T 98%   SCSSnebula   43 img fs   
shared

   2 files  21.4T 98%   SCSSnebula0 fil fs   ssh
 100 Research   21.4T 98%   SCSSnebula0 img fs   
shared
 101 Teaching   21.4T 98%   SCSSnebula6 img fs   
shared 


SCHED_MESSAGE=Tue Jan  7 18:58:59 2014 : No system datastore meets 
SCHED_DS_REQUIREMENTS: CLUSTER_ID = 100  !(PUBLIC_CLOUD = YES) 


So there's no system datastore in the cluster as you spotted, I think 
this is a new requirement in 4.4 with the change to multiple system 
datastores and tiering. There might be an issue with some configurations 
after upgrading.
I don't think you can add the 0 datastore to your cluster so as you're 
already using a shared datastore which is the same for all your data you 
can probably just make a second non id 0 system datastore linked to the 
same place as the others and assign it to the cluster.


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


[one-users] V4.4: Bridge Configuration/physical device attach in VLAN driver on existing bridge

2013-12-13 Thread Michael Kutzner
Hello,

we had some problems in the past deploying VMs when a bridge interface was
already existing (static configuration e.g.) using a different interface as 
physical than defined in the virtual network in ON.

Example:
- A bridge br10 was existing with a local interface eth0 attached.
- The virtual network in opennebula was configured to use eth1.
  (due to some historical or physical reasons eth0 was used on that host
  and the bridge was „preconfigured“)

The ON driver (opennebula-4.4.0/src/vnm_mad/remotes/802.1Q/HostManaged.rb)
now checks the following:
- bridge exists: no, create bridge
  This works fine as the bridge is already existing
- device is attached?
  No, attach it (so we have eth0 and eth1 attached to the bridge interface 
afterwards)
  This leads to some small (or bigger) problems (e.g. creating a loop on the 
switches and making
  the network practically unusable).

Attached you find a small patch which does the following:
- bridge exists?
  Yes, do nothing
- no: create bridge, add interface

This will also cover the scenario that you can change the physical device in 
the virtual
network definition after having deployed certain VMs.

Hopefully I did it right and made the changes in the right place.

I dont know, if anybody else had that problem, but I wanted to share this 
information.

Best, Michael



diff.8021q_bridge
Description: Binary data
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] V4.4: KVM Hyper-V Enlightenments

2013-12-13 Thread Michael Kutzner
Hi,

another small patch I would like to share.

Newer versions of libvirt and kvm support the cpu feature
  hv_spinlocks, hv_relaxe
(e.g. see here http://wiki.qemu.org/ChangeLog/1.1)

To make that work in ON4.4 I attached a small patch, so you can configure that
in sunstone (Templates - OS-Booting - Features)
and the XML is added to the features section of deployment.xml

It adds:
features
…
hyperv
relaxed state='on'/
vapic state='on'/
spinlocks state='on' retries='4096'/
/hyperv
/features

Beware that you need a current libvirt and qemu before activating that feature.
(Dont know, if that is already supported in e.g. RH6.x but I suppose so).

See also here: 
http://www.linux-kvm.org/wiki/images/0/0a/2012-forum-kvm_hyperv.pdf


Best, Michael



diff.hyperv
Description: Binary data
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] V4.4: KVM Hyper-V Enlightenments

2013-12-13 Thread Michael Kutzner
Hi Shankhadeep,

you are right, the support for the different features went into different 
versions
of libvirt…
Fast help:
if you modify opennebula-4.4.0/src/vmm/LibVirtDriverKVM.cc
after applying the patch:
modify line 766-  file  \t\thyperv\n\t\t\trelaxed 
state='on'/\n\t\t/hyperv“
and rebuild. Than it should work with your versio.

That should help in your case. I dont have that case as we use our own libvirt 
and
qemu/kvm packages - but think, will create a configurable version next time.

Another option is to build a current libvirt (I think, thats another discussion
to fitting to this list) on your own or try to find prebuild packages e.g.
on launchpad.

Best, Michael




 
Am 14.12.2013 um 06:12 schrieb Shankhadeep Shome shank15...@gmail.com:

 I would like to add that if you are an Ubuntu user, 13.10 has the libvirt 
 version (1.1.1) required to support these features fully. Libvirt 1.0.0 
 supports only.. 
 
 hyperv
  relaxed state='on'/
  /hyperv
 
 
 On Fri, Dec 13, 2013 at 11:52 PM, Shankhadeep Shome shank15...@gmail.com 
 wrote:
 Thanks Michael, this is really useful for our deployment, we have a mix of 
 windows and Linux VMs and this would certainly help, I'm sure the vapic 
 feature will be especially useful considering the wonky way windows handles 
 apic shutdown calls at the moment.  
 
 
 On Fri, Dec 13, 2013 at 6:21 AM, Ruben S. Montero rsmont...@opennebula.org 
 wrote:
 Hi Michael,
 
 Thanks for your contribution!!!. I've filled a bug for this:
 
 http://dev.opennebula.org/issues/2567
 
 Cheers Ruben,
 
 PS: Probably the dev mailing list is better to discuss this. 
 
 
 On Fri, Dec 13, 2013 at 11:26 AM, Michael Kutzner 
 michael.kutz...@virtion.de wrote:
 Hi,
 
 another small patch I would like to share.
 
 Newer versions of libvirt and kvm support the cpu feature
   hv_spinlocks, hv_relaxe
 (e.g. see here http://wiki.qemu.org/ChangeLog/1.1)
 
 To make that work in ON4.4 I attached a small patch, so you can configure that
 in sunstone (Templates - OS-Booting - Features)
 and the XML is added to the features section of deployment.xml
 
 It adds:
 features
 …
 hyperv
 relaxed state='on'/
 vapic state='on'/
 spinlocks state='on' retries='4096'/
 /hyperv
 /features
 
 Beware that you need a current libvirt and qemu before activating that 
 feature.
 (Dont know, if that is already supported in e.g. RH6.x but I suppose so).
 
 See also here: 
 http://www.linux-kvm.org/wiki/images/0/0a/2012-forum-kvm_hyperv.pdf
 
 
 Best, Michael
 
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
 -- 
 -- 
 Ruben S. Montero, PhD
 Project co-Lead and Chief Architect
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 

--
--
Michael Kutzner   virtion GmbH
Geschäftsführer/CEO Bleichstr. 77a
phone:  +49 521 - 448158-1333607 Bielefeld
fax:+49 521 - 448158-99
mobile: +49 151 - 15797488
--
Geschäftsführer: Thomas Fleck, Michael Kutzner, Holger Schemel
Handelsregister HRB 40374, Amtsgericht Bielefeld
USt-IdNr.: DE278312983



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


Re: [one-users] Ceph and thin provision

2013-12-12 Thread Michael
This doesn't appear to be the case, I've 2TB of images on Ceph and 380GB 
data reported by Ceph (760G after replication). All of these Ceph images 
were created through the Opennebula Sunstone template GUI.


-Michael

On 12/12/2013 09:11, Kenneth wrote:
I haven't tried creating a thin or thick provision in ceph rbd from 
scratch. So basically, I can say that a 100GB disk will consume 100GB 
RBD in ceph (of course it will be 200GB in ceph storage since ceph 
duplicates the disks by default).


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


[one-users] Cannot Create VMs

2013-12-11 Thread Brown, Michael E. (RET-DAY)
We are running ON version 3.8.1 and are not able to create VMs.

The instantiation fails in different places, but here's an example of one that 
hangs in BOOT status:

Tue Dec 10 22:36:13 2013 [DiM][I]: New VM state is ACTIVE.
Tue Dec 10 22:36:13 2013 [LCM][I]: New VM state is PROLOG.
Tue Dec 10 22:37:02 2013 [TM][I]: clone: Cloning 
/var/lib/one/datastores/1/85fe9862a9c2f2f75de6d7ed2c024ceb in 
cday01a10:/var/lib/one//datastores/0/383/disk.0
Tue Dec 10 22:37:02 2013 [TM][I]: ExitCode: 0
Tue Dec 10 22:37:10 2013 [TM][I]: mkimage: Making filesystem of 25600M and type 
ext3 at cday01a10:/var/lib/one//datastores/0/383/disk.1
Tue Dec 10 22:37:10 2013 [TM][I]: ExitCode: 0
Tue Dec 10 22:37:11 2013 [TM][I]: context: Generating context block device at 
cday01a10:/var/lib/one//datastores/0/383/disk.2
Tue Dec 10 22:37:11 2013 [TM][I]: ExitCode: 0
Tue Dec 10 22:37:11 2013 [LCM][I]: New VM state is BOOT
Tue Dec 10 22:37:11 2013 [VMM][I]: Generating deployment file: 
/var/lib/one/383/deployment.0

In log files under /var/log/libvirt/qemu we are seeing this error:

block I/O error in device 'drive-ide0-0-0': Bad file descriptor (9)

Also, in /var/log/one/oned.log, there are references to Duplicate key entries:

error 1062 : Duplicate entry '97-1368677892' for key 'PRIMARY'

Any suggestions would be appreciated.

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


[one-users] downloads.opennebula.org

2013-12-06 Thread Michael

Anyone know when downloads.opennebula.org will be back up?

Otherwise anyone know where you can apt-get Ubuntu packages for 4.4 
(Alternatives)?


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


Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

Hi Daniel,

Cleared the cache and I'm now getting (Also get this in other browsers I 
tried before clearing the cache):


Uncaught TypeError: Property 'numeric-' of object #Object is not a 
functionjquery.dataTables.min.js:84


The dashboard now does not have graphs, Virtual machines, templates, 
hosts, datastores show as empty (No data available in table), Images are 
all still there and can be seen on all of the browsers.


onetemplate list on the control panel command line shows all of the 
templates.

onevm list on the control panel also shows all running VM.
onedatastore list also shows all of the datastores correctly.

Ran a fsck on the onedb (MySQL) and it came back fine, restarted 
openenbula and sunstone without errors.


oned logs
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 VirtualMachinePoolInfo 
invoked, -2, -1, -1, -1
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 VirtualMachinePoolInfo 
result SUCCESS, VM_POOLVMID190...


When I tail -f on it while checking the VM tab which is empty, sunstone 
logs nothing erroneous.


-Michael

On 21/11/2013 11:52, Daniel Molina wrote:


On 21 November 2013 12:43, Michael mich...@onlinefusion.co.uk 
mailto:mich...@onlinefusion.co.uk wrote:


Thanks Daniel,

I've disabled oneflow for now, enabled it when I was looking
around to see what might be the problem and forgot I had (I'll
look at setting that up later).

On opening openenbula sunstone I'm getting a lot of JQMIGRATE
warnings.
JQMIGRATE: Logging is active jquery-migrate-1.1.0.js:20
JQMIGRATE: jQuery.fn.live() is deprecated jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('selected') may use property instead of
attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('checked') may use property instead of
attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.die() is deprecated jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.toggle(handler, handler...) is deprecated
jquery-migrate-1.1.0.js:39

 1. console.trace()


On opening a template I get nothing and No data available in
table in Storage, Network and Scheduling. On clicking refresh or
on the empty table it throws a:

 1. Uncaught TypeError: Cannot read property '4' of null
templates-tab.js:1620
1.
(anonymous function)templates-tab.js:1620
2.
b.event.dispatchjquery-1.9.1.min.js:3
3.
v.handlejquery-1.9.1.min.js:3




It seems the browser has cached the templates-tab.js file and you are 
using the old 4.2 template-tab.js:

https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620

Could you try clearing the browser cache or using an incognito window?

In the final one-4.4 cache issues will be fixed, I have included this 
commit to fix it:

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

Cheers

-Michael


On 21/11/2013 11:11, Daniel Molina wrote:

Hi Michael,


On 20 November 2013 20:50, Michael mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

Hi,

Upgraded to latest 4.4 beta 2 and I'm now unable to manage
templates, can see Images/Networks/Datastores fine in their
respective panels but the ajax that pulls in the data for
selection on a template seems to be broken.
Also getting a Failed to load resource: the server responded
with a status of 503 (Service Unavailable)
http://#ip_address#:9869/service_template?timeout=true
http://#ip_address%23:9869/service_template?timeout=true
periodically in the console log, any info I've found so far
doesn't seem to apply as otherwise oned seems to be running fine.


Do you get any error in the browser console when:
 * you open the template wizard
 * sunstone is loaded the first time


Sunstone log has [OneFlow] Error connecting to server
(Connection refused - connect(2)). Server: localhost:2474
but the only info on that I can find tells me I need to start
one

http://opennebula.org/documentation:community:faq#i_get_a_connection_refused_-_connect_2_error_what_is_the_problem
and check ONE_XMLRPC but looking at the one_xmlrpc.log it
seems to be running fine.

Any ideas?


You have to start the oneflow-server, sunstone is trying to
connect to localhost:2474 to retrieve the OneFlow resources.


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




-- 
--

Daniel Molina
Project

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

Ach, sent a reply before checking and finding your response.

Upgraded from
CentOS-6-opennebula-4.2.0-1
to
CentOS-6-opennebula-4.3.85-1
Via rpm last night.

-Michael

On 21/11/2013 14:34, Daniel Molina wrote:

Lets try to find out the problem:
  * Could you send the whole stack trace, you will get it if the dev 
tools are opened when the error occurs.

  * From what version did you upgrade?
  * how did you upgrade packages, source?


On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk 
mailto:mich...@onlinefusion.co.uk wrote:


Hi Daniel,

Cleared the cache and I'm now getting (Also get this in other
browsers I tried before clearing the cache):

Uncaught TypeError: Property 'numeric-' of object #Object is not
a functionjquery.dataTables.min.js:84

The dashboard now does not have graphs, Virtual machines,
templates, hosts, datastores show as empty (No data available in
table), Images are all still there and can be seen on all of the
browsers.

onetemplate list on the control panel command line shows all of
the templates.
onevm list on the control panel also shows all running VM.
onedatastore list also shows all of the datastores correctly.

Ran a fsck on the onedb (MySQL) and it came back fine, restarted
openenbula and sunstone without errors.

oned logs
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID190...

When I tail -f on it while checking the VM tab which is empty,
sunstone logs nothing erroneous.

-Michael


On 21/11/2013 11:52, Daniel Molina wrote:


On 21 November 2013 12:43, Michael mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

Thanks Daniel,

I've disabled oneflow for now, enabled it when I was looking
around to see what might be the problem and forgot I had
(I'll look at setting that up later).

On opening openenbula sunstone I'm getting a lot of JQMIGRATE
warnings.
JQMIGRATE: Logging is active jquery-migrate-1.1.0.js:20
JQMIGRATE: jQuery.fn.live() is deprecated
jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('selected') may use property
instead of attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('checked') may use property instead
of attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.die() is deprecated
jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.toggle(handler, handler...) is
deprecated jquery-migrate-1.1.0.js:39

 1. console.trace()


On opening a template I get nothing and No data available in
table in Storage, Network and Scheduling. On clicking
refresh or on the empty table it throws a:

 1. Uncaught TypeError: Cannot read property '4' of null
templates-tab.js:1620
1.
(anonymous function)templates-tab.js:1620
2.
b.event.dispatchjquery-1.9.1.min.js:3
3.
v.handlejquery-1.9.1.min.js:3




It seems the browser has cached the templates-tab.js file and you
are using the old 4.2 template-tab.js:

https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620

Could you try clearing the browser cache or using an incognito
window?

In the final one-4.4 cache issues will be fixed, I have included
this commit to fix it:
http://dev.opennebula.org/issues/2308

Cheers

-Michael


On 21/11/2013 11:11, Daniel Molina wrote:

Hi Michael,


On 20 November 2013 20:50, Michael
mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

Hi,

Upgraded to latest 4.4 beta 2 and I'm now unable to
manage templates, can see Images/Networks/Datastores
fine in their respective panels but the ajax that pulls
in the data for selection on a template seems to be broken.
Also getting a Failed to load resource: the server
responded with a status of 503 (Service Unavailable)
http://#ip_address#:9869/service_template?timeout=true
http://#ip_address%23:9869/service_template?timeout=true
periodically in the console log, any info I've found so
far doesn't seem to apply as otherwise oned seems to be
running fine.


Do you get any error in the browser console when:
 * you open the template wizard
 * sunstone is loaded the first time

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

Ok,

Looking at it in firebug and it looks like the JSON response is fine on 
all pages where content does not display. It's just the JS that's not 
parsing the returned data correctly.


GET user?timeout=false

200 OK

31ms


Response

{
  VM_POOL: {
VM: [
  {
DEPLOY_ID: one-190,

. complete JSON


--

Console error.

1. Uncaught TypeError: Property 'numeric-' of object #Object is not a
   function jquery.dataTables.min.js:84
1.
   (anonymous function)jquery.dataTables.min.js:84
2.
   Ojquery.dataTables.min.js:84
3.
   aajquery.dataTables.min.js:42
4.
   fnAddDatajquery.dataTables.min.js:99
5.
   updateViewsunstone-util.js:233
6.
   updateGroupsViewgroups-tab.js:527
7.
   $.ajax.successopennebula.js:853
8.
   cjquery-1.9.1.min.js:3
9.
   p.fireWithjquery-1.9.1.min.js:3
   10.
   kjquery-1.9.1.min.js:5
   11.
   rjquery-1.9.1.min.js:5
   12.
   handleStateChangefirebug-lite.js:18917


--

This is installed from the 4.3.85-1.x86_64 RPM packages.

-Michael

On 21/11/2013 12:15, Michael wrote:

Hi Daniel,

Cleared the cache and I'm now getting (Also get this in other browsers 
I tried before clearing the cache):


Uncaught TypeError: Property 'numeric-' of object #Object is not a 
functionjquery.dataTables.min.js:84


The dashboard now does not have graphs, Virtual machines, templates, 
hosts, datastores show as empty (No data available in table), Images 
are all still there and can be seen on all of the browsers.


onetemplate list on the control panel command line shows all of the 
templates.

onevm list on the control panel also shows all running VM.
onedatastore list also shows all of the datastores correctly.

Ran a fsck on the onedb (MySQL) and it came back fine, restarted 
openenbula and sunstone without errors.


oned logs
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 
VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 
VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID190...


When I tail -f on it while checking the VM tab which is empty, 
sunstone logs nothing erroneous.


-Michael


___
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] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael
Thanks Daniel and Bill, confirming that removing the opennebula-sunstone 
rpm only with -e and reinstalling, then clearing all browser cache has 
got it working again.


-Michael

On 21/11/2013 15:18, Daniel Molina wrote:

It looks like a problem with the opennebula-sunstone package:

Issue #2482 has been updated by Bill Campbell.

As an aside, I was able to solve this problem by purging and 
reinstalling the 4.4 beta sunstone package. Maybe some residual left 
over from the previous version?


Could you check if this solves the problem?



On 21 November 2013 15:47, Michael mich...@onlinefusion.co.uk 
mailto:mich...@onlinefusion.co.uk wrote:


Ach, sent a reply before checking and finding your response.

Upgraded from
CentOS-6-opennebula-4.2.0-1
to
CentOS-6-opennebula-4.3.85-1
Via rpm last night.

-Michael


On 21/11/2013 14:34, Daniel Molina wrote:

Lets try to find out the problem:
  * Could you send the whole stack trace, you will get it if the
dev tools are opened when the error occurs.
  * From what version did you upgrade?
  * how did you upgrade packages, source?


On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

Hi Daniel,

Cleared the cache and I'm now getting (Also get this in other
browsers I tried before clearing the cache):

Uncaught TypeError: Property 'numeric-' of object #Object
is not a functionjquery.dataTables.min.js:84

The dashboard now does not have graphs, Virtual machines,
templates, hosts, datastores show as empty (No data available
in table), Images are all still there and can be seen on all
of the browsers.

onetemplate list on the control panel command line shows all
of the templates.
onevm list on the control panel also shows all running VM.
onedatastore list also shows all of the datastores correctly.

Ran a fsck on the onedb (MySQL) and it came back fine,
restarted openenbula and sunstone without errors.

oned logs
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo invoked, -2, -1, -1, -1
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID190...

When I tail -f on it while checking the VM tab which is
empty, sunstone logs nothing erroneous.

-Michael


On 21/11/2013 11:52, Daniel Molina wrote:


On 21 November 2013 12:43, Michael
mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

Thanks Daniel,

I've disabled oneflow for now, enabled it when I was
looking around to see what might be the problem and
forgot I had (I'll look at setting that up later).

On opening openenbula sunstone I'm getting a lot of
JQMIGRATE warnings.
JQMIGRATE: Logging is active jquery-migrate-1.1.0.js:20
JQMIGRATE: jQuery.fn.live() is deprecated
jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('selected') may use property
instead of attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.attr('checked') may use property
instead of attribute jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.die() is deprecated
jquery-migrate-1.1.0.js:39

 1. console.trace() jquery-migrate-1.1.0.js:41

JQMIGRATE: jQuery.fn.toggle(handler, handler...) is
deprecated jquery-migrate-1.1.0.js:39

 1. console.trace()


On opening a template I get nothing and No data
available in table in Storage, Network and Scheduling.
On clicking refresh or on the empty table it throws a:

 1. Uncaught TypeError: Cannot read property '4' of null
templates-tab.js:1620
1.
(anonymous function)templates-tab.js:1620
2.
b.event.dispatchjquery-1.9.1.min.js:3
3.
v.handlejquery-1.9.1.min.js:3




It seems the browser has cached the templates-tab.js file
and you are using the old 4.2 template-tab.js:

https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620

Could you try clearing the browser cache or using an
incognito window?

In the final one-4.4 cache issues will be fixed, I have
included this commit to fix it:
http://dev.opennebula.org/issues/2308

Cheers

-Michael


On 21/11/2013 11:11, Daniel Molina wrote

[one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-20 Thread Michael

Hi,

Upgraded to latest 4.4 beta 2 and I'm now unable to manage templates, 
can see Images/Networks/Datastores fine in their respective panels but 
the ajax that pulls in the data for selection on a template seems to be 
broken.
Also getting a Failed to load resource: the server responded with a 
status of 503 (Service Unavailable) 
http://#ip_address#:9869/service_template?timeout=true; periodically in 
the console log, any info I've found so far doesn't seem to apply as 
otherwise oned seems to be running fine.


Sunstone log has [OneFlow] Error connecting to server (Connection 
refused - connect(2)). Server: localhost:2474 but the only info on that 
I can find tells me I need to start one 
http://opennebula.org/documentation:community:faq#i_get_a_connection_refused_-_connect_2_error_what_is_the_problem 
and check ONE_XMLRPC but looking at the one_xmlrpc.log it seems to be 
running fine.


Any ideas?

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


[one-users] Opennebula, Ceph and Libvirt 0.10.2

2013-10-30 Thread Michael

Hi,

I'm having an issue with a newly added CentOS node to opennebula, on my 
Ubuntu nodes the default libvirt is 9.X and seems to work fine, the ceph 
docs http://ceph.com/docs/master/rbd/libvirt/ suggest things have been 
changing libvirt late 9.X which might now be causing a problem on my new 
10.2 nodes.


It's essentially the same issue as 
http://lists.opennebula.org/pipermail/users-opennebula.org/2013-June/023323.html 
that never got answered/resolved. The VM fails to build on a disk 
mounting error which looks like it might be resolvable by switching the 
command used by Opennebula from auth_supported=none to 
auth_supported=cephx but I've tried looking through as many of the 
opennebula files as I can think might be relevant

but can't find where this could be changed.

[root@12 ~]# libvirtd --version
libvirtd (libvirt) 0.10.2

[root@12 ~]# su oneadmin

bash-4.1$ /usr/libexec/qemu-kvm -drive 
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native
qemu-kvm: -drive 
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native: 
error connecting
qemu-kvm: -drive 
file=rbd:one/one-54:auth_supported=none,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native: 
could not open disk image rbd:one/one-54:auth_supported=none: Operation 
not supported


bash-4.1$ /usr/libexec/qemu-kvm -drive 
file=rbd:one/one-54:auth_supported=cephx,if=none,id=drive-ide0-0-1,format=raw,cache=writeback,aio=native

VNC server running on `127.0.0.1:5905'

Any ideas greatly appreciated!

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


Re: [one-users] context mac address

2013-10-28 Thread Michael Curran
Thanks Carlos!!! The --all is what I really needed...missed that in the 
readings, just dirty sightedness on my part!



Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Carlos Martín Sánchez [cmar...@opennebula.org]
Received: Monday, 28 Oct 2013, 8:24am
To: Michael Curran [michael.cur...@connectsolutions.com]
CC: users [users@lists.opennebula.org]
Subject: Re: [one-users] context mac address

Hi,

On Fri, Oct 25, 2013 at 8:40 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
I have tried Carlos’ suggestion below and also these now

ETH0_MAC=$NIC[MAC,ID=\0\]
ETH0_MAC=$VMNIC[MAC,ID=\0\]
ETH0_MAC=$VM_NIC[MAC,ID=\0\]

With no such luck in finding the MAC so I can do MAC matching to assign IP’s 
across multiple NICs based on that MAC

The example I gave in my first email is working for me.

For this template:

CPU=0.1
MEMORY=128
NIC=[
  NETWORK_ID=0 ]
CONTEXT=[
  ETH0_MAC=$NIC[MAC, NETWORK_ID=\0\],
  NETWORK=yes ]

I get this VM:

[...]
CONTEXT=[
  DISK_ID=0,
  ETH0_DNS=192.168.0.1,
  ETH0_GATEWAY=192.168.0.1,
  ETH0_IP=192.168.0.3,
  ETH0_MAC=02:00:c0:a8:00:03,
  ETH0_MASK=255.255.255.0,
  ETH0_NETWORK=192.168.0.0,
  NETWORK=yes,
  TARGET=hda ]

 The contextualization variables syntax is explained here [1].
 [1] http://opennebula.org/documentation:rel4.2:cong
That page is explanatory on how to put them together, but not how to obtain 
what is available – maybe MAC isn’t available with $NIC ??

What is the correct variable pattern to use – is there a comprehensive list of 
these variables listed somewhere?

No, we don't have a complete list of variables, because you can use any 
attribute. To see all your available attributes, instantiate a VM, and use the 
--all or -x options of onevm show.

For example, I get this output for the previous VM:

$ onevm show 1 --all
[...]
VM NICS
 ID NETWORK  VLAN BRIDGE   IP  MAC
  0 ranged no virbr0   192.168.0.3 02:00:c0:a8:00:03
   fe80::400:c0ff:fea8:3

VIRTUAL MACHINE TEMPLATE
[...]
NIC=[
  BRIDGE=virbr0,
  IP=192.168.0.3,
  IP6_LINK=fe80::400:c0ff:fea8:3,
  MAC=02:00:c0:a8:00:03,
  NETWORK=ranged,
  NETWORK_ID=0,
  NIC_ID=0,
  VLAN=NO ]

This means that I can use any of the following expressions inside the CONTEXT 
section:
ETH0_IPV6=$NIC[IP6_LINK, NIC_ID=\0\],
ETH0_MAC=$NIC[MAC, NETWORK=\ranged\],
ETH0_NETWORK_NAME=$NIC[NETWORK, BRIDGE=\virbr0\]



But instead of doing this, maybe we should add the ETHx_MAC attribute with the 
rest of the network contextualization, when the CONTEXT/NETWORK=YES attribute 
is found. This could be easily added to the next release.

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


On Fri, Oct 25, 2013 at 8:40 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Just to make sure I am clear on what I am looking for , this is the set of 
fields in the onevm show vmid

VM NICS
ID NETWORK  VLAN BRIDGE   IP  MAC
  0 private1_10.7.0.0 yes private_110.7.3.248  02:00:0a:07:03:f8
   fe80::400:aff:fe07:3f8
  1 private1_10.7.0.0 yes private_110.7.3.249  02:00:0a:07:03:f9
   fe80::400:aff:fe07:3f9


I want to create my own context variable that references ETH0_MAC – the mac 
address in the last colume

I have tried Carlos’ suggestion below and also these now

ETH0_MAC=$NIC[MAC,ID=\0\]
ETH0_MAC=$VMNIC[MAC,ID=\0\]
ETH0_MAC=$VM_NIC[MAC,ID=\0\]

With no such luck in finding the MAC so I can do MAC matching to assign IP’s 
across multiple NICs based on that MAC

What is the correct variable pattern to use – is there a comprehensive list of 
these variables listed somewhere?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org]
 On Behalf Of Michael Curran
Sent: Friday, October 25, 2013 1:26 PM
To: Carlos Martín Sánchez

Cc: users
Subject: Re: [one-users] context mac address

I tried that as you wrote it and I have tried a few of my own variables that 
did not work either.

I would love to see a comprehensive list of variables to use, and I’m just not 
finding one.

That page is explanatory on how to put them together, but not how to obtain 
what is available – maybe MAC isn’t available with $NIC ??

Michael Curran | connectsolutions | Lead Network Architect

Re: [one-users] OpenNebula 4.4(?)

2013-10-25 Thread Michael Curran
Martin --

 Your only building with one NIC / IP -- not multiple NICs on boot up -- right?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, October 24, 2013 6:12 AM
To: Martin Alfke
Cc: users
Subject: Re: [one-users] OpenNebula 4.4(?)

So you re-wrote the regex expression to look for single quotes around the 
variable forms -- argh, should have seen that -- thanks for pointing out my 
blindness :)

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Martin Alfke [mailto:tux...@gmail.com]
Sent: Thursday, October 24, 2013 2:31 AM
To: Michael Curran
Cc: users
Subject: Re: [one-users] OpenNebula 4.4(?)

Hi Michael,

we did not modify context.sh.

We only have patched the one-context.ps1 script as described in one of my last 
emails:

This its he important thing you have to change:
 (.+)='(.+)' {

I have attached the diff as separate file.

hth,

Martin
___
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] context mac address

2013-10-25 Thread Michael Curran
I'm working on contextualizing a windows VM with multiple NIC's during VM 
creation

Does anyone know the correct Variable for the MAC by network ID number? I just 
want to add it to context settings in the VM Template so it picks it up 
everytime.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] context mac address

2013-10-25 Thread Michael Curran
I tried that as you wrote it and I have tried a few of my own variables that 
did not work either.

I would love to see a comprehensive list of variables to use, and I'm just not 
finding one.

That page is explanatory on how to put them together, but not how to obtain 
what is available - maybe MAC isn't available with $NIC ??

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Friday, October 25, 2013 12:53 PM
To: Michael Curran
Cc: users
Subject: Re: [one-users] context mac address

Hi,

Do you mean like this?
ETH0_NIC = $NIC[MAC, NETWORK_ID=\0\]

The contextualization variables syntax is explained here [1].

Regards

[1] http://opennebula.org/documentation:rel4.2:cong

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

On Fri, Oct 25, 2013 at 6:42 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
I'm working on contextualizing a windows VM with multiple NIC's during VM 
creation

Does anyone know the correct Variable for the MAC by network ID number? I just 
want to add it to context settings in the VM Template so it picks it up 
everytime.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


___
Users mailing list
Users@lists.opennebula.orgmailto: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] context mac address

2013-10-25 Thread Michael Curran
Just to make sure I am clear on what I am looking for , this is the set of 
fields in the onevm show vmid

VM NICS
ID NETWORK  VLAN BRIDGE   IP  MAC
  0 private1_10.7.0.0 yes private_110.7.3.248  02:00:0a:07:03:f8
   fe80::400:aff:fe07:3f8
  1 private1_10.7.0.0 yes private_110.7.3.249  02:00:0a:07:03:f9
   fe80::400:aff:fe07:3f9


I want to create my own context variable that references ETH0_MAC - the mac 
address in the last colume

I have tried Carlos' suggestion below and also these now

ETH0_MAC=$NIC[MAC,ID=\0\]
ETH0_MAC=$VMNIC[MAC,ID=\0\]
ETH0_MAC=$VM_NIC[MAC,ID=\0\]

With no such luck in finding the MAC so I can do MAC matching to assign IP's 
across multiple NICs based on that MAC

What is the correct variable pattern to use - is there a comprehensive list of 
these variables listed somewhere?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, October 25, 2013 1:26 PM
To: Carlos Martín Sánchez
Cc: users
Subject: Re: [one-users] context mac address

I tried that as you wrote it and I have tried a few of my own variables that 
did not work either.

I would love to see a comprehensive list of variables to use, and I'm just not 
finding one.

That page is explanatory on how to put them together, but not how to obtain 
what is available - maybe MAC isn't available with $NIC ??

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Carlos Martín Sánchez [mailto:cmar...@opennebula.org]
Sent: Friday, October 25, 2013 12:53 PM
To: Michael Curran
Cc: users
Subject: Re: [one-users] context mac address

Hi,

Do you mean like this?
ETH0_NIC = $NIC[MAC, NETWORK_ID=\0\]

The contextualization variables syntax is explained here [1].

Regards

[1] http://opennebula.org/documentation:rel4.2:cong

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

On Fri, Oct 25, 2013 at 6:42 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
I'm working on contextualizing a windows VM with multiple NIC's during VM 
creation

Does anyone know the correct Variable for the MAC by network ID number? I just 
want to add it to context settings in the VM Template so it picks it up 
everytime.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


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

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


Re: [one-users] OpenNebula 4.4(?)

2013-10-24 Thread Michael Curran
So you re-wrote the regex expression to look for single quotes around the 
variable forms -- argh, should have seen that -- thanks for pointing out my 
blindness :)

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Martin Alfke [mailto:tux...@gmail.com] 
Sent: Thursday, October 24, 2013 2:31 AM
To: Michael Curran
Cc: users
Subject: Re: [one-users] OpenNebula 4.4(?)

Hi Michael,

we did not modify context.sh.

We only have patched the one-context.ps1 script as described in one of my last 
emails:

This its he important thing you have to change:
 (.+)='(.+)' {

I have attached the diff as separate file.

hth,

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


Re: [one-users] OpenNebula 4.4(?)

2013-10-18 Thread Michael Curran
You automate the hostname, assign IP( not dhcp), and join an AD domain during 
system instantiation?

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Martin Alfke [tux...@gmail.com]
Received: Friday, 18 Oct 2013, 6:40am
CC: users [users@lists.opennebula.org]
Subject: Re: [one-users] OpenNebula 4.4(?)

Hi Tino,

many thanks for the update.

@Michael:

we run ONE 4.2 using Windows contextualisation without troubles (Network 
settings and RDP enabling) for Win7 and Win8.

Kind regards,

Martin


On Oct 18, 2013, at 11:05 AM, Tino Vazquez cvazq...@c12g.com wrote:

 Hi Michael,

 The beta version of OpenNebula 4.4 is due in one week. The single
 quote issue would be resolved (we would love to hear your feedback on
 this as soon as it is out), RbVmomi in place and multiple system ds
 support.

 We would appreciate it if you could elaborate a bit more on your plans
 regarding windows contextualization.

 Best,

 -Tino
 --
 OpenNebula - Flexible Enterprise Cloud Made Simple

 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs
 www.c12g.comhttp://www.c12g.com | @C12G | es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and
 any accompanying documents, unless otherwise expressly indicated, is
 confidential and privileged, and is intended solely for the person
 and/or entity to whom it is addressed (i.e. those identified in the
 To and cc box). They are the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this
 communication, or any part thereof, is strictly prohibited and may be
 unlawful. If you have received this e-mail in error, please notify us
 immediately by e-mail at ab...@c12g.com and delete the e-mail and
 attachments and any copy from your system. C12G thanks you for your
 cooperation.


 On Thu, Oct 17, 2013 at 2:58 PM, Michael Curran
 michael.cur...@connectsolutions.com wrote:
 Is there any expected release date for this yet? I have a fully functional
 POC that handles *nix and windows, but cannot contextualize windows because
 of the single quotes around variables in the context.sh ... Which I was told
 would be resolved in the next release, along with the move away from libvirt
 to rbvmomi for accessing the cIpher and multiple system datastores support.

 Any news would help me while wee start build of an OpenStack poc for
 comparison against

 Sent from my Android phone using TouchDown 
 (www.nitrodesk.comhttp://www.nitrodesk.com)

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


[one-users] OpenNebula 4.4(?)

2013-10-17 Thread Michael Curran
Is there any expected release date for this yet? I have a fully functional POC 
that handles *nix and windows, but cannot contextualize windows because of the 
single quotes around variables in the context.sh ... Which I was told would be 
resolved in the next release, along with the move away from libvirt to rbvmomi 
for accessing the cIpher and multiple system datastores support.

Any news would help me while wee start build of an OpenStack poc for comparison 
against

Sent from my Android phone using TouchDown (www.nitrodesk.com)
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] @vm contextulization

2013-09-28 Thread Michael Curran
Assume *nix box? after setting contextualize network, you sill haves to script 
the init.sh to execute the configuration options you want during boot up

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: anagha b [banag...@gmail.com]
Received: Thursday, 26 Sep 2013, 2:53am
To: Users@lists.opennebula.org [Users@lists.opennebula.org]
Subject: [one-users] @vm contextulization

can anybody tell how to contextualizae vm using sunstone.

just setting the interface file in vm isnot sufficient to have static ip to vm?
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Unix contextualization

2013-09-18 Thread Michael Curran
Also in regards to this - my grub menu in VMware is set to 3 seconds

When I upload the VMDK into OpenNebula datastore and stand up a linux host - My 
grub menu just sits and waits for me to hit enter?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Tuesday, September 17, 2013 3:21 PM
To: users@lists.opennebula.org
Subject: [one-users] Unix contextualization

I am looking at the following pieces for contextualization


-  init.sh

-  context paramters

I see where to put the context pieces , but where do I put in the ability to 
execute init.sh during boot of the VM?

Do I need to create a script that executes during boot of the OS that executes 
init.sh on system instantiation ?? Could I make it more complex so that my 
changes are permanent in /etc/network/interfaces  (using Ubuntu here)

Also, the  difference I see when I am loading CONTEXT settings for Windows I 
use this

FILES_DS=$FILE[IMAGE_ID=4] $FILE[IMAGE_ID=5] $FILE[IMAGE_ID=6] 
$FILE[IMAGE_ID=7] $FILE[IMAGE_ID=8]

But the context page shows

Files=/var/tmp/init.sh /var/tmp/id_dsa.pub


Either way its just copying the file for the contextualization? The 2nd is a 
reference to a file on the ON host?



Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


[one-users] Unix contextualization

2013-09-17 Thread Michael Curran
I am looking at the following pieces for contextualization


-  init.sh

-  context paramters

I see where to put the context pieces , but where do I put in the ability to 
execute init.sh during boot of the VM?

Do I need to create a script that executes during boot of the OS that executes 
init.sh on system instantiation ?? Could I make it more complex so that my 
changes are permanent in /etc/network/interfaces  (using Ubuntu here)

Also, the  difference I see when I am loading CONTEXT settings for Windows I 
use this

FILES_DS=$FILE[IMAGE_ID=4] $FILE[IMAGE_ID=5] $FILE[IMAGE_ID=6] 
$FILE[IMAGE_ID=7] $FILE[IMAGE_ID=8]

But the context page shows

Files=/var/tmp/init.sh /var/tmp/id_dsa.pub


Either way its just copying the file for the contextualization? The 2nd is a 
reference to a file on the ON host?



Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] running a windows XP vm

2013-08-29 Thread Michael Curran
I had to set the nic model to e1000 to make the nic work, plus I don't see any 
pcibridge definition in your template below

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Kenneth [kenn...@apolloglobal.net]
Received: Wednesday, 28 Aug 2013, 11:38pm
To: Users [users@lists.opennebula.org]
Subject: [one-users] running a windows XP vm


Here's my template for it:

CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=1
DISK=[
  IMAGE_ID=25 ]
DISK=[
  IMAGE_ID=23 ]
GRAPHICS=[
  LISTEN=0.0.0.0,
  TYPE=VNC ]
MEMORY=512
NIC=[
  MODEL=virtio,
  NETWORK_ID=1 ]
OS=[
  ARCH=i686 ]


It boot's fine. However the network isn't working any settings I need to change 
to make the network work? or any drivers I need to install?

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


[one-users] contextualization and windows powershell

2013-08-29 Thread Michael Curran
Separate thread so it gathers the right attention ---



Found an issue -- which might not be one in *NIX , but apparently is in windows 
-- and hopefully its just the way I am calling out the variable??



I have



HOSTNAME=$NAME



In my VM template -- this creates the following entry in the context.sh



HOSTNAME='some-name'



The windows powershell script I am using from the IEETA pages shows



HOSTNAME=$NAME



And their context.sh shows



HOSTNAME=some-host



Working with their PS script I found that windows wont interpret the 
HOSTNAME=some-name , unless the variable looks like this HOSTNAME=some-name 
in context.sh



OpenNebula creates the variable with only single quotes, not double quotes -- 
am I missing something in declaring the variable in the template??


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] files datastore

2013-08-27 Thread Michael Curran
Tino --

Thanks -- that did the trick, I have created a VM that boots with the context 
files mounted as an ISO 

Now working to get them to run properly. 

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Friday, August 23, 2013 11:12 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

After a careful analysis of the bug, I think is more of a configuration issue. 
Apologies for not seeing this sooner!

The files datastore is a local datastore to the front-end where the files to be 
passed to the CONTEXT of the VMs are stored. These files are gathered and 
stored inside a ISO file, that gets copied to the VMware ESX system datastore 
upon deploying a VM.

From your logs, it looks like you have changed the DS_MAD of the Files 
datastore (ID=2) to read vmfs instead of the default fs. If that is the 
case, please change it back to fs and try again.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Thu, Aug 22, 2013 at 10:45 AM, Tino Vazquez tinov...@gmail.com wrote:
 Hi Michael,

 This issue is worked upon in the context of this issue:
 http://dev.opennebula.org/issues/2230

 It will be available for v4.4, but you can keep track of that ticket 
 for commits fixing the error.

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | 
 @tinova79  | es.linkedin.com/in/tinova


 On Wed, Aug 7, 2013 at 2:50 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 Tino --

 Is this something that is being worked on now, or for a future release?

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:tinov...@gmail.com]
 Sent: Wednesday, July 31, 2013 9:52 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] files datastore

 Hi Michael,

 No, that wouldn't solve the issue. The solution here is to adapt 
 remotes/datastore/vmfs/cp to be able to cope with files and directories that 
 are not vmdk disks.

 A redesign needs to be carried out. In particular:

  - Files are failing due to line 154
  - Directories are failing due to line 146

 As soon as we have the solution designed, I'll let you know.

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | 
 @tinova79  | es.linkedin.com/in/tinova


 On Mon, Jul 29, 2013 at 7:27 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So -- This is more of the issue

 1) I tried to change it to /vmfs/volumes (doesn't work, doesn't 
 exist on ONE node -- and oneadmin cannot create root , top-level 
 directories
 -- mkdir fails)
 2) The system is only trying to use CP to move files between Files DS and 
 System DS (including moving the context files to a temp location)
 -- this doesn't work because CP is local to the ONE node , 
 and the files are on the VMFS volumes on ESXi  -- copy fails
 3) I can see my IM/VM/VN set as vmware/vmware/dummy -- but I do not 
 see any settings for TM against the host only in oned.conf

 If I change this TM_MAD setting in oned.conf from this

  TM_MAD = [
 name   = vmware,
 executable = one_tm,
 arguments  = -t 15 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph
 ]

 To this

 TM_MAD = [
 name   = vmware,
 executable = one_tm,
 arguments  = -t 15 -d vmfs ]

 Will that solve the issue of trying to build the context.sh on the ONE node 
 instead of the VMFS volumes?


 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Monday, July 29, 2013 11:23 AM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] files datastore

 Not sure how I missed

Re: [one-users] How to successfully attch disk image to virtual machine on esxi5.1?

2013-08-23 Thread Michael Curran
Your using esxi5.1 correct? Are you using a vmdk image to instantiate a VM or 
just trying to add an image to an existing VM?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of hansz
Sent: Friday, August 23, 2013 3:21 AM
To: users@lists.opennebula.org
Subject: [one-users] How to successfully attch disk image to virtual machine on 
esxi5.1?

like the topic ,How to successfully attch disk image to virtual machine?
first , i create one image
the Type i select datablock,
the Image Location  i select  Empty datablock .size 2G ,FS type vfat ,then 
create.

then i  attch disk image to virtual machine ,but faild .
anythink wrong ?

or how can i successfully attch a disk, pls help?

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


Re: [one-users] vmware and scsi disk setup

2013-08-22 Thread Michael Curran
Uniquely enough if I look at the VMDK driver ddb.adapterType , they both state 
lsilogic 

The VMX file is being created using the lsilogic definition by opennebula. So 
there must be something different being done by VMware -- I will try to set the 
following in data_vmx and see if that will work

scsi0.virtualDev = lsisas1068

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Thursday, August 22, 2013 5:05 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a SCSI SAS 
disk, while the second uses a LSI logic driver for it. Does changing the second 
VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Wed, Aug 21, 2013 at 7:21 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 So -- the issue is I have a windows VM in ESXi that is currently 
 installed and runs fine with SCSI disks set -- but when I deploy it 
 with OpenNebula , windows boots in recovery mode because of a 
 suspected change in hardware

 This is scsi is identified in the VMX file, by VMWare

 scsi0.present = true
 scsi0.sharedBus = none
 scsi0.virtualDev = lsisas1068
 scsi0:0.present = true
 scsi0:0.fileName = Vanilla-w2k8r2.vmdk
 scsi0:0.deviceType = scsi-hardDisk
 sched.scsi0:0.shares = normal
 sched.scsi0:0.throughputCap = off
 scsi0:0.redo = 
 scsi0.pciSlotNumber = 160
 scsi0.sasWWID = 50 05 05 66 41 49 80 90


 This is how the SCSI device is created in VMX, by OpenNebula (not sure 
 why it creates the VM with a snapshot diskname, and not just 
 disk.vmdk)

 scsi0.present = true
 scsi0.virtualDev = lsilogic
 scsi0:0.present = true
 scsi0:0.deviceType = scsi-hardDisk
 scsi0:0.fileName = disk-01.vmdk
 scsi0.pciSlotNumber = -1
 scsi0:0.redo = 

 There appears to be several fields missing

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Wednesday, August 21, 2013 6:28 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] vmware and scsi disk setup

 Hi Michael,

 The SCSI configuration of a disk is better left our to OpenNebula, rather 
 than setting it manually. Could you try setting a disk like:

 DISK=[IMAGE_ID=0, DEV_PREFIX=sd]

 and remove the DATA_VMX field altogether (although keeping the DATA field)?

 Best regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Tue, Aug 20, 2013 at 6:54 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 I am trying to get my windows hosts to deploy with SCSI devices 
 instead of IDE



 I have modified the disk type to be SD instead of HD - and it starts 
 up with SCSI now , however I don't think its building the VMX file 
 correctly as I get this error



 Tue Aug 20 09:44:08 2013 [VMM][I]: out:

 Tue Aug 20 09:44:08 2013 [VMM][I]: error: Failed to start domain
 one-24

 Tue Aug 20 09:44:08 2013 [VMM][I]: error: internal error Could not 
 start
 domain: GenericVmConfigFault -

 Tue Aug 20 09:44:08 2013 [VMM][I]: Failed to configure scsi0.

 Tue Aug 20 09:44:08 2013

Re: [one-users] opennebula + esxi 5.1

2013-08-22 Thread Michael Curran
What kind of issues are you having - hard to help without understanding what 
your errors are.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of hansz
Sent: Thursday, August 22, 2013 4:24 AM
To: users@lists.opennebula.org
Subject: [one-users] opennebula + esxi 5.1

i have already do this test for 2 weeks, but no one successful ,
could you give me some help, how to make it work,
pls give some more detail steps,ok?

I use centos 6.4 and opennebula ,when i install my centos6.4 os i only select 
desktop.

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


Re: [one-users] vmware and scsi disk setup

2013-08-22 Thread Michael Curran
Where would you set the SAS driver?

Here is the image VMDK (which matches the original VMDK)

# Disk DescriptorFile
version=1
encoding=UTF-8
CID=cf70c154
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.deletable = true
ddb.virtualHWVersion = 9
ddb.toolsVersion = 8300
ddb.longContentID = 76e0413f2af3e5ace8e53196cf70c154
ddb.uuid = 60 00 C2 94 d7 9d 4d fb-69 bd 17 30 f8 c4 30 11
ddb.geometry.cylinders = 6527
ddb.geometry.heads = 255
ddb.geometry.sectors = 63
ddb.thinProvisioned = 1
ddb.adapterType = lsilogic

Here is the instantiated VM's VMDK file

version=1
encoding=UTF-8
CID=5fa2a0b5
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.adapterType = lsilogic
ddb.thinProvisioned = 1
ddb.geometry.sectors = 63
ddb.geometry.heads = 255
ddb.geometry.cylinders = 6527
ddb.uuid = 60 00 C2 92 30 26 2e c7-f2 89 05 58 75 5b cf 58
ddb.longContentID = d94d5d12562885f08d6b4c075fa2a0b5
ddb.toolsVersion = 8300
ddb.virtualHWVersion = 9
ddb.deletable = true

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, August 22, 2013 6:02 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Uniquely enough if I look at the VMDK driver ddb.adapterType , they both state 
lsilogic 

The VMX file is being created using the lsilogic definition by opennebula. So 
there must be something different being done by VMware -- I will try to set the 
following in data_vmx and see if that will work

scsi0.virtualDev = lsisas1068

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Thursday, August 22, 2013 5:05 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a SCSI SAS 
disk, while the second uses a LSI logic driver for it. Does changing the second 
VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Wed, Aug 21, 2013 at 7:21 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 So -- the issue is I have a windows VM in ESXi that is currently 
 installed and runs fine with SCSI disks set -- but when I deploy it 
 with OpenNebula , windows boots in recovery mode because of a 
 suspected change in hardware

 This is scsi is identified in the VMX file, by VMWare

 scsi0.present = true
 scsi0.sharedBus = none
 scsi0.virtualDev = lsisas1068
 scsi0:0.present = true
 scsi0:0.fileName = Vanilla-w2k8r2.vmdk
 scsi0:0.deviceType = scsi-hardDisk
 sched.scsi0:0.shares = normal
 sched.scsi0:0.throughputCap = off
 scsi0:0.redo = 
 scsi0.pciSlotNumber = 160
 scsi0.sasWWID = 50 05 05 66 41 49 80 90


 This is how the SCSI device is created in VMX, by OpenNebula (not sure 
 why it creates the VM with a snapshot diskname, and not just
 disk.vmdk)

 scsi0.present = true
 scsi0.virtualDev = lsilogic
 scsi0:0.present = true
 scsi0:0.deviceType = scsi-hardDisk
 scsi0:0.fileName = disk-01.vmdk
 scsi0.pciSlotNumber = -1
 scsi0:0.redo = 

 There appears to be several fields missing

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Wednesday, August 21, 2013 6:28 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] vmware and scsi disk setup

 Hi Michael,

 The SCSI configuration of a disk is better left our to OpenNebula, rather 
 than setting it manually. Could you try setting a disk like:

 DISK=[IMAGE_ID=0, DEV_PREFIX=sd]

 and remove the DATA_VMX field altogether (although keeping the DATA field

Re: [one-users] vmware and scsi disk setup

2013-08-22 Thread Michael Curran
I think I found where it goes -- testing now. Thanks for the tip!

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran 
Sent: Thursday, August 22, 2013 7:05 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] vmware and scsi disk setup

Where would you set the SAS driver?

Here is the image VMDK (which matches the original VMDK)

# Disk DescriptorFile
version=1
encoding=UTF-8
CID=cf70c154
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.deletable = true
ddb.virtualHWVersion = 9
ddb.toolsVersion = 8300
ddb.longContentID = 76e0413f2af3e5ace8e53196cf70c154
ddb.uuid = 60 00 C2 94 d7 9d 4d fb-69 bd 17 30 f8 c4 30 11
ddb.geometry.cylinders = 6527
ddb.geometry.heads = 255
ddb.geometry.sectors = 63
ddb.thinProvisioned = 1
ddb.adapterType = lsilogic

Here is the instantiated VM's VMDK file

version=1
encoding=UTF-8
CID=5fa2a0b5
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.adapterType = lsilogic
ddb.thinProvisioned = 1
ddb.geometry.sectors = 63
ddb.geometry.heads = 255
ddb.geometry.cylinders = 6527
ddb.uuid = 60 00 C2 92 30 26 2e c7-f2 89 05 58 75 5b cf 58
ddb.longContentID = d94d5d12562885f08d6b4c075fa2a0b5
ddb.toolsVersion = 8300
ddb.virtualHWVersion = 9
ddb.deletable = true

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, August 22, 2013 6:02 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Uniquely enough if I look at the VMDK driver ddb.adapterType , they both state 
lsilogic 

The VMX file is being created using the lsilogic definition by opennebula. So 
there must be something different being done by VMware -- I will try to set the 
following in data_vmx and see if that will work

scsi0.virtualDev = lsisas1068

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Thursday, August 22, 2013 5:05 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a SCSI SAS 
disk, while the second uses a LSI logic driver for it. Does changing the second 
VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Wed, Aug 21, 2013 at 7:21 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 So -- the issue is I have a windows VM in ESXi that is currently 
 installed and runs fine with SCSI disks set -- but when I deploy it 
 with OpenNebula , windows boots in recovery mode because of a 
 suspected change in hardware

 This is scsi is identified in the VMX file, by VMWare

 scsi0.present = true
 scsi0.sharedBus = none
 scsi0.virtualDev = lsisas1068
 scsi0:0.present = true
 scsi0:0.fileName = Vanilla-w2k8r2.vmdk
 scsi0:0.deviceType = scsi-hardDisk
 sched.scsi0:0.shares = normal
 sched.scsi0:0.throughputCap = off
 scsi0:0.redo = 
 scsi0.pciSlotNumber = 160
 scsi0.sasWWID = 50 05 05 66 41 49 80 90


 This is how the SCSI device is created in VMX, by OpenNebula (not sure 
 why it creates the VM with a snapshot diskname, and not just
 disk.vmdk)

 scsi0.present = true
 scsi0.virtualDev = lsilogic
 scsi0:0.present = true
 scsi0:0.deviceType = scsi-hardDisk
 scsi0:0.fileName = disk-01.vmdk
 scsi0.pciSlotNumber = -1
 scsi0:0.redo = 

 There appears to be several fields missing

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent

Re: [one-users] vmware and scsi disk setup

2013-08-22 Thread Michael Curran
Okay -- get this in the vmware.log when instantiating the VM after switching to 
SAS driver

2013-08-22T13:21:45.094Z| vmx| I120: SCSI: scsi0: intr coalescing: on 
period=50msec cifTh=4 iopsTh=2000 hlt=0
2013-08-22T13:21:45.094Z| vmx| W110: Invalid sas WWID - Trying to generate a 
new one
2013-08-22T13:21:45.097Z| vmx| W110: LSILogic: Failed to register PCI slot.
2013-08-22T13:21:45.097Z| vmx| I120: Msg_Post: Error
2013-08-22T13:21:45.097Z| vmx| I120: [msg.lsilogic.badPCI] Unable to allocate a 
PCI SCSI adapter.
2013-08-22T13:21:45.097Z| vmx| I120+ Too many PCI devices are already 
configured.
2013-08-22T13:21:45.097Z| vmx| I120: [msg.vmxlsilogic.poweronFailed]
2013-08-22T13:21:45.097Z| vmx| I120+ Failed to configure scsi0.
2013-08-22T13:21:45.097Z| vmx| I120: 
2013-08-22T13:21:45.103Z| vmx| I120: Module DevicePowerOn power on failed.
2013-08-22T13:21:45.103Z| vmx| I120: VMX_PowerOn: ModuleTable_PowerOn = 0

Assuming it needs me to change the number of PCI Bridges defined -- going to 
modify the template for up to 4 bridges and test again.


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, August 22, 2013 9:20 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

I think I found where it goes -- testing now. Thanks for the tip!

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran
Sent: Thursday, August 22, 2013 7:05 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] vmware and scsi disk setup

Where would you set the SAS driver?

Here is the image VMDK (which matches the original VMDK)

# Disk DescriptorFile
version=1
encoding=UTF-8
CID=cf70c154
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.deletable = true
ddb.virtualHWVersion = 9
ddb.toolsVersion = 8300
ddb.longContentID = 76e0413f2af3e5ace8e53196cf70c154
ddb.uuid = 60 00 C2 94 d7 9d 4d fb-69 bd 17 30 f8 c4 30 11
ddb.geometry.cylinders = 6527
ddb.geometry.heads = 255
ddb.geometry.sectors = 63
ddb.thinProvisioned = 1
ddb.adapterType = lsilogic

Here is the instantiated VM's VMDK file

version=1
encoding=UTF-8
CID=5fa2a0b5
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.adapterType = lsilogic
ddb.thinProvisioned = 1
ddb.geometry.sectors = 63
ddb.geometry.heads = 255
ddb.geometry.cylinders = 6527
ddb.uuid = 60 00 C2 92 30 26 2e c7-f2 89 05 58 75 5b cf 58
ddb.longContentID = d94d5d12562885f08d6b4c075fa2a0b5
ddb.toolsVersion = 8300
ddb.virtualHWVersion = 9
ddb.deletable = true

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, August 22, 2013 6:02 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Uniquely enough if I look at the VMDK driver ddb.adapterType , they both state 
lsilogic 

The VMX file is being created using the lsilogic definition by opennebula. So 
there must be something different being done by VMware -- I will try to set the 
following in data_vmx and see if that will work

scsi0.virtualDev = lsisas1068

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Thursday, August 22, 2013 5:05 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] vmware and scsi disk setup

Hi Michael,

At first sight, it looks like the first .vmx refers to a VM with a SCSI SAS 
disk, while the second uses a LSI logic driver for it. Does changing the second 
VM to use a lsisas driver work?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-22 Thread Michael Curran
Not sure why - -thought it allowed me to attach a volume but it doesn't -- this 
is why

Still running an MFKS to create a volume, there is no MKFS with esxi -- its 
VMKFSTOOLS

Thu Aug 22 08:09:51 2013 [VMM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/mkimage 15360 vmfs 
10.7.0.55:/vmfs/volumes/102/30/disk.2 30 102
Thu Aug 22 08:09:51 2013 [VMM][I]: mkimage: Making filesystem of 15360M and 
type vmfs at 10.7.0.55:/vmfs/volumes/102/30/disk.2
Thu Aug 22 08:09:51 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Thu Aug 22 08:09:51 2013 [VMM][I]: 
Thu Aug 22 08:09:51 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/30/disk.2 ]; then
Thu Aug 22 08:09:51 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/30/disk.2
Thu Aug 22 08:09:51 2013 [VMM][I]: fi
Thu Aug 22 08:09:51 2013 [VMM][I]: 
Thu Aug 22 08:09:51 2013 [VMM][I]: mkfs -t vmfs /vmfs/volumes/102/30/disk.2 
failed: sh: mkfs: not found
Thu Aug 22 08:09:51 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/30/disk.2
Thu Aug 22 08:09:51 2013 [VMM][I]: ExitCode: 127
Thu Aug 22 08:09:51 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Thu Aug 22 08:09:51 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/30/disk.2

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Tuesday, August 20, 2013 9:21 AM
To: Javier Fontan
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Thanks Javier!! 

That allows me to attach a disk to the host -- Im no working on resolving why 
the windows VM thinks it's a hardware reconfig -- think the vmx isn't being 
built properly

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Javier Fontan [mailto:jfon...@opennebula.org]
Sent: Monday, August 19, 2013 10:51 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

With vmware the image file system initialization is not supported. Try usin as 
FSTYPE vmfs_thin instead of raw. You will have to initialize the fs 
manually in the VM.

On Mon, Aug 19, 2013 at 4:17 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Javier --

  Thanks!! That resolved that portion of the issue 
 ==

 Does anyone know if this is a bug report or a feature request that I need to 
 make?

 Vmware ESXi5.1 does not use mkfs to create a raw disk and attach it to 
 the VM instances , it uses vmkfstools to do this task

 Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: if [ ! -d
 /vmfs/volumes/102/16/disk.2 ]; then Mon Aug 19 07:07:24 2013 [VMM][I]: 
 mkdir -p /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013
 [VMM][I]: fi Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: mkfs -t RAW 
 /vmfs/volumes/102/16/disk.2 failed: sh: mkfs: not found Mon Aug 19
 07:07:24 2013 [VMM][E]: Could not create image
 /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013 [VMM][I]: ExitCode: 127 
 Mon Aug 19 07:07:24 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Mon Aug 19 07:07:24 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/16/disk.2

 Since it cannot attach a disk using mkfs , it fails to add the additional 
 disk. I suppose I could create a blank disk image and register it in the 
 IMAGES Datastore and attach that for now -- Based on our use of that extra 
 disk and VMware's ability to re-size them (especially for windows), this 
 could lead to a large number of disks to manage on a given VM, instead of the 
 ability to expand the disk.

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: Monday, August 19, 2013 9:04 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Set the disk or image TARGET to sda or DEV_PREFIX to sd.

 On Thu, Aug 15, 2013 at 4:09 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So - I am having an issue with building VM's in ESXi from templates



 The root drive always instantiates as IDE and not SCSI - and no SCSI 
 adapter is added that would allow me to add more disks to the VM

 Looking over this part of scripts_common.sh for VMKFSTOOLS - it 
 doesn't appear to look like the build task from VMware's site - I 
 don't see the -a that identifies the BUS type



 I have added this to the actual disk IMAGE



 BUS=scsi



 And these to the template



 DISK=[

   BUS=scsi,

   IMAGE_ID=0

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-22 Thread Michael Curran
Using 4.2 (reads 4.1.80 ?) 

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Thursday, August 22, 2013 11:24 AM
To: Michael Curran
Cc: Javier Fontan; users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Hi Michael,

What version of OpenNebula are you using?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Thu, Aug 22, 2013 at 5:11 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Not sure why - -thought it allowed me to attach a volume but it 
 doesn't -- this is why

 Still running an MFKS to create a volume, there is no MKFS with esxi 
 -- its VMKFSTOOLS

 Thu Aug 22 08:09:51 2013 [VMM][I]: Command execution fail: 
 /var/lib/one/remotes/tm/vmfs/mkimage 15360 vmfs 
 10.7.0.55:/vmfs/volumes/102/30/disk.2 30 102 Thu Aug 22 08:09:51 2013 
 [VMM][I]: mkimage: Making filesystem of 15360M and type vmfs at 
 10.7.0.55:/vmfs/volumes/102/30/disk.2
 Thu Aug 22 08:09:51 2013 [VMM][E]: mkimage: Command export 
 PATH=/usr/sbin:/sbin:$PATH Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: if [ ! -d 
 /vmfs/volumes/102/30/disk.2 ]; then Thu Aug 22 08:09:51 2013 [VMM][I]: 
 mkdir -p /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013 
 [VMM][I]: fi Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: mkfs -t vmfs 
 /vmfs/volumes/102/30/disk.2 failed: sh: mkfs: not found Thu Aug 22 
 08:09:51 2013 [VMM][E]: Could not create image 
 /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013 [VMM][I]: ExitCode: 127 
 Thu Aug 22 08:09:51 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Thu Aug 22 08:09:51 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/30/disk.2

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Tuesday, August 20, 2013 9:21 AM
 To: Javier Fontan
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Thanks Javier!!

 That allows me to attach a disk to the host -- Im no working on 
 resolving why the windows VM thinks it's a hardware reconfig -- think 
 the vmx isn't being built properly

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: Monday, August 19, 2013 10:51 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 With vmware the image file system initialization is not supported. Try usin 
 as FSTYPE vmfs_thin instead of raw. You will have to initialize the fs 
 manually in the VM.

 On Mon, Aug 19, 2013 at 4:17 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 Javier --

  Thanks!! That resolved that portion of the issue 
 ==

 Does anyone know if this is a bug report or a feature request that I need to 
 make?

 Vmware ESXi5.1 does not use mkfs to create a raw disk and attach it 
 to the VM instances , it uses vmkfstools to do this task

 Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: if [ ! -d
 /vmfs/volumes/102/16/disk.2 ]; then Mon Aug 19 07:07:24 2013 [VMM][I]:
 mkdir -p /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013
 [VMM][I]: fi Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: mkfs -t RAW 
 /vmfs/volumes/102/16/disk.2 failed: sh: mkfs: not found Mon Aug 19
 07:07:24 2013 [VMM][E]: Could not create image
 /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013 [VMM][I]: ExitCode: 127 
 Mon Aug 19 07:07:24 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Mon Aug 19 07:07:24 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/16/disk.2

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-22 Thread Michael Curran
I've come up with a temporary work around by creating a blank VMDK in the 
images DS -- but I wouldn't expect a need to keep around a blank, unformatted 
disk when I should be able to just add a volatile disk of any size


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, August 22, 2013 11:38 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Using 4.2 (reads 4.1.80 ?) 

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Thursday, August 22, 2013 11:24 AM
To: Michael Curran
Cc: Javier Fontan; users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Hi Michael,

What version of OpenNebula are you using?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Thu, Aug 22, 2013 at 5:11 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Not sure why - -thought it allowed me to attach a volume but it 
 doesn't -- this is why

 Still running an MFKS to create a volume, there is no MKFS with esxi
 -- its VMKFSTOOLS

 Thu Aug 22 08:09:51 2013 [VMM][I]: Command execution fail: 
 /var/lib/one/remotes/tm/vmfs/mkimage 15360 vmfs
 10.7.0.55:/vmfs/volumes/102/30/disk.2 30 102 Thu Aug 22 08:09:51 2013
 [VMM][I]: mkimage: Making filesystem of 15360M and type vmfs at
 10.7.0.55:/vmfs/volumes/102/30/disk.2
 Thu Aug 22 08:09:51 2013 [VMM][E]: mkimage: Command export 
 PATH=/usr/sbin:/sbin:$PATH Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: if [ ! -d
 /vmfs/volumes/102/30/disk.2 ]; then Thu Aug 22 08:09:51 2013 [VMM][I]: 
 mkdir -p /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013
 [VMM][I]: fi Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: mkfs -t vmfs 
 /vmfs/volumes/102/30/disk.2 failed: sh: mkfs: not found Thu Aug 22
 08:09:51 2013 [VMM][E]: Could not create image
 /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013 [VMM][I]: ExitCode: 127 
 Thu Aug 22 08:09:51 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Thu Aug 22 08:09:51 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/30/disk.2

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Tuesday, August 20, 2013 9:21 AM
 To: Javier Fontan
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Thanks Javier!!

 That allows me to attach a disk to the host -- Im no working on 
 resolving why the windows VM thinks it's a hardware reconfig -- think 
 the vmx isn't being built properly

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: Monday, August 19, 2013 10:51 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 With vmware the image file system initialization is not supported. Try usin 
 as FSTYPE vmfs_thin instead of raw. You will have to initialize the fs 
 manually in the VM.

 On Mon, Aug 19, 2013 at 4:17 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 Javier --

  Thanks!! That resolved that portion of the issue 
 ==

 Does anyone know if this is a bug report or a feature request that I need to 
 make?

 Vmware ESXi5.1 does not use mkfs to create a raw disk and attach it 
 to the VM instances , it uses vmkfstools to do this task

 Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: if [ ! -d
 /vmfs

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-22 Thread Michael Curran
That fixed the issue -- 

I downloaded the 4.2 files from the link you posted , maybe sunstone is 4.1.80 
?? That's where I see that version.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Thursday, August 22, 2013 12:08 PM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Hi Michael,

I think the problem is that the FSTYPE should read something like vmdk_thin, 
instead of vmfs.

Also, please upgrade to 4.2.0, I believe you are using some development version 
;)

Hope it helps,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Thu, Aug 22, 2013 at 5:38 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Using 4.2 (reads 4.1.80 ?)

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Thursday, August 22, 2013 11:24 AM
 To: Michael Curran
 Cc: Javier Fontan; users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Hi Michael,

 What version of OpenNebula are you using?

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Thu, Aug 22, 2013 at 5:11 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 Not sure why - -thought it allowed me to attach a volume but it 
 doesn't -- this is why

 Still running an MFKS to create a volume, there is no MKFS with esxi
 -- its VMKFSTOOLS

 Thu Aug 22 08:09:51 2013 [VMM][I]: Command execution fail:
 /var/lib/one/remotes/tm/vmfs/mkimage 15360 vmfs
 10.7.0.55:/vmfs/volumes/102/30/disk.2 30 102 Thu Aug 22 08:09:51 2013
 [VMM][I]: mkimage: Making filesystem of 15360M and type vmfs at
 10.7.0.55:/vmfs/volumes/102/30/disk.2
 Thu Aug 22 08:09:51 2013 [VMM][E]: mkimage: Command export 
 PATH=/usr/sbin:/sbin:$PATH Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: if [ ! -d
 /vmfs/volumes/102/30/disk.2 ]; then Thu Aug 22 08:09:51 2013 [VMM][I]:
 mkdir -p /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013
 [VMM][I]: fi Thu Aug 22 08:09:51 2013 [VMM][I]:
 Thu Aug 22 08:09:51 2013 [VMM][I]: mkfs -t vmfs 
 /vmfs/volumes/102/30/disk.2 failed: sh: mkfs: not found Thu Aug 22
 08:09:51 2013 [VMM][E]: Could not create image
 /vmfs/volumes/102/30/disk.2 Thu Aug 22 08:09:51 2013 [VMM][I]: ExitCode: 127 
 Thu Aug 22 08:09:51 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Thu Aug 22 08:09:51 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/30/disk.2

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Tuesday, August 20, 2013 9:21 AM
 To: Javier Fontan
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Thanks Javier!!

 That allows me to attach a disk to the host -- Im no working on 
 resolving why the windows VM thinks it's a hardware reconfig -- think 
 the vmx isn't being built properly

 Michael

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-20 Thread Michael Curran
Thanks Javier!! 

That allows me to attach a disk to the host -- Im no working on resolving why 
the windows VM thinks it's a hardware reconfig -- think the vmx isn't being 
built properly

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Javier Fontan [mailto:jfon...@opennebula.org] 
Sent: Monday, August 19, 2013 10:51 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

With vmware the image file system initialization is not supported. Try usin as 
FSTYPE vmfs_thin instead of raw. You will have to initialize the fs 
manually in the VM.

On Mon, Aug 19, 2013 at 4:17 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Javier --

  Thanks!! That resolved that portion of the issue 
 ==

 Does anyone know if this is a bug report or a feature request that I need to 
 make?

 Vmware ESXi5.1 does not use mkfs to create a raw disk and attach it to 
 the VM instances , it uses vmkfstools to do this task

 Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: if [ ! -d 
 /vmfs/volumes/102/16/disk.2 ]; then Mon Aug 19 07:07:24 2013 [VMM][I]: 
 mkdir -p /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013 
 [VMM][I]: fi Mon Aug 19 07:07:24 2013 [VMM][I]:
 Mon Aug 19 07:07:24 2013 [VMM][I]: mkfs -t RAW  
 /vmfs/volumes/102/16/disk.2 failed: sh: mkfs: not found Mon Aug 19 
 07:07:24 2013 [VMM][E]: Could not create image 
 /vmfs/volumes/102/16/disk.2 Mon Aug 19 07:07:24 2013 [VMM][I]: ExitCode: 127 
 Mon Aug 19 07:07:24 2013 [VMM][I]: Failed to execute transfer manager driver 
 operation: tm_attach.
 Mon Aug 19 07:07:24 2013 [VMM][E]: Error attaching new VM Disk: Could 
 not create image /vmfs/volumes/102/16/disk.2

 Since it cannot attach a disk using mkfs , it fails to add the additional 
 disk. I suppose I could create a blank disk image and register it in the 
 IMAGES Datastore and attach that for now -- Based on our use of that extra 
 disk and VMware's ability to re-size them (especially for windows), this 
 could lead to a large number of disks to manage on a given VM, instead of the 
 ability to expand the disk.

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Javier Fontan [mailto:jfon...@opennebula.org]
 Sent: Monday, August 19, 2013 9:04 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] esxi vm instantiation not on scsi disk

 Set the disk or image TARGET to sda or DEV_PREFIX to sd.

 On Thu, Aug 15, 2013 at 4:09 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So - I am having an issue with building VM's in ESXi from templates



 The root drive always instantiates as IDE and not SCSI - and no SCSI 
 adapter is added that would allow me to add more disks to the VM

 Looking over this part of scripts_common.sh for VMKFSTOOLS - it 
 doesn't appear to look like the build task from VMware's site - I 
 don't see the -a that identifies the BUS type



 I have added this to the actual disk IMAGE



 BUS=scsi



 And these to the template



 DISK=[

   BUS=scsi,

   IMAGE_ID=0 ]





 RAW=[

   DATA=devicescontroller type='scsi' index='0'
 model='lsilogic'//devices,

   TYPE=vmware ]





 But never see a SCSI attached disk as the primary disk - always IDE



 Any suggestions?



 function mkfs_command {

 DST=$1

 FSTYPE=${2:-ext3}

 SIZE=${3:-0}



 # Specific options for different FS

 case $FSTYPE in

 ext2|ext3|ext4|ntfs)

 OPTS=-F

 ;;



 reiserfs)

 OPTS=-f -q

 ;;



 jfs)

 OPTS=-q

 ;;

 raw|)

 echo 

 return 0

 ;;

 swap)

 echo $MKSWAP -L swap $DST

 return 0

 ;;

 qcow2)

 echo $QEMU_IMG create -f qcow2 $DST ${SIZE}M

 return 0

 ;;

 vmdk_*)

 VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 2`



 echo $VMWARE_DISK_TYPE | \

 grep '\thin\\|\zeroedthic\\|\eagerzeroedthick\' 
 21 /dev/null



 if [ $? -eq 1 ] ; then

 VMWARE_DISK_TYPE=thin

 fi



 echo $VMKFSTOOLS -U $DST/disk.vmdk; \

   rm -f $DST/*; \

   $VMKFSTOOLS -c ${SIZE}M  -d ${VMWARE_DISK_TYPE} 
 $DST /disk.vmdk

 return 0

 ;;

 *)

 OPTS=

 ;;

 esac



 echo $MKFS -t $FSTYPE $OPTS $DST

 }





 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com




 ___
 Users mailing list
 Users@lists.opennebula.org

Re: [one-users] esxi vm instantiation not on scsi disk

2013-08-19 Thread Michael Curran
Javier --

 Thanks!! That resolved that portion of the issue 
==

Does anyone know if this is a bug report or a feature request that I need to 
make?

Vmware ESXi5.1 does not use mkfs to create a raw disk and attach it to the VM 
instances , it uses vmkfstools to do this task

Mon Aug 19 07:07:24 2013 [VMM][I]:
Mon Aug 19 07:07:24 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/16/disk.2 ]; then
Mon Aug 19 07:07:24 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/16/disk.2
Mon Aug 19 07:07:24 2013 [VMM][I]: fi
Mon Aug 19 07:07:24 2013 [VMM][I]:
Mon Aug 19 07:07:24 2013 [VMM][I]: mkfs -t RAW  /vmfs/volumes/102/16/disk.2 
failed: sh: mkfs: not found
Mon Aug 19 07:07:24 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/16/disk.2
Mon Aug 19 07:07:24 2013 [VMM][I]: ExitCode: 127
Mon Aug 19 07:07:24 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Mon Aug 19 07:07:24 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/16/disk.2

Since it cannot attach a disk using mkfs , it fails to add the additional disk. 
I suppose I could create a blank disk image and register it in the IMAGES 
Datastore and attach that for now -- Based on our use of that extra disk and 
VMware's ability to re-size them (especially for windows), this could lead to a 
large number of disks to manage on a given VM, instead of the ability to expand 
the disk.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Javier Fontan [mailto:jfon...@opennebula.org] 
Sent: Monday, August 19, 2013 9:04 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] esxi vm instantiation not on scsi disk

Set the disk or image TARGET to sda or DEV_PREFIX to sd.

On Thu, Aug 15, 2013 at 4:09 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 So - I am having an issue with building VM's in ESXi from templates



 The root drive always instantiates as IDE and not SCSI - and no SCSI 
 adapter is added that would allow me to add more disks to the VM

 Looking over this part of scripts_common.sh for VMKFSTOOLS - it 
 doesn't appear to look like the build task from VMware's site - I 
 don't see the -a that identifies the BUS type



 I have added this to the actual disk IMAGE



 BUS=scsi



 And these to the template



 DISK=[

   BUS=scsi,

   IMAGE_ID=0 ]





 RAW=[

   DATA=devicescontroller type='scsi' index='0'
 model='lsilogic'//devices,

   TYPE=vmware ]





 But never see a SCSI attached disk as the primary disk - always IDE



 Any suggestions?



 function mkfs_command {

 DST=$1

 FSTYPE=${2:-ext3}

 SIZE=${3:-0}



 # Specific options for different FS

 case $FSTYPE in

 ext2|ext3|ext4|ntfs)

 OPTS=-F

 ;;



 reiserfs)

 OPTS=-f -q

 ;;



 jfs)

 OPTS=-q

 ;;

 raw|)

 echo 

 return 0

 ;;

 swap)

 echo $MKSWAP -L swap $DST

 return 0

 ;;

 qcow2)

 echo $QEMU_IMG create -f qcow2 $DST ${SIZE}M

 return 0

 ;;

 vmdk_*)

 VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 2`



 echo $VMWARE_DISK_TYPE | \

 grep '\thin\\|\zeroedthic\\|\eagerzeroedthick\' 21 
 /dev/null



 if [ $? -eq 1 ] ; then

 VMWARE_DISK_TYPE=thin

 fi



 echo $VMKFSTOOLS -U $DST/disk.vmdk; \

   rm -f $DST/*; \

   $VMKFSTOOLS -c ${SIZE}M  -d ${VMWARE_DISK_TYPE} $DST 
 /disk.vmdk

 return 0

 ;;

 *)

 OPTS=

 ;;

 esac



 echo $MKFS -t $FSTYPE $OPTS $DST

 }





 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com




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




--
Join us at OpenNebulaConf2013 in Berlin from the 24th to the 26th of September 
2013!

Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization 
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] can not create image

2013-08-16 Thread Michael Curran
I have my drivers for vmware setup as vmware/ssh

That seemed to work better for me than the shared mode

You have to make sure you setup oneadmin and ssh key for that ssh mode

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: 韩士准 [hanshizhun...@126.com]
Received: Friday, 16 Aug 2013, 2:02am
To: users@lists.opennebula.org [users@lists.opennebula.org]
Subject: [one-users] can not create image

when I use the datastore 100 upload image。

[ImageAllocate] Cannot determine Image SIZE. Datastore driver 'vmware' not 
available



[oneadmin@opennebula ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
   0 system - - - 0 sys  -ssh
   1 default28.4G 76%   - 1 img  fs   shared
   2 files  28.4G 76%   - 0 fil  fs   ssh
 100 VMwareImages  0M - - 0 img  vmware   shared




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


Re: [one-users] can not create image

2013-08-16 Thread Michael Curran
I thought something looked strange when I saw the data below �C you should be 
using VMFS not VMWARE

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, August 16, 2013 7:00 AM
To: users@lists.opennebula.org; hanshizhun...@126.com
Subject: Re: [one-users] can not create image

I have my drivers for vmware setup as vmware/ssh

That seemed to work better for me than the shared mode

You have to make sure you setup oneadmin and ssh key for that ssh mode

Sent from my Android phone using TouchDown 
(www.nitrodesk.comhttp://www.nitrodesk.com)

-Original Message-
From: 韩士准 [hanshizhun...@126.com]
Received: Friday, 16 Aug 2013, 2:02am
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
[users@lists.opennebula.org]
Subject: [one-users] can not create image
when I use the datastore 100 upload image。

[ImageAllocate] Cannot determine Image SIZE. Datastore driver 'vmware' not 
available



[oneadmin@opennebula ~]$ onedatastore list
  ID NAMESIZE AVAIL CLUSTER  IMAGES TYPE DS   TM
   0 system - - - 0 sys  -ssh
   1 default28.4G 76%   - 1 img  fs   shared
   2 files  28.4G 76%   - 0 fil  fs   ssh
 100 VMwareImages  0M - - 0 img  vmware   shared





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


Re: [one-users] Datastores

2013-08-15 Thread Michael Curran
That's exactly what happened , and on a clean install of 4.0 I was able to 
modify oned.conf and change the default datastore to /vmfs/volumes and it 
modified the original settings to use that for system(0) and images(1)

But on a clean install of 4.2 - it made me create new DS's and assign new 
system(102) and images(103) to the cluster so as not to use 0/1/2 which only 
expected local datastores.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Jaime Melis [mailto:jme...@opennebula.org]
Sent: Thursday, August 15, 2013 7:48 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Sorry to ask you this basic question, but, what exactly do you mean by

When upgrade my first test installation from 4.0 à 4.2  it changed those 
definitions from /vmfs/voluems to /var/lib/one/datastore

Do you mean that before the upgrade you did onedatastore show id|grep 
BASE_PATH and it pointed to /vmfs/volumes and after the upgrade the output was 
/var/lib/one/datastores ??

That shouldn't be happening at all.

On Wed, Aug 14, 2013 at 8:14 AM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
The problem is - when I installed ON4.0 - I was able to re-direct the 
datastores to the /vmfs/volumes instead of /var/lib/one/datastores

So my system (0) and images (1) datastores did not have to be re-recreated

When upgrade my first test installation from 4.0 -- 4.2  it changed those 
definitions from /vmfs/voluems to /var/lib/one/datastores and I had to create 
my own datastores because they were not customizable by me

Originally thought it was part of the upgrade process - however when I built a 
clean installation of 4.2 I ran into the same problem 0/1/2 datastores all 
expect ONLY local volumes to the ON node and I had to create my own datastores 
for the cluster I built.

I would expect that I should be able to do one of the following


*  Delete and recreate the 0/1/2 datastores for use as VMFS volumes instead of 
locally mounted datastores

*  Modify or change those datastore definitions from locally mounted 
directories to vmfs mounts (which is what I set in the oned.conf file, and is 
adopted by the datastores)

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Jaime Melis [mailto:jme...@opennebula.orgmailto:jme...@opennebula.org]
Sent: Tuesday, August 13, 2013 5:36 PM

To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Hi Michael,

would you care to explain the problem again? we don't quite understand what 
might be the issue. Do you have any further comments on the matter?

regards,
Jaime

On Thu, Aug 8, 2013 at 12:44 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
An update to this -

I ran into the same issue with the DS names, before creating them myself - and 
they only point locally

I've created the system/images DS's on my ESXi hosts as 102/103 - and working 
on getting them to monitor

So far just get errors if I run /var/lib/one/remotes/datastore/vmfs/monitor

Are they any options at the end of monitor?


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero 
[mailto:rsmont...@opennebula.orgmailto:rsmont...@opennebula.org]
Sent: Thursday, July 25, 2013 12:55 PM

To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Ok Thanks. We've been looking at the upgrade process and it should not modify 
the base path of the datastores


Cheers

Ruben

On Thu, Jul 25, 2013 at 6:21 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Okay - I re-created the images DS from the Sunstone GUI and when I uploaded an 
image it now captures the right size - bug report maybe? I'll find out tomorrow 
when I transfer this to our DC lab machines from our office labs on a clean 
build

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org]
 On Behalf Of Michael Curran
Sent: Thursday, July 25, 2013 11:26 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org

Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

The problem exists

[one-users] esxi vm instantiation not on scsi disk

2013-08-15 Thread Michael Curran
So - I am having an issue with building VM's in ESXi from templates

The root drive always instantiates as IDE and not SCSI - and no SCSI adapter is 
added that would allow me to add more disks to the VM
Looking over this part of scripts_common.sh for VMKFSTOOLS - it doesn't appear 
to look like the build task from VMware's site - I don't see the -a that 
identifies the BUS type

I have added this to the actual disk IMAGE

BUS=scsi

And these to the template

DISK=[
  BUS=scsi,
  IMAGE_ID=0 ]


RAW=[
  DATA=devicescontroller type='scsi' index='0' 
model='lsilogic'//devices,
  TYPE=vmware ]


But never see a SCSI attached disk as the primary disk - always IDE

Any suggestions?

function mkfs_command {
DST=$1
FSTYPE=${2:-ext3}
SIZE=${3:-0}

# Specific options for different FS
case $FSTYPE in
ext2|ext3|ext4|ntfs)
OPTS=-F
;;

reiserfs)
OPTS=-f -q
;;

jfs)
OPTS=-q
;;
raw|)
echo 
return 0
;;
swap)
echo $MKSWAP -L swap $DST
return 0
;;
qcow2)
echo $QEMU_IMG create -f qcow2 $DST ${SIZE}M
return 0
;;
vmdk_*)
VMWARE_DISK_TYPE=`echo $FSTYPE|cut -d'_' -f 2`

echo $VMWARE_DISK_TYPE | \
grep '\thin\\|\zeroedthic\\|\eagerzeroedthick\' 21 /dev/null

if [ $? -eq 1 ] ; then
VMWARE_DISK_TYPE=thin
fi

echo $VMKFSTOOLS -U $DST/disk.vmdk; \
  rm -f $DST/*; \
  $VMKFSTOOLS -c ${SIZE}M  -d ${VMWARE_DISK_TYPE} $DST  
  /disk.vmdk
return 0
;;
*)
OPTS=
;;
esac

echo $MKFS -t $FSTYPE $OPTS $DST
}


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] Datastores

2013-08-14 Thread Michael Curran
The problem is - when I installed ON4.0 - I was able to re-direct the 
datastores to the /vmfs/volumes instead of /var/lib/one/datastores

So my system (0) and images (1) datastores did not have to be re-recreated

When upgrade my first test installation from 4.0 -- 4.2  it changed those 
definitions from /vmfs/voluems to /var/lib/one/datastores and I had to create 
my own datastores because they were not customizable by me

Originally thought it was part of the upgrade process - however when I built a 
clean installation of 4.2 I ran into the same problem 0/1/2 datastores all 
expect ONLY local volumes to the ON node and I had to create my own datastores 
for the cluster I built.

I would expect that I should be able to do one of the following


n  Delete and recreate the 0/1/2 datastores for use as VMFS volumes instead of 
locally mounted datastores

n  Modify or change those datastore definitions from locally mounted 
directories to vmfs mounts (which is what I set in the oned.conf file, and is 
adopted by the datastores)

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Jaime Melis [mailto:jme...@opennebula.org]
Sent: Tuesday, August 13, 2013 5:36 PM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Hi Michael,

would you care to explain the problem again? we don't quite understand what 
might be the issue. Do you have any further comments on the matter?

regards,
Jaime

On Thu, Aug 8, 2013 at 12:44 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
An update to this -

I ran into the same issue with the DS names, before creating them myself - and 
they only point locally

I've created the system/images DS's on my ESXi hosts as 102/103 - and working 
on getting them to monitor

So far just get errors if I run /var/lib/one/remotes/datastore/vmfs/monitor

Are they any options at the end of monitor?


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero 
[mailto:rsmont...@opennebula.orgmailto:rsmont...@opennebula.org]
Sent: Thursday, July 25, 2013 12:55 PM

To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Ok Thanks. We've been looking at the upgrade process and it should not modify 
the base path of the datastores


Cheers

Ruben

On Thu, Jul 25, 2013 at 6:21 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Okay - I re-created the images DS from the Sunstone GUI and when I uploaded an 
image it now captures the right size - bug report maybe? I'll find out tomorrow 
when I transfer this to our DC lab machines from our office labs on a clean 
build

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org]
 On Behalf Of Michael Curran
Sent: Thursday, July 25, 2013 11:26 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org

Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

The problem exists because when I upgrade from 4.0.1 -- 4.1.80 it recreated 
the images datastore with a path of /var/lib/one/datastores/1 and since I am on 
vmfs - it should be /vmfs/volumes/1

Is there a way to modify that path? Or will I have to re-create the datastore 
in OpenNebula and then rename the datastore?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285tel:614.568.2285 | Mobile 614.403.6320tel:614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Thursday, July 25, 2013 9:06 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org; Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: [one-users] Datastores

What does the monitor command look like from the CLI ? My logs only show 
successful response, not what it ran to check

But your right, if I do a list on the datastores - my system/images sore zero 
or nothing...so that's my issue

Sent from my Android phone using TouchDown 
(www.nitrodesk.comhttp://www.nitrodesk.com)

-Original Message-
From: Michael Curran 
[michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com]
Received: Wednesday, 24 Jul 2013, 2:23pm
To: Ruben S. Montero [rsmont...@opennebula.orgmailto:rsmont...@opennebula.org]
CC: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
[users

Re: [one-users] Add Volatile disk

2013-08-13 Thread Michael Curran
I am going to need some help here -

This is my vmdk of my newly created VM in esxi

# Disk DescriptorFile
version=1
encoding=UTF-8
CID=f1e2794a
parentCID=
isNativeSnapshot=no
createType=vmfs

# Extent description
RW 104857600 VMFS disk-flat.vmdk

# The Disk Data Base
#DDB

ddb.adapterType = lsilogic
ddb.thinProvisioned = 1
ddb.geometry.sectors = 63
ddb.geometry.heads = 255
ddb.geometry.cylinders = 6527
ddb.uuid = 60 00 C2 9c 90 c8 f3 b6-e8 29 f5 b1 e9 06 1e fa
ddb.longContentID = b9be76ceadf9b33d726bc7f9f1e2794a
ddb.deletable = true
ddb.virtualHWVersion = 7
ddb.toolsVersion = 8300


Note that the ddb.adapterType is already set to lsilogic

However when I log into vSphere, the disk is attached as IDE (0:0) and I have 
set image BUS and template devices as shown in the previous post about this

Is there an option I am missing somewhere that is not creating the root drive 
as SCSI?



Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Monday, August 12, 2013 4:08 PM
To: Michael Curran; Nicolas Bélan; users@lists.opennebula.org
Subject: RE: [one-users] Add Volatile disk

I thought I found the issue - Tried the following

In the oneimage I am using I added

BUS=SCSI

In the onetemplate I am using I added


Under the DISK section of the template

BUS=scsi

Under the RAW section of the tehmplate

RAW=[
DATA=devicescontroller type='scsi' index='0' model='lsilogic'//devices,
TYPE=vmware ]
However I still do not get a SCSI boot disk or SCSI driver instantiated - 
anything I can add to this to help define why its coming up as an IDE root 
volume instead of SCSI ?? The original VM shows as SCSI.



Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 3:05 PM
To: Nicolas Bélan; users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

I think I found the issue - the disk is not attaching as SCSI - because there 
are no SCSI devices defined for use

Going to go back and re-create the Template and make sure the disks are setup 
to use SCSI.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Monday, August 12, 2013 1:32 PM
To: Michael Curran; Nicolas Bélan; 
users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: [one-users] Add Volatile disk

More details now -

So, in Sunstone GUI I see an ID 2 for my volatile disk

When I add it as raw, I don't see it use /var/lib/one/remotes/vmm/attach_disk - 
just creates a raw disk and is done (nothing exists in the volumes)

It does not appear to use vim-cmd when it creates --

When I try to detach the the disk it does this

Mon Aug 12 08:24:38 2013 [VMM][I]: Successfully execute virtualization driver 
operation: attach_disk.
Mon Aug 12 08:24:38 2013 [VMM][I]: VM Disk successfully attached.
Mon Aug 12 08:28:59 2013 [VMM][I]: VM successfully rebooted.
Mon Aug 12 10:20:14 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/vmware/detach_disk 'one-2' '/vmfs/volumes/102/2/disk.2' 'hdc' 
'2' 2 10.7.0.55
Mon Aug 12 10:20:14 2013 [VMM][E]: : Command  vim-cmd vmsvc/device.diskremove 
20 0 2 /vmfs/volumes/102/2/disk.2 failed: Failed to find a controller with the 
specified bus number.
Mon Aug 12 10:20:14 2013 [VMM][E]: Could not detach from one-2
Mon Aug 12 10:20:14 2013 [VMM][I]: ExitCode: 255
Mon Aug 12 10:20:14 2013 [VMM][I]: Failed to execute virtualization driver 
operation: detach_disk.
Mon Aug 12 10:20:14 2013 [VMM][E]: Error detaching VM Disk: Could not detach 
from one-2

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 12:16 PM
To: Nicolas Bélan; users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Thanks Nicolas ---

But you cannot install packages into VMware ESXi , and I did add it as a raw 
disk - it does attach it to the instance from the console, when I look in the 
instance directory I do not see an extra vmdk file

Also looking at the edit settings in Vmware - I don't see an additional SCSI 
disk

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun

[one-users] Add Volatile disk

2013-08-12 Thread Michael Curran
I need to add a raw disk to be used with a windows VM - and this is the error 
message I get in the logs for the VM

Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then
Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: fi
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2 
failed: sh: mkfs: not found
Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127
Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/2/disk.2

This is trying to use mkfs to create a NTFS volume, when you cannot do anything 
with VMware except attach a raw disk, there are no mkfs tools that will build 
and attach it as a NTFS volume

When I look up how to add a disk via ESXi command-line this is what I find  
which is a completely different command than shown

It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using 
datastore1

vim-cmd vmsvc/device.diskadd 16 1 scsi0 2 datastore1

The unique thing is though, that I cannot run that as oneadmin, because it 
fails - which means I cannot add a disk to the VM

# vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102
Reconfigure failed

And if I try to add the disk via vSphere , it cannot really add it because the 
disk currently in use is technically SCSI0:0 , but vSphere is still expecting 
SCSI0:0 as the next disk.

Does this sound like a bug, if so I can create a bug report on this instead.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] Add Volatile disk

2013-08-12 Thread Michael Curran
Thanks Nicolas ---

But you cannot install packages into VMware ESXi , and I did add it as a raw 
disk - it does attach it to the instance from the console, when I look in the 
instance directory I do not see an extra vmdk file

Also looking at the edit settings in Vmware - I don't see an additional SCSI 
disk

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Nicolas Bélan
Sent: Monday, August 12, 2013 11:24 AM
To: users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Hello,

mkfs.ntfs is provided by ntfs-3g package on most linux.
You should install it and retry I think
Or perhaps (not tested by myselft) use a raw disk and format it inside your 
windows. I never installed windows on opennebula, I can not give you more 
advice.

Best regards
Nicolas
Le 12/08/13 16:45, Michael Curran a écrit :
I need to add a raw disk to be used with a windows VM - and this is the error 
message I get in the logs for the VM

Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then
Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: fi
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2 
failed: sh: mkfs: not found
Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127
Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/2/disk.2

This is trying to use mkfs to create a NTFS volume, when you cannot do anything 
with VMware except attach a raw disk, there are no mkfs tools that will build 
and attach it as a NTFS volume

When I look up how to add a disk via ESXi command-line this is what I find  
which is a completely different command than shown

It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using 
datastore1

vim-cmd vmsvc/device.diskadd 16 1 scsi0 2 datastore1

The unique thing is though, that I cannot run that as oneadmin, because it 
fails - which means I cannot add a disk to the VM

# vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102
Reconfigure failed

And if I try to add the disk via vSphere , it cannot really add it because the 
disk currently in use is technically SCSI0:0 , but vSphere is still expecting 
SCSI0:0 as the next disk.

Does this sound like a bug, if so I can create a bug report on this instead.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com





___

Users mailing list

Users@lists.opennebula.orgmailto: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] Add Volatile disk

2013-08-12 Thread Michael Curran
More details now -

So, in Sunstone GUI I see an ID 2 for my volatile disk

When I add it as raw, I don't see it use /var/lib/one/remotes/vmm/attach_disk - 
just creates a raw disk and is done (nothing exists in the volumes)

It does not appear to use vim-cmd when it creates --

When I try to detach the the disk it does this

Mon Aug 12 08:24:38 2013 [VMM][I]: Successfully execute virtualization driver 
operation: attach_disk.
Mon Aug 12 08:24:38 2013 [VMM][I]: VM Disk successfully attached.
Mon Aug 12 08:28:59 2013 [VMM][I]: VM successfully rebooted.
Mon Aug 12 10:20:14 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/vmware/detach_disk 'one-2' '/vmfs/volumes/102/2/disk.2' 'hdc' 
'2' 2 10.7.0.55
Mon Aug 12 10:20:14 2013 [VMM][E]: : Command  vim-cmd vmsvc/device.diskremove 
20 0 2 /vmfs/volumes/102/2/disk.2 failed: Failed to find a controller with the 
specified bus number.
Mon Aug 12 10:20:14 2013 [VMM][E]: Could not detach from one-2
Mon Aug 12 10:20:14 2013 [VMM][I]: ExitCode: 255
Mon Aug 12 10:20:14 2013 [VMM][I]: Failed to execute virtualization driver 
operation: detach_disk.
Mon Aug 12 10:20:14 2013 [VMM][E]: Error detaching VM Disk: Could not detach 
from one-2

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 12:16 PM
To: Nicolas Bélan; users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Thanks Nicolas ---

But you cannot install packages into VMware ESXi , and I did add it as a raw 
disk - it does attach it to the instance from the console, when I look in the 
instance directory I do not see an extra vmdk file

Also looking at the edit settings in Vmware - I don't see an additional SCSI 
disk

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Nicolas Bélan
Sent: Monday, August 12, 2013 11:24 AM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Hello,

mkfs.ntfs is provided by ntfs-3g package on most linux.
You should install it and retry I think
Or perhaps (not tested by myselft) use a raw disk and format it inside your 
windows. I never installed windows on opennebula, I can not give you more 
advice.

Best regards
Nicolas
Le 12/08/13 16:45, Michael Curran a écrit :
I need to add a raw disk to be used with a windows VM - and this is the error 
message I get in the logs for the VM

Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then
Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: fi
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2 
failed: sh: mkfs: not found
Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127
Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/2/disk.2

This is trying to use mkfs to create a NTFS volume, when you cannot do anything 
with VMware except attach a raw disk, there are no mkfs tools that will build 
and attach it as a NTFS volume

When I look up how to add a disk via ESXi command-line this is what I find  
which is a completely different command than shown

It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using 
datastore1

vim-cmd vmsvc/device.diskadd 16 1 scsi0 2 datastore1

The unique thing is though, that I cannot run that as oneadmin, because it 
fails - which means I cannot add a disk to the VM

# vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102
Reconfigure failed

And if I try to add the disk via vSphere , it cannot really add it because the 
disk currently in use is technically SCSI0:0 , but vSphere is still expecting 
SCSI0:0 as the next disk.

Does this sound like a bug, if so I can create a bug report on this instead.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com






___

Users mailing list

Users@lists.opennebula.orgmailto:Users@lists.opennebula.org

http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users

Re: [one-users] Add Volatile disk

2013-08-12 Thread Michael Curran
I think I found the issue - the disk is not attaching as SCSI - because there 
are no SCSI devices defined for use

Going to go back and re-create the Template and make sure the disks are setup 
to use SCSI.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Monday, August 12, 2013 1:32 PM
To: Michael Curran; Nicolas Bélan; users@lists.opennebula.org
Subject: RE: [one-users] Add Volatile disk

More details now -

So, in Sunstone GUI I see an ID 2 for my volatile disk

When I add it as raw, I don't see it use /var/lib/one/remotes/vmm/attach_disk - 
just creates a raw disk and is done (nothing exists in the volumes)

It does not appear to use vim-cmd when it creates --

When I try to detach the the disk it does this

Mon Aug 12 08:24:38 2013 [VMM][I]: Successfully execute virtualization driver 
operation: attach_disk.
Mon Aug 12 08:24:38 2013 [VMM][I]: VM Disk successfully attached.
Mon Aug 12 08:28:59 2013 [VMM][I]: VM successfully rebooted.
Mon Aug 12 10:20:14 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/vmware/detach_disk 'one-2' '/vmfs/volumes/102/2/disk.2' 'hdc' 
'2' 2 10.7.0.55
Mon Aug 12 10:20:14 2013 [VMM][E]: : Command  vim-cmd vmsvc/device.diskremove 
20 0 2 /vmfs/volumes/102/2/disk.2 failed: Failed to find a controller with the 
specified bus number.
Mon Aug 12 10:20:14 2013 [VMM][E]: Could not detach from one-2
Mon Aug 12 10:20:14 2013 [VMM][I]: ExitCode: 255
Mon Aug 12 10:20:14 2013 [VMM][I]: Failed to execute virtualization driver 
operation: detach_disk.
Mon Aug 12 10:20:14 2013 [VMM][E]: Error detaching VM Disk: Could not detach 
from one-2

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 12:16 PM
To: Nicolas Bélan; users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Thanks Nicolas ---

But you cannot install packages into VMware ESXi , and I did add it as a raw 
disk - it does attach it to the instance from the console, when I look in the 
instance directory I do not see an extra vmdk file

Also looking at the edit settings in Vmware - I don't see an additional SCSI 
disk

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Nicolas Bélan
Sent: Monday, August 12, 2013 11:24 AM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Hello,

mkfs.ntfs is provided by ntfs-3g package on most linux.
You should install it and retry I think
Or perhaps (not tested by myselft) use a raw disk and format it inside your 
windows. I never installed windows on opennebula, I can not give you more 
advice.

Best regards
Nicolas
Le 12/08/13 16:45, Michael Curran a écrit :
I need to add a raw disk to be used with a windows VM - and this is the error 
message I get in the logs for the VM

Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then
Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: fi
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2 
failed: sh: mkfs: not found
Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127
Mon Aug 12 07:09:53 2013 [VMM][I]: Failed to execute transfer manager driver 
operation: tm_attach.
Mon Aug 12 07:09:53 2013 [VMM][E]: Error attaching new VM Disk: Could not 
create image /vmfs/volumes/102/2/disk.2

This is trying to use mkfs to create a NTFS volume, when you cannot do anything 
with VMware except attach a raw disk, there are no mkfs tools that will build 
and attach it as a NTFS volume

When I look up how to add a disk via ESXi command-line this is what I find  
which is a completely different command than shown

It says add a disk to VM 16 that is 10g in size as SCSI device 0:2 using 
datastore1

vim-cmd vmsvc/device.diskadd 16 1 scsi0 2 datastore1

The unique thing is though, that I cannot run that as oneadmin, because it 
fails - which means I cannot add a disk to the VM

# vim-cmd vmsvc/device.diskadd 20 15000 scsi 0 1 102
Reconfigure failed

And if I try to add the disk via vSphere , it cannot really add it because the 
disk currently

Re: [one-users] Add Volatile disk

2013-08-12 Thread Michael Curran
I thought I found the issue - Tried the following

In the oneimage I am using I added

BUS=SCSI

In the onetemplate I am using I added


Under the DISK section of the template

BUS=scsi

Under the RAW section of the tehmplate

RAW=[
DATA=devicescontroller type='scsi' index='0' model='lsilogic'//devices,
TYPE=vmware ]
However I still do not get a SCSI boot disk or SCSI driver instantiated - 
anything I can add to this to help define why its coming up as an IDE root 
volume instead of SCSI ?? The original VM shows as SCSI.



Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 3:05 PM
To: Nicolas Bélan; users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

I think I found the issue - the disk is not attaching as SCSI - because there 
are no SCSI devices defined for use

Going to go back and re-create the Template and make sure the disks are setup 
to use SCSI.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Monday, August 12, 2013 1:32 PM
To: Michael Curran; Nicolas Bélan; 
users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: [one-users] Add Volatile disk

More details now -

So, in Sunstone GUI I see an ID 2 for my volatile disk

When I add it as raw, I don't see it use /var/lib/one/remotes/vmm/attach_disk - 
just creates a raw disk and is done (nothing exists in the volumes)

It does not appear to use vim-cmd when it creates --

When I try to detach the the disk it does this

Mon Aug 12 08:24:38 2013 [VMM][I]: Successfully execute virtualization driver 
operation: attach_disk.
Mon Aug 12 08:24:38 2013 [VMM][I]: VM Disk successfully attached.
Mon Aug 12 08:28:59 2013 [VMM][I]: VM successfully rebooted.
Mon Aug 12 10:20:14 2013 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/vmware/detach_disk 'one-2' '/vmfs/volumes/102/2/disk.2' 'hdc' 
'2' 2 10.7.0.55
Mon Aug 12 10:20:14 2013 [VMM][E]: : Command  vim-cmd vmsvc/device.diskremove 
20 0 2 /vmfs/volumes/102/2/disk.2 failed: Failed to find a controller with the 
specified bus number.
Mon Aug 12 10:20:14 2013 [VMM][E]: Could not detach from one-2
Mon Aug 12 10:20:14 2013 [VMM][I]: ExitCode: 255
Mon Aug 12 10:20:14 2013 [VMM][I]: Failed to execute virtualization driver 
operation: detach_disk.
Mon Aug 12 10:20:14 2013 [VMM][E]: Error detaching VM Disk: Could not detach 
from one-2

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, August 12, 2013 12:16 PM
To: Nicolas Bélan; users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Thanks Nicolas ---

But you cannot install packages into VMware ESXi , and I did add it as a raw 
disk - it does attach it to the instance from the console, when I look in the 
instance directory I do not see an extra vmdk file

Also looking at the edit settings in Vmware - I don't see an additional SCSI 
disk

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Nicolas Bélan
Sent: Monday, August 12, 2013 11:24 AM
To: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Add Volatile disk

Hello,

mkfs.ntfs is provided by ntfs-3g package on most linux.
You should install it and retry I think
Or perhaps (not tested by myselft) use a raw disk and format it inside your 
windows. I never installed windows on opennebula, I can not give you more 
advice.

Best regards
Nicolas
Le 12/08/13 16:45, Michael Curran a écrit :
I need to add a raw disk to be used with a windows VM - and this is the error 
message I get in the logs for the VM

Mon Aug 12 07:09:53 2013 [VMM][E]: mkimage: Command export 
PATH=/usr/sbin:/sbin:$PATH
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: if [ ! -d /vmfs/volumes/102/2/disk.2 ]; then
Mon Aug 12 07:09:53 2013 [VMM][I]: mkdir -p /vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: fi
Mon Aug 12 07:09:53 2013 [VMM][I]:
Mon Aug 12 07:09:53 2013 [VMM][I]: mkfs -t NTFS /vmfs/volumes/102/2/disk.2 
failed: sh: mkfs: not found
Mon Aug 12 07:09:53 2013 [VMM][E]: Could not create image 
/vmfs/volumes/102/2/disk.2
Mon Aug 12 07:09:53 2013 [VMM][I]: ExitCode: 127
Mon Aug 12 07:09

Re: [one-users] Datastores

2013-08-08 Thread Michael Curran
An update to this -

I ran into the same issue with the DS names, before creating them myself - and 
they only point locally

I've created the system/images DS's on my ESXi hosts as 102/103 - and working 
on getting them to monitor

So far just get errors if I run /var/lib/one/remotes/datastore/vmfs/monitor

Are they any options at the end of monitor?


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Thursday, July 25, 2013 12:55 PM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

Ok Thanks. We've been looking at the upgrade process and it should not modify 
the base path of the datastores


Cheers

Ruben

On Thu, Jul 25, 2013 at 6:21 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Okay - I re-created the images DS from the Sunstone GUI and when I uploaded an 
image it now captures the right size - bug report maybe? I'll find out tomorrow 
when I transfer this to our DC lab machines from our office labs on a clean 
build

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: 
users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.orgmailto:users-boun...@lists.opennebula.org]
 On Behalf Of Michael Curran
Sent: Thursday, July 25, 2013 11:26 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org

Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

The problem exists because when I upgrade from 4.0.1 -- 4.1.80 it recreated 
the images datastore with a path of /var/lib/one/datastores/1 and since I am on 
vmfs - it should be /vmfs/volumes/1

Is there a way to modify that path? Or will I have to re-create the datastore 
in OpenNebula and then rename the datastore?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Thursday, July 25, 2013 9:06 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org; Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: [one-users] Datastores

What does the monitor command look like from the CLI ? My logs only show 
successful response, not what it ran to check

But your right, if I do a list on the datastores - my system/images sore zero 
or nothing...so that's my issue

Sent from my Android phone using TouchDown 
(www.nitrodesk.comhttp://www.nitrodesk.com)

-Original Message-
From: Michael Curran 
[michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com]
Received: Wednesday, 24 Jul 2013, 2:23pm
To: Ruben S. Montero [rsmont...@opennebula.orgmailto:rsmont...@opennebula.org]
CC: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
[users@lists.opennebula.orgmailto:users@lists.opennebula.org]
Subject: Re: [one-users] Datastores
Ive been on the datastores - I will check the monitor data since that makes the 
most sense - something must be amiss there

My test env has 2 1tb volumes with one image and 2 running VM's - neither is 
more than 2% used

So monitoring seems the likelier culprit - Ill investigate that piece.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Wednesday, July 24, 2013 1:04 PM
To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

This error is because of the space left in the datastore. Can you check that 
datastores are being monitor, and capacity data is get without errors? Are 
there any error or message relative to monitor datastores in oned.log? What is 
the size available/total shown in onedatastore show ?

Cheers

Ruben

On Wed, Jul 24, 2013 at 5:30 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320

Re: [one-users] files datastore

2013-07-31 Thread Michael Curran
If its just a script, I can look at it as well. Just not sure sure how it ties 
all together, but let me know how to help

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Tino Vazquez [tinov...@gmail.com]
Received: Wednesday, 31 Jul 2013, 9:52am
To: Michael Curran [michael.cur...@connectsolutions.com]
CC: users@lists.opennebula.org [users@lists.opennebula.org]
Subject: Re: [one-users] files datastore

Hi Michael,

No, that wouldn't solve the issue. The solution here is to adapt
remotes/datastore/vmfs/cp to be able to cope with files and
directories that are not vmdk disks.

A redesign needs to be carried out. In particular:

 - Files are failing due to line 154
 - Directories are failing due to line 146

As soon as we have the solution designed, I'll let you know.

Best,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.OpenNebula.orghttp://www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Mon, Jul 29, 2013 at 7:27 PM, Michael Curran
michael.cur...@connectsolutions.com wrote:
 So -- This is more of the issue

 1) I tried to change it to /vmfs/volumes (doesn't work, doesn't exist on ONE 
 node -- and oneadmin cannot create root , top-level directories -- mkdir 
 fails)
 2) The system is only trying to use CP to move files between Files DS and 
 System DS (including moving the context files to a temp location)
 -- this doesn't work because CP is local to the ONE node , and the 
 files are on the VMFS volumes on ESXi  -- copy fails
 3) I can see my IM/VM/VN set as vmware/vmware/dummy -- but I do not see any 
 settings for TM against the host only in oned.conf

 If I change this TM_MAD setting in oned.conf from this

  TM_MAD = [
 name   = vmware,
 executable = one_tm,
 arguments  = -t 15 -d dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph ]

 To this

 TM_MAD = [
 name   = vmware,
 executable = one_tm,
 arguments  = -t 15 -d vmfs ]

 Will that solve the issue of trying to build the context.sh on the ONE node 
 instead of the VMFS volumes?


 Michael Curran | connectsolutions | Lead Network Architect
 Phone 614.568.2285 | Mobile 614.403.6320 | 
 www.connectsolutions.comhttp://www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
 Sent: Monday, July 29, 2013 11:23 AM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] files datastore

 Not sure how I missed this error previously -- but

 Mon Jul 29 08:14:28 2013 [TM][E]: Error executing image transfer script: 
 Error copying /vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
 to /var/lib/one/datastores/.isofiles/53

 The transfer job is trying to pull the files from the DS for files, to the 
 local ONE node in /var/lib/one/datastores/.isofiles/53 and then when it gets 
 those files it builds the context.sh / disk.1.iso and pushes it back to the 
 53 directory on the vmfs volume

 Shouldn't it be building all of that information on the ESXi volume locally 
 instead of trying to transfer it all over ?

 Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 
 | Mobile 614.403.6320 | 
 www.connectsolutions.comhttp://www.connectsolutions.com

 -Original Message-
 From: Michael Curran
 Sent: Monday, July 29, 2013 11:11 AM
 To: Michael Curran; Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: RE: [one-users] files datastore

 Still working on this -- is there a way to manually build the context.sh and 
 disk.1.iso for use during the boot process?

 Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 
 | Mobile 614.403.6320 | 
 www.connectsolutions.comhttp://www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
 Sent: Friday, July 26, 2013 2:25 PM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] files datastore

 One resolved (in a workaround) -- another one shows up --

 Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
 /var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
 :'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
 :'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0 Fri Jul 26 
 09:47:12 2013 [TM][I]: context: Generating context block device at 
 192.168.250.34:/vmfs/volumes/0/51/disk.1
 Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
 /var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
 destination file operand after 
 `/var/lib/one/datastores/.isofiles/51/one-context.ps'
 Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
 Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
 /var/lib/one/datastores/.isofiles/51
 Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode

Re: [one-users] files datastore

2013-07-29 Thread Michael Curran
Still working on this -- is there a way to manually build the context.sh and 
disk.1.iso for use during the boot process?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 26, 2013 2:25 PM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

One resolved (in a workaround) -- another one shows up --

Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
:'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
:'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0 Fri Jul 26 
09:47:12 2013 [TM][I]: context: Generating context block device at 
192.168.250.34:/vmfs/volumes/0/51/disk.1
Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
/var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
destination file operand after 
`/var/lib/one/datastores/.isofiles/51/one-context.ps'
Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
/var/lib/one/datastores/.isofiles/51
Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode: 255


So looking at these errors -- the context error relates to the fact that it is 
trying to generate the context block device from the 
/var/lib/one/datastores/.isofiles

All of my files reside on the /vmfs/volumes/103 filestore DS and my template 
calls them out like this 

  FILES=/vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps1 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/README.txt 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/SetupComplete.cmd 
/vmfs/voluems/103/fbf51b0fc2f8939dc7d2534a728b2f03/windows.one

The initial PROLOG copy completes normally, then I get the fails above -- and 
the /var/lib/one/datastores/.isofiles directory is empty -- presumably because 
all my actual used datastores are on /vmfs/volumes/ -- shouldn't the .isofiles 
directory exist there?

The Windows image which shows up as disk.0 , is there as expected The context 
CDROM fails to build, because its trying to pull the context.sh from an empty 
directory


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:tinov...@gmail.com]
Sent: Friday, July 26, 2013 11:00 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

That is indeed a bug. The VMFS drivers cannot cope with the files datastore, 
they always assume it is a VMware vmdk disk.

I've opened a ticket [1] to keep track of the solution.

Thanks for the great feedback!

-Tino

[1] http://dev.opennebula.org/issues/2230
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Fri, Jul 26, 2013 at 4:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I get the same error when I upload a file image with the oneimage CLI 
 command - the issue is the SCP command for a file should look more 
 like this



 oneadmin@u-cmh-neb-dev01:~/tmp$ scp
 /var/lib/one/tmp/6564273ad2c2154a3af6c2ccfcb73a41
 oneadmin@192.168.250.34:/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb7
 3a41/one-context.ps

 6564273ad2c2154a3af6c2ccfcb73a41
 100% 4866 4.8KB/s   00:00



 It should take the tmp file name and SCP it to the filestore and 
 rename the file to the original name of one-context.ps - instead the 
 command expects the tempname to be a directory



 This wouldn't be a problem if the during the creation of the temp name 
 , it created a directory with a file in the temp name location, but 
 the copy to the temp location is copying the file as the temp name.
 Then it cannot upload it to the VMFS datastore - because a directory 
 is expected



 I can work around this by running the SCP command manually as shown 
 above, but then the images created by the oneimage create CLI stay in 
 an ERR state, they don't show ready or used



 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com



 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Friday, July 26, 2013 9:35 AM
 To: users@lists.opennebula.org
 Subject: [one-users] files datastore



 I am uploading some files to a files datastore I have for use with 
 creating the context.sh for windows automation -



 When I go to the Files and Kernels tab and do a create



 I enter the name of the file I am uploading - change it to type 
 Context and the to the Files

Re: [one-users] files datastore

2013-07-29 Thread Michael Curran
Not sure how I missed this error previously -- but 

Mon Jul 29 08:14:28 2013 [TM][E]: Error executing image transfer script: Error 
copying /vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs to 
/var/lib/one/datastores/.isofiles/53

The transfer job is trying to pull the files from the DS for files, to the 
local ONE node in /var/lib/one/datastores/.isofiles/53 and then when it gets 
those files it builds the context.sh / disk.1.iso and pushes it back to the 53 
directory on the vmfs volume

Shouldn't it be building all of that information on the ESXi volume locally 
instead of trying to transfer it all over ?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran 
Sent: Monday, July 29, 2013 11:11 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] files datastore

Still working on this -- is there a way to manually build the context.sh and 
disk.1.iso for use during the boot process?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 26, 2013 2:25 PM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

One resolved (in a workaround) -- another one shows up --

Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
:'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
:'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0 Fri Jul 26 
09:47:12 2013 [TM][I]: context: Generating context block device at 
192.168.250.34:/vmfs/volumes/0/51/disk.1
Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
/var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
destination file operand after 
`/var/lib/one/datastores/.isofiles/51/one-context.ps'
Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
/var/lib/one/datastores/.isofiles/51
Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode: 255


So looking at these errors -- the context error relates to the fact that it is 
trying to generate the context block device from the 
/var/lib/one/datastores/.isofiles

All of my files reside on the /vmfs/volumes/103 filestore DS and my template 
calls them out like this 

  FILES=/vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps1 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/README.txt 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/SetupComplete.cmd 
/vmfs/voluems/103/fbf51b0fc2f8939dc7d2534a728b2f03/windows.one

The initial PROLOG copy completes normally, then I get the fails above -- and 
the /var/lib/one/datastores/.isofiles directory is empty -- presumably because 
all my actual used datastores are on /vmfs/volumes/ -- shouldn't the .isofiles 
directory exist there?

The Windows image which shows up as disk.0 , is there as expected The context 
CDROM fails to build, because its trying to pull the context.sh from an empty 
directory


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:tinov...@gmail.com]
Sent: Friday, July 26, 2013 11:00 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

That is indeed a bug. The VMFS drivers cannot cope with the files datastore, 
they always assume it is a VMware vmdk disk.

I've opened a ticket [1] to keep track of the solution.

Thanks for the great feedback!

-Tino

[1] http://dev.opennebula.org/issues/2230
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Fri, Jul 26, 2013 at 4:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I get the same error when I upload a file image with the oneimage CLI 
 command - the issue is the SCP command for a file should look more 
 like this



 oneadmin@u-cmh-neb-dev01:~/tmp$ scp
 /var/lib/one/tmp/6564273ad2c2154a3af6c2ccfcb73a41
 oneadmin@192.168.250.34:/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb7
 3a41/one-context.ps

 6564273ad2c2154a3af6c2ccfcb73a41
 100% 4866 4.8KB/s   00:00



 It should take the tmp file name and SCP it to the filestore and 
 rename the file to the original name of one-context.ps - instead the 
 command expects the tempname to be a directory



 This wouldn't be a problem if the during the creation of the temp name 
 , it created a directory with a file in the temp name location, but 
 the copy to the temp location

Re: [one-users] files datastore

2013-07-29 Thread Michael Curran
Aha -- because the process calls for cp -R , because the assumption is that the 
the datastores are local mounts on the ONE system -- this is not true in the 
ESXi vmfs setup -- all the datastores are mounted on the ESXi hosts

Which file calls out the process -- maybe I can take a look at how to modify it 
and test it on my end.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 29, 2013 11:23 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Not sure how I missed this error previously -- but 

Mon Jul 29 08:14:28 2013 [TM][E]: Error executing image transfer script: Error 
copying /vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs to 
/var/lib/one/datastores/.isofiles/53

The transfer job is trying to pull the files from the DS for files, to the 
local ONE node in /var/lib/one/datastores/.isofiles/53 and then when it gets 
those files it builds the context.sh / disk.1.iso and pushes it back to the 53 
directory on the vmfs volume

Shouldn't it be building all of that information on the ESXi volume locally 
instead of trying to transfer it all over ?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran
Sent: Monday, July 29, 2013 11:11 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] files datastore

Still working on this -- is there a way to manually build the context.sh and 
disk.1.iso for use during the boot process?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 26, 2013 2:25 PM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

One resolved (in a workaround) -- another one shows up --

Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
:'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
:'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0 Fri Jul 26 
09:47:12 2013 [TM][I]: context: Generating context block device at 
192.168.250.34:/vmfs/volumes/0/51/disk.1
Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
/var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
destination file operand after 
`/var/lib/one/datastores/.isofiles/51/one-context.ps'
Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
/var/lib/one/datastores/.isofiles/51
Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode: 255


So looking at these errors -- the context error relates to the fact that it is 
trying to generate the context block device from the 
/var/lib/one/datastores/.isofiles

All of my files reside on the /vmfs/volumes/103 filestore DS and my template 
calls them out like this 

  FILES=/vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps1 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/README.txt 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/SetupComplete.cmd 
/vmfs/voluems/103/fbf51b0fc2f8939dc7d2534a728b2f03/windows.one

The initial PROLOG copy completes normally, then I get the fails above -- and 
the /var/lib/one/datastores/.isofiles directory is empty -- presumably because 
all my actual used datastores are on /vmfs/volumes/ -- shouldn't the .isofiles 
directory exist there?

The Windows image which shows up as disk.0 , is there as expected The context 
CDROM fails to build, because its trying to pull the context.sh from an empty 
directory


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:tinov...@gmail.com]
Sent: Friday, July 26, 2013 11:00 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

That is indeed a bug. The VMFS drivers cannot cope with the files datastore, 
they always assume it is a VMware vmdk disk.

I've opened a ticket [1] to keep track of the solution.

Thanks for the great feedback!

-Tino

[1] http://dev.opennebula.org/issues/2230
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Fri, Jul 26, 2013 at 4:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I get the same error when I upload

Re: [one-users] files datastore

2013-07-29 Thread Michael Curran
Ive tried to modify the tm_common.sh to point to the /vmfs/volumes/103 location 
for the temp, but the issue is the whole process looks for local files

Its using CP to copy files -- which assumes local locations for context files 
to be found, instead of the files_ds

Any known workaround for this? 


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 29, 2013 11:23 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Not sure how I missed this error previously -- but 

Mon Jul 29 08:14:28 2013 [TM][E]: Error executing image transfer script: Error 
copying /vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs to 
/var/lib/one/datastores/.isofiles/53

The transfer job is trying to pull the files from the DS for files, to the 
local ONE node in /var/lib/one/datastores/.isofiles/53 and then when it gets 
those files it builds the context.sh / disk.1.iso and pushes it back to the 53 
directory on the vmfs volume

Shouldn't it be building all of that information on the ESXi volume locally 
instead of trying to transfer it all over ?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran
Sent: Monday, July 29, 2013 11:11 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] files datastore

Still working on this -- is there a way to manually build the context.sh and 
disk.1.iso for use during the boot process?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 26, 2013 2:25 PM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

One resolved (in a workaround) -- another one shows up --

Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
:'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
:'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0 Fri Jul 26 
09:47:12 2013 [TM][I]: context: Generating context block device at 
192.168.250.34:/vmfs/volumes/0/51/disk.1
Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
/var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
destination file operand after 
`/var/lib/one/datastores/.isofiles/51/one-context.ps'
Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
/var/lib/one/datastores/.isofiles/51
Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode: 255


So looking at these errors -- the context error relates to the fact that it is 
trying to generate the context block device from the 
/var/lib/one/datastores/.isofiles

All of my files reside on the /vmfs/volumes/103 filestore DS and my template 
calls them out like this 

  FILES=/vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps1 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/README.txt 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/SetupComplete.cmd 
/vmfs/voluems/103/fbf51b0fc2f8939dc7d2534a728b2f03/windows.one

The initial PROLOG copy completes normally, then I get the fails above -- and 
the /var/lib/one/datastores/.isofiles directory is empty -- presumably because 
all my actual used datastores are on /vmfs/volumes/ -- shouldn't the .isofiles 
directory exist there?

The Windows image which shows up as disk.0 , is there as expected The context 
CDROM fails to build, because its trying to pull the context.sh from an empty 
directory


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:tinov...@gmail.com]
Sent: Friday, July 26, 2013 11:00 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

That is indeed a bug. The VMFS drivers cannot cope with the files datastore, 
they always assume it is a VMware vmdk disk.

I've opened a ticket [1] to keep track of the solution.

Thanks for the great feedback!

-Tino

[1] http://dev.opennebula.org/issues/2230
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Fri, Jul 26, 2013 at 4:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I get the same error when I upload a file image with the oneimage

[one-users] files datastore

2013-07-26 Thread Michael Curran
+MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wP
C9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+dm1mczwvRFNfTUFEPjxUTV9NQUQ+dm1mcz
wvVE1fTUFEPjxCQVNFX1BBVEg+L3ZtZnMvdm9sdW1lcy8xMDM8L0JBU0VfUEFUSD48VFlQRT4yPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0l
EPjEwMDwvQ0xVU1RFUl9JRD48Q0xVU1RFUj5wcm9kdWN0aW9uPC9DTFVTVEVSPjxUT1RBTF9NQj4xMzQ5MTI8L1RPVEFMX01CPjxGUkVFX01CPjEzMDU1NzwvRlJFRV9N
Qj48VVNFRF9NQj40MTU0PC9VU0VEX01CPjxJTUFHRVM+PElEPjM2PC9JRD48SUQ+Mzc8L0lEPjxJRD4zODwvSUQ+PElEPjM5PC9JRD48SUQ+NDA8L0lEPjwvSU1BR0VTP
jxURU1QTEFURT48QlJJREdFX0xJU1Q+PCFbQ0RBVEFbMTkyLjE2OC4yNTAuMzRdXT48L0JSSURHRV9MSVNUPjxESVNLX1RZUEU+PCFbQ0RBVEFbZmlsZV1dPjwvRElTS1
9UWVBFPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxEU19VU0VfU1NIPjwhW0NEQVRBW1lFU11dPjwvRFNfVVNFX1NTSD48VE1fTUFEPjwhW0NEQVRBW3Z
tZnNdXT48L1RNX01BRD48VE1fVVNFX1NTSD48IVtDREFUQVtZRVNdXT48L1RNX1VTRV9TU0g+PFRZUEU+PCFbQ0RBVEFbRklMRV9EU11dPjwvVFlQRT48L1RFTVBMQVRF
PjwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg== 41
Fri Jul 26 06:27:53 2013 [ImM][I]: cp: Copying local disk folder 
/var/tmp/windows_setup to the image repository
Fri Jul 26 06:27:53 2013 [ImM][E]: cp: Command mv -f /var/tmp/windows_setup/ 
/var/tmp/windows_setup/disk.vmdk failed: mv: canno
t move `/var/tmp/windows_setup/' to a subdirectory of itself, 
`/var/tmp/windows_setup/disk.vmdk'
Fri Jul 26 06:27:53 2013 [ImM][E]: Error renaming file /var/tmp/windows_setup/ 
to /var/tmp/windows_setup/disk.vmdk
Fri Jul 26 06:27:53 2013 [ImM][I]: ExitCode: 1
Fri Jul 26 06:27:53 2013 [ImM][E]: Error copying image in the datastore: Error 
renaming file /var/tmp/windows_setup/ to /var/tmp/
windows_setup/disk.vmdk


Now it thinks I am uploading a disk.vmdk OS image instead? I should just be 
able to upload a single file - will try from the oneimage CLI command to see if 
the behavior is limited to SunStone GUI.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] files datastore

2013-07-26 Thread Michael Curran
I get the same error when I upload a file image with the oneimage CLI command - 
the issue is the SCP command for a file should look more like this

oneadmin@u-cmh-neb-dev01:~/tmp$ scp 
/var/lib/one/tmp/6564273ad2c2154a3af6c2ccfcb73a41 
oneadmin@192.168.250.34:/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps
6564273ad2c2154a3af6c2ccfcb73a41
   100% 4866 4.8KB/s   00:00

It should take the tmp file name and SCP it to the filestore and rename the 
file to the original name of one-context.ps - instead the command expects the 
tempname to be a directory

This wouldn't be a problem if the during the creation of the temp name , it 
created a directory with a file in the temp name location, but the copy to the 
temp location is copying the file as the temp name. Then it cannot upload it to 
the VMFS datastore - because a directory is expected

I can work around this by running the SCP command manually as shown above, but 
then the images created by the oneimage create CLI stay in an ERR state, they 
don't show ready or used

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 26, 2013 9:35 AM
To: users@lists.opennebula.org
Subject: [one-users] files datastore

I am uploading some files to a files datastore I have for use with creating the 
context.sh for windows automation -

When I go to the Files and Kernels tab and do a create

I enter the name of the file I am uploading - change it to type Context and the 
to the Files datastore - provide a path on the one node where I have the files 
and I get this error

Fri Jul 26 06:14:43 2013 [ImM][I]: Command execution fail: 
/var/lib/one/remotes/datastore/vmfs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT4
8SU1BR0U+PElEPjQwPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+d2lu
ZG93cy5vbmU8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VP
jA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRV
JfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PFRZUEU+NTwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48UEVSU0lTVEVOVD4wPC9QRVJTSVNURU5UPjxSRUd
USU1FPjEzNzQ4NDQ0ODI8L1JFR1RJTUU+PFNPVVJDRT48L1NPVVJDRT48UEFUSD4vdmFyL3RtcC93aW5kb3dzX3NldHVwL3dpbmRvd3Mub25lPC9QQVRIPjxGU1RZUEU+
PC9GU1RZUEU+PFNJWkU+MTwvU0laRT48U1RBVEU+NDwvU1RBVEU+PFJVTk5JTkdfVk1TPjA8L1JVTk5JTkdfVk1TPjxDTE9OSU5HX09QUz4wPC9DTE9OSU5HX09QUz48Q
0xPTklOR19JRD4tMTwvQ0xPTklOR19JRD48REFUQVNUT1JFX0lEPjEwMzwvREFUQVNUT1JFX0lEPjxEQVRBU1RPUkU+RmlsZXM8L0RBVEFTVE9SRT48Vk1TPjwvVk1TPj
xDTE9ORVM+PC9DTE9ORVM+PFRFTVBMQVRFPjwvVEVNUExBVEU+PC9JTUFHRT48REFUQVNUT1JFPjxJRD4xMDM8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkF
NRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5GaWxlczwvTkFNRT48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dO
RVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjA8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+P
E9USEVSX1U+MDwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPnZtZnM8L0RTX01BRD48VE
1fTUFEPnZtZnM8L1RNX01BRD48QkFTRV9QQVRIPi92bWZzL3ZvbHVtZXMvMTAzPC9CQVNFX1BBVEg+PFRZUEU+MjwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT4
8Q0xVU1RFUl9JRD4xMDA8L0NMVVNURVJfSUQ+PENMVVNURVI+cHJvZHVjdGlvbjwvQ0xVU1RFUj48VE9UQUxfTUI+MTM0OTEyPC9UT1RBTF9NQj48RlJFRV9NQj4xMzA1
NTc8L0ZSRUVfTUI+PFVTRURfTUI+NDE1NDwvVVNFRF9NQj48SU1BR0VTPjxJRD4zNjwvSUQ+PElEPjM3PC9JRD48SUQ+Mzg8L0lEPjxJRD4zOTwvSUQ+PC9JTUFHRVM+P
FRFTVBMQVRFPjxCUklER0VfTElTVD48IVtDREFUQVsxOTIuMTY4LjI1MC4zNF1dPjwvQlJJREdFX0xJU1Q+PERJU0tfVFlQRT48IVtDREFUQVtmaWxlXV0+PC9ESVNLX1
RZUEU+PERTX01BRD48IVtDREFUQVt2bWZzXV0+PC9EU19NQUQ+PERTX1VTRV9TU0g+PCFbQ0RBVEFbWUVTXV0+PC9EU19VU0VfU1NIPjxUTV9NQUQ+PCFbQ0RBVEFbdm1
mc11dPjwvVE1fTUFEPjxUTV9VU0VfU1NIPjwhW0NEQVRBW1lFU11dPjwvVE1fVVNFX1NTSD48VFlQRT48IVtDREFUQVtGSUxFX0RTXV0+PC9UWVBFPjwvVEVNUExBVEU+
PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 40
Fri Jul 26 06:14:43 2013 [ImM][E]: cp: Command scp -r 
/var/lib/one/tmp/fbf51b0fc2f8939dc7d2534a728b2f03/* 192.168.250.34:/vmfs/v
olumes/103/fbf51b0fc2f8939dc7d2534a728b2f03 failed: 
/var/lib/one/tmp/fbf51b0fc2f8939dc7d2534a728b2f03/*: Not a directory
Fri Jul 26 06:14:43 2013 [ImM][E]: Error copying 
/var/lib/one/tmp/fbf51b0fc2f8939dc7d2534a728b2f03 to /vmfs/volumes/103/fbf51b0fc
2f8939dc7d2534a728b2f03 through SCP
Fri Jul 26 06:14:43 2013 [ImM][I]: ExitCode: 1
Fri Jul 26 06:14:43 2013 [ImM][E]: Error copying image in the datastore: Error 
copying /var/lib/one/tmp/fbf51b0fc2f8939dc7d2534a7
28b2f03 to /vmfs/volumes/103/fbf51b0fc2f8939dc7d2534a728b2f03 through SCP

At that point it looks like the SCP is expecting the temporary location

Re: [one-users] files datastore

2013-07-26 Thread Michael Curran
One resolved (in a workaround) -- another one shows up --

Fri Jul 26 09:47:12 2013 [TM][I]: Command execution fail: 
/var/lib/one/remotes/tm/vmfs/context /var/lib/one/vms/51/context.sh 
:'one-context.ps' :'README.txt' :'SetupComplet.cmd' :'startup.vbs' 
:'windows.one' 192.168.250.34:/vmfs/volumes/0/51/disk.1 51 0
Fri Jul 26 09:47:12 2013 [TM][I]: context: Generating context block device at 
192.168.250.34:/vmfs/volumes/0/51/disk.1
Fri Jul 26 09:47:12 2013 [TM][E]: context: Command cp -R  
/var/lib/one/datastores/.isofiles/51/'one-context.ps' failed: cp: missing 
destination file operand after 
`/var/lib/one/datastores/.isofiles/51/one-context.ps'
Fri Jul 26 09:47:12 2013 [TM][I]: Try `cp --help' for more information.
Fri Jul 26 09:47:12 2013 [TM][E]: Error copying  to 
/var/lib/one/datastores/.isofiles/51
Fri Jul 26 09:47:12 2013 [TM][I]: ExitCode: 255


So looking at these errors -- the context error relates to the fact that it is 
trying to generate the context block device from the 
/var/lib/one/datastores/.isofiles

All of my files reside on the /vmfs/volumes/103 filestore DS and my template 
calls them out like this 

  FILES=/vmfs/volumes/103/23cd05f1a8455f9aa414ec963a97aaff/startup.vbs 
/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb73a41/one-context.ps1 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/README.txt 
/vmfs/volumes/103/1f9e29f457450fb983877faf25406cf3/SetupComplete.cmd 
/vmfs/voluems/103/fbf51b0fc2f8939dc7d2534a728b2f03/windows.one

The initial PROLOG copy completes normally, then I get the fails above -- and 
the /var/lib/one/datastores/.isofiles directory is empty -- presumably because 
all my actual used datastores are on /vmfs/volumes/ -- shouldn't the .isofiles 
directory exist there?

The Windows image which shows up as disk.0 , is there as expected
The context CDROM fails to build, because its trying to pull the context.sh 
from an empty directory


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:tinov...@gmail.com] 
Sent: Friday, July 26, 2013 11:00 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] files datastore

Hi Michael,

That is indeed a bug. The VMFS drivers cannot cope with the files datastore, 
they always assume it is a VMware vmdk disk.

I've opened a ticket [1] to keep track of the solution.

Thanks for the great feedback!

-Tino

[1] http://dev.opennebula.org/issues/2230
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.OpenNebula.org | @tinova79  | 
es.linkedin.com/in/tinova


On Fri, Jul 26, 2013 at 4:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I get the same error when I upload a file image with the oneimage CLI 
 command - the issue is the SCP command for a file should look more 
 like this



 oneadmin@u-cmh-neb-dev01:~/tmp$ scp
 /var/lib/one/tmp/6564273ad2c2154a3af6c2ccfcb73a41
 oneadmin@192.168.250.34:/vmfs/volumes/103/6564273ad2c2154a3af6c2ccfcb7
 3a41/one-context.ps

 6564273ad2c2154a3af6c2ccfcb73a41
 100% 4866 4.8KB/s   00:00



 It should take the tmp file name and SCP it to the filestore and 
 rename the file to the original name of one-context.ps - instead the 
 command expects the tempname to be a directory



 This wouldn't be a problem if the during the creation of the temp name 
 , it created a directory with a file in the temp name location, but 
 the copy to the temp location is copying the file as the temp name. 
 Then it cannot upload it to the VMFS datastore - because a directory 
 is expected



 I can work around this by running the SCP command manually as shown 
 above, but then the images created by the oneimage create CLI stay in 
 an ERR state, they don't show ready or used



 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com



 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Friday, July 26, 2013 9:35 AM
 To: users@lists.opennebula.org
 Subject: [one-users] files datastore



 I am uploading some files to a files datastore I have for use with 
 creating the context.sh for windows automation -



 When I go to the Files and Kernels tab and do a create



 I enter the name of the file I am uploading - change it to type 
 Context and the to the Files datastore - provide a path on the one 
 node where I have the files and I get this error



 Fri Jul 26 06:14:43 2013 [ImM][I]: Command execution fail:
 /var/lib/one/remotes/datastore/vmfs/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT4

 8SU1BR0U+PElEPjQwPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+d2lu

 ZG93cy5vbmU8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VP

 jA8L0dST1VQX1U+PEdST1VQX00

Re: [one-users] Datastores

2013-07-25 Thread Michael Curran
What does the monitor command look like from the CLI ? My logs only show 
successful response, not what it ran to check

But your right, if I do a list on the datastores - my system/images sore zero 
or nothing...so that's my issue

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Michael Curran [michael.cur...@connectsolutions.com]
Received: Wednesday, 24 Jul 2013, 2:23pm
To: Ruben S. Montero [rsmont...@opennebula.org]
CC: users@lists.opennebula.org [users@lists.opennebula.org]
Subject: Re: [one-users] Datastores

Ive been on the datastores - I will check the monitor data since that makes the 
most sense - something must be amiss there

My test env has 2 1tb volumes with one image and 2 running VM's - neither is 
more than 2% used

So monitoring seems the likelier culprit - Ill investigate that piece.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Wednesday, July 24, 2013 1:04 PM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

This error is because of the space left in the datastore. Can you check that 
datastores are being monitor, and capacity data is get without errors? Are 
there any error or message relative to monitor datastores in oned.log? What is 
the size available/total shown in onedatastore show ?

Cheers

Ruben

On Wed, Jul 24, 2013 at 5:30 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


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



--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.orghttp://www.OpenNebula.org | 
rsmont...@opennebula.orgmailto:rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Datastores

2013-07-25 Thread Michael Curran
The problem exists because when I upgrade from 4.0.1 -- 4.1.80 it recreated 
the images datastore with a path of /var/lib/one/datastores/1 and since I am on 
vmfs - it should be /vmfs/volumes/1

Is there a way to modify that path? Or will I have to re-create the datastore 
in OpenNebula and then rename the datastore?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Thursday, July 25, 2013 9:06 AM
To: rsmont...@opennebula.org; Michael Curran
Cc: users@lists.opennebula.org
Subject: RE: [one-users] Datastores

What does the monitor command look like from the CLI ? My logs only show 
successful response, not what it ran to check

But your right, if I do a list on the datastores - my system/images sore zero 
or nothing...so that's my issue

Sent from my Android phone using TouchDown 
(www.nitrodesk.comhttp://www.nitrodesk.com)

-Original Message-
From: Michael Curran [michael.cur...@connectsolutions.com]
Received: Wednesday, 24 Jul 2013, 2:23pm
To: Ruben S. Montero [rsmont...@opennebula.org]
CC: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
[users@lists.opennebula.org]
Subject: Re: [one-users] Datastores
Ive been on the datastores - I will check the monitor data since that makes the 
most sense - something must be amiss there

My test env has 2 1tb volumes with one image and 2 running VM's - neither is 
more than 2% used

So monitoring seems the likelier culprit - Ill investigate that piece.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Wednesday, July 24, 2013 1:04 PM
To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

This error is because of the space left in the datastore. Can you check that 
datastores are being monitor, and capacity data is get without errors? Are 
there any error or message relative to monitor datastores in oned.log? What is 
the size available/total shown in onedatastore show ?

Cheers

Ruben

On Wed, Jul 24, 2013 at 5:30 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


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



--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.orghttp://www.OpenNebula.org | 
rsmont...@opennebula.orgmailto:rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Datastores

2013-07-25 Thread Michael Curran
Okay - I re-created the images DS from the Sunstone GUI and when I uploaded an 
image it now captures the right size - bug report maybe? I'll find out tomorrow 
when I transfer this to our DC lab machines from our office labs on a clean 
build

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, July 25, 2013 11:26 AM
To: rsmont...@opennebula.org
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

The problem exists because when I upgrade from 4.0.1 -- 4.1.80 it recreated 
the images datastore with a path of /var/lib/one/datastores/1 and since I am on 
vmfs - it should be /vmfs/volumes/1

Is there a way to modify that path? Or will I have to re-create the datastore 
in OpenNebula and then rename the datastore?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Michael Curran
Sent: Thursday, July 25, 2013 9:06 AM
To: rsmont...@opennebula.orgmailto:rsmont...@opennebula.org; Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: RE: [one-users] Datastores

What does the monitor command look like from the CLI ? My logs only show 
successful response, not what it ran to check

But your right, if I do a list on the datastores - my system/images sore zero 
or nothing...so that's my issue

Sent from my Android phone using TouchDown 
(www.nitrodesk.comhttp://www.nitrodesk.com)

-Original Message-
From: Michael Curran [michael.cur...@connectsolutions.com]
Received: Wednesday, 24 Jul 2013, 2:23pm
To: Ruben S. Montero [rsmont...@opennebula.org]
CC: users@lists.opennebula.orgmailto:users@lists.opennebula.org 
[users@lists.opennebula.org]
Subject: Re: [one-users] Datastores
Ive been on the datastores - I will check the monitor data since that makes the 
most sense - something must be amiss there

My test env has 2 1tb volumes with one image and 2 running VM's - neither is 
more than 2% used

So monitoring seems the likelier culprit - Ill investigate that piece.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Wednesday, July 24, 2013 1:04 PM
To: Michael Curran
Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org
Subject: Re: [one-users] Datastores

This error is because of the space left in the datastore. Can you check that 
datastores are being monitor, and capacity data is get without errors? Are 
there any error or message relative to monitor datastores in oned.log? What is 
the size available/total shown in onedatastore show ?

Cheers

Ruben

On Wed, Jul 24, 2013 at 5:30 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


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



--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.orghttp://www.OpenNebula.org | 
rsmont...@opennebula.orgmailto:rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Datastores

2013-07-24 Thread Michael Curran
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] Datastores

2013-07-24 Thread Michael Curran
Ive been on the datastores - I will check the monitor data since that makes the 
most sense - something must be amiss there

My test env has 2 1tb volumes with one image and 2 running VM's - neither is 
more than 2% used

So monitoring seems the likelier culprit - Ill investigate that piece.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

From: Ruben S. Montero [mailto:rsmont...@opennebula.org]
Sent: Wednesday, July 24, 2013 1:04 PM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastores

This error is because of the space left in the datastore. Can you check that 
datastores are being monitor, and capacity data is get without errors? Are 
there any error or message relative to monitor datastores in oned.log? What is 
the size available/total shown in onedatastore show ?

Cheers

Ruben

On Wed, Jul 24, 2013 at 5:30 PM, Michael Curran 
michael.cur...@connectsolutions.commailto:michael.cur...@connectsolutions.com
 wrote:
Can the images DS and the filestore DS be the same physical volume? Or must 
they be 2 separate volumes?

When I try to upload files to the images DS - I get

Req:752 UID:0 ImageAllocate result FAILURE Not enough space in datastore

I also tested images files - and I get the same error

I logged into the ESX host and made my way to the images datastore in 
/vmfs/volumes/1 - and as oneadmin (ssh , no passwd) I am able to create and 
remove files within the datastore itself

p.s. - commands also fail the same way via CLI and oneimage command

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com


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



--
--
Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.orghttp://www.OpenNebula.org | 
rsmont...@opennebula.orgmailto:rsmont...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Contextualization

2013-07-23 Thread Michael Curran
Is there a list of variables that can be contextualized during a VM's creation?

Can I pull them from the VM that I build - or do they only come from the 
template variables you see during oneimage update?

I want to set the windows hostname (using IEETM's page)  to be the same as the 
NAME variable within the onevm list id for the vm , is that possible?

I know they have a template with CONTEXT settings for HOSTNAME = name-$VMID

Is there a $VMNAME ??

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | 
www.connectsolutions.comhttp://www.connectsolutions.com

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


Re: [one-users] sunstone uploads

2013-07-23 Thread Michael Curran
So -- after creation of the VM -- I have this information in the onevm list 

oneadmin@u-cmh-neb-dev01:~$ onevm show 45
VIRTUAL MACHINE 45 INFORMATION
ID  : 45
NAME: u-cmh-dev-win34
USER: oneadmin
GROUP   : oneadmin
STATE   : ACTIVE
LCM_STATE   : RUNNING
RESCHED : No
HOST: 192.168.250.34
START TIME  : 07/22 08:51:58
END TIME: -
DEPLOY ID   : one-45

Where does $VMID get defined? Does it relate to ID in the list above? If so, 
can I then use $VMNAME to relate to NAME above? 

I need the NAME in this output to be the one that contextualization uses -- 
this is a dev name for my testing, and each name we create will be related to 
specific accounts and purposes 

To automate this process, I need to be able to pull that name into the the 
Context settings -- if that's not possible,  I need to find a separate way to 
make it work

And then I will be adding a feature request :)

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Tuesday, July 23, 2013 9:52 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

$NAME refers to the name of the VM. if you have defined explicitly a name in 
the VM template

NAME=MyVM

then $NAME would resolve to MyVM. If not, it will resolve to one-vid.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Mon, Jul 22, 2013 at 7:43 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Now that the below is resolved -- Im looking at IEETA windows 
 instructions

 Where it says hostname= $NAME  -- does that variable in context refer the 
 VMID or the name created by sunstone?

 CONTEXT = [
 hostname = $NAME,
 ip_public = $NIC[IP, NETWORK=\Public\], username = virtualuser 
 files = /vms_configuration/id_rsa.pub /vms_configuration/init.sh
 ]

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Monday, July 22, 2013 12:24 PM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Okay -- figured it out -- only these needed to be updated within the 
 template for the NIC to come online

 Add
 MODEL=e1000 to the NIC section

 Add
 RAW=[
   DATA_VMX=vmci0.present = \TRUE\\n,
   TYPE=vmware ]

 All good now (hope these are options in the 4.4 release -- let me know I 
 should be filing a features request for either.

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Michael Curran
 Sent: Monday, July 22, 2013 12:09 PM
 To: Michael Curran; Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: RE: [one-users] sunstone uploads

 I think I might have nailed down the issue -- but I want to test it in 
 a few iterations

 ethernet0.virtualDev=e1000 is not being set with the network -- possible 
 feature request for Sunstone network options?

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org 
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Monday, July 22, 2013 11:18 AM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Okay -- more comments myself --

 The pcibridge does get the following settings on creation

 pciBridge${i}.present = TRUE
 pciBridge${i}.pciSlotNumber = XX

 However this is NOT created with it

 pciBridge${i}.virtualDev = pcieRootPort is not created

 I will add the virtualDev and the vmci0.present as RAW data and see if 
 that resolves the issues


 Michael Curran | connectsolutions | Lead

Re: [one-users] Contextualization

2013-07-23 Thread Michael Curran
I did -- but that does not list all possible variables that can be pulled -- 
its general

It doesn't state that I can pull exclusively from onetemplate -- or if I can 
find variables in oneimage/onevm/onevnet

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Tuesday, July 23, 2013 9:53 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Contextualization

Hi Michael,

Did you take a look at
http://opennebula.org/documentation:rel4.2:template#context_section ?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Tue, Jul 23, 2013 at 3:32 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Is there a list of variables that can be contextualized during a VM's 
 creation?



 Can I pull them from the VM that I build - or do they only come from 
 the template variables you see during oneimage update?



 I want to set the windows hostname (using IEETM's page)  to be the 
 same as the NAME variable within the onevm list id for the vm , is that 
 possible?



 I know they have a template with CONTEXT settings for HOSTNAME = 
 name-$VMID



 Is there a $VMNAME ??



 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com




 ___
 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] sunstone uploads

2013-07-23 Thread Michael Curran
Searching further in the onevm show 45 I find this section

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS=CLUSTER_ID = 100
CONTEXT=[
  DISK_ID=1,
  ETH0_DNS=192.168.250.26,
  ETH0_GATEWAY=192.168.250.254,
  ETH0_IP=192.168.251.3,
  ETH0_MASK=255.255.255.0,
  ETH0_NETWORK=192.168.251.0,
  NETWORK=YES,
  TARGET=hdb ]
CPU=1
FEATURES=[
  PCIBRIDGE=8 ]
MEMORY=512
OS=[
  GUESTOS=windows7_64Guest ]
RAW=[
  DATA_VMX=pciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
\8\\npciBridge5.virtualDev = \pcieRootPort\\npciBridge5.functions = 
\8\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
\8\\npciBridge7.virtualDev = \pcieRootPort\\npciBridge7.functions = 
\8\\nvmci0.present = \TRUE\\n,
  TYPE=vmware ]
TEMPLATE_ID=11
VMID=45

I see VMID liste at the bottom -- which is used in the IEETM CONTEXT for their 
template --  but VMID doesn't exist in the onetemplate showing -- so does that 
mean it pulls only from the VIRTUAL MACHINE TEMPLATE section of onevm show ID 
? I cant use data from above that line?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Tuesday, July 23, 2013 10:15 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

So -- after creation of the VM -- I have this information in the onevm list 

oneadmin@u-cmh-neb-dev01:~$ onevm show 45 VIRTUAL MACHINE 45 INFORMATION
ID  : 45
NAME: u-cmh-dev-win34
USER: oneadmin
GROUP   : oneadmin
STATE   : ACTIVE
LCM_STATE   : RUNNING
RESCHED : No
HOST: 192.168.250.34
START TIME  : 07/22 08:51:58
END TIME: -
DEPLOY ID   : one-45

Where does $VMID get defined? Does it relate to ID in the list above? If so, 
can I then use $VMNAME to relate to NAME above? 

I need the NAME in this output to be the one that contextualization uses -- 
this is a dev name for my testing, and each name we create will be related to 
specific accounts and purposes 

To automate this process, I need to be able to pull that name into the the 
Context settings -- if that's not possible,  I need to find a separate way to 
make it work

And then I will be adding a feature request :)

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Tuesday, July 23, 2013 9:52 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

$NAME refers to the name of the VM. if you have defined explicitly a name in 
the VM template

NAME=MyVM

then $NAME would resolve to MyVM. If not, it will resolve to one-vid.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Mon, Jul 22, 2013 at 7:43 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Now that the below is resolved -- Im looking at IEETA windows 
 instructions

 Where it says hostname= $NAME  -- does that variable in context refer the 
 VMID or the name created by sunstone?

 CONTEXT = [
 hostname = $NAME,
 ip_public = $NIC[IP, NETWORK=\Public\], username = virtualuser 
 files = /vms_configuration/id_rsa.pub /vms_configuration/init.sh
 ]

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Monday, July 22, 2013 12:24 PM
 To: Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Okay -- figured it out -- only these needed to be updated within the 
 template for the NIC to come online

 Add
 MODEL=e1000 to the NIC section

 Add
 RAW=[
   DATA_VMX=vmci0.present = \TRUE\\n,
   TYPE=vmware ]

 All good now (hope these are options

[one-users] 4.1.80: top pid limit exceeded with more than 20 virtual machines on one node

2013-07-22 Thread Michael Kutzner
Hi,

The method of getting the cpu usage of the VMs on the nodes
is problematic with more than 20 VMs on a node as top is called with the list 
of pids of the 
VMs. Unfortunately, the standard system top (in this case Ubuntu 12.04LTS) is 
limited to 20
pids - so the call throws an error when more than 20 pids are given.
This leads to an error state of the node.

I solved it by replacing the system top with our own version (setting
MONPIDMAX in top.h of package procpcs - Ubuntu 12.04LTS) - but there must be
a better way (which I did not find this morning due to limited time).

Is this issue already known? I did not find any bug report by now.

Versions: Ubuntu 12.04LTS, OpenNebula 4.1.80

Best, Michael

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


Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
So -- then I should look at the drop-down menu for pcibridge as

0 is disabled
1-10 really equals 0-9 in the VM?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Monday, July 22, 2013 9:08 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
pcibrdige (0) present in the VM.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Fri, Jul 19, 2013 at 4:15 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 The template has this  -- I don't see the PCI bridge in the vmx file -- so I 
 don't have a network card in the VM.

 TEMPLATE 10 INFORMATION
 ID : 10
 NAME   : Window Test2
 USER   : oneadmin
 GROUP  : oneadmin
 REGISTER TIME  : 07/19 04:44:55

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

 TEMPLATE CONTENTS
 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1
 DISK=[
   IMAGE_ID=13 ]
 FEATURES=[
   PCIBRIDGE=0 ]
 MEMORY=2048
 NIC=[
   NETWORK_ID=1 ]
 OS=[
   GUESTOS=windows7_64Guest ]
 REQUIREMENTS=ID=\10\ | ID=\11\
 oneadmin@u-cmh-neb-dev01:/var/log/one$



 The vmx file for the VM I stood up from this template

 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0 # cat one-40.vmx
 .encoding = UTF-8
 config.version = 8
 virtualHW.version = 8
 guestOS = windows7-64
 uuid.bios = 78 96 ab f7 68 f6 42 14-8b 73 77 12 1d cc 6b 2a
 displayName = one-40
 memsize = 2048
 numvcpus = 1
 ide0:0.present = true
 ide0:0.deviceType = disk
 ide0:0.fileName = 
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0/disk.vmdk
 ide0:1.present = true
 ide0:1.deviceType = cdrom-image
 ide0:1.fileName = 
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.1.iso
 ethernet0.present = true
 ethernet0.networkName = VM Network
 ethernet0.connectionType = bridged
 ethernet0.addressType = static
 ethernet0.address = 02:00:c0:a8:fb:02
 ethernet0.checkMACAddress = false
 extendedConfigFile = one-40.vmxf
 virtualHW.productCompatibility = hosted
 floppy0.present = FALSE
 floppy1.present = FALSE
 ethernet0.pciSlotNumber = -1
 svga.vramSize = 8388608
 tools.syncTime = FALSE
 uuid.location = 56 4d 77 a2 cf 06 df f1-1f f5 e1 6f 77 d0 06 1e
 vc.uuid = 50 26 c2 0c 59 b7 bd 5f-11 bd d9 14 e6 95 f1 31
 cleanShutdown = TRUE
 replay.supported = TRUE
 unity.wasCapable = FALSE
 sched.swap.derivedName = 
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0/one-40-7a898853.vswp
 replay.filename = 
 ide0:0.redo = 
 tools.remindInstall = TRUE
 hostCPUID.0 = 000d756e65476c65746e49656e69
 hostCPUID.1 = 0001067a00040800040ce3bdbfebfbff
 hostCPUID.8001 = 000120100800
 guestCPUID.0 = 000d756e65476c65746e49656e69
 guestCPUID.1 = 0001067a00010800840822010fabfbff
 guestCPUID.8001 = 000120100800
 userCPUID.0 = 000d756e65476c65746e49656e69
 userCPUID.1 = 0001067a00040800040822010fabfbff
 userCPUID.8001 = 000120100800
 evcCompatibilityMode = FALSE
 vmotion.checkpointFBSize = 8388608
 softPowerOff = TRUE
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0 #


 Michael Curran | connectsolutions | Lead Network Architect
 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Michael Curran
 Sent: Friday, July 19, 2013 9:57 AM
 To: Michael Curran; Tino Vazquez
 Cc: users@lists.opennebula.org
 Subject: RE: [one-users] sunstone uploads

 Okay -- this is what I found

-- installed 1.9.1 (which for Ubuntu has the 1.9.3.0p installation)
-- removed 1.8 so that I only had the required ruby for rbvmomi
-- OpenNebula sunstone required me to have ruby1.8 on the system
-- had to re-install ruby1.8 , then re-install all the gems required for 
 Sunstone/OpenNebula
-- Was able to install rbvmomi after all of that

 I am now able to resume testing of building VM's with the new template that 
 uses the pciBridge

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
I see -- so based on these raw settings we added last time -- I should set 
pcibridge to at least 7 ??

RAW=[
  DATA_VMX=pciBridge0.present = \TRUE\\npciBridge4.present = 
\TRUE\\npciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
\8\\npciBridge5.present = \TRUE\\npciBridge5.virtualDev = 
\pcieRootPort\\npciBridge5.functions = \8\\npciBridge6.present = 
\TRUE\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
\8\\npciBridge7.present = \TRUE\\npciBridge7.virtualDev = 
\pcieRootPort\\npciBridge7.functions = \8\\nvmci0.present = 
\TRUE\\nguestOS=\windows7srv-64\,
  TYPE=vmware ]

What about vmci0.present? Is that still a RAW setting then?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Monday, July 22, 2013 9:44 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

0 means no pcibridge
1 means 1 pcibridge, with ID = 0 (ie pciBridge0.present=TRUE in the .vmx file)
2 means 2 pcibridges with ID = 0 and 1 (ie, both pciBridge0.present=TRUE and 
pciBridge1.present=TRUE in the .vmx file).
and so on...

Best,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Mon, Jul 22, 2013 at 3:39 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 So -- then I should look at the drop-down menu for pcibridge as

 0 is disabled
 1-10 really equals 0-9 in the VM?

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:08 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
 pcibrdige (0) present in the VM.

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Fri, Jul 19, 2013 at 4:15 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 The template has this  -- I don't see the PCI bridge in the vmx file -- so I 
 don't have a network card in the VM.

 TEMPLATE 10 INFORMATION
 ID : 10
 NAME   : Window Test2
 USER   : oneadmin
 GROUP  : oneadmin
 REGISTER TIME  : 07/19 04:44:55

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

 TEMPLATE CONTENTS
 CONTEXT=[
   NETWORK=YES,
   SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1
 DISK=[
   IMAGE_ID=13 ]
 FEATURES=[
   PCIBRIDGE=0 ]
 MEMORY=2048
 NIC=[
   NETWORK_ID=1 ]
 OS=[
   GUESTOS=windows7_64Guest ]
 REQUIREMENTS=ID=\10\ | ID=\11\
 oneadmin@u-cmh-neb-dev01:/var/log/one$



 The vmx file for the VM I stood up from this template

 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0 # cat 
 one-40.vmx .encoding = UTF-8
 config.version = 8
 virtualHW.version = 8
 guestOS = windows7-64
 uuid.bios = 78 96 ab f7 68 f6 42 14-8b 73 77 12 1d cc 6b 2a
 displayName = one-40
 memsize = 2048
 numvcpus = 1
 ide0:0.present = true
 ide0:0.deviceType = disk
 ide0:0.fileName = 
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0/disk.vmdk
 ide0:1.present = true
 ide0:1.deviceType = cdrom-image
 ide0:1.fileName = 
 /vmfs/volumes/51da424d-d8b7ccdb-e9bb

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
Okay -- more comments myself --

The pcibridge does get the following settings on creation

pciBridge${i}.present = TRUE 
pciBridge${i}.pciSlotNumber = XX

However this is NOT created with it

pciBridge${i}.virtualDev = pcieRootPort is not created

I will add the virtualDev and the vmci0.present as RAW data and see if that 
resolves the issues


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Monday, July 22, 2013 9:58 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

comments inline,

On Mon, Jul 22, 2013 at 3:53 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I see -- so based on these raw settings we added last time -- I should set 
 pcibridge to at least 7 ??

 RAW=[
   DATA_VMX=pciBridge0.present = \TRUE\\npciBridge4.present = 
 \TRUE\\npciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
 \8\\npciBridge5.present = \TRUE\\npciBridge5.virtualDev = 
 \pcieRootPort\\npciBridge5.functions = \8\\npciBridge6.present = 
 \TRUE\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
 \8\\npciBridge7.present = \TRUE\\npciBridge7.virtualDev = 
 \pcieRootPort\\npciBridge7.functions = \8\\nvmci0.present = 
 \TRUE\\nguestOS=\windows7srv-64\,
   TYPE=vmware ]

Yes


 What about vmci0.present? Is that still a RAW setting then?

For the moment, yes.


 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:44 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 0 means no pcibridge
 1 means 1 pcibridge, with ID = 0 (ie pciBridge0.present=TRUE in the 
 .vmx file)
 2 means 2 pcibridges with ID = 0 and 1 (ie, both pciBridge0.present=TRUE 
 and pciBridge1.present=TRUE in the .vmx file).
 and so on...

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Mon, Jul 22, 2013 at 3:39 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So -- then I should look at the drop-down menu for pcibridge as

 0 is disabled
 1-10 really equals 0-9 in the VM?

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:08 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
 pcibrdige (0) present in the VM.

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is 
 confidential and privileged, and is intended solely for the person and/or 
 entity to whom it is addressed (i.e. those identified in the To and cc 
 box). They are the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and 
 attachments and any copy from your system. C12G thanks you for your 
 cooperation.


 On Fri, Jul 19, 2013 at 4:15 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 The template has this  -- I don't see the PCI bridge in the vmx file -- so 
 I don't have a network card in the VM.

 TEMPLATE 10 INFORMATION
 ID : 10
 NAME   : Window Test2
 USER   : oneadmin
 GROUP  : oneadmin
 REGISTER TIME  : 07/19 04:44:55

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

 TEMPLATE CONTENTS

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
I think I might have nailed down the issue -- but I want to test it in a few 
iterations 

ethernet0.virtualDev=e1000 is not being set with the network -- possible 
feature request for Sunstone network options?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 22, 2013 11:18 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Okay -- more comments myself --

The pcibridge does get the following settings on creation

pciBridge${i}.present = TRUE 
pciBridge${i}.pciSlotNumber = XX

However this is NOT created with it

pciBridge${i}.virtualDev = pcieRootPort is not created

I will add the virtualDev and the vmci0.present as RAW data and see if that 
resolves the issues


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Monday, July 22, 2013 9:58 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

comments inline,

On Mon, Jul 22, 2013 at 3:53 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I see -- so based on these raw settings we added last time -- I should set 
 pcibridge to at least 7 ??

 RAW=[
   DATA_VMX=pciBridge0.present = \TRUE\\npciBridge4.present = 
 \TRUE\\npciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
 \8\\npciBridge5.present = \TRUE\\npciBridge5.virtualDev = 
 \pcieRootPort\\npciBridge5.functions = \8\\npciBridge6.present = 
 \TRUE\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
 \8\\npciBridge7.present = \TRUE\\npciBridge7.virtualDev = 
 \pcieRootPort\\npciBridge7.functions = \8\\nvmci0.present = 
 \TRUE\\nguestOS=\windows7srv-64\,
   TYPE=vmware ]

Yes


 What about vmci0.present? Is that still a RAW setting then?

For the moment, yes.


 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:44 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 0 means no pcibridge
 1 means 1 pcibridge, with ID = 0 (ie pciBridge0.present=TRUE in the 
 .vmx file)
 2 means 2 pcibridges with ID = 0 and 1 (ie, both pciBridge0.present=TRUE 
 and pciBridge1.present=TRUE in the .vmx file).
 and so on...

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Mon, Jul 22, 2013 at 3:39 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So -- then I should look at the drop-down menu for pcibridge as

 0 is disabled
 1-10 really equals 0-9 in the VM?

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:08 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
 pcibrdige (0) present in the VM.

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is 
 confidential and privileged, and is intended solely for the person and/or 
 entity to whom it is addressed (i.e. those identified in the To and cc 
 box). They are the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
Okay -- figured it out -- only these needed to be updated within the template 
for the NIC to come online

Add 
MODEL=e1000 to the NIC section

Add 
RAW=[
  DATA_VMX=vmci0.present = \TRUE\\n,
  TYPE=vmware ]

All good now (hope these are options in the 4.4 release -- let me know I should 
be filing a features request for either.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran 
Sent: Monday, July 22, 2013 12:09 PM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] sunstone uploads

I think I might have nailed down the issue -- but I want to test it in a few 
iterations 

ethernet0.virtualDev=e1000 is not being set with the network -- possible 
feature request for Sunstone network options?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 22, 2013 11:18 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Okay -- more comments myself --

The pcibridge does get the following settings on creation

pciBridge${i}.present = TRUE 
pciBridge${i}.pciSlotNumber = XX

However this is NOT created with it

pciBridge${i}.virtualDev = pcieRootPort is not created

I will add the virtualDev and the vmci0.present as RAW data and see if that 
resolves the issues


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Monday, July 22, 2013 9:58 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

comments inline,

On Mon, Jul 22, 2013 at 3:53 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I see -- so based on these raw settings we added last time -- I should set 
 pcibridge to at least 7 ??

 RAW=[
   DATA_VMX=pciBridge0.present = \TRUE\\npciBridge4.present = 
 \TRUE\\npciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
 \8\\npciBridge5.present = \TRUE\\npciBridge5.virtualDev = 
 \pcieRootPort\\npciBridge5.functions = \8\\npciBridge6.present = 
 \TRUE\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
 \8\\npciBridge7.present = \TRUE\\npciBridge7.virtualDev = 
 \pcieRootPort\\npciBridge7.functions = \8\\nvmci0.present = 
 \TRUE\\nguestOS=\windows7srv-64\,
   TYPE=vmware ]

Yes


 What about vmci0.present? Is that still a RAW setting then?

For the moment, yes.


 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:44 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 0 means no pcibridge
 1 means 1 pcibridge, with ID = 0 (ie pciBridge0.present=TRUE in the 
 .vmx file)
 2 means 2 pcibridges with ID = 0 and 1 (ie, both pciBridge0.present=TRUE 
 and pciBridge1.present=TRUE in the .vmx file).
 and so on...

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Mon, Jul 22, 2013 at 3:39 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 So -- then I should look at the drop-down menu for pcibridge as

 0 is disabled
 1-10 really equals 0-9 in the VM?

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:08 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
 pcibrdige (0) present in the VM.

 Regards,

 -Tino
 --
 Constantino Vázquez

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
Then I think something must still be wrong a little bit -- this is what I have 
in the template definition

TEMPLATE 11 INFORMATION
ID : 11
NAME   : Windows Test3
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 07/19 09:57:34

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

TEMPLATE CONTENTS
CONTEXT=[
  NETWORK=YES ]
CPU=1
DISK=[
  IMAGE_ID=13 ]
FEATURES=[
  PCIBRIDGE=7 ]
MEMORY=512
NIC=[
  NETWORK_ID=1 ]
OS=[
  GUESTOS=windows7_64Guest ]
REQUIREMENTS=ID=\10\
oneadmin@u-cmh-neb-dev01:~$

This is in the VMX file it creates -- note there is no PCIBRIDGE0 present, and 
there was one in the RAW data we added previously, from the vmware created VM 

I think that needs to be there for the other PCIBRIDGE settings to work -- will 
confirm

/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/42/disk.0 # cat one-42.vmx
.encoding = UTF-8
config.version = 8
virtualHW.version = 8
uuid.bios = bd ca ed 65 de 12 4c 5a-87 fc da 5e fe 8e 31 c8
displayName = one-42
memsize = 512
numvcpus = 1
ide0:0.present = true
ide0:0.deviceType = disk
ide0:0.fileName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/42/disk.0/disk.vmdk
ide0:1.present = true
ide0:1.deviceType = cdrom-image
ide0:1.fileName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/42/disk.1.iso
ethernet0.present = true
ethernet0.networkName = VM Network
ethernet0.connectionType = bridged
ethernet0.addressType = static
ethernet0.address = 02:00:c0:a8:fb:02
ethernet0.checkMACAddress = false
extendedConfigFile = one-42.vmxf
virtualHW.productCompatibility = hosted
pciBridge0.present = TRUE
floppy0.present = FALSE
floppy1.present = FALSE
pciBridge4.present = TRUE
pciBridge4.virtualDev = pcieRootPort
pciBridge4.functions = 8
pciBridge5.present = TRUE
pciBridge5.virtualDev = pcieRootPort
pciBridge5.functions = 8
pciBridge6.present = TRUE
pciBridge6.virtualDev = pcieRootPort
pciBridge6.functions = 8
pciBridge7.present = TRUE
pciBridge7.virtualDev = pcieRootPort
pciBridge7.functions = 8
vmci0.present = TRUE
guestOS=windows7srv-64
ethernet0.pciSlotNumber = 32
svga.vramSize = 8388608
vmci0.id = -24235576
vmci0.pciSlotNumber = 33
tools.syncTime = FALSE
uuid.location = 56 4d 4f 1c 52 f0 c5 72-63 d2 bc 55 61 6b eb 7f
vc.uuid = 50 26 e7 47 78 48 4f e6-5a 06 f4 e9 3a b9 49 ce
cleanShutdown = FALSE
replay.supported = TRUE
unity.wasCapable = TRUE
sched.swap.derivedName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/42/disk.0/one-42-530d3215.vswp
replay.filename = 
ide0:0.redo = 
pciBridge0.pciSlotNumber = 17
pciBridge4.pciSlotNumber = 21
pciBridge5.pciSlotNumber = 22
pciBridge6.pciSlotNumber = 23
pciBridge7.pciSlotNumber = 24
hostCPUID.0 = 000d756e65476c65746e49656e69
hostCPUID.1 = 0001067a00040800040ce3bdbfebfbff
hostCPUID.8001 = 000120100800
guestCPUID.0 = 000d756e65476c65746e49656e69
guestCPUID.1 = 0001067a00010800840822010fabfbff
guestCPUID.8001 = 000120100800
userCPUID.0 = 000d756e65476c65746e49656e69
userCPUID.1 = 0001067a00040800040822010fabfbff
userCPUID.8001 = 000120100800
evcCompatibilityMode = FALSE
vmotion.checkpointFBSize = 8388608
softPowerOff = FALSE
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/42/disk.0 #

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Monday, July 22, 2013 9:08 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

PCIBRIDGE=0 will disable the pcibridges. PCIBRDIGE=1 will get you the first 
pcibrdige (0) present in the VM.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Fri, Jul 19, 2013 at 4:15 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 The template has this  -- I don't see the PCI bridge in the vmx file -- so I 
 don't have a network card in the VM.

 TEMPLATE 10 INFORMATION
 ID : 10
 NAME   : Window Test2
 USER   : oneadmin
 GROUP  : oneadmin
 REGISTER TIME  : 07/19 04:44:55

 PERMISSIONS
 OWNER  : um-
 GROUP

Re: [one-users] sunstone uploads

2013-07-22 Thread Michael Curran
Now that the below is resolved -- Im looking at IEETA windows instructions 

Where it says hostname= $NAME  -- does that variable in context refer the 
VMID or the name created by sunstone?

CONTEXT = [
hostname = $NAME,
ip_public = $NIC[IP, NETWORK=\Public\],
username = virtualuser
files = /vms_configuration/id_rsa.pub /vms_configuration/init.sh
]

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 22, 2013 12:24 PM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Okay -- figured it out -- only these needed to be updated within the template 
for the NIC to come online

Add 
MODEL=e1000 to the NIC section

Add 
RAW=[
  DATA_VMX=vmci0.present = \TRUE\\n,
  TYPE=vmware ]

All good now (hope these are options in the 4.4 release -- let me know I should 
be filing a features request for either.

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran
Sent: Monday, July 22, 2013 12:09 PM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] sunstone uploads

I think I might have nailed down the issue -- but I want to test it in a few 
iterations 

ethernet0.virtualDev=e1000 is not being set with the network -- possible 
feature request for Sunstone network options?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Monday, July 22, 2013 11:18 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Okay -- more comments myself --

The pcibridge does get the following settings on creation

pciBridge${i}.present = TRUE 
pciBridge${i}.pciSlotNumber = XX

However this is NOT created with it

pciBridge${i}.virtualDev = pcieRootPort is not created

I will add the virtualDev and the vmci0.present as RAW data and see if that 
resolves the issues


Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Monday, July 22, 2013 9:58 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

comments inline,

On Mon, Jul 22, 2013 at 3:53 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I see -- so based on these raw settings we added last time -- I should set 
 pcibridge to at least 7 ??

 RAW=[
   DATA_VMX=pciBridge0.present = \TRUE\\npciBridge4.present = 
 \TRUE\\npciBridge4.virtualDev = \pcieRootPort\\npciBridge4.functions = 
 \8\\npciBridge5.present = \TRUE\\npciBridge5.virtualDev = 
 \pcieRootPort\\npciBridge5.functions = \8\\npciBridge6.present = 
 \TRUE\\npciBridge6.virtualDev = \pcieRootPort\\npciBridge6.functions = 
 \8\\npciBridge7.present = \TRUE\\npciBridge7.virtualDev = 
 \pcieRootPort\\npciBridge7.functions = \8\\nvmci0.present = 
 \TRUE\\nguestOS=\windows7srv-64\,
   TYPE=vmware ]

Yes


 What about vmci0.present? Is that still a RAW setting then?

For the moment, yes.


 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Monday, July 22, 2013 9:44 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 0 means no pcibridge
 1 means 1 pcibridge, with ID = 0 (ie pciBridge0.present=TRUE in the 
 .vmx file)
 2 means 2 pcibridges with ID = 0 and 1 (ie, both pciBridge0.present=TRUE 
 and pciBridge1.present=TRUE in the .vmx file).
 and so on...

 Best,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks

Re: [one-users] sunstone uploads

2013-07-19 Thread Michael Curran
Found it -- thanks!! Along with GuestOS naming -- excellent!!

 However after the upgrade I am getting lots of Ruby errors -- should I do a 
gem update as part of the 4.2 upgrade?

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 Command execution 
fail: /var/lib/one/remotes/vmm/vmware/poll one-34 192.168.250.34 34 
192.168.250.34

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require': no such file to lo
ad -- builder (LoadError)

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/trivial_soap.rb:3

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4:in `require'

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11:in `require'

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/var/lib/one/remotes/vmm/vmware/vi_driver.rb:40:in `require'

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/var/lib/one/remotes/vmm/vmware/vi_driver.rb:40

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/var/lib/one/remotes/vmm/vmware/poll:31:in `require'

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
/var/lib/one/remotes/vmm/vmware/poll:31

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 ExitCode: 1

Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: POLL FAILURE 34 -

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Friday, July 19, 2013 6:33 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

You can find it in Create VM Template - OS Booting - Features tab.

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Thu, Jul 18, 2013 at 10:44 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Cleared the cache when I got home - seeing the changes , although I am 
 not seeing the check box for pcibridge setup? Is that just assumed 
 within the new vmware drivers?



 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com



 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael 
 Curran
 Sent: Thursday, July 18, 2013 1:39 PM
 To: cvazq...@c12g.com


 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads



 It was a short test window, had to run to personal event. Will follow 
 to list this afternoon

 Sent from my Android phone using TouchDown (www.nitrodesk.com)

 -Original Message-
 From: Tino Vazquez [cvazq...@c12g.com]
 Received: Thursday, 18 Jul 2013, 1:37pm
 To: Michael Curran [michael.cur...@connectsolutions.com]
 CC: users@lists.opennebula.org [users@lists.opennebula.org]
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 Could it be a cache issue? Try using Chrome's incognito mode or 
 something similar.

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and 
 any accompanying documents, unless otherwise expressly indicated, is 
 confidential and privileged, and is intended solely for the person 
 and/or entity to whom it is addressed (i.e. those identified in the 
 To and cc box). They are the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure

Re: [one-users] sunstone uploads

2013-07-19 Thread Michael Curran
Looking around, I think its related to the fact that I am using Ubuntu 12.04 
and the default version of ruby is 1.8.7 which was fine for 4.0.1, but 4.2 and 
rbvmomi require =1.9.2

Upgrading the version now so I can install rbvmomi as wel

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Friday, July 19, 2013 8:32 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michae,

What OS are you using for the OpenNebula front-end?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Fri, Jul 19, 2013 at 2:18 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Found it -- thanks!! Along with GuestOS naming -- excellent!!

  However after the upgrade I am getting lots of Ruby errors -- should I do a 
 gem update as part of the 4.2 upgrade?

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 Command 
 execution fail: /var/lib/one/remotes/vmm/vmware/poll one-34 
 192.168.250.34 34 192.168.250.34

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
 `gem_original_require': no such file to lo ad -- builder (LoadError)

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/trivial_soap.rb:3

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/vi_driver.rb:40:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/vi_driver.rb:40

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/poll:31:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/poll:31

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 
 ExitCode: 1

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: POLL FAILURE 34 -

 Michael Curran | connectsolutions | Lead Network Architect Phone 
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Friday, July 19, 2013 6:33 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 You can find it in Create VM Template - OS Booting - Features tab.

 Regards,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
 es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Thu, Jul 18, 2013 at 10:44 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 Cleared the cache

Re: [one-users] sunstone uploads

2013-07-19 Thread Michael Curran
Okay -- this is what I found

   -- installed 1.9.1 (which for Ubuntu has the 1.9.3.0p installation) 
   -- removed 1.8 so that I only had the required ruby for rbvmomi
   -- OpenNebula sunstone required me to have ruby1.8 on the system
   -- had to re-install ruby1.8 , then re-install all the gems required for 
Sunstone/OpenNebula
   -- Was able to install rbvmomi after all of that 

I am now able to resume testing of building VM's with the new template that 
uses the pciBridge / guestos name from the template created within SunStone GUI 
and new selections.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 19, 2013 8:41 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Looking around, I think its related to the fact that I am using Ubuntu 12.04 
and the default version of ruby is 1.8.7 which was fine for 4.0.1, but 4.2 and 
rbvmomi require =1.9.2

Upgrading the version now so I can install rbvmomi as wel

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Friday, July 19, 2013 8:32 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michae,

What OS are you using for the OpenNebula front-end?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Fri, Jul 19, 2013 at 2:18 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Found it -- thanks!! Along with GuestOS naming -- excellent!!

  However after the upgrade I am getting lots of Ruby errors -- should I do a 
 gem update as part of the 4.2 upgrade?

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 Command 
 execution fail: /var/lib/one/remotes/vmm/vmware/poll one-34
 192.168.250.34 34 192.168.250.34

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
 `gem_original_require': no such file to lo ad -- builder (LoadError)

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/trivial_soap.rb:3

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi/connection.rb:4

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from
 /usr/lib/one/ruby/vendors/rbvmomi/lib/rbvmomi.rb:11

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/vi_driver.rb:40:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from
 /var/lib/one/remotes/vmm/vmware/vi_driver.rb:40

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from 
 /var/lib/one/remotes/vmm/vmware/poll:31:in `require'

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34 from
 /var/lib/one/remotes/vmm/vmware/poll:31

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: LOG I 34
 ExitCode: 1

 Fri Jul 19 05:16:30 2013 [VMM][D]: Message received: POLL FAILURE 34 -

 Michael Curran | connectsolutions | Lead Network Architect Phone
 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Friday, July 19, 2013 6:33 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 You can find it in Create VM Template - OS Booting - Features tab.

 Regards,

 -Tino

Re: [one-users] sunstone uploads

2013-07-19 Thread Michael Curran
The template has this  -- I don't see the PCI bridge in the vmx file -- so I 
don't have a network card in the VM.

TEMPLATE 10 INFORMATION
ID : 10
NAME   : Window Test2
USER   : oneadmin
GROUP  : oneadmin
REGISTER TIME  : 07/19 04:44:55

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

TEMPLATE CONTENTS
CONTEXT=[
  NETWORK=YES,
  SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ]
CPU=1
DISK=[
  IMAGE_ID=13 ]
FEATURES=[
  PCIBRIDGE=0 ]
MEMORY=2048
NIC=[
  NETWORK_ID=1 ]
OS=[
  GUESTOS=windows7_64Guest ]
REQUIREMENTS=ID=\10\ | ID=\11\
oneadmin@u-cmh-neb-dev01:/var/log/one$



The vmx file for the VM I stood up from this template

/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0 # cat one-40.vmx
.encoding = UTF-8
config.version = 8
virtualHW.version = 8
guestOS = windows7-64
uuid.bios = 78 96 ab f7 68 f6 42 14-8b 73 77 12 1d cc 6b 2a
displayName = one-40
memsize = 2048
numvcpus = 1
ide0:0.present = true
ide0:0.deviceType = disk
ide0:0.fileName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0/disk.vmdk
ide0:1.present = true
ide0:1.deviceType = cdrom-image
ide0:1.fileName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.1.iso
ethernet0.present = true
ethernet0.networkName = VM Network
ethernet0.connectionType = bridged
ethernet0.addressType = static
ethernet0.address = 02:00:c0:a8:fb:02
ethernet0.checkMACAddress = false
extendedConfigFile = one-40.vmxf
virtualHW.productCompatibility = hosted
floppy0.present = FALSE
floppy1.present = FALSE
ethernet0.pciSlotNumber = -1
svga.vramSize = 8388608
tools.syncTime = FALSE
uuid.location = 56 4d 77 a2 cf 06 df f1-1f f5 e1 6f 77 d0 06 1e
vc.uuid = 50 26 c2 0c 59 b7 bd 5f-11 bd d9 14 e6 95 f1 31
cleanShutdown = TRUE
replay.supported = TRUE
unity.wasCapable = FALSE
sched.swap.derivedName = 
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0/one-40-7a898853.vswp
replay.filename = 
ide0:0.redo = 
tools.remindInstall = TRUE
hostCPUID.0 = 000d756e65476c65746e49656e69
hostCPUID.1 = 0001067a00040800040ce3bdbfebfbff
hostCPUID.8001 = 000120100800
guestCPUID.0 = 000d756e65476c65746e49656e69
guestCPUID.1 = 0001067a00010800840822010fabfbff
guestCPUID.8001 = 000120100800
userCPUID.0 = 000d756e65476c65746e49656e69
userCPUID.1 = 0001067a00040800040822010fabfbff
userCPUID.8001 = 000120100800
evcCompatibilityMode = FALSE
vmotion.checkpointFBSize = 8388608
softPowerOff = TRUE
/vmfs/volumes/51da424d-d8b7ccdb-e9bb-00248188435a/40/disk.0 #


Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Michael Curran 
Sent: Friday, July 19, 2013 9:57 AM
To: Michael Curran; Tino Vazquez
Cc: users@lists.opennebula.org
Subject: RE: [one-users] sunstone uploads

Okay -- this is what I found

   -- installed 1.9.1 (which for Ubuntu has the 1.9.3.0p installation) 
   -- removed 1.8 so that I only had the required ruby for rbvmomi
   -- OpenNebula sunstone required me to have ruby1.8 on the system
   -- had to re-install ruby1.8 , then re-install all the gems required for 
Sunstone/OpenNebula
   -- Was able to install rbvmomi after all of that 

I am now able to resume testing of building VM's with the new template that 
uses the pciBridge / guestos name from the template created within SunStone GUI 
and new selections.

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Friday, July 19, 2013 8:41 AM
To: Tino Vazquez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Looking around, I think its related to the fact that I am using Ubuntu 12.04 
and the default version of ruby is 1.8.7 which was fine for 4.0.1, but 4.2 and 
rbvmomi require =1.9.2

Upgrading the version now so I can install rbvmomi as wel

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com]
Sent: Friday, July 19, 2013 8:32 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michae,

What OS are you using for the OpenNebula front-end?

Regards,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L

Re: [one-users] sunstone uploads

2013-07-18 Thread Michael Curran
Tino --

I should have been clearer , as this error occurs if I upload a tarball.gz or a 
file , through sunstone. 

I will test this from the CLI with oneimage and see if it's the same issue -- 
possible its limited to Sunstone. Also in my test env. I only have one golden 
VM and one image repository, I can use vmkfstools to re-clone the image from 
the ESXi host for now.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Thursday, July 18, 2013 7:39 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] sunstone uploads

Hi Michael,

Currently, there is no support to upload directories through Sunstone.
Alternatively, you can make a tarball (tar.gz) with a folder containing the 
vmdk you want to register, and register it through Sunstone. OpenNebula will 
automatically untar it in order to use it.

Hope it helps,

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Wed, Jul 17, 2013 at 3:00 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 I have sunstone set to upload files to /var/tmp (which is set to 1777, 
 as
 expected) however the uploaded directory does not appear to get 
 created



 Anyone have any ideas where to look within sunstone for what is taking 
 place during that process?



 There are no errors in the sunstone.error log and the upload command 
 looks complete in sunstone.log - just nothing created



 I confirmed that I can create files in /var/tmp as you would normally 
 expect - so its not a permissions issue at any level



 Currently working around by uploading the file to the ONE server and 
 specifying a path, which does work fine.



 Entries in Sunstone.log



 Wed Jul 17 05:27:28 2013 [I]: 192.168.99.145 - - [17/Jul/2013 
 05:27:28] POST 
 /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Windows+Im

 age+2%22%2C%22TYPE%22%3A%22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%2
 age+2ds_id%22%3A%221%22%7Dfile=disk.vmdkqqfile=disk.vmdk
 HTTP/1.1 2

 01 1033 5.4591



 Oned.log



 Wed Jul 17 05:27:22 2013 [ReM][D]: Req:8656 UID:0 ImageAllocate 
 invoked, PERSISTENT=NO..., 1

 Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: LOG I 3771 
 ExitCode: 0



 Wed Jul 17 05:27:23 2013 [ImM][I]: ExitCode: 0

 Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: STAT SUCCESS 3771 
 1



 Wed Jul 17 05:27:23 2013 [ImM][I]: Copying
 /var/tmp/sunstone-upload20130717-5022-zwbmhp-0 to repository for image 
 24

 Wed Jul 17 05:27:23 2013 [ReM][D]: Req:8656 UID:0 ImageAllocate result 
 SUCCESS, 24

 Wed Jul 17 05:27:23 2013 [ReM][D]: Req:9920 UID:0 ImageInfo invoked, 
 24

 Wed Jul 17 05:27:23 2013 [ReM][D]: Req:9920 UID:0 ImageInfo result 
 SUCCESS, IMAGEID24/IDU...

 Wed Jul 17 05:27:23 2013 [ReM][D]: Req:5184 UID:0 
 VirtualMachinePoolInfo invoked, -2, -1, -1, -1

 Wed Jul 17 05:27:23 2013 [ReM][D]: Req:5184 UID:0 
 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID26...

 Wed Jul 17 05:27:24 2013 [ReM][D]: Req:3984 UID:0 
 VirtualMachinePoolInfo invoked, -2, -1, -1, -1

 Wed Jul 17 05:27:24 2013 [ReM][D]: Req:3984 UID:0 
 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID26...

 Wed Jul 17 05:27:24 2013 [InM][E]: poll: Error executing: virsh -c 
 'esx://192.168.250.34/?no_verify=1auto_answer=1' --readonly dominfo 
 Name
 err: ExitCode: 1

 Wed Jul 17 05:27:24 2013 [InM][I]: out:

 Wed Jul 17 05:27:24 2013 [InM][I]: error: failed to get domain 'Name'

 Wed Jul 17 05:27:24 2013 [InM][I]: error: Domain not found: No domain 
 with name 'Name'

 Wed Jul 17 05:27:24 2013 [InM][I]:

 Wed Jul 17 05:27:24 2013 [InM][I]: ExitCode: 0

 Wed Jul 17 05:27:24 2013 [InM][D]: Host 192.168.250.34 (10) 
 successfully monitored.

 Wed Jul 17 05:27:24 2013 [VMM][I]: VM 26 successfully monitored: 
 STATE=a

 Wed Jul 17 05:27:24 2013 [VMM][I]: VM 32 successfully monitored: 
 STATE=a

 Wed Jul 17 05:27:24 2013 [ImG][D]: Message received: LOG I 24 Command 
 execution fail: /var/lib/one/remotes/datastore/vmfs/cp
 PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjI0PC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU

Re: [one-users] Datastore questions

2013-07-18 Thread Michael Curran
This is great news!!! 

Thanks for the information!! Will help the selling point on my side.

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: Tino Vazquez [mailto:cvazq...@c12g.com] 
Sent: Thursday, July 18, 2013 7:38 AM
To: Michael Curran
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Datastore questions

Hi Michael,

That is a very good question indeed ;) In fact, we had that feature (multiple 
system datastores [1]) scheduled for 4.2 (Flame), but we want to test it more 
thoroughly, so we delayed it for 4.4.

Best,

-Tino

[1] http://dev.opennebula.org/issues/1712
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.


On Tue, Jul 16, 2013 at 8:40 PM, Michael Curran 
michael.cur...@connectsolutions.com wrote:
 Hello -



 This is a generalized question about the system datastore and the 
 images datastore



 In OpenNebula - you store all your running VM's in the system 
 datastore , and images in the aptly named images datastore.  I am 
 using it on top of VMware, with SAN attached storage. In my test 
 environment for this it is not an issue, there will never be more 
 environments than I have room for in my system datastore



 Now the tricky part of this question - my current production 
 environment is made up of anywhere from 4 - 10 ESXi hosts in a VMware 
 cluster (depending on
 location) and I have no less than 30 LUNS attached as Datastores for 
 vmware - since it can see and use each of them individually on all 
 nodes in the cluster



 When the time comes to stand up my production Opennebula I will be 
 building it on top of the existing environment, but I will not be 
 destroying any current VM's - especially since VMware created VM's and 
 OpenNebula created VM's can co-exist on the same set of infrastructure



 Why has ON been limited to 1 system Datastore? Why can't it take 
 advantage of whatever storage is attached to the ESXi hosts and I 
 choose the DS it goes onto. Presently the way its built, I would have 
 to stand up one ON server per DS for VM's and share the same images DS 
 - that seems a bit cumbersome to manage and also a waste of resources. 
 Also if you outgrow your system datastore, you can just grow it once 
 created at a HW raid level - it has to be destroyed to be expanded - I 
 should just be able to add storage and take advantage of the extra datastores 
 for adding new VM's to run on.



 Am I just reading the documentation wrong?



 Michael Curran | connectsolutions | Lead Network Architect

 Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com




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

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


Re: [one-users] OpenNebula 4.2 Flame Beta (4.1.80) is Out!

2013-07-18 Thread Michael Curran
I did an inline upgrade -- just installed the new packages -- now get this when 
I try one start

oneadmin@u-cmh-neb-dev01:~$ one start
Database version mismatch.
oned failed to start
oneadmin@u-cmh-neb-dev01:~$

Is there a task that needs to be run to get the database upgraded for this? Or 
can I just modify the a setting somewhere that will allow the DB to match 
instead?

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Tino Vazquez
Sent: Thursday, July 18, 2013 7:33 AM
To: users
Subject: [one-users] OpenNebula 4.2 Flame Beta (4.1.80) is Out!

Dear Community,

This is the official announcement of OpenNebula 4.2 Flame Beta (4.1.80).  After 
the ground shaking release that was OpenNebula 4.0 Eagle, now its time to 
stabilise features in this next release, OpenNebula 4.2 Flame. The principal 
aim of this release is to strengthen the most demanded and useful features, 
reducing the complexity in order to better support the most used ones.

This release includes an important subset of the features originally planned 
for 4.2, all the missing features have been automatically rescheduled to 4.4. 
Our goal with this release is to reduce your waiting time to test some exciting 
new features that are currently ready!

OpenNebula Flame includes a more polished Sunstone interface, after its 
redesign in 4.0; with important usability enhancements. Datastore capacity is 
now monitored and used to limit the amount of storage size used by images. This 
is a first step to also control the runtime storage used by the VMs. The VMware 
backend has been completely redesigned with a more comprehensive storage 
scheme, more functionality and less dependencies. Also we have upgraded the Xen 
backend to support the new interfaces introduced in Xen 4.0. And last but no 
least, OneFlow, the multi-tier application (a.k.a. service) manager, it is 
included and fully integrated in the distribution. It includes also important 
new features related to service management and elasticity/auto-scaling.

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

As usual OpenNebula releases are named after a Nebula. The Flame Nebula 
(catalogued as NGC 2024 and Sh2-277) is an emission nebula in the constellation 
Orion. It is located about 900 to 1,500 light-years away from Earth.

Let Flame guide you through the Clouds!

The OpenNebula Team


LINKS

  * Complete Release Notes: http://opennebula.org/software:rnotes:rn-rel4.2beta
  * Download: http://downloads.opennebula.org/
  * Documentation: http://opennebula.org/documentation:rel4.2

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula 4.2 Flame Beta (4.1.80) is Out!

2013-07-18 Thread Michael Curran
I found the guides -- ignore this question

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael Curran
Sent: Thursday, July 18, 2013 10:18 AM
To: Tino Vazquez; users
Subject: Re: [one-users] OpenNebula 4.2 Flame Beta (4.1.80) is Out!

I did an inline upgrade -- just installed the new packages -- now get this when 
I try one start

oneadmin@u-cmh-neb-dev01:~$ one start
Database version mismatch.
oned failed to start
oneadmin@u-cmh-neb-dev01:~$

Is there a task that needs to be run to get the database upgraded for this? Or 
can I just modify the a setting somewhere that will allow the DB to match 
instead?

Michael Curran | connectsolutions | Lead Network Architect Phone 614.568.2285 | 
Mobile 614.403.6320 | www.connectsolutions.com

-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Tino Vazquez
Sent: Thursday, July 18, 2013 7:33 AM
To: users
Subject: [one-users] OpenNebula 4.2 Flame Beta (4.1.80) is Out!

Dear Community,

This is the official announcement of OpenNebula 4.2 Flame Beta (4.1.80).  After 
the ground shaking release that was OpenNebula 4.0 Eagle, now its time to 
stabilise features in this next release, OpenNebula 4.2 Flame. The principal 
aim of this release is to strengthen the most demanded and useful features, 
reducing the complexity in order to better support the most used ones.

This release includes an important subset of the features originally planned 
for 4.2, all the missing features have been automatically rescheduled to 4.4. 
Our goal with this release is to reduce your waiting time to test some exciting 
new features that are currently ready!

OpenNebula Flame includes a more polished Sunstone interface, after its 
redesign in 4.0; with important usability enhancements. Datastore capacity is 
now monitored and used to limit the amount of storage size used by images. This 
is a first step to also control the runtime storage used by the VMs. The VMware 
backend has been completely redesigned with a more comprehensive storage 
scheme, more functionality and less dependencies. Also we have upgraded the Xen 
backend to support the new interfaces introduced in Xen 4.0. And last but no 
least, OneFlow, the multi-tier application (a.k.a. service) manager, it is 
included and fully integrated in the distribution. It includes also important 
new features related to service management and elasticity/auto-scaling.

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

As usual OpenNebula releases are named after a Nebula. The Flame Nebula 
(catalogued as NGC 2024 and Sh2-277) is an emission nebula in the constellation 
Orion. It is located about 900 to 1,500 light-years away from Earth.

Let Flame guide you through the Clouds!

The OpenNebula Team


LINKS

  * Complete Release Notes: http://opennebula.org/software:rnotes:rn-rel4.2beta
  * Download: http://downloads.opennebula.org/
  * Documentation: http://opennebula.org/documentation:rel4.2

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | 
es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any 
accompanying documents, unless otherwise expressly indicated, is confidential 
and privileged, and is intended solely for the person and/or entity to whom it 
is addressed (i.e. those identified in the To and cc box). They are the 
property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this 
communication, or any part thereof, is strictly prohibited and may be unlawful. 
If you have received this e-mail in error, please notify us immediately by 
e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy 
from your system. C12G thanks you for your cooperation.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] sunstone uploads

2013-07-18 Thread Michael Curran
So far...the sunstone GUI has these issues

1. Create new image button, takes me to dashboard
2. Create new template, cannot click on any tabs, doesn't change display.

Have only tested on chrome, need to check Firefox/IE

Sent from my Android phone using TouchDown (www.nitrodesk.com)

-Original Message-
From: Tino Vazquez [cvazq...@c12g.com]
Received: Thursday, 18 Jul 2013, 12:58pm
To: Michael Curran [michael.cur...@connectsolutions.com]
CC: users@lists.opennebula.org [users@lists.opennebula.org]
Subject: Re: [one-users] sunstone uploads

Hi Michael,

Ok, I see ;) Let me know about your tests so I know if I need to focus
in Sunstone or in both Sunstone  CLI.

Cheers!

-Tino
--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.comhttp://www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and
any accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person
and/or entity to whom it is addressed (i.e. those identified in the
To and cc box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this
communication, or any part thereof, is strictly prohibited and may be
unlawful. If you have received this e-mail in error, please notify us
immediately by e-mail at ab...@c12g.com and delete the e-mail and
attachments and any copy from your system. C12G thanks you for your
cooperation.


On Thu, Jul 18, 2013 at 2:01 PM, Michael Curran
michael.cur...@connectsolutions.com wrote:
 Tino --

 I should have been clearer , as this error occurs if I upload a tarball.gz or 
 a file , through sunstone.

 I will test this from the CLI with oneimage and see if it's the same issue -- 
 possible its limited to Sunstone. Also in my test env. I only have one golden 
 VM and one image repository, I can use vmkfstools to re-clone the image from 
 the ESXi host for now.

 Michael Curran | connectsolutions | Lead Network Architect
 Phone 614.568.2285 | Mobile 614.403.6320 | 
 www.connectsolutions.comhttp://www.connectsolutions.com

 -Original Message-
 From: Tino Vazquez [mailto:cvazq...@c12g.com]
 Sent: Thursday, July 18, 2013 7:39 AM
 To: Michael Curran
 Cc: users@lists.opennebula.org
 Subject: Re: [one-users] sunstone uploads

 Hi Michael,

 Currently, there is no support to upload directories through Sunstone.
 Alternatively, you can make a tarball (tar.gz) with a folder containing the 
 vmdk you want to register, and register it through Sunstone. OpenNebula will 
 automatically untar it in order to use it.

 Hope it helps,

 -Tino
 --
 Constantino Vázquez Blanco, PhD, MSc
 Senior Infrastructure Architect at C12G Labs 
 www.c12g.comhttp://www.c12g.com | @C12G | es.linkedin.com/in/tinova

 --
 Confidentiality Warning: The information contained in this e-mail and any 
 accompanying documents, unless otherwise expressly indicated, is confidential 
 and privileged, and is intended solely for the person and/or entity to whom 
 it is addressed (i.e. those identified in the To and cc box). They are 
 the property of C12G Labs S.L..
 Unauthorized distribution, review, use, disclosure, or copying of this 
 communication, or any part thereof, is strictly prohibited and may be 
 unlawful. If you have received this e-mail in error, please notify us 
 immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments 
 and any copy from your system. C12G thanks you for your cooperation.


 On Wed, Jul 17, 2013 at 3:00 PM, Michael Curran 
 michael.cur...@connectsolutions.com wrote:
 I have sunstone set to upload files to /var/tmp (which is set to 1777,
 as
 expected) however the uploaded directory does not appear to get
 created



 Anyone have any ideas where to look within sunstone for what is taking
 place during that process?



 There are no errors in the sunstone.error log and the upload command
 looks complete in sunstone.log - just nothing created



 I confirmed that I can create files in /var/tmp as you would normally
 expect - so its not a permissions issue at any level



 Currently working around by uploading the file to the ONE server and
 specifying a path, which does work fine.



 Entries in Sunstone.log



 Wed Jul 17 05:27:28 2013 [I]: 192.168.99.145 - - [17/Jul/2013
 05:27:28] POST
 /upload?img=%7B%22image%22%3A%7B%22NAME%22%3A%22Windows+Im

 age+2%22%2C%22TYPE%22%3A%22OS%22%2C%22PERSISTENT%22%3A%22NO%22%7D%2C%2
 age+2ds_id%22%3A%221%22%7Dfile=disk.vmdkqqfile=disk.vmdk
 HTTP/1.1 2

 01 1033 5.4591



 Oned.log



 Wed Jul 17 05:27:22 2013 [ReM][D]: Req:8656 UID:0 ImageAllocate
 invoked, PERSISTENT=NO..., 1

 Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: LOG I 3771
 ExitCode: 0



 Wed Jul 17 05:27:23 2013 [ImM][I]: ExitCode: 0

 Wed Jul 17 05:27:23 2013 [ImG][D]: Message received: STAT SUCCESS 3771
 1



 Wed Jul 17 05:27:23 2013 [ImM][I]: Copying
 /var/tmp

  1   2   >