Re: [ovirt-users] remove a lost gluster based datacenter

2014-07-11 Thread Kanagaraj Mayilsamy
Looks like the cluster has both virt and gluster services enabled. Otherwise a 
host part of gluster-cluster cannot be a SPM. 

I am not sure about the standard procedure to removed a SPM host.

Once SPM is disabled, you should be able to remove all the gluster hosts 
forcefully.

Thanks,
Kanagaraj

- Original Message -
> From: "Alexander Wels" 
> To: users@ovirt.org
> Cc: "Demeter Tibor" , "Kanagaraj" 
> Sent: Saturday, July 12, 2014 2:06:38 AM
> Subject: Re: [ovirt-users] remove a lost gluster based datacenter
> 
> On Friday, July 11, 2014 10:11:00 PM Demeter Tibor wrote:
> > Hi,
> > Somebody can me help?
> > 
> > Tibor
> > 
> 
> Tibor,
> 
> This is not an officially supported solution, but I had a similar issue
> myself
> at some point (virtual gluster hosts that I was silly enough to delete
> without
> first stopping the volumes). Basically the status of the volumes is stored in
> the gluster_volumes table, status column. If you manually update the status
> to
> be 'DOWN' instead of 'UP' for the volumes that are giving you trouble. Then
> in
> the UI they will be down as well. At which point you should be able to
> properly remove them from the UI using the UI.
> 
> Once that is done you should be able to simply remove the offending hosts as
> there are no longer any gluster volumes associated with it.
> 
> I am sure there is a much better way of doing this (maybe REST api?), but I
> couldn't find it (I am not a gluster expert).
> 
> Alexander
> 
> > - Eredeti üzenet -
> > 
> > > Hi,
> > > 
> > > I have try it before wrote this mail.
> > > It is impossible, it is a spm host
> > > 
> > > Error while executing action: Cannot switch Host to Maintenance mode.
> > > Host is Storage Pool Manager and is in Non Responsive state.
> > > - If power management is configured, engine will try to fence the host
> > > automatically.
> > > - Otherwise, either bring the node back up, or release the SPM resource.
> > > To do so, verify that the node is really down by right clicking on the
> > > host
> > > and confirm that the node was shutdown manually.
> > > 
> > > When I want to switch to maintence a non-spm host:
> > > 
> > > Error while executing action:
> > > 
> > > gluster4:
> > > Cannot remove Host. Server having Gluster volume.
> > > 
> > > When I want to remove an gluster brick:
> > > 
> > > Error while executing action: Cannot stop Gluster Volume. No up server
> > > found in glusters.
> > > 
> > > When I want to remove a VM that was on this gluster based datacenter:
> > > 
> > > Error while executing action:
> > > 
> > > F19glusters:
> > > Cannot remove VM: Storage Domain cannot be accessed.
> > > -Please check that at least one Host is operational and Data Center state
> > > is up.
> > > 
> > > So it is an vicious circle
> > > 
> > > Tibor
> > > 
> > > - Eredeti üzenet -
> > > 
> > > > On 07/09/2014 01:45 AM, Demeter Tibor wrote:
> > > > > Dear listmembers,
> > > > > 
> > > > > 
> > > > > 
> > > > > I have created a test environment for ovirt via four pc and a server.
> > > > > 
> > > > > 
> > > > > I have two datacenter on the main server:
> > > > > 
> > > > > 
> > > > > - a local datacenter on the server
> > > > > 
> > > > > 
> > > > > - a gluster based datacenter by the four dekstop pc
> > > > > 
> > > > > 
> > > > > 
> > > > > 2 weeks ago someone took my pc-s (for doing other things:)
> > > > > 
> > > > > 
> > > > > 
> > > > > I am could not remove the "dead" gluster based datacenter from ovirt.
> > > > > 
> > > > > 
> > > > > - It always want to your own servers:)
> > > > > 
> > > > > 
> > > > > - The force option doesn't work in this case.
> > > > > 
> > > > > 
> > > > > - The gluster bricks are does not uninstallable.
> > > > > 
> > > > > 
> > > > > - the cluster not removable
> > > > > 
> > > > > 
> > > > > - Everything want to everything else:)
> > > > 
> > > > Move all the gluster hosts to maintenance. And then select all of them
> > > > and
> > > > click 'Remove', then select the 'Force' checkbox and Ok.
> > > > 
> > > > > I don't want to reinstall the whole ovirt because I have a lot of vm
> > > > > on
> > > > > the
> > > > > local datacenter.
> > > > > 
> > > > > 
> > > > > 
> > > > > So, how can I remove a complety dead datacenter from ovirt?
> > > > > 
> > > > > 
> > > > > 
> > > > > Thanks in advance.
> > > > > 
> > > > > 
> > > > > 
> > > > > Tibor
> > > > > 
> > > > > 
> > > > > 
> > > > > ___
> > > > > 
> > > > > 
> > > > > Users mailing list Users@ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > 
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] remove a lost gluster based datacenter

2014-07-11 Thread Alexander Wels
On Friday, July 11, 2014 10:11:00 PM Demeter Tibor wrote:
> Hi,
> Somebody can me help?
> 
> Tibor
> 

Tibor,

This is not an officially supported solution, but I had a similar issue myself 
at some point (virtual gluster hosts that I was silly enough to delete without 
first stopping the volumes). Basically the status of the volumes is stored in 
the gluster_volumes table, status column. If you manually update the status to 
be 'DOWN' instead of 'UP' for the volumes that are giving you trouble. Then in 
the UI they will be down as well. At which point you should be able to 
properly remove them from the UI using the UI.

Once that is done you should be able to simply remove the offending hosts as 
there are no longer any gluster volumes associated with it.

I am sure there is a much better way of doing this (maybe REST api?), but I 
couldn't find it (I am not a gluster expert).

Alexander

> - Eredeti üzenet -
> 
> > Hi,
> > 
> > I have try it before wrote this mail.
> > It is impossible, it is a spm host
> > 
> > Error while executing action: Cannot switch Host to Maintenance mode.
> > Host is Storage Pool Manager and is in Non Responsive state.
> > - If power management is configured, engine will try to fence the host
> > automatically.
> > - Otherwise, either bring the node back up, or release the SPM resource.
> > To do so, verify that the node is really down by right clicking on the
> > host
> > and confirm that the node was shutdown manually.
> > 
> > When I want to switch to maintence a non-spm host:
> > 
> > Error while executing action:
> > 
> > gluster4:
> > Cannot remove Host. Server having Gluster volume.
> > 
> > When I want to remove an gluster brick:
> > 
> > Error while executing action: Cannot stop Gluster Volume. No up server
> > found in glusters.
> > 
> > When I want to remove a VM that was on this gluster based datacenter:
> > 
> > Error while executing action:
> > 
> > F19glusters:
> > Cannot remove VM: Storage Domain cannot be accessed.
> > -Please check that at least one Host is operational and Data Center state
> > is up.
> > 
> > So it is an vicious circle
> > 
> > Tibor
> > 
> > - Eredeti üzenet -
> > 
> > > On 07/09/2014 01:45 AM, Demeter Tibor wrote:
> > > > Dear listmembers,
> > > > 
> > > > 
> > > > 
> > > > I have created a test environment for ovirt via four pc and a server.
> > > > 
> > > > 
> > > > I have two datacenter on the main server:
> > > > 
> > > > 
> > > > - a local datacenter on the server
> > > > 
> > > > 
> > > > - a gluster based datacenter by the four dekstop pc
> > > > 
> > > > 
> > > > 
> > > > 2 weeks ago someone took my pc-s (for doing other things:)
> > > > 
> > > > 
> > > > 
> > > > I am could not remove the "dead" gluster based datacenter from ovirt.
> > > > 
> > > > 
> > > > - It always want to your own servers:)
> > > > 
> > > > 
> > > > - The force option doesn't work in this case.
> > > > 
> > > > 
> > > > - The gluster bricks are does not uninstallable.
> > > > 
> > > > 
> > > > - the cluster not removable
> > > > 
> > > > 
> > > > - Everything want to everything else:)
> > > 
> > > Move all the gluster hosts to maintenance. And then select all of them
> > > and
> > > click 'Remove', then select the 'Force' checkbox and Ok.
> > > 
> > > > I don't want to reinstall the whole ovirt because I have a lot of vm
> > > > on
> > > > the
> > > > local datacenter.
> > > > 
> > > > 
> > > > 
> > > > So, how can I remove a complety dead datacenter from ovirt?
> > > > 
> > > > 
> > > > 
> > > > Thanks in advance.
> > > > 
> > > > 
> > > > 
> > > > Tibor
> > > > 
> > > > 
> > > > 
> > > > ___
> > > > 
> > > > 
> > > > Users mailing list Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] remove a lost gluster based datacenter

2014-07-11 Thread Demeter Tibor
Hi, 
Somebody can me help? 

Tibor 

- Eredeti üzenet -

> Hi,

> I have try it before wrote this mail.
> It is impossible, it is a spm host

> Error while executing action: Cannot switch Host to Maintenance mode.
> Host is Storage Pool Manager and is in Non Responsive state.
> - If power management is configured, engine will try to fence the host
> automatically.
> - Otherwise, either bring the node back up, or release the SPM resource.
> To do so, verify that the node is really down by right clicking on the host
> and confirm that the node was shutdown manually.

> When I want to switch to maintence a non-spm host:

> Error while executing action:

> gluster4:
> Cannot remove Host. Server having Gluster volume.

> When I want to remove an gluster brick:

> Error while executing action: Cannot stop Gluster Volume. No up server found
> in glusters.

> When I want to remove a VM that was on this gluster based datacenter:

> Error while executing action:

> F19glusters:
> Cannot remove VM: Storage Domain cannot be accessed.
> -Please check that at least one Host is operational and Data Center state is
> up.

> So it is an vicious circle

> Tibor

> - Eredeti üzenet -

> > On 07/09/2014 01:45 AM, Demeter Tibor wrote:
> 

> > > Dear listmembers,
> > 
> 

> > > I have created a test environment for ovirt via four pc and a server.
> > 
> 
> > > I have two datacenter on the main server:
> > 
> 
> > > - a local datacenter on the server
> > 
> 
> > > - a gluster based datacenter by the four dekstop pc
> > 
> 

> > > 2 weeks ago someone took my pc-s (for doing other things:)
> > 
> 

> > > I am could not remove the "dead" gluster based datacenter from ovirt.
> > 
> 
> > > - It always want to your own servers:)
> > 
> 
> > > - The force option doesn't work in this case.
> > 
> 
> > > - The gluster bricks are does not uninstallable.
> > 
> 
> > > - the cluster not removable
> > 
> 
> > > - Everything want to everything else:)
> > 
> 

> > Move all the gluster hosts to maintenance. And then select all of them and
> > click 'Remove', then select the 'Force' checkbox and Ok.
> 

> > > I don't want to reinstall the whole ovirt because I have a lot of vm on
> > > the
> > > local datacenter.
> > 
> 

> > > So, how can I remove a complety dead datacenter from ovirt?
> > 
> 

> > > Thanks in advance.
> > 
> 

> > > Tibor
> > 
> 

> > > ___
> > 
> 
> > > Users mailing list Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > 
> 

> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Best way to clone host

2014-07-11 Thread noc
On 9-7-2014 9:34, Sven Kieske wrote:
>
> Am 09.07.2014 08:46, schrieb noc:
>> I think it is a common enough problem to add a RFE for it to do it
>> during host-deploy, agreed Douglas??
> Also, there should be a clear error message
> indicating what the error is:
> duplicate vdsm id
>
> Care to open an RFE?
>
Done, https://bugzilla.redhat.com/show_bug.cgi?id=1118883

Joop

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add OpenStack-Glance

2014-07-11 Thread Daniel Helgenberger
Hello Moti,

many thanks! I did miss this step (since I always looked at the glance
integration part of the wiki and not at OpenStack as the whole).

Works as expected now.

Cheers,

On Fr, 2014-07-11 at 06:37 -0400, Moti Asayag wrote:
> 
> - Original Message -
> > From: "Daniel Helgenberger" 
> > To: users@ovirt.org
> > Sent: Friday, July 11, 2014 1:20:14 PM
> > Subject: [ovirt-users] Add OpenStack-Glance
> > 
> > Hello,
> > 
> > following Itamar Heim's idea to use Glance for moving around images in
> > Ovirt, I went ahead setting up a VM with Glance and Keystone. I have
> > configured the following user in keystone in glace:
> > 
> > [keystone_authtoken]
> > auth_host = 127.0.0.1
> > auth_port = 35357
> > auth_protocol = http
> > admin_tenant_name = service
> > admin_user = glance
> > admin_password = Secret
> > 
> > Using the appropriate credentials in oVirt / Add external provider with
> > http://192.168.50.33:9292 I get:
> > Failed to communicate with the external provider
> > 
> > The TCP port is open.
> > 
> > I fail to see anything in the glance api.log.
> > 
> > Question: How can I debug this from ovirt?
> > 
> 
> You're missing a step:
> 
> http://www.ovirt.org/Features/Detailed_OSN_Integration#oVirt_Engine_required_configuration
> 
> You need to configure the keystone url via the engine-config tool, followed 
> by the ovirt-engine
> service restart.
> 
> engine-config -s KeystoneAuthUrl=http://192.168.50.33:35357/v2.0/
> service ovirt-engine restart
> 
> > Thanks!
> > 
> > --
> > 
> > I used the official test [1] to add the cirros image to glance on my vm:
> > 
> > # source keystonerc
> > # glance image-create --name=CirrOS-Test --is-public=true
> > --container-format=bare --disk-format=qcow2 < cirros-0.3.0-x86_64-disk.img
> > +--+--+
> > | Property | Value|
> > +--+--+
> > | checksum | 50bdc35edb03a38d91b1b071afb20a3c |
> > | container_format | bare |
> > | created_at   | 2014-07-11T08:53:05.857978   |
> > | deleted  | False|
> > | deleted_at   | None |
> > | disk_format  | qcow2|
> > | id   | 5132246d-8f63-4456-86ab-357fb241f3f9 |
> > | is_public| True |
> > | min_disk | 0|
> > | min_ram  | 0|
> > | name | CirrOS-Test  |
> > | owner| 40654094d0684d238681bc0b1ab6617d |
> > | protected| False|
> > | size | 9761280  |
> > | status   | active   |
> > | updated_at   | 2014-07-11T08:53:07.240096   |
> > +--+--+
> > 
> > Note, the keystonerc contains my credantials / AUTH_URL. Also, keystone is
> > working, as far as I can tell:
> > 
> > # keystone --os-username=glance --os-password=Secret
> > --os-auth-url=http://127.0.0.1:35357/v2.0 token-get
> > +--+--+
> > | Property |  Value   |
> > +--+--+
> > | expires  |   2014-07-12T09:03:46Z   |
> > |id| 20c5f2290aa145368f31a88db711351e |
> > | user_id  | 0a06c68d8adb4739b41628a0cb326f6a |
> > +--+--+
> > 
> > Telnet from Engine:
> > 
> > telnet 192.168.50.33 9292
> > Trying 192.168.50.33...
> > Connected to 192.168.50.33.
> > Escape character is '^]'.
> > get
> > HTTP/1.1 400 Bad request syntax ('get')
> > Server: BaseHTTP/0.3 Python/2.6.6
> > Date: Fri, 11 Jul 2014 09:04:14 GMT
> > Content-Type: text/html
> > Connection: close
> > 
> > 
> > Error response
> > 
> > 
> > Error response
> > Error code 400.
> > Message: Bad request syntax ('get').
> > Error code explanation: 400 = Bad request syntax or unsupported method.
> > 
> > Connection closed by foreign host.
> > 
> > 
> > [1]
> > http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/verifying-identity-install.html
> > http://docs.openstack.org/grizzly/openstack-compute/admin/content/adding-images.html
> > 
> > --
> > 
> > Daniel Helgenberger
> > m box bewegtbild GmbH
> > 
> > P: +49/30/2408781-22
> > F: +49/30/2408781-10
> > 
> > ACKERSTR. 19
> > D-10115 BERLIN
> > 
> > 
> > www.m-box.de  www.monkeymen.tv
> > 
> > Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> > Handeslregister: Amtsgericht Charlottenburg / HRB 112767
> > 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 

-- 

Daniel Helgenberger 
m box bewegtbild GmbH 

P: +49/

Re: [ovirt-users] admin@internal login failure

2014-07-11 Thread Alon Bar-Lev
Hi,

Setup logs are at /var/log/ovirt-engine/setup, please attach the log since it 
stopped working.

Also, please specify version of working engine and current engine.

Thanks,
Alon

- Original Message -
> From: "Darcy Hodgson" 
> Cc: users@ovirt.org
> Sent: Friday, July 11, 2014 9:40:17 PM
> Subject: Re: [ovirt-users] admin@internal login failure
> 
> On Fri, Jul 11, 2014 at 3:15 PM, Douglas Schilling Landgraf
>  wrote:
> > On 07/11/2014 02:04 PM, Darcy Hodgson wrote:
> >>
> >> Hey Everyone,
> >>
> >> I am no longer able to log in with the internal admin account. I'm not
> >> sure if this is related to me doing updates, or re-attaching the
> >> engine to my ipa server.
> >>
> >> For both webpage login and the ovirt shell I get the following
> >> messaged in the enging.log file.
> >>
> >> 2014-07-11 11:01:16,685 WARN
> >> [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-8)
> >> CanDoAction of action LoginUser failed.
> >> Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
> >> 2014-07-11 11:01:16,687 INFO
> >> [org.ovirt.engine.api.restapi.security.auth.LoginValidator]
> >> (ajp--127.0.0.1-8702-8) Login failure, user: admin domain: internal
> >> reason: [USER_NOT_AUTHORIZED_TO_PERFORM_ACTION]
> >>
> >> I tried to do a engine-cleanup/engine-setup but that didn't help. I
> >> don't want to lose all the data as this environment has been running
> >> for a while now.
> >>
> >> I then tried to remove the ipa domain and log in with the internal
> >> admin user without success. Followed by re-adding my domain and adding
> >> permissions to my ipa admin user which also did not work.
> >>
> >> If anyone knows how to correct this that would be very helpful.
> >>
> >
> > Hi Darcy,
> >
> > I guess attaching upgrade and engine logs might help people to identify
> > what
> > happened. Anyway, have you tried:
> >
> > engine-config -s AdminPassword=interactive
> > service ovirt-engine restart
> >
> > From:
> > http://www.ovirt.org/Engine_config_examples#Changing_admin_user_password
> >
> >
> > --
> > Cheers
> > Douglas
> 
> 
> I did do that but I don't think it's an authentication problem. If I
> put in the wrong password when trying to log in as the admin user I
> get this error.
> 
> 2014-07-11 14:25:19,674 INFO
> [org.ovirt.engine.core.bll.LoginBaseCommand] (ajp--127.0.0.1-8702-8)
> Cant login user "admin" with authentication profile "internal" because
> the authentication failed.
> 2014-07-11 14:25:19,675 WARN
> [org.ovirt.engine.core.bll.LoginAdminUserCommand]
> (ajp--127.0.0.1-8702-8) CanDoAction of action LoginAdminUser failed.
> Reasons:USER_FAILED_TO_AUTHENTICATE
> 
> There isn't anything in the engine logs when I try to log in besides
> the two lines I initially sent. I can't seem to find any upgrade logs,
> where are they located?
> 
> Also when I re-attached the ipa domain and gave the admin user
> permissions I get the same not authorized error.
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] admin@internal login failure

2014-07-11 Thread Darcy Hodgson
On Fri, Jul 11, 2014 at 3:15 PM, Douglas Schilling Landgraf
 wrote:
> On 07/11/2014 02:04 PM, Darcy Hodgson wrote:
>>
>> Hey Everyone,
>>
>> I am no longer able to log in with the internal admin account. I'm not
>> sure if this is related to me doing updates, or re-attaching the
>> engine to my ipa server.
>>
>> For both webpage login and the ovirt shell I get the following
>> messaged in the enging.log file.
>>
>> 2014-07-11 11:01:16,685 WARN
>> [org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-8)
>> CanDoAction of action LoginUser failed.
>> Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
>> 2014-07-11 11:01:16,687 INFO
>> [org.ovirt.engine.api.restapi.security.auth.LoginValidator]
>> (ajp--127.0.0.1-8702-8) Login failure, user: admin domain: internal
>> reason: [USER_NOT_AUTHORIZED_TO_PERFORM_ACTION]
>>
>> I tried to do a engine-cleanup/engine-setup but that didn't help. I
>> don't want to lose all the data as this environment has been running
>> for a while now.
>>
>> I then tried to remove the ipa domain and log in with the internal
>> admin user without success. Followed by re-adding my domain and adding
>> permissions to my ipa admin user which also did not work.
>>
>> If anyone knows how to correct this that would be very helpful.
>>
>
> Hi Darcy,
>
> I guess attaching upgrade and engine logs might help people to identify what
> happened. Anyway, have you tried:
>
> engine-config -s AdminPassword=interactive
> service ovirt-engine restart
>
> From:
> http://www.ovirt.org/Engine_config_examples#Changing_admin_user_password
>
>
> --
> Cheers
> Douglas


I did do that but I don't think it's an authentication problem. If I
put in the wrong password when trying to log in as the admin user I
get this error.

2014-07-11 14:25:19,674 INFO
[org.ovirt.engine.core.bll.LoginBaseCommand] (ajp--127.0.0.1-8702-8)
Cant login user "admin" with authentication profile "internal" because
the authentication failed.
2014-07-11 14:25:19,675 WARN
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
(ajp--127.0.0.1-8702-8) CanDoAction of action LoginAdminUser failed.
Reasons:USER_FAILED_TO_AUTHENTICATE

There isn't anything in the engine logs when I try to log in besides
the two lines I initially sent. I can't seem to find any upgrade logs,
where are they located?

Also when I re-attached the ipa domain and gave the admin user
permissions I get the same not authorized error.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] admin@internal login failure

2014-07-11 Thread Douglas Schilling Landgraf

On 07/11/2014 02:04 PM, Darcy Hodgson wrote:

Hey Everyone,

I am no longer able to log in with the internal admin account. I'm not
sure if this is related to me doing updates, or re-attaching the
engine to my ipa server.

For both webpage login and the ovirt shell I get the following
messaged in the enging.log file.

2014-07-11 11:01:16,685 WARN
[org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-8)
CanDoAction of action LoginUser failed.
Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
2014-07-11 11:01:16,687 INFO
[org.ovirt.engine.api.restapi.security.auth.LoginValidator]
(ajp--127.0.0.1-8702-8) Login failure, user: admin domain: internal
reason: [USER_NOT_AUTHORIZED_TO_PERFORM_ACTION]

I tried to do a engine-cleanup/engine-setup but that didn't help. I
don't want to lose all the data as this environment has been running
for a while now.

I then tried to remove the ipa domain and log in with the internal
admin user without success. Followed by re-adding my domain and adding
permissions to my ipa admin user which also did not work.

If anyone knows how to correct this that would be very helpful.



Hi Darcy,

I guess attaching upgrade and engine logs might help people to identify 
what happened. Anyway, have you tried:


engine-config -s AdminPassword=interactive
service ovirt-engine restart

From:
http://www.ovirt.org/Engine_config_examples#Changing_admin_user_password


--
Cheers
Douglas
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] admin@internal login failure

2014-07-11 Thread Darcy Hodgson
Hey Everyone,

I am no longer able to log in with the internal admin account. I'm not
sure if this is related to me doing updates, or re-attaching the
engine to my ipa server.

For both webpage login and the ovirt shell I get the following
messaged in the enging.log file.

2014-07-11 11:01:16,685 WARN
[org.ovirt.engine.core.bll.LoginUserCommand] (ajp--127.0.0.1-8702-8)
CanDoAction of action LoginUser failed.
Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION
2014-07-11 11:01:16,687 INFO
[org.ovirt.engine.api.restapi.security.auth.LoginValidator]
(ajp--127.0.0.1-8702-8) Login failure, user: admin domain: internal
reason: [USER_NOT_AUTHORIZED_TO_PERFORM_ACTION]

I tried to do a engine-cleanup/engine-setup but that didn't help. I
don't want to lose all the data as this environment has been running
for a while now.

I then tried to remove the ipa domain and log in with the internal
admin user without success. Followed by re-adding my domain and adding
permissions to my ipa admin user which also did not work.

If anyone knows how to correct this that would be very helpful.

Thanks,

-Darcy
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt guest agent iso

2014-07-11 Thread Bob Doolittle


On 07/11/2014 11:12 AM, Bob Doolittle wrote:

On 07/11/2014 10:55 AM, Tiemen Ruiten wrote:

Hello,

Is it possible/advisable to install the Windows Guest Agent tools 3.5
ISO on a VM on a 3.4.2 oVirt cluster?


Yes. I've done just that. Works great.


Caveat - there was a bug related to not setting the Guest Agent to 
autostart (at least for Windows 2008 R2). I think that's been fixed but 
don't know if the fix has been pushed to the latest ISO yet. Workaround 
- go into Services and change it from Manual to Automatic.


-Bob

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt guest agent iso

2014-07-11 Thread Bob Doolittle

On 07/11/2014 10:55 AM, Tiemen Ruiten wrote:

Hello,

Is it possible/advisable to install the Windows Guest Agent tools 3.5
ISO on a VM on a 3.4.2 oVirt cluster?


Yes. I've done just that. Works great.

-Bob


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ovirt guest agent iso

2014-07-11 Thread Tiemen Ruiten
Hello,

Is it possible/advisable to install the Windows Guest Agent tools 3.5
ISO on a VM on a 3.4.2 oVirt cluster?

-- 
Tiemen Ruiten
Systems Engineer
R&D Media

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup on VLAN/bond combo

2014-07-11 Thread Chris Adams
Once upon a time, Sven Kieske  said:
> Am 10.07.2014 18:02, schrieb Chris Adams:
> > Is there maybe still a problem combining a VLAN on a bond?
> 
> Yes exactly, but just with hosted-engine.
> See this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1072027
> (Should be resolved with 3.5)

Well, the same notes are in the 3.4.3 release notes as 3.5:

 oVirt Hosted Engine Setup

 BZ 162 - [RFE] [ovirt-hosted-engine-setup] add support for bonded 
interfaces
 BZ 1117634 - [RFE] Hosted Engine deploy should support VLAN-tagged interfaces

Since I got a different error when I tried 3.4.3-RC vs. 3.4.2 (and I'm
trying with a VLAN on top of a bond), I was concerned that the same fix
as 3.5 was in 3.4.3-RC, and would not actually fix my combo setup.

> There is also a workaround in the BZ, didn't try it myself.

Yeah, I can't (easily anyway) disable the VLAN trunk and bond and then
re-enable them (since that breaks network access, and I'm not sitting at
the same location as the system).

I will try Robert Story's suggestion of manually configuring the bridge
before running the deploy.
-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Call for Papers Deadline In Two Days: Linux.conf.au

2014-07-11 Thread Brian Proffitt
Conference: Linux.conf.au
Information: Each year open source geeks from across the globe gather in 
Australia or New Zealand to meet their fellow technologists, share the latest 
ideas and innovations, and spend a week discussing and collaborating on open 
source projects. The conference is well known for the speakers and delegates 
depth of talent, and its focus on technical linux content.
Possible topics: Virtualization, oVirt, KVM, libvirt, RDO, OpenStack, Foreman
Date: January 12-15, 2015
Location: Auckland, New Zealand
Website: http://lca2015.linux.org.au/
Call for Papers Deadline: July 13, 2014
Call for Papers URL: http://lca2015.linux.org.au/cfp

Contact me for more information and assistance with presentations.

-- 
Brian Proffitt

oVirt Community Manager
Project Atomic Community Lead
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 3.5.0 Beta is now available for testing

2014-07-11 Thread Boyan Tabakov
Hello Gary and Nir,

On Sat Jul  5 23:22:13 2014, Nir Soffer wrote:
> - Original Message -
>> From: "Gary Lloyd" 
>> To: users@ovirt.org
>> Sent: Tuesday, July 1, 2014 4:56:18 PM
>> Subject: Re: [ovirt-users] oVirt 3.5.0 Beta is now available for testing
>>
>> Hi
>>
>> I was just wondering how multipath iscsi is handled in 3.5. In 3.4 there is a
>> button on the web interface under the data center tab that could be used to
>> configure multipathing for storage domains but not direct luns.
>> This seems to be missing in 3.5 Beta from what i can tell.
>
> If this is not available in 3.4, it will also not be in 3.5 - nobody worked
> on such feature in 3.5.
>
>> We are particularly interested if multipathing will work with direct lun, as
>> we have to keep bodging custom changes into the vdsm python with each new
>> version. (We currently use EqualLogic).
>
> The best way to avoid customizing vdsm is to get your patches merged upstream.
>
> Do you want to describe what are you trying to do, and how do you modify
> vdsm?
>

I've had similar issues with Equallogic, as Gary has described earlier 
here: 
https://sites.google.com/a/keele.ac.uk/partlycloudy/ovirt/gettingovirttoworkwithdellequallogic.

I've used his patch as a baseline (thanks for the original effort, 
Gary!) with some minor fixes/additions and the code can be found here: 
https://github.com/futurice/vdsm/tree/equallogic-multiple-iscsi-ifaces

The main issue seems to be that VDSM didn't work properly when multiple 
network interfaces are used to connect to the iSCSI storage, as is the 
situation with our Equallogic installation. The patch is currently 
against vdsm version 4.13.2 and we've been using it as well with 
version 4.13.3.

Nir, feel free to comment. I am not sure if this patch is ready for 
upstream yet, but hopefully it illustrates some issues that may need 
solving.

Best regards,
Boyan Tabakov



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add OpenStack-Glance

2014-07-11 Thread Moti Asayag


- Original Message -
> From: "Daniel Helgenberger" 
> To: users@ovirt.org
> Sent: Friday, July 11, 2014 1:20:14 PM
> Subject: [ovirt-users] Add OpenStack-Glance
> 
> Hello,
> 
> following Itamar Heim's idea to use Glance for moving around images in
> Ovirt, I went ahead setting up a VM with Glance and Keystone. I have
> configured the following user in keystone in glace:
> 
> [keystone_authtoken]
> auth_host = 127.0.0.1
> auth_port = 35357
> auth_protocol = http
> admin_tenant_name = service
> admin_user = glance
> admin_password = Secret
> 
> Using the appropriate credentials in oVirt / Add external provider with
> http://192.168.50.33:9292 I get:
> Failed to communicate with the external provider
> 
> The TCP port is open.
> 
> I fail to see anything in the glance api.log.
> 
> Question: How can I debug this from ovirt?
> 

You're missing a step:

http://www.ovirt.org/Features/Detailed_OSN_Integration#oVirt_Engine_required_configuration

You need to configure the keystone url via the engine-config tool, followed by 
the ovirt-engine
service restart.

engine-config -s KeystoneAuthUrl=http://192.168.50.33:35357/v2.0/
service ovirt-engine restart

> Thanks!
> 
> --
> 
> I used the official test [1] to add the cirros image to glance on my vm:
> 
> # source keystonerc
> # glance image-create --name=CirrOS-Test --is-public=true
> --container-format=bare --disk-format=qcow2 < cirros-0.3.0-x86_64-disk.img
> +--+--+
> | Property | Value|
> +--+--+
> | checksum | 50bdc35edb03a38d91b1b071afb20a3c |
> | container_format | bare |
> | created_at   | 2014-07-11T08:53:05.857978   |
> | deleted  | False|
> | deleted_at   | None |
> | disk_format  | qcow2|
> | id   | 5132246d-8f63-4456-86ab-357fb241f3f9 |
> | is_public| True |
> | min_disk | 0|
> | min_ram  | 0|
> | name | CirrOS-Test  |
> | owner| 40654094d0684d238681bc0b1ab6617d |
> | protected| False|
> | size | 9761280  |
> | status   | active   |
> | updated_at   | 2014-07-11T08:53:07.240096   |
> +--+--+
> 
> Note, the keystonerc contains my credantials / AUTH_URL. Also, keystone is
> working, as far as I can tell:
> 
> # keystone --os-username=glance --os-password=Secret
> --os-auth-url=http://127.0.0.1:35357/v2.0 token-get
> +--+--+
> | Property |  Value   |
> +--+--+
> | expires  |   2014-07-12T09:03:46Z   |
> |id| 20c5f2290aa145368f31a88db711351e |
> | user_id  | 0a06c68d8adb4739b41628a0cb326f6a |
> +--+--+
> 
> Telnet from Engine:
> 
> telnet 192.168.50.33 9292
> Trying 192.168.50.33...
> Connected to 192.168.50.33.
> Escape character is '^]'.
> get
> HTTP/1.1 400 Bad request syntax ('get')
> Server: BaseHTTP/0.3 Python/2.6.6
> Date: Fri, 11 Jul 2014 09:04:14 GMT
> Content-Type: text/html
> Connection: close
> 
> 
> Error response
> 
> 
> Error response
> Error code 400.
> Message: Bad request syntax ('get').
> Error code explanation: 400 = Bad request syntax or unsupported method.
> 
> Connection closed by foreign host.
> 
> 
> [1]
> http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/verifying-identity-install.html
> http://docs.openstack.org/grizzly/openstack-compute/admin/content/adding-images.html
> 
> --
> 
> Daniel Helgenberger
> m box bewegtbild GmbH
> 
> P: +49/30/2408781-22
> F: +49/30/2408781-10
> 
> ACKERSTR. 19
> D-10115 BERLIN
> 
> 
> www.m-box.de  www.monkeymen.tv
> 
> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Add OpenStack-Glance

2014-07-11 Thread Daniel Helgenberger
Hello,

following Itamar Heim's idea to use Glance for moving around images in
Ovirt, I went ahead setting up a VM with Glance and Keystone. I have
configured the following user in keystone in glace:

[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = glance
admin_password = Secret

Using the appropriate credentials in oVirt / Add external provider with
http://192.168.50.33:9292 I get:
Failed to communicate with the external provider

The TCP port is open.

I fail to see anything in the glance api.log.

Question: How can I debug this from ovirt?

Thanks!

--

I used the official test [1] to add the cirros image to glance on my vm:

# source keystonerc 
# glance image-create --name=CirrOS-Test --is-public=true 
--container-format=bare --disk-format=qcow2 < cirros-0.3.0-x86_64-disk.img
+--+--+
| Property | Value|
+--+--+
| checksum | 50bdc35edb03a38d91b1b071afb20a3c |
| container_format | bare |
| created_at   | 2014-07-11T08:53:05.857978   |
| deleted  | False|
| deleted_at   | None |
| disk_format  | qcow2|
| id   | 5132246d-8f63-4456-86ab-357fb241f3f9 |
| is_public| True |
| min_disk | 0|
| min_ram  | 0|
| name | CirrOS-Test  |
| owner| 40654094d0684d238681bc0b1ab6617d |
| protected| False|
| size | 9761280  |
| status   | active   |
| updated_at   | 2014-07-11T08:53:07.240096   |
+--+--+

Note, the keystonerc contains my credantials / AUTH_URL. Also, keystone is 
working, as far as I can tell:

# keystone --os-username=glance --os-password=Secret 
--os-auth-url=http://127.0.0.1:35357/v2.0 token-get
+--+--+
| Property |  Value   |
+--+--+
| expires  |   2014-07-12T09:03:46Z   |
|id| 20c5f2290aa145368f31a88db711351e |
| user_id  | 0a06c68d8adb4739b41628a0cb326f6a |
+--+--+

Telnet from Engine:

telnet 192.168.50.33 9292
Trying 192.168.50.33...
Connected to 192.168.50.33.
Escape character is '^]'.
get
HTTP/1.1 400 Bad request syntax ('get')
Server: BaseHTTP/0.3 Python/2.6.6
Date: Fri, 11 Jul 2014 09:04:14 GMT
Content-Type: text/html
Connection: close


Error response


Error response
Error code 400.
Message: Bad request syntax ('get').
Error code explanation: 400 = Bad request syntax or unsupported method.

Connection closed by foreign host.


[1]
http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/verifying-identity-install.html
http://docs.openstack.org/grizzly/openstack-compute/admin/content/adding-images.html

-- 

Daniel Helgenberger 
m box bewegtbild GmbH 

P: +49/30/2408781-22
F: +49/30/2408781-10

ACKERSTR. 19 
D-10115 BERLIN 


www.m-box.de  www.monkeymen.tv 

Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767 



smime.p7s
Description: S/MIME cryptographic signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Reclaim/Trim/issue_discards : how to inform my LUNs about disk space waste?

2014-07-11 Thread Nicolas Ecarnot

Le 03/07/2014 16:54, Nicolas Ecarnot a écrit :

Hi,

In my hosts, I see that /etc/lvm/lvm.conf shows :

issue_discards = 0

Can I enable it to 1 ?

Thank you?

[oVirt 3.4.1, iSCSI, Equallogic SANs]



Hi,

Should I ask this question on the dev mailing-list?

--
Nicolas Ecarnot
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Problem with hosted engine setup on VLAN/bond combo

2014-07-11 Thread Sven Kieske
Am 10.07.2014 18:02, schrieb Chris Adams:
> Is there maybe still a problem combining a VLAN on a bond?

Yes exactly, but just with hosted-engine.
See this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1072027
(Should be resolved with 3.5)

There is also a workaround in the BZ, didn't try it myself.

HTH

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users