Re: [ovirt-users] engine upgrade 3.5 -> 4.1.1

2017-05-02 Thread Simone Tiraboschi
On Fri, Apr 28, 2017 at 6:18 PM, Sverker Abrahamsson <
sver...@abrahamsson.com> wrote:

> Hi Simone.
> I get the following result:
> # sudo -u postgres psql engine -c "SELECT vm_guid, run_on_vds FROM vms
> WHERE vm_name in (select 'HostedEngine' union select option_value from
> vdc_options where option_name='HostedEngineVmName')"
> could not change directory to "/root"
>vm_guid| run_on_vds
> --+
>  4e4df6ea-ea01-465b-9424-4436aa24cec0 |
> (1 row)
>

OK, this simply mean that one of your existing VMs got identified as the
hosted-engine one.
Could you please check why and eventually rename or delete that VM?


>
> /Sverker
>
> Den 2017-04-28 kl. 10:32, skrev Simone Tiraboschi:
>
>
> On Thu, Apr 27, 2017 at 9:27 PM, Sverker Abrahamsson <
> sver...@abrahamsson.com> wrote:
>
>> Hi
>> I upgraded an old ovirt installation from 3.5 to latest version, but end
>> up with this error message when running engine-setup:
>>
>> [ INFO  ] Stage: Setup validation
>> [ ERROR ] It seems that you are running your engine inside of the
>> hosted-engine VM and are not in "Global Maintenance" mode. In that case you
>> should put the system into the "Global Maintenance" mode before running
>> engine-setup, or the hosted-engine HA agent might kill the machine, which
>> might corrupt your data.
>> [ ERROR ] Failed to execute stage 'Setup validation': Hosted Engine setup
>> detected, but Global Maintenance is not set.
>>
>> This is not a hosted engine, so why does it think so? How can I get it
>> past this step?
>>
>
> Hi Sverker,
> could you please share the output of:
>   sudo -u postgres psql engine -c "SELECT vm_guid, run_on_vds FROM vms
> WHERE vm_name in (select 'HostedEngine' union select option_value from
> vdc_options where option_name='HostedEngineVmName')"
>
> thanks
>
>
>> Best regards
>> /Sverker
>>
>> ___
>> 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] engine upgrade 3.5 -> 4.1.1

2017-04-28 Thread Sverker Abrahamsson

Hi Simone.
I get the following result:
# sudo -u postgres psql engine -c "SELECT vm_guid, run_on_vds FROM vms 
WHERE vm_name in (select 'HostedEngine' union select option_value from 
vdc_options where option_name='HostedEngineVmName')"

could not change directory to "/root"
   vm_guid| run_on_vds
--+
 4e4df6ea-ea01-465b-9424-4436aa24cec0 |
(1 row)

/Sverker


Den 2017-04-28 kl. 10:32, skrev Simone Tiraboschi:


On Thu, Apr 27, 2017 at 9:27 PM, Sverker Abrahamsson 
> wrote:


Hi
I upgraded an old ovirt installation from 3.5 to latest version,
but end up with this error message when running engine-setup:

[ INFO  ] Stage: Setup validation
[ ERROR ] It seems that you are running your engine inside of the
hosted-engine VM and are not in "Global Maintenance" mode. In that
case you should put the system into the "Global Maintenance" mode
before running engine-setup, or the hosted-engine HA agent might
kill the machine, which might corrupt your data.
[ ERROR ] Failed to execute stage 'Setup validation': Hosted
Engine setup detected, but Global Maintenance is not set.

This is not a hosted engine, so why does it think so? How can I
get it past this step?


Hi Sverker,
could you please share the output of:
  sudo -u postgres psql engine -c "SELECT vm_guid, run_on_vds FROM vms 
WHERE vm_name in (select 'HostedEngine' union select option_value from 
vdc_options where option_name='HostedEngineVmName')"


thanks


Best regards
/Sverker

___
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] engine upgrade 3.5 -> 4.1.1

2017-04-27 Thread Sverker Abrahamsson

Hi
I upgraded an old ovirt installation from 3.5 to latest version, but end 
up with this error message when running engine-setup:


[ INFO  ] Stage: Setup validation
[ ERROR ] It seems that you are running your engine inside of the 
hosted-engine VM and are not in "Global Maintenance" mode. In that case 
you should put the system into the "Global Maintenance" mode before 
running engine-setup, or the hosted-engine HA agent might kill the 
machine, which might corrupt your data.
[ ERROR ] Failed to execute stage 'Setup validation': Hosted Engine 
setup detected, but Global Maintenance is not set.


This is not a hosted engine, so why does it think so? How can I get it 
past this step?


Best regards
/Sverker

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