Re: [one-users] Can't install VMware ESXI 5.5, 5.1 and 5.0 onto the PC with Asus P5QPL-AM motherboard and Intel E6750 CPU

2014-01-10 Thread Qiubo Su (David Su)
dear tino, thanks for the tip. when carrying on reading the same page of
the link in my previous email, there is a persistency section, the same as
that in the link in your email. this is a solution. thanks.


On Fri, Jan 10, 2014 at 11:05 PM, Tino Vazquez  wrote:

> Hi,
>
> You need to make your changes persistent. Check the Persistency section:
>
>
> http://docs.opennebula.org/stable/administration/virtualization/evmwareg.html#persistency
>
> Regards,
>
> -Tino
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at ab...@c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Fri, Jan 10, 2014 at 4:44 AM, Qiubo Su (David Su) 
> wrote:
> > Dear OpenNebula Community,
> >
> > In the "VMware Configuration" section of "VMware Drivers 3.8" in the
> page of
> > http://archives.opennebula.org/documentation:archives:rel3.8:evmwareg,
> below
> > information is for setting "The access via SSH needs to be passwordless":
> >
> > $ su -
> > $ mkdir /etc/ssh/keys-oneadmin
> > $ chmod 755 /etc/ssh/keys-oneadmin
> > $ su - oneadmin
> > $ vi  /etc/ssh/keys-oneadmin/authorized_keys
> >  (FE
> > -> $HOME/.ssh/id_{rsa,dsa}.pub) and exit vi>
> > $ chmod 600 /etc/ssh/keys-oneadmin/authorized_keys
> >
> > After the setup, can access via ESXI server from front end server through
> > SSH without password, however when reboot the ESXI server, the setup is
> > disappeared, i.e. the /keys-oneadmin/ folder and the authorized_keys file
> > are disappeared after reboot the ESXI server.
> >
> > It is much appreciated if you can help with why the setup disappeared and
> > how to resolve it?
> >
> > By the way, the front end server is with Ubuntu 12.04 OS and OpenNebula
> > 3.8.1, the ESXI server is with CentOS 5.10 OS.
> >
> > Thanks kindly,
> > Q.S.
> >
> >
> > On Sun, Dec 15, 2013 at 11:57 AM, Qiubo Su (David Su)  >
> > wrote:
> >>
> >> Dear OpenNebula Community,
> >>
> >> I want to install VMware ESXI 5.5, 5.1 and 5.0 onto the PC with Asus
> >> P5QPL-AM motherboard and Intel E6750 CPU, but got below error:
> >>
> >> No network adapters were detected. Either no network adapters are
> >> physically connected to the system, or a suitable driver could not be
> >> located. A third party driver may required.
> >>
> >> Ensure that there is at least one network adapter physically connected
> to
> >> the system before attempting installation. If the problem persists,
> consult
> >> the VMware Knowledge Base.
> >>
> >> The PC does have a network adapter, and the Linux OS installed can
> access
> >> to Internet through the Ethernet card with no problem.
> >>
> >> This doesn't look like the compatibility issue, due to get the same
> error
> >> when trying to install VMware ESXI 5.5, 5.1 and 5.0 onto the same PC.
> >>
> >> It is much appreciated if you can help with this.
> >>
> >> Moreover I have been using KVM as hypervisor, and it has been no issue,
> so
> >> easy to use.
> >>
> >> Thanks kindly,
> >> Q.S
> >
> >
> >
> > ___
> > 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] Problem Datastore with LVM

2014-01-10 Thread Jaime Melis
Hi,

I'm not able to rebuild the original string from that base64 snippet, might
there be additional chars that you acciddentally snipped off?

Also, as Michael said, this is indeed for datastore 116, not 117.

Are there any further error messages after that "command execution fail" line
that can help us?

Regards,
Jaime


On Mon, Jan 6, 2014 at 10:17 AM, Rhesa Mahendra  wrote:

> Guys,
>
> I get error like this :
>
> command execution fail: /var/lib/one/remotes/datastore/lvm/monitor
> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4x
> MTY8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbj
> wvVU5BTUU+PEdOQU1F
> Pm9uZWFkbWluPC9HTkFNRT48TkFNRT5zdG9yYWdlPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dOR
> VJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+
> MDwvT1dORVJfQT48R1JPVVBfVT4xPC9HUk9VUF9VPjxHU
> k9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC
> 9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00
> +PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxEU19NQUQ+bHZtPC9EU19NQUQ+
> PFRNX01BRD5sdm08L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS8v
> ZGF0YXN0b3Jlcy8xMTY8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFP
>
>
> [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
>



-- 
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


[one-users] Opennebula migration error

2014-01-10 Thread Vlad Mirel
Hello!

I have installed Latest Series 4 Stable of OpenNebula. 
I have 2 worker nodes and 1 front-end. On both the worker nodes I can deploy 
virtual machines.
The problem occurs when I try to migrate one virtual machine from one of the 
worker nodes to the other one. I am trying to create a cold migration and I am 
not using a shared data storage, as I am counting on scp .

So, for example I try to do this operation: Migrate from host A to host B.

Here are the logs containing the error:

Thu Jan  9 17:43:04 2014 [LCM][I]: New VM state is SAVE_MIGRATE
Thu Jan  9 17:43:10 2014 [VMM][I]: ExitCode: 0
Thu Jan  9 17:43:10 2014 [VMM][I]: Successfully execute virtualization driver 
operation: save.
Thu Jan  9 17:43:10 2014 [VMM][I]: ExitCode: 0
Thu Jan  9 17:43:10 2014 [VMM][I]: Successfully execute network driver 
operation: clean.
Thu Jan  9 17:43:11 2014 [LCM][I]: New VM state is PROLOG_MIGRATE
Thu Jan  9 17:43:11 2014 [LCM][I]: New VM state is BOOT
Thu Jan  9 17:43:12 2014 [VMM][I]: ExitCode: 0
Thu Jan  9 17:43:12 2014 [VMM][I]: Successfully execute network driver 
operation: pre.
Thu
 Jan  9 17:43:12 2014 [VMM][I]: Command execution fail: 
/var/tmp/one/vmm/kvm/restore '/var/lib/one/datastores/0/230/checkpoint' 
'192.168.1.100' 230 192.168.1.100
Thu Jan 
 9 17:43:12 2014 [VMM][E]: restore: Command "virsh --connect 
qemu:///system restore /var/lib/one/datastores/0/230/checkpoint" failed:
 error: Failed to restore domain from 
/var/lib/one/datastores/0/230/checkpoint
Thu Jan  9 17:43:12 
2014 [VMM][I]: error: Failed to create file 
'/var/lib/one/datastores/0/230/checkpoint': No such file or directory
Thu Jan  9 17:43:12 2014 [VMM][E]: Could not restore from 
/var/lib/one/datastores/0/230/checkpoint
Thu Jan  9 17:43:12 2014 [VMM][I]: ExitCode: 1
Thu Jan  9 17:43:12 2014 [VMM][I]: Failed to execute virtualization driver 
operation: restore.
Thu Jan  9 17:43:12 2014 [VMM][E]: Error restoring VM: Could not restore from 
/var/lib/one/datastores/0/230/checkpoint
Thu Jan  9 17:43:12 2014 [DiM][I]: New VM state is FAILED

This instruction, if ran on host A, where the checkpoint exists gives the 
following output:

Last login: Thu Jan  9 15:51:59 2014 from utcn.local
$ 
$ virsh --connect qemu:///system restore 
/var/lib/one/datastores/0/228/checkpoint
Domain restored from /var/lib/one/datastores/0/228/checkpoint

When ran on host B I get the following output:

Last login: Thu Jan  9 15:26:11 2014 from utcn.local
$ virsh --connect qemu:///system restore 
/var/lib/one/datastores/0/228/checkpoint
error: Failed to restore domain from /var/lib/one/datastores/0/228/checkpoint
error: Failed to create file '/var/lib/one/datastores/0/228/checkpoint': No 
such file or directory

-> this errors are identical with those from SUNSTONE

In my opinion, a POSSIBLE CAUSE might be the followin:
-the checkpoint is not copied to the host B => no such file or directory


I would appreciate any help!
  ___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Missing tag ID on OpenvSwitch networks

2014-01-10 Thread Daniel Dehennin
Daniel Dehennin  writes:

> Hello,

Hello,


[...]

> Some vnet interfaces are tagged with random like VLAN ID in “ovs-vsctl
> show” and some are tagged at all, the later are in trunk mode which is a
> problem.

Sorry for the noise, in fact the networks have VLAN=no, so no dynamic
VLAN ID are generated :-/

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


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


Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs

2014-01-10 Thread Daniel Dehennin
Daniel Molina  writes:


[...]

> As the message says the problem is here:
> https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/vms-tab.js#L3217
>
> Do you have any VM with a GRAPHICS section defined but with no TYPE
> attribute?

Is there a way to query ONE?

I do not plan to review 300 VM templates ;-)

> You can fix it changing that line to:
> if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" &&
> $.inArray(state, VNCstates)!=-1){

This fix the problem.

Regards.

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


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


Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs

2014-01-10 Thread Daniel Molina
On 10 January 2014 12:02, Daniel Dehennin wrote:

> Daniel Molina  writes:
>
> > Hi Daniel,
>
> Hello,
>
> > Could you check if there is any error in the browser console?
>
> In firefox 26 I have this:
>
> 12:00:36.024 TypeError: graphics.TYPE is undefined vms-tab.js:3217
>

As the message says the problem is here:
https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/vms-tab.js#L3217

Do you have any VM with a GRAPHICS section defined but with no TYPE
attribute?

You can fix it changing that line to:
if (graphics && graphics.TYPE && graphics.TYPE.toLowerCase() == "vnc" &&
$.inArray(state, VNCstates)!=-1){

Cheers



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


Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs

2014-01-10 Thread Daniel Dehennin
Daniel Molina  writes:

> Hi Daniel,

Hello,

> Could you check if there is any error in the browser console?

In firefox 26 I have this:

12:00:36.024 TypeError: graphics.TYPE is undefined vms-tab.js:3217

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


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


[one-users] Missing tag ID on OpenvSwitch networks

2014-01-10 Thread Daniel Dehennin
Hello,

On an ONE 4.2 cluster we have some network with VLAN enabled but the
VLAN ID is missing and I'm not sure to understand what's happening.

Some vnet interfaces are tagged with random like VLAN ID in “ovs-vsctl
show” and some are tagged at all, the later are in trunk mode which is a
problem.

How does ONE manage such (miss-)?configuration?

I suppose that ONE assign a VLAN ID to VLAN enabled network without one,
in that case, is there a place where I can find this “dynamic VLAN
IDs allocation”?

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] [4.2] [Sunstone] oneadmin does not see any VMs

2014-01-10 Thread Daniel Molina
Hi Daniel,


On 9 January 2014 15:44, Daniel Dehennin wrote:

> Stefan Kooman  writes:
>
> > Quoting Daniel Dehennin (daniel.dehen...@baby-gnu.org):
> >> Hello,
> >>
> >> In sunstone, the oneadmin user do not see any VMs in the vm-tab.
> >>
> >> It works With the CLI, so the problem looks to be specific to sunstone.
> >>
> >> I should have done something but can't figure what, do you have any
> >> hints on what should I check?
> >
> > Have you recently upgraded from one 4.2 -> 4.4?
>
> No, we are lagging behind, we install 3.8 one week before 4.0 was out,
> upgrade to 4.2 1 month before 4.4 was out...
>
> > Do you have the following in your sunstone-server.conf:
> >
> > # Default language setting
> > :lang: en_US
> >
> > # Default table order
> > :table_order: desc
> >
> > If not, add them and restart sunstone (if you're running 4.4 that is).
>
> No as it's 4.2.
>
> The last things I did was to create a dedicated view for a user group to
> add informations like VM logs etc.
>
> I modify some ACLs but:
>
> - oneadmin group seems not concerned by them
>
> - it works in CLI
>

Could you check if there is any error in the browser console?

Cheers



>
> Regards.
>
> --
> Daniel Dehennin
> Récupérer ma clef GPG:
> gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


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


Re: [one-users] vm HA problem

2014-01-10 Thread Tino Vazquez
Hi,

Please send through the oned.log and the log for the VM to analyse the
hook behaviour.

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 Fri, Jan 10, 2014 at 2:07 AM, hansz  wrote:
> Hi ,
> i use opennebula 4.4 install on centos 6.4 as the frontend,and i have two
> vmware esxi which have two share iscsi disks server as the os datastore,
> image datastores. and i also have vcenter,and the two esxi are in a
> datacenter
> i use mysql as database, and i uncommented the Hook in the oned.conf like
> the following
> HOST_HOOK = [
> name  = "error",
> on= "ERROR",
> command   = "ft/host_error.rb",
> arguments = "$ID -r",
> remote= "no" ]
>
> VM_HOOK = [
>name  = "on_failure_recreate",
>on= "UNKNOWN",
>command   = "/usr/bin/env onevm delete --recreate",
>arguments = "$ID" ]
>
> then i have i try install one vm on my esxi01 ,and then i power the
> esxi01,but the vm does not migrate to esxi02, anyother conf should i config?
>
>
>
>
> ___
> 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] Can't install VMware ESXI 5.5, 5.1 and 5.0 onto the PC with Asus P5QPL-AM motherboard and Intel E6750 CPU

2014-01-10 Thread Tino Vazquez
Hi,

You need to make your changes persistent. Check the Persistency section:

http://docs.opennebula.org/stable/administration/virtualization/evmwareg.html#persistency

Regards,

-Tino

--
OpenNebula - Flexible Enterprise Cloud Made Simple

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

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


On Fri, Jan 10, 2014 at 4:44 AM, Qiubo Su (David Su)  wrote:
> Dear OpenNebula Community,
>
> In the "VMware Configuration" section of "VMware Drivers 3.8" in the page of
> http://archives.opennebula.org/documentation:archives:rel3.8:evmwareg, below
> information is for setting "The access via SSH needs to be passwordless":
>
> $ su -
> $ mkdir /etc/ssh/keys-oneadmin
> $ chmod 755 /etc/ssh/keys-oneadmin
> $ su - oneadmin
> $ vi  /etc/ssh/keys-oneadmin/authorized_keys
>  -> $HOME/.ssh/id_{rsa,dsa}.pub) and exit vi>
> $ chmod 600 /etc/ssh/keys-oneadmin/authorized_keys
>
> After the setup, can access via ESXI server from front end server through
> SSH without password, however when reboot the ESXI server, the setup is
> disappeared, i.e. the /keys-oneadmin/ folder and the authorized_keys file
> are disappeared after reboot the ESXI server.
>
> It is much appreciated if you can help with why the setup disappeared and
> how to resolve it?
>
> By the way, the front end server is with Ubuntu 12.04 OS and OpenNebula
> 3.8.1, the ESXI server is with CentOS 5.10 OS.
>
> Thanks kindly,
> Q.S.
>
>
> On Sun, Dec 15, 2013 at 11:57 AM, Qiubo Su (David Su) 
> wrote:
>>
>> Dear OpenNebula Community,
>>
>> I want to install VMware ESXI 5.5, 5.1 and 5.0 onto the PC with Asus
>> P5QPL-AM motherboard and Intel E6750 CPU, but got below error:
>>
>> No network adapters were detected. Either no network adapters are
>> physically connected to the system, or a suitable driver could not be
>> located. A third party driver may required.
>>
>> Ensure that there is at least one network adapter physically connected to
>> the system before attempting installation. If the problem persists, consult
>> the VMware Knowledge Base.
>>
>> The PC does have a network adapter, and the Linux OS installed can access
>> to Internet through the Ethernet card with no problem.
>>
>> This doesn't look like the compatibility issue, due to get the same error
>> when trying to install VMware ESXI 5.5, 5.1 and 5.0 onto the same PC.
>>
>> It is much appreciated if you can help with this.
>>
>> Moreover I have been using KVM as hypervisor, and it has been no issue, so
>> easy to use.
>>
>> Thanks kindly,
>> Q.S
>
>
>
> ___
> 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 node package broke sudo?

2014-01-10 Thread Jaime Melis
Hi James,

terribly sorry for that, we've obviously tested that package and haven't
seen this before. I don't think any other user has reported this to the
mailing list before, so I think it might be an incompatibilty with your
local configuration of your sudoers and the one we ship.

What the OpenNebula package does is pretty simple: it installs a new file
called /etc/sudoers.d/opennebula which contains:
https://github.com/OpenNebula/one/blob/master/share/pkgs/CentOS/opennebula.sudoers

Once you have restored root privileges on the machine, could you please
send us the contents of /etc/sudoers and /etc/sudoers.d/opennebula. Ask
your administrator to make a backup of those broken sudoers files before
changing them and send them to us before fixing them. (Before sending them,
please review that you aren't sending anything sensitive to the mailing
list)

I would like to see also the list of opennebula packages you have
installed: $ rpm -qa | grep opennebula

regards,
Jaime



On Thu, Jan 9, 2014 at 9:26 PM, Bradfield, James
wrote:

> Ran the yum package installer for opennebula-node-kvm on a remote RHEL 6
> box last thing yesterday before leaving, finished the install, and logged
> out. Logged back into the same machine today and got the following error
> dump whenever I tried to use sudo:
>
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_MISC' already defined near
> line 4 <<<
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_NET' already defined near
> line 4 <<<
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_LVM' already defined near
> line 4 <<<
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_ISCSI' already defined
> near line 4 <<<
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_OVS' already defined near
> line 4 <<<
> sudo: >>> /etc/sudoers.d/opennebula: Alias `ONE_XEN' already defined near
> line 4 <<<
> sudo: parse error in /etc/sudoers.d/opennebula near line 4
> sudo: no valid sudoers sources found, quitting
> sudo: unable to initialize policy plugin
>
> Clearly some duplicate definitions got created during the install process
> (not sure how, I’m like 99% sure these machines didn't have OpenNebula on
> them at any point before); unfortunately, I can’t sudo to fix it (since
> sudo is broken, obviously), don’t have the root password, and can't boot
> recovery since it’s a remote box (and I can't reboot the box from command
> line anyway since I don't have sudo). I’ve contacted the local IT guy who
> should be able to fix it easily, but I groused about it on Twitter and got
> asked to send this into the mailing list, so here you go.
>
> Jim Bradfield
> Software Engineer Associate, Chief Technology Office
> NJVC, LLC
>
> T 703.429.9498 | M 540.230.5571 | james.bradfi...@njvc.com
> 14295 Park Meadow Drive, Chantilly, VA 20151
> www.njvc.com
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



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


Re: [one-users] how upload image through Provide a path

2014-01-10 Thread Kenneth


Just put:
/root/image/ttylinux.tar.bz2
Anyway I haven't tried tried uploading a compressed image. But at least that is how you upload it. Just provide the complete path.
 
---
Thanks,
KennethApollo Global Corp.

On 01/10/2014 04:10 PM, hansz wrote:


Hi,
i use opennebula 4.4 install on centso6.4 and esxi5.1
and i make my image use a tar  with ttylinux-flat.vmdk  and disk.vmdk tar to  ttylinux.tar.bz2 (if i put i on my front-end /root/image/ttylinux.tar.bz2)
i want upload the ttylinux.tar.bz2 through the sunstone .
select  Provide a path 
what should i input in the Path



___
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 upload image through Provide a path

2014-01-10 Thread Martin Alfke
Hi Hansz,

when you select the “Provide a path” option you have to upload the image to the 
sunstone server prior and select the path and filename on the server.
When you select “Upload” option you can provide a local path/filename from your 
workstation.

hth,

Martin

On 10 Jan 2014, at 09:10, hansz  wrote:

> Hi,
> i use opennebula 4.4 install on centso6.4 and esxi5.1
> and i make my image use a tar  with ttylinux-flat.vmdk  and disk.vmdk tar to  
> ttylinux.tar.bz2 (if i put i on my front-end /root/image/ttylinux.tar.bz2)
> i want upload the ttylinux.tar.bz2 through the sunstone .
> select  Provide a path 
> what should i input in the Path
> 
> 
> ___
> 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] how upload image through Provide a path

2014-01-10 Thread hansz
Hi,
i use opennebula 4.4 install on centso6.4 and esxi5.1
and i make my image use a tar  with ttylinux-flat.vmdk  and disk.vmdk tar to  
ttylinux.tar.bz2 (if i put i on my front-end /root/image/ttylinux.tar.bz2)
i want upload the ttylinux.tar.bz2 through the sunstone .
select  Provide a path 
what should i input in the Path<><>___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org