[ovirt-users] Re: data(Master) storage domain is inactive / Failed to Reconstruct Master Domain

2018-10-27 Thread Oliver Riesener
Hi Jonathan,

did you try:

- ACTIVATE your (Master) Storage domain
- confirm HOST has been rebooted

Oliver
> Am 27.10.2018 um 20:13 schrieb jonathan...@hotmail.com:
> 
> Hi all,
> 
> After a power outage, I face a big issue with my setup:
> 
> -Under "Compute ===> Data Centers" by Default DC status is "Non responsive"
> -Under "Compute ===>Data Centers ===> Default" all my storage domain are 
> inactive even the Data (Master).
> 
> Both of by storage domaine ISO and Data(master) are NFS based. The NFS node 
> is up and running and oVirt file on the mount are accessible.
> 
> log:
> -Failed to activate Storage Domain nas01-data2 (Data Center Default) by 
> admin@internal-authz
> -Failed to Reconstruct Master Domain for Data Center Default.
> 
> The result is that I can't start any of my VM.
> For you information, I have 23 VM running in this setup so wiping everything 
> is not an option.
> 
> Any idea how I can restore the storage domain?
> 
> 
> Thanks in advance
> 
> -Joleking
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/GR77JFAEG67AOP3AYG43DB4NCPWA4GZZ/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K4ZJ62LZM42VSN3NAFPIUEOBWTSOEV4M/


[ovirt-users] Re: Diary of hosted engine install woes

2018-10-27 Thread Brendan Holmes
Hi Simone,

 

“bootstrap VMs for some reasons fails to get an address from DHCP over libvirt 
default natted network”.  

 

I respectfully disagree.  Line 1784 of the most recent log I sent you is:

2018-10-24 14:12:26,524+0100 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2018-10-24 
14:12:25.437958', u'stdout': u'192.168.124.175', u'cmd': u"virsh -r 
net-dhcp-leases default | grep -i 00:16:3e:3d:13:d8 | awk '{ print $5 }' | cut 
-f1 -d'/'", 'failed': False, 'attempts': 2, u'stderr': u'', u'rc': 0, u'delta': 
u'0:00:00.070076', 'stdout_lines': [u'192.168.124.175'], u'start': u'2018-10-24 
14:12:25.367882'} 

I am able to ping the natted IP.

Also I wrote after an earlier attempt: “ovirt-engine.example.com resolves to a 
natted IP: 192.168.124.51”.  
(https://www.mail-archive.com/users@ovirt.org/msg51515.html).  

 

The process fails as the bootstrap VM is moved to the final engine VM on the 
shared storage.  I still think if I solve the DHCP problem on my network, the 
engine VM will be successfully created.  Are you able to confirm the Node VM 
(https://www.ovirt.org/node/) has DHCP enabled?  If so, then since this has the 
same DHCP problem as the engine VM (I have to type “dhclient” each boot to get 
an IP), I can use Node to troubleshoot.

 

Many thanks,

Brendan

 

From: Simone Tiraboschi  
Sent: 26 October 2018 08:39
To: B Holmes 
Cc: users 
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

 

On Thu, Oct 25, 2018 at 4:29 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

“The issue here is that it seams that your VM never got an address from libvirt 
default network DHCP” – but aren’t I obviating DHCP by using parameter:

OVEHOSTED_VM/cloudinitVMStaticCIDR=str:10.0.0.109/24  

?  VM should receive a static IP instead.

 

Perhaps there is a bug in hosted-engine setup that forces it to require DHCP. 

 

No, this is expected.

The deploy process will launch a bootstrap local VM that will get a temporary 
address via DHCP over libvirt default natted network.

The engine running on that VM will be used to configure the environment and 
create a VM on the shared storage.

Only at the end, the local VM will be shutdown and its disk moved over the disk 
of the VM created by the engine on the shared storage.

 

In your case it seams that the bootstrap VMs for some reasons fails to get an 
address from DHCP over libvirt default natted network.

I'd suggest to try connecting to that VM via VNC to see what's going on there.

 

If you have no more suggestions, I will buy a new router with different DHCP 
server.

 

Many thanks,

Brendan

 

From: Brendan Holmes mailto:m...@brendanh.com> > 
Sent: 24 October 2018 16:48
To: 'Simone Tiraboschi' mailto:stira...@redhat.com> >
Cc: 'users' mailto:users@ovirt.org> >
Subject: RE: [ovirt-users] Re: Diary of hosted engine install woes

 

Hi Simone,

 

[root@host ~]# virsh -r net-dhcp-leases default

Expiry Time  MAC addressProtocol  IP address
HostnameClient ID or DUID

---

 

[root@host ~]#

 

No, node is running on bare-metal.  Node was installed by plugging in a 
bootable USB.

 

Many thanks,

Brendan

 

From: Simone Tiraboschi mailto:stira...@redhat.com> > 
Sent: 24 October 2018 16:11
To: B Holmes mailto:m...@brendanh.com> >
Cc: users mailto:users@ovirt.org> >
Subject: Re: [ovirt-users] Re: Diary of hosted engine install woes

 

 

On Wed, Oct 24, 2018 at 4:56 PM Brendan Holmes mailto:m...@brendanh.com> > wrote:

Hi Simone,

 

My attempt to install the RPM output hundreds of lines similar to:

/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/__init__.pyc from 
install of ovirt-hosted-engine-setup-2.2.29-1.el7.noarch conflicts with file 
from package ovirt-hosted-engine-setup-2.2.26-1.el7.noarch

 

Do I need to install the matching version of ovirt node?

 

“using it interactively without manually filing an answerfile” – if you mean 
using command: hosted-engine –deploy 

and then manually typing each value, I tried this (choosing the static IP 
option) and the usual error occurs.  I attach the log from this attempt.

 

The issue here is that it seams that your VM never got an address from libvirt 
default network DHCP:

2018-10-24 15:36:14,370+0100 DEBUG 
otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:94 
local_vm_ip: {'stderr_lines': [], u'changed': True, u'end': u'2018-10-24 
15:36:13.196641', u'stdout': u'', u'cmd': u"virsh -r net-dhcp-leases default | 
grep -i 00:16:3e:3d:13:d8 | awk '{ print $5 }' | cut -f1 -d'/'", 'failed': 
False, u'delta': u'0:00:00.054641', u'stderr': u'', u'rc': 0, 'stdout_lines': 
[], u'start': u'2018-10-24 15:36:13.142000'}

 

Can you please share the output of 

  virsh -r 

[ovirt-users] data(Master) storage domain is inactive / Failed to Reconstruct Master Domain

2018-10-27 Thread jonathan763
Hi all,

After a power outage, I face a big issue with my setup:

-Under "Compute ===> Data Centers" by Default DC status is "Non responsive"
-Under "Compute ===>Data Centers ===> Default" all my storage domain are 
inactive even the Data (Master).

Both of by storage domaine ISO and Data(master) are NFS based. The NFS node is 
up and running and oVirt file on the mount are accessible.

log:
-Failed to activate Storage Domain nas01-data2 (Data Center Default) by 
admin@internal-authz
-Failed to Reconstruct Master Domain for Data Center Default.

The result is that I can't start any of my VM.
For you information, I have 23 VM running in this setup so wiping everything is 
not an option.

Any idea how I can restore the storage domain?


Thanks in advance

-Joleking
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GR77JFAEG67AOP3AYG43DB4NCPWA4GZZ/


[ovirt-users] No data after update

2018-10-27 Thread sasa . friedrich
Hi all!

Let me explain this step by step. Today I found out that certificates on engine 
expired (oVirt 3.3.1). I had trouble renewing them. After some investigation I 
found out that since version 3.5.4 certificates are renewed with engine-setup. 
All was ok when I updated (version by version) to version 3.5 (certs still not 
updated) but since my engine was running on FC19 I had to update to FC20 to 
continue update to desired version 3.5.4.
Fedora updated, yum updated engine-setup. After engine-setup (certificates were 
updated!) I could login to oVirt webadmin, but... All data gone! No data 
center, no hosts, no VMs... It's all blank. Like I installed it from scratch.
I used psql to check and data is in database. So what could be wrong?

Help, please help!

Thank you all!

BR
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/IZIUBVOXKPUYT4KQQ6LUKYZZWOB2S5CT/


[ovirt-users] Re: Engine restore failing

2018-10-27 Thread Maton, Brett
Not sure what you mean by ovirt-engine-appliance, I just deploy with
'hosted-engine --deploy...' and keep it upto date.

On Fri, 26 Oct 2018 at 13:23, Simone Tiraboschi  wrote:

> Adding also Didi on this.
> Brett, are you using the latest ovirt-engine-appliance?
>
> On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett 
> wrote:
>
>> Hi Simone,
>>
>>   I'm seeing the same error with new hosted-engine0setup RPM...
>> ...
>> [ ERROR ] fatal: [ovirt.gh.ltresources.co.uk]: FAILED! => {"changed":
>> true, "cmd": "engine-backup --mode=restore
>> --log=/var/log/ovirt-engine/setup/restore-backup-$(date -u
>> +%Y%m%d%H%M%S).log --file=/root/engine_backup --provision-all-databases
>> --restore-permissions", "delta": "0:00:12.219742", "end": "2018-10-26
>> 12:28:20.127547", "msg": "non-zero return code", "rc": 1, "start":
>> "2018-10-26 12:28:07.907805", "stderr": "FATAL: Failed checking
>> DbJustRestored", "stderr_lines": ["FATAL: Failed checking DbJustRestored"],
>> "stdout": "Preparing to restore:\n- Unpacking file
>> '/root/engine_backup'\nRestoring:\n- Files\nProvisioning PostgreSQL
>> users/databases:\n- user 'engine', database 'engine'\n- user
>> 'ovirt_engine_history', database 'ovirt_engine_history'\nRestoring:\n-
>> Engine database 'engine'\n  - Cleaning up temporary tables in engine
>> database 'engine'", "stdout_lines": ["Preparing to restore:", "- Unpacking
>> file '/root/engine_backup'", "Restoring:", "- Files", "Provisioning
>> PostgreSQL users/databases:", "- user 'engine', database 'engine'", "- user
>> 'ovirt_engine_history', database 'ovirt_engine_history'", "Restoring:", "-
>> Engine database 'engine'", "  - Cleaning up temporary tables in engine
>> database 'engine'"]}
>> ...
>>
>> On Fri, 26 Oct 2018 at 09:19, Simone Tiraboschi 
>> wrote:
>>
>>>
>>>
>>> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 
>>> wrote:
>>>
 Hi Simone,

   Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of
 the 4.2.6 installation on the node I'm using to redeploy SHE, or should I
 bump everything to the 4.2.7 pre-release ?

>>>
>>> You can simply update ovirt-hosted-engine-setup rpm
>>>
>>>

 Regards,
 Brett

 On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi 
 wrote:

>
>
> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 
> wrote:
>
>> oVirt: 4.2.6.2-1
>>
>> I'm Moving hosted engine from one storage domain to another by
>> backing up and restoring the engine.
>>
>> New VM provisioned in new storage domain, I get as far as trying to
>> restore the backup:
>>
>> but am getting this DbJustRestored Error:
>>
>
> Hi,
> you probably hit:
> https://bugzilla.redhat.com/show_bug.cgi?id=1620314
>
> That feature has been reworked for 4.2.7: with next release you will
> be able to run
>   hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
> that will automatically inject your backup file.
>
> If you want to have a preview of that feature you can try with
>
> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm
>
>
>
>> engine-backup --mode=restore --file=engine.backup
>> --log=engine-restore.log --provision-db --provision-dwh-db
>> --restore-permissions
>> Preparing to restore:
>> - Unpacking file 'engine.backup'
>> Restoring:
>> - Files
>> Provisioning PostgreSQL users/databases:
>> - user 'engine', database 'engine'
>> - user 'ovirt_engine_history', database 'ovirt_engine_history'
>> Restoring:
>> - Engine database 'engine'
>>   - Cleaning up temporary tables in engine database 'engine'
>> FATAL: Failed checking DbJustRestored
>>
>> restore log attached, any suggestions ?
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/45F2AFAEUVJSJDSLZNKGXL3RC6XYJJGN/