Re: [one-users] Problems to connect OPenNebula/APPMarket

2014-08-21 Thread Daniel Molina
Could you try using those credentials with the appmarket command through
the CLI?

Cheers


On 20 August 2014 12:26, Rodrigo Fernandes rodrigoe...@gmail.com wrote:

 Hello Daniel,

 Yes, I define the user and password default on sunstone-appmarket.conf
 using the same user configured on
 /*etc/one/appmarket-server.conf*


 *Best Regards*
 Rodrigo Fernandes

 Em 20/08/2014, às 03:37, Daniel Molina dmol...@opennebula.org escreveu:

 Hi,

 Did you define any credentials in sunstone-appmarket.conf or in the user
 template?

 https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md#credentials

 Cheers


 On 20 August 2014 03:50, Rodrigo Fernandes rodrigoe...@gmail.com wrote:

 Hello All,





 I´m working to configure appmarket/worker 2.0.1 over Opennebula using a
 CentOS installation.

 I followed the setup using the documentation on
 https://github.com/OpenNebula/addon-appmarket/blob/master/doc/installation_and_configuration.md
 .

 When I try to access AppMarket on Opennebula menu I receive the error
 Can´t connect to Appmarket Server

 Looking for URL http://10.20.30.40:6242/appmarket the following error
 occurs:

 { message: User not authorized }

 Some one can help me to solve this issue?

 Regards,

 Rodrigo Fernandes



 ___
 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




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


[one-users] Can you tell me where they are location of the prompting message

2014-08-21 Thread clm_t...@hotmail.com
Hi , all

I want to translate the sunstone  lower right corner of  the prompting message, 
but do not know their storage location, such as: 
Update role: Wrong state SCALING ;
[VirtualMachineAction] Wrong state to perform action reboot ;
[ZoneAllocate] Error allocating a new zone. New Zones can only be created if 
OpenNebula is configured as a Federation Master. ;
[VirtualMachineAction] Wrong state to perform action undeploy-hard;

Can you tell me where they are location of the prompting message,Thanks.

Regards.
clm


clm_t...@hotmail.com

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


[one-users] CentOS 7 - KVM - OpenNebula 4.8 from Marketplace doesn't start

2014-08-21 Thread Pavel Tankov
Hello Users,

I have the following setup:

Physical host: CentOS 6.5 (64 bit, of course), KVM, all set up following the 
Quickstart Guide here: 
http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos_kvm.html
Opennebula 4.8.0

I got from the Marketplace the image named CentOS 7 - KVM - OpenNebula 4.8. 
Imported it and it and created the template automatically for me. I modified 
the template to add my ssl public key to be able to login as root, added a 
network and pretty much that was it. I tried to instantiate the template, but 
the VM keeps getting into the FAILED status.

Do you have any idea why it wouldn't start? Thanks in advance.

Here is the VM log:

 BEGIN LOG 
Wed Jul 30 18:00:53 2014 [DiM][I]: New VM state is ACTIVE.
Wed Jul 30 18:00:53 2014 [LCM][I]: New VM state is PROLOG.
Wed Jul 30 18:00:56 2014 [LCM][I]: New VM state is BOOT
Wed Jul 30 18:00:56 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/9/deployment.0
Wed Jul 30 18:00:56 2014 [VMM][I]: ExitCode: 0
Wed Jul 30 18:00:56 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute network driver 
operation: post.
Wed Jul 30 18:00:57 2014 [LCM][I]: New VM state is RUNNING
Thu Jul 31 14:03:18 2014 [LCM][I]: New VM state is SHUTDOWN
Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute virtualization driver 
operation: shutdown.
Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute network driver 
operation: clean.
Thu Jul 31 14:03:51 2014 [LCM][I]: New VM state is EPILOG
Thu Jul 31 14:03:51 2014 [DiM][I]: New VM state is DONE
Thu Aug 7 12:09:20 2014 [DiM][I]: New VM state is ACTIVE.
Thu Aug 7 12:09:20 2014 [LCM][I]: New VM state is PROLOG.
Thu Aug 7 12:09:21 2014 [LCM][I]: New VM state is BOOT
Thu Aug 7 12:09:21 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/9/deployment.0
Thu Aug 7 12:09:21 2014 [VMM][I]: ExitCode: 0
Thu Aug 7 12:09:21 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute network driver 
operation: post.
Thu Aug 7 12:09:22 2014 [LCM][I]: New VM state is RUNNING
Thu Aug 7 12:24:05 2014 [LCM][I]: New VM state is SHUTDOWN
Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute virtualization driver 
operation: shutdown.
Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute network driver 
operation: clean.
Thu Aug 7 12:24:15 2014 [LCM][I]: New VM state is EPILOG
Thu Aug 7 12:24:16 2014 [DiM][I]: New VM state is DONE
Tue Aug 19 16:03:52 2014 [DiM][I]: New VM state is ACTIVE.
Tue Aug 19 16:03:52 2014 [LCM][I]: New VM state is PROLOG.
Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is BOOT
Tue Aug 19 16:03:53 2014 [VMM][I]: Generating deployment file: 
/var/lib/one/vms/9/deployment.0
Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute virtualization driver 
operation: deploy.
Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
operation: post.
Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is RUNNING
Tue Aug 19 16:05:37 2014 [LCM][I]: New VM state is CLEANUP.
Tue Aug 19 16:05:37 2014 [DiM][I]: New VM state is DONE
Tue Aug 19 16:05:37 2014 [VMM][W]: Ignored: LOG I 9 Driver command for 9 
cancelled

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: failed to get domain 
'one-9'

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: Domain not found: no 
domain with matching name 'one-9'

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
virtualization driver operation: cancel.

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
network driver operation: clean.

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
transfer manager driver operation: tm_delete.

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
transfer manager driver operation: tm_delete.

Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
transfer manager driver 

Re: [one-users] Could not read from CDROM (code 0004)

2014-08-21 Thread Daniel Dehennin
IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru writes:

 Many thanks for the explanation.
 The problem really was that the VM tried to boot from the context CD.
 After forcing the bootable CD as hda, everything worked as expected.

Hello,

That's the reason we force TARGET=hda on all installation ISO, I just
can not have two of them used in the same template.

Could it be better to force CONTEXT to be last CDROM device?

Regards.
-- 
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] CentOS 7 - KVM - OpenNebula 4.8 from Marketplace doesn't start

2014-08-21 Thread Javier Fontan
We found a problem with the format of that image. It only works with
qemu = 1.10. We are going to convert it to a more compatible version
and reupload.

In case you have a machine with a newer qemu version you can use this
command to convert it:

$ qemu-img convert -f qcow2 -O qcow2 -o compat=0.10 orig_image dest_image

Sorry for the inconveniences.

On Thu, Aug 21, 2014 at 10:16 AM, Pavel Tankov
pavel.tan...@strategyobject.com wrote:
 Hello Users,

 I have the following setup:

 Physical host: CentOS 6.5 (64 bit, of course), KVM, all set up following the 
 Quickstart Guide here: 
 http://docs.opennebula.org/4.8/design_and_installation/quick_starts/qs_centos_kvm.html
 Opennebula 4.8.0

 I got from the Marketplace the image named CentOS 7 - KVM - OpenNebula 4.8. 
 Imported it and it and created the template automatically for me. I modified 
 the template to add my ssl public key to be able to login as root, added a 
 network and pretty much that was it. I tried to instantiate the template, but 
 the VM keeps getting into the FAILED status.

 Do you have any idea why it wouldn't start? Thanks in advance.

 Here is the VM log:

  BEGIN LOG 
 Wed Jul 30 18:00:53 2014 [DiM][I]: New VM state is ACTIVE.
 Wed Jul 30 18:00:53 2014 [LCM][I]: New VM state is PROLOG.
 Wed Jul 30 18:00:56 2014 [LCM][I]: New VM state is BOOT
 Wed Jul 30 18:00:56 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Wed Jul 30 18:00:56 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:56 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Wed Jul 30 18:00:57 2014 [VMM][I]: ExitCode: 0
 Wed Jul 30 18:00:57 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Wed Jul 30 18:00:57 2014 [LCM][I]: New VM state is RUNNING
 Thu Jul 31 14:03:18 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: shutdown.
 Thu Jul 31 14:03:51 2014 [VMM][I]: ExitCode: 0
 Thu Jul 31 14:03:51 2014 [VMM][I]: Successfully execute network driver 
 operation: clean.
 Thu Jul 31 14:03:51 2014 [LCM][I]: New VM state is EPILOG
 Thu Jul 31 14:03:51 2014 [DiM][I]: New VM state is DONE
 Thu Aug 7 12:09:20 2014 [DiM][I]: New VM state is ACTIVE.
 Thu Aug 7 12:09:20 2014 [LCM][I]: New VM state is PROLOG.
 Thu Aug 7 12:09:21 2014 [LCM][I]: New VM state is BOOT
 Thu Aug 7 12:09:21 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Thu Aug 7 12:09:21 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:21 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Thu Aug 7 12:09:22 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:09:22 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Thu Aug 7 12:09:22 2014 [LCM][I]: New VM state is RUNNING
 Thu Aug 7 12:24:05 2014 [LCM][I]: New VM state is SHUTDOWN
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: shutdown.
 Thu Aug 7 12:24:15 2014 [VMM][I]: ExitCode: 0
 Thu Aug 7 12:24:15 2014 [VMM][I]: Successfully execute network driver 
 operation: clean.
 Thu Aug 7 12:24:15 2014 [LCM][I]: New VM state is EPILOG
 Thu Aug 7 12:24:16 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:03:52 2014 [DiM][I]: New VM state is ACTIVE.
 Tue Aug 19 16:03:52 2014 [LCM][I]: New VM state is PROLOG.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is BOOT
 Tue Aug 19 16:03:53 2014 [VMM][I]: Generating deployment file: 
 /var/lib/one/vms/9/deployment.0
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
 operation: pre.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute virtualization driver 
 operation: deploy.
 Tue Aug 19 16:03:53 2014 [VMM][I]: ExitCode: 0
 Tue Aug 19 16:03:53 2014 [VMM][I]: Successfully execute network driver 
 operation: post.
 Tue Aug 19 16:03:53 2014 [LCM][I]: New VM state is RUNNING
 Tue Aug 19 16:05:37 2014 [LCM][I]: New VM state is CLEANUP.
 Tue Aug 19 16:05:37 2014 [DiM][I]: New VM state is DONE
 Tue Aug 19 16:05:37 2014 [VMM][W]: Ignored: LOG I 9 Driver command for 9 
 cancelled

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: failed to get 
 domain 'one-9'

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 error: Domain not found: 
 no domain with matching name 'one-9'

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 ExitCode: 0

 Tue Aug 19 16:05:38 2014 [VMM][W]: Ignored: LOG I 9 Successfully execute 
 virtualization driver 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread kiran ranjane
Hello Andre,

I am also facing the same issue while contextualization Windows 2008 R2
virtual machine. As said above, first time it does not work and I need to
delete .opennebula from c drive and then restart the VM and it works,
However if I add second nic interface it does not contextualize even after
deleting .opennebula and re-running the the vbs scripts.

Windows Version - Windows Server 2008 R2 Enterprise
WMI - 6.1.7600.16385
Powershell - 2.0

Regards
Kiran Ranjane


On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt wrote:

  Hi Leszek,



 Please send me details about your Windows version, Powershell and WMI,  it
 may be a problem of  versions. Executing the file on Powershell ISE returns
 any error?



 --

 André Monteiro
   --
 *De:* Jaime Melis jme...@opennebula.org
 *Enviado:* terça-feira, 29 de Abril de 2014 10:45
 *Para:* Leszek Master
 *Cc:* Users OpenNebula; André Monteiro
 *Assunto:* Re: [one-users] OpenNebula Windows Server 2008 R2.

  Hi Leszek,

  apologies with the delay. We've been busy with the release. Does the
 hostname change with a reboot?

  Does anyone have expertise changing the windows hostname without a
 reboot from the powershell CLI? these ares the lines that change the
 hostname:
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134

  Adding Andé Monteiro, the original author of that line, to the
 conversation.

  cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com wrote:

 Also now i see that it do everything beside changing hostname. The
 Hostname stays unchanged :(


 2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:

  I've got VM already contextualized but if i delete .opennebula file
 from C: and rerun this, it works 100% good. So why it doesn't work in the
 first time? Any idea how to track this down?

  Also how to delete the cd-rom permamently after contextualizing my VM?


 2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:

  Hi Leszek,

  have you tried running the context.ps1 manually?

  (inside the PowerShell terminal)
 d:
  Set-ExecutionPolicy unrestricted
 Invoke-Expression context.ps1

  what happens then?

  cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
 wrote:

 It doesn't contextualize it for me - only the RDP enable working.

  Also i would like to know how to deattach permamently context cd-rom
 from a VM, there is my CONTEXT variables i don't want to be seen by
 end-user. Is there any way to do that?


  2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:

 Hi Leszek,

  in case you haven't seen this:
 http://opennebula.org/windows-contextualization/

  cheers,
 Jaime


 On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis jme...@opennebula.org
 wrote:

 Hi Leszek,

  we are  currently working on a contextualization guide for
 Windows. We will probably release it next week.

  Regards,
 Jaime


  On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master keks...@gmail.com
 wrote:

  I've got problem with running Windows Server 2008 R2 VM's in
 OpenNebula. It doesn't get contexted. I tryied to use manual:
 http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 but it doesn't work in my environment. The scripts is on context cd 
 but the
 VM doesn;t get the ip, hostname and user account. Can anyone help me 
 get
 this working?

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




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




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



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




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




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




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

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


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


Re: [one-users] Type Filesystem

2014-08-21 Thread Javier Fontan
I don't fully inderstand the question.

Anyway for VMware you either use a SAN connected to the hypervisor nodes
using vmfs or you export an NFS share to them. For NFS we have been using
ext4 from a linux machine without troubles.


2014-08-20 10:01 GMT+02:00 Maria Jular maria.ju...@fcsc.es:

 Hello,



 What filesystem type is the best to create a datablock image in Sunstone
 using vmware with opennebula 4.6.2?



 Thank you!



 *María Jular Castañeda*

 *Técnico de Sistemas*



 Tfn: +34-987-29 33 23 / e-mail: maria.ju...@fcsc.es x...@fcsc.es

 http://www.fcsc.es

 Edificio CRAI-TIC.  Campus de Vegazana, s/n. Universidad de León

 24071 León





 [image: cid:image004.jpg@01CEDEE4.54E4BEB0]



 [image: logoFCSCL_bn.png]

 Este mensaje se dirige exclusivamente a su destinatario y puede contener
 información privilegiada o confidencial. Si Vd. no es el destinatario
 indicado, queda notificado de que la lectura, utilización, divulgación y/o
 copia sin autorización está prohibida en virtud de la legislación
 vigente.   Si ha recibido este mensaje por error, le rogamos que nos lo
 comunique inmediatamente por esta misma vía y proceda a su destrucción. El
 correo electrónico vía Internet no permite asegurar la confidencialidad de
 los mensajes que se transmiten ni su integridad o correcta recepción. La
 Fundación Centro de Supercomputación de Castilla y León no asume ninguna
 responsabilidad por estas circunstancias.



 This message is intended exclusively for its addressee and may contain
 information that is CONFIDENTIAL and protected by a professional privilege
 or whose disclosure is prohibited by law. If you are not the intended
 recipient you are hereby notified that any read, dissemination, copy or
 disclosure of this communication is strictly prohibited by law.

 If this message has been received in error, please immediately notify us
 via e-mail and delete it. Internet e-mail neither guarantees the
 confidentiality nor the integrity or proper receipt of the messages sent. 
 Fundación
 Centro de Supercomputación de Castilla y León does not assume any liability
 for those circumstances.





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




-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread Javier Fontan
Which version of the context scripts are you using? I've been using
the latest version from the documentation and work OK for me.

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

On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Andre,

 I am also facing the same issue while contextualization Windows 2008 R2
 virtual machine. As said above, first time it does not work and I need to
 delete .opennebula from c drive and then restart the VM and it works,
 However if I add second nic interface it does not contextualize even after
 deleting .opennebula and re-running the the vbs scripts.

 Windows Version - Windows Server 2008 R2 Enterprise
 WMI - 6.1.7600.16385
 Powershell - 2.0

 Regards
 Kiran Ranjane


 On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt wrote:

 Hi Leszek,



 Please send me details about your Windows version, Powershell and WMI,  it
 may be a problem of  versions. Executing the file on Powershell ISE returns
 any error?



 --

 André Monteiro

 
 De: Jaime Melis jme...@opennebula.org
 Enviado: terça-feira, 29 de Abril de 2014 10:45
 Para: Leszek Master
 Cc: Users OpenNebula; André Monteiro
 Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

 Hi Leszek,

 apologies with the delay. We've been busy with the release. Does the
 hostname change with a reboot?

 Does anyone have expertise changing the windows hostname without a reboot
 from the powershell CLI? these ares the lines that change the hostname:
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134

 Adding Andé Monteiro, the original author of that line, to the
 conversation.

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com wrote:

 Also now i see that it do everything beside changing hostname. The
 Hostname stays unchanged :(


 2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:

 I've got VM already contextualized but if i delete .opennebula file
 from C: and rerun this, it works 100% good. So why it doesn't work in the
 first time? Any idea how to track this down?

 Also how to delete the cd-rom permamently after contextualizing my VM?


 2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:

 Hi Leszek,

 have you tried running the context.ps1 manually?

 (inside the PowerShell terminal)
 d:
 Set-ExecutionPolicy unrestricted
 Invoke-Expression context.ps1

 what happens then?

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
 wrote:

 It doesn't contextualize it for me - only the RDP enable working.

 Also i would like to know how to deattach permamently context cd-rom
 from a VM, there is my CONTEXT variables i don't want to be seen by
 end-user. Is there any way to do that?


 2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:

 Hi Leszek,

 in case you haven't seen this:
 http://opennebula.org/windows-contextualization/

 cheers,
 Jaime


 On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis jme...@opennebula.org
 wrote:

 Hi Leszek,

 we are  currently working on a contextualization guide for Windows.
 We will probably release it next week.

 Regards,
 Jaime


 On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master keks...@gmail.com
 wrote:

 I've got problem with running Windows Server 2008 R2 VM's in
 OpenNebula. It doesn't get contexted. I tryied to use manual:
 http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 but it doesn't work in my environment. The scripts is on context cd 
 but the
 VM doesn;t get the ip, hostname and user account. Can anyone help me 
 get
 this working?

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




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




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



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




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




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




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

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



 ___
 Users mailing list
 Users@lists.opennebula.org
 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread kiran ranjane
Hi Javier,

I downloaded context from the latest 4.8 version documentation. I tried
Linux version both .deb and .rmp on ubuntu and centos and they are working
fine but having trouble with windows context.

Regards
Kiran Ranjane


On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
wrote:

 Which version of the context scripts are you using? I've been using
 the latest version from the documentation and work OK for me.


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

 On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  I am also facing the same issue while contextualization Windows 2008 R2
  virtual machine. As said above, first time it does not work and I need to
  delete .opennebula from c drive and then restart the VM and it works,
  However if I add second nic interface it does not contextualize even
 after
  deleting .opennebula and re-running the the vbs scripts.
 
  Windows Version - Windows Server 2008 R2 Enterprise
  WMI - 6.1.7600.16385
  Powershell - 2.0
 
  Regards
  Kiran Ranjane
 
 
  On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt
 wrote:
 
  Hi Leszek,
 
 
 
  Please send me details about your Windows version, Powershell and WMI,
 it
  may be a problem of  versions. Executing the file on Powershell ISE
 returns
  any error?
 
 
 
  --
 
  André Monteiro
 
  
  De: Jaime Melis jme...@opennebula.org
  Enviado: terça-feira, 29 de Abril de 2014 10:45
  Para: Leszek Master
  Cc: Users OpenNebula; André Monteiro
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Leszek,
 
  apologies with the delay. We've been busy with the release. Does the
  hostname change with a reboot?
 
  Does anyone have expertise changing the windows hostname without a
 reboot
  from the powershell CLI? these ares the lines that change the hostname:
 
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
 
  Adding Andé Monteiro, the original author of that line, to the
  conversation.
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
 wrote:
 
  Also now i see that it do everything beside changing hostname. The
  Hostname stays unchanged :(
 
 
  2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
 
  I've got VM already contextualized but if i delete .opennebula file
  from C: and rerun this, it works 100% good. So why it doesn't work in
 the
  first time? Any idea how to track this down?
 
  Also how to delete the cd-rom permamently after contextualizing my VM?
 
 
  2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  have you tried running the context.ps1 manually?
 
  (inside the PowerShell terminal)
  d:
  Set-ExecutionPolicy unrestricted
  Invoke-Expression context.ps1
 
  what happens then?
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
  wrote:
 
  It doesn't contextualize it for me - only the RDP enable working.
 
  Also i would like to know how to deattach permamently context cd-rom
  from a VM, there is my CONTEXT variables i don't want to be seen by
  end-user. Is there any way to do that?
 
 
  2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  in case you haven't seen this:
  http://opennebula.org/windows-contextualization/
 
  cheers,
  Jaime
 
 
  On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis 
 jme...@opennebula.org
  wrote:
 
  Hi Leszek,
 
  we are  currently working on a contextualization guide for
 Windows.
  We will probably release it next week.
 
  Regards,
  Jaime
 
 
  On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master 
 keks...@gmail.com
  wrote:
 
  I've got problem with running Windows Server 2008 R2 VM's in
  OpenNebula. It doesn't get contexted. I tryied to use manual:
 
 http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
  but it doesn't work in my environment. The scripts is on context
 cd but the
  VM doesn;t get the ip, hostname and user account. Can anyone
 help me get
  this working?
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
  --
  Jaime Melis
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | jme...@opennebula.org
 
 
 
 
  --
  Jaime Melis
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | jme...@opennebula.org
 
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 
 
 
 
  --
  Jaime Melis
  Project Engineer
  OpenNebula - Flexible Enterprise Cloud Made Simple
  www.OpenNebula.org | jme...@opennebula.org
 
 
 
 
  ___
  Users 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread André Monteiro
Hi Kiran,



Can you provide more details on the your problem? I need to know if the problem 
is the machine not booting, not starting windows or not executing the script.



--

André Monteiro


De: kiran ranjane kiran.ranj...@gmail.com
Enviado: 21 de agosto de 2014 15:55
Para: Javier Fontan
Cc: André Monteiro; Users OpenNebula
Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

Hi Javier,

I downloaded context from the latest 4.8 version documentation. I tried Linux 
version both .deb and .rmp on ubuntu and centos and they are working fine but 
having trouble with windows context.

Regards
Kiran Ranjane


On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan 
jfon...@opennebula.orgmailto:jfon...@opennebula.org wrote:
Which version of the context scripts are you using? I've been using
the latest version from the documentation and work OK for me.

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

On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane 
kiran.ranj...@gmail.commailto:kiran.ranj...@gmail.com wrote:
 Hello Andre,

 I am also facing the same issue while contextualization Windows 2008 R2
 virtual machine. As said above, first time it does not work and I need to
 delete .opennebula from c drive and then restart the VM and it works,
 However if I add second nic interface it does not contextualize even after
 deleting .opennebula and re-running the the vbs scripts.

 Windows Version - Windows Server 2008 R2 Enterprise
 WMI - 6.1.7600.16385
 Powershell - 2.0

 Regards
 Kiran Ranjane


 On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro 
 andremonte...@ua.ptmailto:andremonte...@ua.pt wrote:

 Hi Leszek,



 Please send me details about your Windows version, Powershell and WMI,  it
 may be a problem of  versions. Executing the file on Powershell ISE returns
 any error?



 --

 André Monteiro

 
 De: Jaime Melis jme...@opennebula.orgmailto:jme...@opennebula.org
 Enviado: terça-feira, 29 de Abril de 2014 10:45
 Para: Leszek Master
 Cc: Users OpenNebula; André Monteiro
 Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

 Hi Leszek,

 apologies with the delay. We've been busy with the release. Does the
 hostname change with a reboot?

 Does anyone have expertise changing the windows hostname without a reboot
 from the powershell CLI? these ares the lines that change the hostname:
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134

 Adding Andé Monteiro, the original author of that line, to the
 conversation.

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master 
 keks...@gmail.commailto:keks...@gmail.com wrote:

 Also now i see that it do everything beside changing hostname. The
 Hostname stays unchanged :(


 2014-04-23 16:07 GMT+02:00 Leszek Master 
 keks...@gmail.commailto:keks...@gmail.com:

 I've got VM already contextualized but if i delete .opennebula file
 from C: and rerun this, it works 100% good. So why it doesn't work in the
 first time? Any idea how to track this down?

 Also how to delete the cd-rom permamently after contextualizing my VM?


 2014-04-23 16:03 GMT+02:00 Jaime Melis 
 jme...@opennebula.orgmailto:jme...@opennebula.org:

 Hi Leszek,

 have you tried running the context.ps1 manually?

 (inside the PowerShell terminal)
 d:
 Set-ExecutionPolicy unrestricted
 Invoke-Expression context.ps1

 what happens then?

 cheers,
 Jaime


 On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master 
 keks...@gmail.commailto:keks...@gmail.com
 wrote:

 It doesn't contextualize it for me - only the RDP enable working.

 Also i would like to know how to deattach permamently context cd-rom
 from a VM, there is my CONTEXT variables i don't want to be seen by
 end-user. Is there any way to do that?


 2014-04-22 10:34 GMT+02:00 Jaime Melis 
 jme...@opennebula.orgmailto:jme...@opennebula.org:

 Hi Leszek,

 in case you haven't seen this:
 http://opennebula.org/windows-contextualization/

 cheers,
 Jaime


 On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis 
 jme...@opennebula.orgmailto:jme...@opennebula.org
 wrote:

 Hi Leszek,

 we are  currently working on a contextualization guide for Windows.
 We will probably release it next week.

 Regards,
 Jaime


 On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master 
 keks...@gmail.commailto:keks...@gmail.com
 wrote:

 I've got problem with running Windows Server 2008 R2 VM's in
 OpenNebula. It doesn't get contexted. I tryied to use manual:
 http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines
 but it doesn't work in my environment. The scripts is on context cd 
 but the
 VM doesn;t get the ip, hostname and user account. Can anyone help me 
 get
 this working?

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




 --
 Jaime Melis
 Project Engineer
 OpenNebula - 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread kiran ranjane
Hello Andre,

Windows machine boot fine and I am able to login.
Issue is with ip contextualization where the IP is different inside the VM
and different in Sunstone.

I followed Windows Contextualization 4.8 documentation
-- Copied .vbs script to C: and enable it as a startup script.
-- Include context.ps1 into the CONTEXT files through Sunstone
-- rebooted the VM
-- After reboot it did not assign the ip that was displayed in sunstone.
-- Then I deleted .opennebula-context and rebooted again and it took
correct Ip that was assigned in Sunstone.

-- However when I hot added another nic to the VM it did not assign the ip
as it was in sunstone instead it took different ip from DHCP.
-- I delete the .opennebula-context file and rebooted it again but first
nic got correct IP but the second nic did not.

Regards
Kiran Ranjane




On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro andremonte...@ua.pt wrote:

  Hi Kiran,



 Can you provide more details on the your problem? I need to know if the
 problem is the machine not booting, not starting windows or not executing
 the script.



 --

 André Monteiro
   --
 *De:* kiran ranjane kiran.ranj...@gmail.com
 *Enviado:* 21 de agosto de 2014 15:55
 *Para:* Javier Fontan
 *Cc:* André Monteiro; Users OpenNebula

 *Assunto:* Re: [one-users] OpenNebula Windows Server 2008 R2.

  Hi Javier,

  I downloaded context from the latest 4.8 version documentation. I tried
 Linux version both .deb and .rmp on ubuntu and centos and they are working
 fine but having trouble with windows context.

  Regards
 Kiran Ranjane


 On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 Which version of the context scripts are you using? I've been using
 the latest version from the documentation and work OK for me.


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

 On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  I am also facing the same issue while contextualization Windows 2008 R2
  virtual machine. As said above, first time it does not work and I need
 to
  delete .opennebula from c drive and then restart the VM and it works,
  However if I add second nic interface it does not contextualize even
 after
  deleting .opennebula and re-running the the vbs scripts.
 
  Windows Version - Windows Server 2008 R2 Enterprise
  WMI - 6.1.7600.16385
  Powershell - 2.0
 
  Regards
  Kiran Ranjane
 
 
  On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt
 wrote:
 
  Hi Leszek,
 
 
 
  Please send me details about your Windows version, Powershell and
 WMI,  it
  may be a problem of  versions. Executing the file on Powershell ISE
 returns
  any error?
 
 
 
  --
 
  André Monteiro
 
  
  De: Jaime Melis jme...@opennebula.org
  Enviado: terça-feira, 29 de Abril de 2014 10:45
  Para: Leszek Master
  Cc: Users OpenNebula; André Monteiro
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Leszek,
 
  apologies with the delay. We've been busy with the release. Does the
  hostname change with a reboot?
 
  Does anyone have expertise changing the windows hostname without a
 reboot
  from the powershell CLI? these ares the lines that change the hostname:
 
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
 
  Adding Andé Monteiro, the original author of that line, to the
  conversation.
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
 wrote:
 
  Also now i see that it do everything beside changing hostname. The
  Hostname stays unchanged :(
 
 
  2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
 
  I've got VM already contextualized but if i delete .opennebula file
  from C: and rerun this, it works 100% good. So why it doesn't work
 in the
  first time? Any idea how to track this down?
 
  Also how to delete the cd-rom permamently after contextualizing my
 VM?
 
 
  2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  have you tried running the context.ps1 manually?
 
  (inside the PowerShell terminal)
  d:
  Set-ExecutionPolicy unrestricted
  Invoke-Expression context.ps1
 
  what happens then?
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
  wrote:
 
  It doesn't contextualize it for me - only the RDP enable working.
 
  Also i would like to know how to deattach permamently context
 cd-rom
  from a VM, there is my CONTEXT variables i don't want to be seen by
  end-user. Is there any way to do that?
 
 
  2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  in case you haven't seen this:
  http://opennebula.org/windows-contextualization/
 
  cheers,
  Jaime
 
 
  On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis 
 jme...@opennebula.org
  wrote:
 
  Hi Leszek,
 
  we are  currently working on a contextualization guide for
 Windows.
  We 

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread Javier Fontan
You have to take into account that the context CD is not regenerated
after the VM is created so attached nics can not be automatically
configured.

On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane kiran.ranj...@gmail.com wrote:
 Hello Andre,

 Windows machine boot fine and I am able to login.
 Issue is with ip contextualization where the IP is different inside the VM
 and different in Sunstone.

 I followed Windows Contextualization 4.8 documentation
 -- Copied .vbs script to C: and enable it as a startup script.
 -- Include context.ps1 into the CONTEXT files through Sunstone
 -- rebooted the VM
 -- After reboot it did not assign the ip that was displayed in sunstone.
 -- Then I deleted .opennebula-context and rebooted again and it took correct
 Ip that was assigned in Sunstone.

 -- However when I hot added another nic to the VM it did not assign the ip
 as it was in sunstone instead it took different ip from DHCP.
 -- I delete the .opennebula-context file and rebooted it again but first nic
 got correct IP but the second nic did not.

 Regards
 Kiran Ranjane




 On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro andremonte...@ua.pt wrote:

 Hi Kiran,



 Can you provide more details on the your problem? I need to know if the
 problem is the machine not booting, not starting windows or not executing
 the script.



 --

 André Monteiro

 
 De: kiran ranjane kiran.ranj...@gmail.com
 Enviado: 21 de agosto de 2014 15:55
 Para: Javier Fontan
 Cc: André Monteiro; Users OpenNebula

 Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.

 Hi Javier,

 I downloaded context from the latest 4.8 version documentation. I tried
 Linux version both .deb and .rmp on ubuntu and centos and they are working
 fine but having trouble with windows context.

 Regards
 Kiran Ranjane


 On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
 wrote:

 Which version of the context scripts are you using? I've been using
 the latest version from the documentation and work OK for me.


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

 On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  I am also facing the same issue while contextualization Windows 2008 R2
  virtual machine. As said above, first time it does not work and I need
  to
  delete .opennebula from c drive and then restart the VM and it works,
  However if I add second nic interface it does not contextualize even
  after
  deleting .opennebula and re-running the the vbs scripts.
 
  Windows Version - Windows Server 2008 R2 Enterprise
  WMI - 6.1.7600.16385
  Powershell - 2.0
 
  Regards
  Kiran Ranjane
 
 
  On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt
  wrote:
 
  Hi Leszek,
 
 
 
  Please send me details about your Windows version, Powershell and WMI,
  it
  may be a problem of  versions. Executing the file on Powershell ISE
  returns
  any error?
 
 
 
  --
 
  André Monteiro
 
  
  De: Jaime Melis jme...@opennebula.org
  Enviado: terça-feira, 29 de Abril de 2014 10:45
  Para: Leszek Master
  Cc: Users OpenNebula; André Monteiro
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Leszek,
 
  apologies with the delay. We've been busy with the release. Does the
  hostname change with a reboot?
 
  Does anyone have expertise changing the windows hostname without a
  reboot
  from the powershell CLI? these ares the lines that change the
  hostname:
 
  https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
 
  Adding Andé Monteiro, the original author of that line, to the
  conversation.
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
  wrote:
 
  Also now i see that it do everything beside changing hostname. The
  Hostname stays unchanged :(
 
 
  2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
 
  I've got VM already contextualized but if i delete .opennebula
  file
  from C: and rerun this, it works 100% good. So why it doesn't work
  in the
  first time? Any idea how to track this down?
 
  Also how to delete the cd-rom permamently after contextualizing my
  VM?
 
 
  2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  have you tried running the context.ps1 manually?
 
  (inside the PowerShell terminal)
  d:
  Set-ExecutionPolicy unrestricted
  Invoke-Expression context.ps1
 
  what happens then?
 
  cheers,
  Jaime
 
 
  On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.com
  wrote:
 
  It doesn't contextualize it for me - only the RDP enable working.
 
  Also i would like to know how to deattach permamently context
  cd-rom
  from a VM, there is my CONTEXT variables i don't want to be seen
  by
  end-user. Is there any way to do that?
 
 
  2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org:
 
  Hi Leszek,
 
  in case you haven't seen this:
  

Re: [one-users] OpenNebula Windows Server 2008 R2.

2014-08-21 Thread kiran ranjane
Okay, so you mean to say that once the script is copied and executed, I
need to remove context.ps1 from context cd?



On Thu, Aug 21, 2014 at 10:06 PM, Javier Fontan jfon...@opennebula.org
wrote:

 You have to take into account that the context CD is not regenerated
 after the VM is created so attached nics can not be automatically
 configured.

 On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane kiran.ranj...@gmail.com
 wrote:
  Hello Andre,
 
  Windows machine boot fine and I am able to login.
  Issue is with ip contextualization where the IP is different inside the
 VM
  and different in Sunstone.
 
  I followed Windows Contextualization 4.8 documentation
  -- Copied .vbs script to C: and enable it as a startup script.
  -- Include context.ps1 into the CONTEXT files through Sunstone
  -- rebooted the VM
  -- After reboot it did not assign the ip that was displayed in sunstone.
  -- Then I deleted .opennebula-context and rebooted again and it took
 correct
  Ip that was assigned in Sunstone.
 
  -- However when I hot added another nic to the VM it did not assign the
 ip
  as it was in sunstone instead it took different ip from DHCP.
  -- I delete the .opennebula-context file and rebooted it again but first
 nic
  got correct IP but the second nic did not.
 
  Regards
  Kiran Ranjane
 
 
 
 
  On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro andremonte...@ua.pt
 wrote:
 
  Hi Kiran,
 
 
 
  Can you provide more details on the your problem? I need to know if the
  problem is the machine not booting, not starting windows or not
 executing
  the script.
 
 
 
  --
 
  André Monteiro
 
  
  De: kiran ranjane kiran.ranj...@gmail.com
  Enviado: 21 de agosto de 2014 15:55
  Para: Javier Fontan
  Cc: André Monteiro; Users OpenNebula
 
  Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
 
  Hi Javier,
 
  I downloaded context from the latest 4.8 version documentation. I tried
  Linux version both .deb and .rmp on ubuntu and centos and they are
 working
  fine but having trouble with windows context.
 
  Regards
  Kiran Ranjane
 
 
  On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan jfon...@opennebula.org
  wrote:
 
  Which version of the context scripts are you using? I've been using
  the latest version from the documentation and work OK for me.
 
 
 
 http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html
 
  On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane 
 kiran.ranj...@gmail.com
  wrote:
   Hello Andre,
  
   I am also facing the same issue while contextualization Windows 2008
 R2
   virtual machine. As said above, first time it does not work and I
 need
   to
   delete .opennebula from c drive and then restart the VM and it works,
   However if I add second nic interface it does not contextualize even
   after
   deleting .opennebula and re-running the the vbs scripts.
  
   Windows Version - Windows Server 2008 R2 Enterprise
   WMI - 6.1.7600.16385
   Powershell - 2.0
  
   Regards
   Kiran Ranjane
  
  
   On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro andremonte...@ua.pt
 
   wrote:
  
   Hi Leszek,
  
  
  
   Please send me details about your Windows version, Powershell and
 WMI,
   it
   may be a problem of  versions. Executing the file on Powershell ISE
   returns
   any error?
  
  
  
   --
  
   André Monteiro
  
   
   De: Jaime Melis jme...@opennebula.org
   Enviado: terça-feira, 29 de Abril de 2014 10:45
   Para: Leszek Master
   Cc: Users OpenNebula; André Monteiro
   Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.
  
   Hi Leszek,
  
   apologies with the delay. We've been busy with the release. Does the
   hostname change with a reboot?
  
   Does anyone have expertise changing the windows hostname without a
   reboot
   from the powershell CLI? these ares the lines that change the
   hostname:
  
  
 https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134
  
   Adding Andé Monteiro, the original author of that line, to the
   conversation.
  
   cheers,
   Jaime
  
  
   On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com
   wrote:
  
   Also now i see that it do everything beside changing hostname. The
   Hostname stays unchanged :(
  
  
   2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com:
  
   I've got VM already contextualized but if i delete .opennebula
   file
   from C: and rerun this, it works 100% good. So why it doesn't work
   in the
   first time? Any idea how to track this down?
  
   Also how to delete the cd-rom permamently after contextualizing my
   VM?
  
  
   2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org:
  
   Hi Leszek,
  
   have you tried running the context.ps1 manually?
  
   (inside the PowerShell terminal)
   d:
   Set-ExecutionPolicy unrestricted
   Invoke-Expression context.ps1
  
   what happens then?
  
   cheers,
   Jaime
  
  
   On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master 
 

[one-users] web UI does not work for zone/vDC if sunstone server is behind a reverse proxy server

2014-08-21 Thread Liu, Gene
After I setup a proxy server (ngnix) before sunstone server on master.
From Sunstone UI (192.168.100.10), I can not change zone to zone1.
Other functions work well from sunstone UI, but changing zone.

  *

If I remove the proxy server, and access directly to sunstone
server: 192.168.100.10:9869, changing zone from sunstone portal works.

my nginx reverse proxy server setting is as below:
--
[root@vone_gene ~]# cat /etc/nginx/conf.d/default.conf
#
# The default server
#
server {
listen 192.168.100.10:80;
server_name mycloud.alcatel-lucent.com;

location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_pass http://localhost:9869;
}

error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

sunstone server settings:
-



# Server Configuration



# Directory to store temp files when uploading images
#
:tmpdir: /var/tmp

# OpenNebula sever contact information
#
:one_xmlrpc: http://localhost:2633/RPC2

# Server Configuration
#
:host: 127.0.0.1
:port: 9869

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