Re: [ovirt-users] ovirt-engine client_secret

2016-09-13 Thread Maton, Brett
Thanks for the tip Yedidyah, the will no doubt be useful.


On 14 September 2016 at 07:03, Yedidyah Bar David  wrote:

> On Tue, Sep 13, 2016 at 7:53 PM, Simone Tiraboschi 
> wrote:
> >
> >
> > On Tue, Sep 13, 2016 at 6:43 PM, Maton, Brett 
> > wrote:
> >>
> >> I did try that, but it stopped because the database was already
> populated.
> >
> >
> > It shouldn't be an issue: you are supposed to be able to migrate also or
> > especially if you used the system in the past.
>
> If you want to use same existing remote database, you can simply skip
> restore
> (and backup) of the database. Try:
>
> engine-backup --mode=restore --scope=files ...
>
> >
> >>
> >>
> >> I'll give it another go...
> >>
> >> On 13 September 2016 at 17:23, Simone Tiraboschi 
> >> wrote:
> >>>
> >>>
> >>>
> >>> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett <
> mat...@ltresources.co.uk>
> >>> wrote:
> 
>  Hi,
> 
>    I had installed ovirt-engine on a physical host, but want to move it
>  to a hosted vm instead,
>    I created a VM and installed ovirt-engine.
> 
>    Stopped the engine on the physical host and ran engine-setup on the
>  VM, connecting it to the existing remote database.
>    Started ovirt-engine and ovirt-engine-dwhd
> 
>    DNS adjusted to point at the new VM instead of physical machine.
> 
>    I can get the the web-ui but when I try to login I get:
> 
>    Invalid request, parameter 'client_secret' not found or contains
>  invalid value.
> 
>    Can I generate a new client_secret or is there another trick ?
> >>>
> >>>
> >>> Please follow this:
> >>>
> >>> http://www.ovirt.org/develop/developer-guide/engine/
> migrate-to-hosted-engine/
> >>>
> >>> The migration path is based on backup/restore which also takes care of
> >>> certs, secrets and so on.
> >>>
> 
> 
>  Thanks in advance
> 
>  ___
>  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
> >
>
>
>
> --
> Didi
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt-engine client_secret

2016-09-13 Thread Yedidyah Bar David
On Tue, Sep 13, 2016 at 7:53 PM, Simone Tiraboschi  wrote:
>
>
> On Tue, Sep 13, 2016 at 6:43 PM, Maton, Brett 
> wrote:
>>
>> I did try that, but it stopped because the database was already populated.
>
>
> It shouldn't be an issue: you are supposed to be able to migrate also or
> especially if you used the system in the past.

If you want to use same existing remote database, you can simply skip restore
(and backup) of the database. Try:

engine-backup --mode=restore --scope=files ...

>
>>
>>
>> I'll give it another go...
>>
>> On 13 September 2016 at 17:23, Simone Tiraboschi 
>> wrote:
>>>
>>>
>>>
>>> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett 
>>> wrote:

 Hi,

   I had installed ovirt-engine on a physical host, but want to move it
 to a hosted vm instead,
   I created a VM and installed ovirt-engine.

   Stopped the engine on the physical host and ran engine-setup on the
 VM, connecting it to the existing remote database.
   Started ovirt-engine and ovirt-engine-dwhd

   DNS adjusted to point at the new VM instead of physical machine.

   I can get the the web-ui but when I try to login I get:

   Invalid request, parameter 'client_secret' not found or contains
 invalid value.

   Can I generate a new client_secret or is there another trick ?
>>>
>>>
>>> Please follow this:
>>>
>>> http://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/
>>>
>>> The migration path is based on backup/restore which also takes care of
>>> certs, secrets and so on.
>>>


 Thanks in advance

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



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


Re: [ovirt-users] ovirt-engine client_secret

2016-09-13 Thread Simone Tiraboschi
On Tue, Sep 13, 2016 at 6:43 PM, Maton, Brett 
wrote:

> I did try that, but it stopped because the database was already populated.
>

It shouldn't be an issue: you are supposed to be able to migrate also or
especially if you used the system in the past.


>
> I'll give it another go...
>
> On 13 September 2016 at 17:23, Simone Tiraboschi 
> wrote:
>
>>
>>
>> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett 
>> wrote:
>>
>>> Hi,
>>>
>>>   I had installed ovirt-engine on a physical host, but want to move it
>>> to a hosted vm instead,
>>>   I created a VM and installed ovirt-engine.
>>>
>>>   Stopped the engine on the physical host and ran engine-setup on the
>>> VM, connecting it to the existing remote database.
>>>   Started ovirt-engine and ovirt-engine-dwhd
>>>
>>>   DNS adjusted to point at the new VM instead of physical machine.
>>>
>>>   I can get the the web-ui but when I try to login I get:
>>>
>>>   Invalid request, parameter 'client_secret' not found or contains
>>> invalid value.
>>>
>>>   Can I generate a new client_secret or is there another trick ?
>>>
>>
>> Please follow this:
>> http://www.ovirt.org/develop/developer-guide/engine/migrate-
>> to-hosted-engine/
>>
>> The migration path is based on backup/restore which also takes care of
>> certs, secrets and so on.
>>
>>
>>>
>>> Thanks in advance
>>>
>>> ___
>>> 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] ovirt-engine client_secret

2016-09-13 Thread Maton, Brett
I did try that, but it stopped because the database was already populated.

I'll give it another go...

On 13 September 2016 at 17:23, Simone Tiraboschi 
wrote:

>
>
> On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett 
> wrote:
>
>> Hi,
>>
>>   I had installed ovirt-engine on a physical host, but want to move it to
>> a hosted vm instead,
>>   I created a VM and installed ovirt-engine.
>>
>>   Stopped the engine on the physical host and ran engine-setup on the VM,
>> connecting it to the existing remote database.
>>   Started ovirt-engine and ovirt-engine-dwhd
>>
>>   DNS adjusted to point at the new VM instead of physical machine.
>>
>>   I can get the the web-ui but when I try to login I get:
>>
>>   Invalid request, parameter 'client_secret' not found or contains
>> invalid value.
>>
>>   Can I generate a new client_secret or is there another trick ?
>>
>
> Please follow this:
> http://www.ovirt.org/develop/developer-guide/engine/
> migrate-to-hosted-engine/
>
> The migration path is based on backup/restore which also takes care of
> certs, secrets and so on.
>
>
>>
>> Thanks in advance
>>
>> ___
>> 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] ovirt-engine client_secret

2016-09-13 Thread Simone Tiraboschi
On Tue, Sep 13, 2016 at 6:07 PM, Maton, Brett 
wrote:

> Hi,
>
>   I had installed ovirt-engine on a physical host, but want to move it to
> a hosted vm instead,
>   I created a VM and installed ovirt-engine.
>
>   Stopped the engine on the physical host and ran engine-setup on the VM,
> connecting it to the existing remote database.
>   Started ovirt-engine and ovirt-engine-dwhd
>
>   DNS adjusted to point at the new VM instead of physical machine.
>
>   I can get the the web-ui but when I try to login I get:
>
>   Invalid request, parameter 'client_secret' not found or contains
> invalid value.
>
>   Can I generate a new client_secret or is there another trick ?
>

Please follow this:
http://www.ovirt.org/develop/developer-guide/engine/migrate-to-hosted-engine/

The migration path is based on backup/restore which also takes care of
certs, secrets and so on.


>
> Thanks in advance
>
> ___
> 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] ovirt-engine client_secret

2016-09-13 Thread Maton, Brett
Hi,

  I had installed ovirt-engine on a physical host, but want to move it to a
hosted vm instead,
  I created a VM and installed ovirt-engine.

  Stopped the engine on the physical host and ran engine-setup on the VM,
connecting it to the existing remote database.
  Started ovirt-engine and ovirt-engine-dwhd

  DNS adjusted to point at the new VM instead of physical machine.

  I can get the the web-ui but when I try to login I get:

  Invalid request, parameter 'client_secret' not found or contains invalid
value.

  Can I generate a new client_secret or is there another trick ?

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