Re: [one-users] Multiple VLAN and Bridge

2014-09-11 Thread Stefan Kooman
Quoting Amier Anis (myma...@gmail.com):
> *Dear Team,*
> 
> What is the best configuration my network host to be setup

I would go with OpenvSwitch. It's easy to setup and you can do stuff
(vlan trunking) that is very difficult to set up the "traditional" way.
If at all possible, use different nic's to seperate "storage", "uplink"
and "management/migration" traffic. To add redundancy/capacity you can
use bonds (port channels). I can post some openvswitch setup commands if
you want.

Gr. Stefan


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


Re: [one-users] Problem with Virtual Router 4.8

2014-09-11 Thread Stefan Kooman
Quoting Hüning, Christian (christian.huen...@haw-hamburg.de):
> Hi folks,
> 
>  
> 
> I figured it out myself. It had to do with the automatically generated VLAN
> ids from OpenvSwitch and the VMs not being on the same physical host. As it
> seems my Cisco router would not allow these high(?) VLAN IDs. I tried
> setting the VLAN Id to “5” manually and it worked! 
> 
> A quick view into Ciscos manual showed that in “normal VLAN” mode VLAN Ids
> are only allowed to range between 1 and 1002. One can of course activate
> “Extended VLAN “ mode and then you may provide VLAN IDs between 1006 and
> 4094. Is there a possibility to set a range for the automatically generated
> vlan ids?

There's at least the possibility to configure with which vlan to start, config
file located in "../one/remotes/vnm/OpenNebulaNetwork.conf"


# General Options


# Configure the initial VLAN ID tag (corresponds to vnet ID = 0)
:start_vlan: 2

I just configure the VLAN_ID's in the vnet template (VLAN = "YES",
VLAN_ID = "VID") so you have control over which VLAN gets used.

Gr. Stefan

p.s. Don't forget to run "onehost sync --force" to update host configs

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


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


Re: [one-users] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-11 Thread Stefan Kooman
Quoting kerryhall . (kerryh...@gmail.com):
> It sounds like it's not really possible for a DHCP client to suggest an IP
> to the DHCP server.
> 
> I think I would like to make a feature request: easy DHCP integration.
> 
> Does my use case make sense? I can clarify further if needed.

Why do you want to manage IP's from the VM itself? If you want
predictable IP's for your VM's you can use static assignments in DHCP
servers. Just prefill an address range with MAC's for future VM's and
you're done. Just make sure that the VM gets the right IP in ONE (and
therefore the right MAC-address) and off you go. Together with MAC/ARP
spoofing protection [1] you can be assured that a VM is only able to use
the IP you've configured. Oh, and there already is an integration
possible, see [2]. If you really want to manage the DHCP server from the
VM itself there are more possibilities (discussed on this list some time
ago): [3], and [4,5] including examples. 

Gr. Stefan

[1]:
http://docs.opennebula.org/4.8/administration/networking/openvswitch.html#openflow-rules
[2]:
http://docs.opennebula.org/4.8/administration/networking/router.html
[3]:
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-May/044932.html
[4]: 
http://mperedim.wordpress.com/2011/02/17/opennebula-dhcpd-contextualization-magic/
[5]:
http://blog.nominet.org.uk/tech/2005/12/21/using-omapi-object-management-application-programming-interface/


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


Re: [one-users] Run bash script in vm on spin-up

2014-09-11 Thread kerryhall .
Hi Valentin,

I appreciate the help! I managed to create a new CONTEXT image, which
copied my test.sh to the datastore successfully, and I updated my template
to include those two lines you specified.

However, it looks like test.sh is not executing on vm spin up. Currently
all it does is "touch /root/test.tmp" to confirm execution. However when I
booted my vm, this file was not created. Also tried doing "useradd tmp" as
well, with no luck. test.sh has executable flag set for user, group, and
other. I also tried setting permissions of test.sh to 777, still no luck.

Thanks!!
Kerry




On Mon, Sep 8, 2014 at 11:27 PM, Valentin Bud 
wrote:

> Hello Kerry,
>
> Do you have a registered image of type CONTEXT with the name of `test.sh`
> in the files datastore?
>
> The file you specify in FILES_DS can be found in the contextualization
> CDROM
> on the VM (/dev/disk/by-label/CONTEXT).
>
> The following would run a `test.sh` script when the VM is spun up at the
> end
> of the contextualization routine [1].
>
> CONTEXT = [
>   FILES_DS="$FILE[IMAGE=\"test.sh\"]",
>   INIT_SCRIPTS="test.sh",
>   ...
> ]
>
> [1]:
> https://github.com/OpenNebula/addon-context-linux/blob/master/base/etc/one-context.d/99-execute-scripts
>
> Best,
> Valentin
>
>
> On Mon, Sep 8, 2014 at 11:09 PM, kerryhall .  wrote:
>
>> Thanks! I'm still having issues here unfortunately. I tried putting:
>>
>> FILES_DS="$FILE[IMAGE=\"test.sh\"]"
>>
>> into my template context section, but I get:
>>
>> "User 0 does not own an image with name: test.sh"
>>
>> I'm not trying to include an image, I just want test.sh (a file in my
>> file datastore) to get copied to anywhere on my vm's filesystem. (And
>> eventually, I want test.sh to get run on vm creation, or failing that,
>> every time the vm starts)
>>
>> Thanks!!
>>
>> On Fri, Jul 25, 2014 at 11:18 PM, Valentin Bud 
>> wrote:
>>
>>> Hello Kerry,
>>>
>>> Under "Defining Context" [1] there is an example how to use FILES_DS.
>>>
>>> FILES_DS="$FILE[IMAGE=\"test.sh\"]
>>>
>>> [1]: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html
>>>
>>> Best,
>>> Valentin
>>>
>>>
>>>
>>> On Fri, Jul 25, 2014 at 11:29 PM, kerryhall . 
>>> wrote:
>>>
 Hi folks,

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

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

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

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

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

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

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

 Thanks!
 Kerry


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


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


Re: [one-users] How to use onevnet addleases after upgraded to 4.8?

2014-09-11 Thread Liu, Guang Jun (Gene)
forget about my question, the help message and online man page explain 
everything. :)


From: Liu, Guang Jun (Gene)
Sent: Wednesday, September 10, 2014 8:38 PM
To: users@lists.opennebula.org
Subject: How to use onevnet addleases after upgraded to 4.8?

Hi there,

Anyone can share how to use onevnet in 4.8?

We were on 4.4.1 and used cli as below to add leases:
onevnet addleases   

After upgraded to the latest version (4.8). It's broken.
Per the help message and tried following 2 commands without success --
onevnet addar  --mac de:ad:0d:3c:1b:4c --ip 135.121.90.66 --size 1

onevnet addar  --mac de:ad:0d:3c:1b:4c --ip 135.121.90.66 --size 1

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


Re: [one-users] MySQL deadlock when trying to register a new vm image

2014-09-11 Thread Galimba
uppon closer examination, we figured out that the deadlocks were not
related to the image problem.
I was able to fix the uploading problem using this [1], but the random
deadlock issue persists. I tried to onedb fsck, backup it and restore it...
but it's all the same.



[1] ->
http://docs.opennebula.org/4.6/release_notes/release_notes/known_issues.html

On Thu, Sep 11, 2014 at 4:23 AM, Hamada, Ondrej 
wrote:

>  Hi,
>
>
>
> no workarounds so far. But my mysql db is using default options and also
> runs in a virtual machine – so I suspect it just needs some tweaking. I’m
> going to change few parameters during this week. I’ll post the results to
> mailing list if it works.
>
>
>
> Ondra
>
>
>
> *From:* Galimba [mailto:gali...@gmail.com]
> *Sent:* Wednesday, September 10, 2014 10:04 PM
> *To:* users@lists.opennebula.org; cmar...@opennebula.org; Hamada, Ondrej
> *Subject:* Re: MySQL deadlock when trying to register a new vm image
>
>
>
> I found this [1] mail and I believe the deadlock issue is the same I'm
> having.
>
> Any pointers on a workaround?
>
>
>
> Best regards
>
> galimba
>
>
> [1]
> http://lists.opennebula.org/pipermail/users-opennebula.org/2014-April/044546.html
>
>
>
> On Tue, Sep 9, 2014 at 5:53 PM, Galimba  wrote:
>
> Greetings!
>
> I've recently upgraded from v4.4 to 4.6. As part of the upgrade, we
> decided to create a new db using MySQL. The configurations ran smooth, all
> nodes and datastores are being monitored without issues but when I tried to
> upload a ttylinux image for testing, sunstone didn't show the image
> uploaded on the list. As if it wasn' t even there. I ran the  #oneimage
> list command, and there's no image there either. So I tried uploading
> again, while I checked the oned.log. I then tried to upload other images.
>
> I have OpenNebula front end installed on a host, several other nodes that
> are speciffic for running the VMs and a NAS with 20TB that holds the
> datastores. While I was uploading an ubuntu image (20GB), I checked the
> transmition rate on the network and I was supprised to see that the traffic
> between my desktop (where I was uploading from) and the frontend was very
> heavy, but the datastore was not recieving the image I was uploading.
>
> Interestingly, the log showed this error:
>
> Tue Sep  9 16:20:04 2014 [ONE][E]: SQL command was: REPLACE INTO
> datastore_pool (oid, name, body, uid, gid, owner_u, group_u, other_u, cid)
> VALUES
> (0,'system','000oneadminoneadminsystem1101010-1946161289568321',0,0,1,1,0,-1),
> error 1213 : Deadlock found when trying to get lock; try restarting
> transaction
>
> /***/
>
> I leave down here a copy of my oned.conf
>
>  /***/
>
> LOG = [
>   system  = "file",
>   debug_level = 3
> ]
> MONITORING_INTERVAL = 60
> MONITORING_THREADS  = 50
> SCRIPTS_REMOTE_DIR=/var/tmp/one
> PORT = 2633
> DB = [ backend = "mysql",
> server  = "localhost",
> port= 0,
> user= "oneadmin",
> passwd  = "__",
> db_name = "opennebula" ]
> VNC_BASE_PORT = 5900
> FEDERATION = [
> MODE = "STANDALONE",
> ZONE_ID = 0,
> MASTER_ONED = ""
> ]
> NETWORK_SIZE = 254
> MAC_PREFIX   = "02:00"
> DATASTORE_CAPACITY_CHECK = "yes"
> DEFAULT_IMAGE_TYPE= "OS"
> DEFAULT_DEVICE_PREFIX = "hd"
> DEFAULT_CDROM_DEVICE_PREFIX = "vd"
> IM_MAD = [
>   name   = "collectd",
>   executable = "collectd",
>   arguments  = "-p 4124 -f 5 -t 50 -i 20" ]
> IM_MAD = [
>   name   = "kvm",
>   executable = "one_im_ssh",
>   arguments  = "-r 3 -t 15 kvm" ]
> VM_MAD = [
> name   = "kvm",
> executable = "one_vmm_exec",
> arguments  = "-t 15 -r 0 kvm",
> default= "vmm_exec/vmm_exec_kvm.conf",
> type   = "kvm" ]
> TM_MAD = [
> executable = "one_tm",
> arguments = "-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph"
> ]
> DATASTORE_MAD = [
> executable = "one_datastore",
> arguments  = "-t 15 -d dummy,fs,vmfs,lvm,ceph"
> ]
> HM_MAD = [
> executable = "one_hm" ]
> AUTH_MAD = [
> executable = "one_auth_mad",
> authn = "ssh,x509,ldap,server_cipher,server_x509"
> ]
> SESSION_EXPIRATION_TIME = 900
> DEFAULT_UMASK = 177
> VM_RESTRICTED_ATTR = "CONTEXT/FILES"
> VM_RESTRICTED_ATTR = "NIC/MAC"
> VM_RESTRICTED_ATTR = "NIC/VLAN_ID"
> VM_RESTRICTED_ATTR = "NIC/BRIDGE"
> IMAGE_RESTRICTED_ATTR = "SOURCE"
> INHERIT_DATASTORE_ATTR  = "CEPH_HOST"
> INHERIT_DATASTORE_ATTR  = "CEPH_SECRET"
> INHERIT_DATASTORE_ATTR  = "CEPH_USER"
> INHERIT_DATASTORE_ATTR  = "RBD_FORMAT"
> INHERIT_DATASTORE_ATTR  = "GLUSTER_HOST"
> INHERIT_DATASTORE_ATTR  = "GLUSTER_VOLUME"
> INHERIT_VNET_ATTR   = "VLAN_TAGGED_ID"
> TM_MAD_CONF = [
> name = "dummy", ln_target = "NONE", clone_target = "SYSTEM", shared =
> "yes"
> ]
> TM_MAD_CONF = [
> name = "lvm", ln_target = "NONE", clone_target = "SELF", shared = "yes"
> ]
> TM_MAD_CONF = [
> n

Re: [one-users] unknown ethernet controller on windows imported image

2014-09-11 Thread Luca Uburti

Hi Tino
unfortunately I can't find vmware.log, I have only these files left over 
after the deployment fails:

[root@one-sandbox disk.0]# pwd
/var/lib/one/datastores/0/39/disk.0
[root@one-sandbox disk.0]# ll -h
total 12G
-rw--- 1 oneadmin oneadmin 21G Sep 11 16:13 disk-flat.vmdk
-rw--- 1 oneadmin oneadmin 639 Sep 11 16:13 disk.vmdk
-rw-r--r-- 1 oneadmin oneadmin   0 Sep 11 16:14 one-39.vmsd
-rw-r--r-- 1 oneadmin oneadmin 872 Sep 11 16:14 one-39.vmx
-rw-r--r-- 1 oneadmin oneadmin 261 Sep 11 16:14 one-39.vmxf




Il 11/09/2014 10:52, Tino Vazquez ha scritto:

Hi Luca,

Let's see if the vmware log gives us more information. After a 
unsuccessful deploy with the model E1000, please send us over the 
contents of the following file in the ESX host:


  /vmfs/volumes///disk.0/vmware.log

Best,

-Tino


--
OpenNebula - Flexible Enterprise Cloud Made Simple

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



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


On 10 September 2014 12:54, Luca Uburti > wrote:


Hello
I tried adding the model E1000 as you suggested, but now the Vm
fails to instantiate.
I tried specifying E1000, vmxnet3 and even Flexible as Model, but
they all give these errors,
The VM only deploys if I leave the Model field empty (but then I
have no connectivity)

I get these errors in the log:

Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
Command execution fail: /var/lib/one/remotes/vmm/vmware/deploy
'/var/lib/one/vms/38/deployment.0' '10.10.10.235' 38 10.10.10.235
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG D 38
deploy: Successfully defined domain one-38.
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38
deploy: Error executing: virsh -c
'esx://10.10.10.235/?no_verify=1&auto_answer=1
' start one-38
err: ExitCode: 1
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 out:
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
error: failed to get domain 'one-38'
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
error: Domain not found: No domain with name 'one-38'
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38
deploy: Error executing: virsh -c
'esx://10.10.10.235/?no_verify=1&auto_answer=1
' undefine one-38
err: ExitCode: 1
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 out:
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
error: failed to get domain 'one-38'
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
error: Domain not found: No domain with name 'one-38'
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38
deploy: Error executing: virsh -c
'esx://10.10.10.235/?no_verify=1&auto_answer=1
' undefine one-38
err: ExitCode: 1



Il 09/09/2014 15:06, Valentin Bud ha scritto:

Hello Luca,

I think you must add MODEL="E1000" to the NIC section of
the template. You can read about it in the documentation [1].


[1]:
http://docs.opennebula.org/4.8/user/references/template.html#network-section

Best,
Valentin


On Tue, Sep 9, 2014 at 3:46 PM, Luca Uburti mailto:lubu...@ricca-it.com>> wrote:

of course, here it is


  32
  0
  0
  oneadmin
  oneadmin
  123
  
1
1
0
0
0
0
0
0
0
  
1410266708
  3
  3
  0
  1410189882
  0
one-32
  742400
  3
  0
  0
  











Re: [one-users] Sunstone Cloud View seems broken (Users Digest, Vol 79, Issue 36)

2014-09-11 Thread Daniel Dehennin
Daniel Dehennin  writes:

> Rolandas Naujikas  writes:
>
>> Our users also confused about "Create" button. It should be invisible,
>> when no template is selected.
>>
>> Also there is impossible to select a template, that have RAW attribute
>> in it.
>
> I just create an issue[1] for this one.
>
> I was wondering since days why some template are working in cloud view
> and why other don't.

Should have checked the issue list[1], sorry for the noise.

Footnotes: 
[1]  http://dev.opennebula.org/issues/3154

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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


Re: [one-users] Sunstone Cloud View seems broken (Users Digest, Vol 79, Issue 36)

2014-09-11 Thread Daniel Dehennin
Rolandas Naujikas  writes:

> Our users also confused about "Create" button. It should be invisible,
> when no template is selected.
>
> Also there is impossible to select a template, that have RAW attribute
> in it.

I just create an issue[1] for this one.

I was wondering since days why some template are working in cloud view
and why other don't.

Regards.

Footnotes: 
[1]  http://dev.opennebula.org/issues/3184

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF


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


[one-users] Windows contextualization

2014-09-11 Thread Christoph Pleger
Hello,

(sorry, forgot to change the subject in my last message)

I want to setup a Windows VM. I found a description about how to
contextualize a Windows VM under
http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html,
but is there anywhere a complete example of a template with context for
Windows VMs? I neither know how network interfaces in Windows are named
(so do not know how _IP ist to be expanded), nor do I know the
correct format for the values of  _DNS and  _SEARCH_DOMAIN.

Regards
  Christoph



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


Re: [one-users] unknown ethernet controller on windows imported image

2014-09-11 Thread Tino Vazquez
Hi Luca,

Let's see if the vmware log gives us more information. After a unsuccessful
deploy with the model E1000, please send us over the contents of the
following file in the ESX host:

  /vmfs/volumes///disk.0/vmware.log

Best,

-Tino


--
OpenNebula - Flexible Enterprise Cloud Made Simple

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

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

On 10 September 2014 12:54, Luca Uburti  wrote:

>  Hello
> I tried adding the model E1000 as you suggested, but now the Vm fails to
> instantiate.
> I tried specifying E1000, vmxnet3 and even Flexible as Model, but they all
> give these errors,
> The VM only deploys if I leave the Model field empty (but then I have no
> connectivity)
>
> I get these errors in the log:
>
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 Command
> execution fail: /var/lib/one/remotes/vmm/vmware/deploy
> '/var/lib/one/vms/38/deployment.0' '10.10.10.235' 38 10.10.10.235
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG D 38 deploy:
> Successfully defined domain one-38.
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38 deploy:
> Error executing: virsh -c 'esx://10.10.10.235/?no_verify=1&auto_answer=1'
> start one-38 err: ExitCode: 1
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 out:
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 error:
> failed to get domain 'one-38'
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 error:
> Domain not found: No domain with name 'one-38'
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38 deploy:
> Error executing: virsh -c 'esx://10.10.10.235/?no_verify=1&auto_answer=1'
> undefine one-38 err: ExitCode: 1
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 out:
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 error:
> failed to get domain 'one-38'
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38 error:
> Domain not found: No domain with name 'one-38'
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG I 38
> Wed Sep 10 12:20:57 2014 [Z0][VMM][D]: Message received: LOG E 38 deploy:
> Error executing: virsh -c 'esx://10.10.10.235/?no_verify=1&auto_answer=1'
> undefine one-38 err: ExitCode: 1
>
>
>
> Il 09/09/2014 15:06, Valentin Bud ha scritto:
>
> Hello Luca,
>
>  I think you must add MODEL="E1000" to the NIC section of
> the template. You can read about it in the documentation [1].
>
>
>  [1]:
> http://docs.opennebula.org/4.8/user/references/template.html#network-section
>
>  Best,
> Valentin
>
>
> On Tue, Sep 9, 2014 at 3:46 PM, Luca Uburti  wrote:
>
>>  of course, here it is
>>
>> 
>>   32
>>   0
>>   0
>>   oneadmin
>>   oneadmin
>>   123
>>   
>> 1
>> 1
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>> 0
>>   
>>   1410266708
>>   3
>>   3
>>   0
>>   1410189882
>>   0
>>   one-32
>>   742400
>>   3
>>   0
>>   0
>>   
>> 
>> 
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>> 
>> 
>> 
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>
>> 
>>   
>>   
>>   
>> 
>> 
>>   
>>   
>>   
>> 
>> 
>> 
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>>   
>> 
>> 
>> 
>> 
>>   
>>   
>>   
>> 
>>   32
>>   0
>>   10.10.10.236
>>   4
>>   -1
>>   1410189893
>>   0
>>   vmware
>>   vmware
>>   vmfs
>>   /vmfs/volumes
>>   0
>>   1410189893
>>   1410190981
>>   1410190981
>>   0
>>   0
>>   0
>>   0
>>   0
>> 
>>   
>> 
>>
>>
>>
>> Il 09/09/2014 14:40, Tino Vazquez ha scritto:
>>
>>  Hi Luca,
>>
>>  I fail to see the model type in the deployment file, it should have
>> something like the following:
>>
>>  
>>
>>  
>>  
>>
>>  can you share the VM template ("onevm show -x ") as well?
>>
>>  Best,
>>
>>  -Tino
>>
>>
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>>

Re: [one-users] Sunstone Cloud View seems broken (Users Digest, Vol 79, Issue 36)

2014-09-11 Thread Daniel Molina
Hi,

That's a known issue and has been already fixed and will be included in the
next maintenance release. You can see the fix in the following patch:

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

Regarding the create button, I agree with you Rolandas it should be
disabled if no template is selected.

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

Cheers

On 11 September 2014 07:38, Shankhadeep Shome  wrote:

> Well, I cant even select a template, it highlights it when i hover the
> mouse over it but i cannot actually select anything.
>
> I get a...
>
> SyntaxError: JSON.parse: unterminated string at line 1 column 824 of the
> JSON data
>
> Using mozilla's built in browser console, definitely feels like a ui bug
> that popped up due to a new version.
>
> Shank
>
> On Thu, Sep 11, 2014 at 1:34 AM, Rolandas Naujikas <
> rolandas.nauji...@mif.vu.lt> wrote:
>
>> Our users also confused about "Create" button. It should be invisible,
>> when no template is selected.
>>
>> Also there is impossible to select a template, that have RAW attribute in
>> it.
>>
>> Regards,
>> Rolandas Naujikas
>>
>> On 2014.09.11 08:18, Shankhadeep Shome wrote:
>>
>>> I can't create a VM from within cloud view. Every time i press the create
>>> button it says
>>>
>>> "You must select at least a template configuration"
>>>
>>> Firefox Version 32
>>> Chrome Version 37.0.2062.120m
>>>
>>> This template works perfectly with any other view, seems like there is
>>> some
>>> gui issues with these browsers. Anybody else having this issue?
>>>
>>> [image: Inline image 1]
>>> -- next part --
>>> An HTML attachment was scrubbed...
>>> URL: <http://lists.opennebula.org/pipermail/users-opennebula.
>>> org/attachments/20140911/fa7aea3e/attachment.htm>
>>> -- next part --
>>> A non-text attachment was scrubbed...
>>> Name: image.png
>>> Type: image/png
>>> Size: 138982 bytes
>>> Desc: not available
>>> URL: <http://lists.opennebula.org/pipermail/users-opennebula.
>>> org/attachments/20140911/fa7aea3e/attachment.png>
>>>
>>>
>>>
>>>  ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
>  <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] Problems to delete image completely

2014-09-11 Thread Christoph Pleger
Hello,

I want to setup a Windows VM. I found a description about how to
contextualize a Windows VM under
http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html,
but is there anywhere a complete example of a template with context for
Windows VMs? I neither know how network interfaces in Windows are named
(so do not know how _IP ist to be expanded), nor do I know the
correct format for the values of  _DNS and  _SEARCH_DOMAIN.

Regards
  Christoph

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


Re: [one-users] MySQL deadlock when trying to register a new vm image

2014-09-11 Thread Hamada, Ondrej
Hi,

no workarounds so far. But my mysql db is using default options and also runs 
in a virtual machine – so I suspect it just needs some tweaking. I’m going to 
change few parameters during this week. I’ll post the results to mailing list 
if it works.

Ondra

From: Galimba [mailto:gali...@gmail.com]
Sent: Wednesday, September 10, 2014 10:04 PM
To: users@lists.opennebula.org; cmar...@opennebula.org; Hamada, Ondrej
Subject: Re: MySQL deadlock when trying to register a new vm image

I found this [1] mail and I believe the deadlock issue is the same I'm having.
Any pointers on a workaround?

Best regards
galimba

[1] 
http://lists.opennebula.org/pipermail/users-opennebula.org/2014-April/044546.html

On Tue, Sep 9, 2014 at 5:53 PM, Galimba 
mailto:gali...@gmail.com>> wrote:
Greetings!
I've recently upgraded from v4.4 to 4.6. As part of the upgrade, we decided to 
create a new db using MySQL. The configurations ran smooth, all nodes and 
datastores are being monitored without issues but when I tried to upload a 
ttylinux image for testing, sunstone didn't show the image uploaded on the 
list. As if it wasn' t even there. I ran the  #oneimage list command, and 
there's no image there either. So I tried uploading again, while I checked the 
oned.log. I then tried to upload other images.
I have OpenNebula front end installed on a host, several other nodes that are 
speciffic for running the VMs and a NAS with 20TB that holds the datastores. 
While I was uploading an ubuntu image (20GB), I checked the transmition rate on 
the network and I was supprised to see that the traffic between my desktop 
(where I was uploading from) and the frontend was very heavy, but the datastore 
was not recieving the image I was uploading.
Interestingly, the log showed this error:

Tue Sep  9 16:20:04 2014 [ONE][E]: SQL command was: REPLACE INTO datastore_pool 
(oid, name, body, uid, gid, owner_u, group_u, other_u, cid) VALUES 
(0,'system','000oneadminoneadminsystem1101010-1946161289568321',0,0,1,1,0,-1),
 error 1213 : Deadlock found when trying to get lock; try restarting transaction

/***/
I leave down here a copy of my oned.conf

/***/
LOG = [
  system  = "file",
  debug_level = 3
]
MONITORING_INTERVAL = 60
MONITORING_THREADS  = 50
SCRIPTS_REMOTE_DIR=/var/tmp/one
PORT = 2633
DB = [ backend = "mysql",
server  = "localhost",
port= 0,
user= "oneadmin",
passwd  = "__",
db_name = "opennebula" ]
VNC_BASE_PORT = 5900
FEDERATION = [
MODE = "STANDALONE",
ZONE_ID = 0,
MASTER_ONED = ""
]
NETWORK_SIZE = 254
MAC_PREFIX   = "02:00"
DATASTORE_CAPACITY_CHECK = "yes"
DEFAULT_IMAGE_TYPE= "OS"
DEFAULT_DEVICE_PREFIX = "hd"
DEFAULT_CDROM_DEVICE_PREFIX = "vd"
IM_MAD = [
  name   = "collectd",
  executable = "collectd",
  arguments  = "-p 4124 -f 5 -t 50 -i 20" ]
IM_MAD = [
  name   = "kvm",
  executable = "one_im_ssh",
  arguments  = "-r 3 -t 15 kvm" ]
VM_MAD = [
name   = "kvm",
executable = "one_vmm_exec",
arguments  = "-t 15 -r 0 kvm",
default= "vmm_exec/vmm_exec_kvm.conf",
type   = "kvm" ]
TM_MAD = [
executable = "one_tm",
arguments = "-t 15 -d dummy,lvm,shared,fs_lvm,qcow2,ssh,vmfs,ceph"
]
DATASTORE_MAD = [
executable = "one_datastore",
arguments  = "-t 15 -d dummy,fs,vmfs,lvm,ceph"
]
HM_MAD = [
executable = "one_hm" ]
AUTH_MAD = [
executable = "one_auth_mad",
authn = "ssh,x509,ldap,server_cipher,server_x509"
]
SESSION_EXPIRATION_TIME = 900
DEFAULT_UMASK = 177
VM_RESTRICTED_ATTR = "CONTEXT/FILES"
VM_RESTRICTED_ATTR = "NIC/MAC"
VM_RESTRICTED_ATTR = "NIC/VLAN_ID"
VM_RESTRICTED_ATTR = "NIC/BRIDGE"
IMAGE_RESTRICTED_ATTR = "SOURCE"
INHERIT_DATASTORE_ATTR  = "CEPH_HOST"
INHERIT_DATASTORE_ATTR  = "CEPH_SECRET"
INHERIT_DATASTORE_ATTR  = "CEPH_USER"
INHERIT_DATASTORE_ATTR  = "RBD_FORMAT"
INHERIT_DATASTORE_ATTR  = "GLUSTER_HOST"
INHERIT_DATASTORE_ATTR  = "GLUSTER_VOLUME"
INHERIT_VNET_ATTR   = "VLAN_TAGGED_ID"
TM_MAD_CONF = [
name = "dummy", ln_target = "NONE", clone_target = "SYSTEM", shared = "yes"
]
TM_MAD_CONF = [
name = "lvm", ln_target = "NONE", clone_target = "SELF", shared = "yes"
]
TM_MAD_CONF = [
name = "shared", ln_target = "NONE", clone_target = "SYSTEM", shared = "yes"
]
TM_MAD_CONF = [
name = "fs_lvm", ln_target = "SYSTEM", clone_target = "SYSTEM", shared="yes"
]
TM_MAD_CONF = [
name = "qcow2", ln_target = "NONE", clone_target = "SYSTEM", shared = "yes"
]
TM_MAD_CONF = [
name = "ssh", ln_target = "SYSTEM", clone_target = "SYSTEM", shared = "no"
]
TM_MAD_CONF = [
name = "vmfs", ln_target = "NONE", clone_target= "SYSTEM", shared = "yes"
]
TM_MAD_CONF = [
name = "ceph", ln_target = "NONE", clone_target = "SELF", shared = "yes"
]
/**/
best regards
galimba


--
[Image removed by s