[ovirt-users] Re: ovirt-ha-agent

2021-01-16 Thread Aries Ahito
Hi Yedidyah. yep we reinstall everything from scratch even the operating
system we reinstalled it. so technically its a fresh install.

after successfully setting up the hosted-engine we did add  the rest of the
node. when i check the node status. its says ovirt agent HA N/A

On Sun, 17 Jan 2021, 15:32 Yedidyah Bar David,  wrote:

> On Sat, Jan 16, 2021 at 4:31 AM Ariez Ahito 
> wrote:
> >
> > last dec i installed hosted-engine seems to be working, we can migrate
> the engine to different host. but we need to reinstall everything because
> of gluster additional configuration.
> > so we did installed hosted-engine. but as per checking. we cannot
> migrate the engine to other hosts. and the ovirt-ha-agent and
> ovirt-ha-broker is status is inactive (dead) what are we missing?
>
> Please clarify what exact steps you took.
>
> Did you reinstall everything? How?
>
> Did you reinstall just one host? How?
>
> Best regards,
> --
> Didi
>
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WWAGEHTFSHMTMZNBV7RPTPX42Z3CTBD2/


[ovirt-users] Re: ovirt-ha-agent

2021-01-16 Thread Yedidyah Bar David
On Sat, Jan 16, 2021 at 4:31 AM Ariez Ahito  wrote:
>
> last dec i installed hosted-engine seems to be working, we can migrate the 
> engine to different host. but we need to reinstall everything because of 
> gluster additional configuration.
> so we did installed hosted-engine. but as per checking. we cannot migrate the 
> engine to other hosts. and the ovirt-ha-agent and ovirt-ha-broker is status 
> is inactive (dead) what are we missing?

Please clarify what exact steps you took.

Did you reinstall everything? How?

Did you reinstall just one host? How?

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


[ovirt-users] Re: oVirt Engine no longer Starting

2021-01-16 Thread penguin pages
I do not know what happened to my other VMs.  Two are important  ns01 and ns02 
which are my IDM cluster nodes with also plex and other utilities / services.

Most of the rest are throw away VMs for testing / OCP /OKD

I think I may have to redeploy... but concerns are

1)  CentOS8 Streams has package conflicts with cockpit and ovirt
https://bugzilla.redhat.com/show_bug.cgi?id=1917011

2) I do have a backup.. but hoping the deployment could redeploy and use 
existing PostGres DB... and so save rebuild.  I think I have a backup.. but it 
is weeks old.. and.. so lots of things changed.  (need to automate backups to 
my NAS .. on todo list now). 

I think I will try to redeploy and see how it goes...  Thanks for help.. I am 
sure this drama fest is not over.  More to come.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AKRPZ6UAIC6VVFLNG3PZILFNBXXOMQLC/


[ovirt-users] Re: ovirt-ha-agent

2021-01-16 Thread Strahil Nikolov via Users
В 02:29 + на 16.01.2021 (сб), Ariez Ahito написа:
> last dec i installed hosted-engine seems to be working, we can
> migrate the engine to different host. but we need to reinstall
> everything because of gluster additional configuration.
> so we did installed hosted-engine. but as per checking. we cannot
> migrate the engine to other hosts. and the ovirt-ha-agent and ovirt-
> ha-broker is status is inactive (dead) what are we missing?

First fix the 2 services before you can move it. Check /var/log/ovirt-
hosted-engine-ha/{agent,broker}.log for clues. Start with the broker
first.

Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7L4J2LFJKWNB3F5IKXNV4JJYG2MKEEAF/


[ovirt-users] Re: oVirt Engine no longer Starting

2021-01-16 Thread Strahil Nikolov via Users

> [root@medusa qemu]# virsh define /tmp/ns01.xml
> Please enter your authentication name: admin
> Please enter your password:
> Domain ns01 defined from /tmp/ns01.xml
> 
> [root@medusa qemu]# virsh start /tmp/ns01.xml
> Please enter your authentication name: admin
> Please enter your password:
> error: failed to get domain '/tmp/ns01.xml'
> 
> [root@medusa qemu]#

When you define the file, you start the VM by name.

After defining run 'virsh list'.
Based on your xml you should use 'virsh start ns01'.

Notice:As you can see my HostedEngine uses '/var/run/vdsm/' instead
of '/rhev/data-center/mnt/glusterSD/...' which is actually just a
symbolic link.



  
  

  
  
  
  8ec7a465-151e-4ac3-92a7-
965ecf854501
  
  




When you start the HE, it might complain of that missing so you have to
create it.

If it complains about network vdsm-ovirtmgmt missing, you can also
define it  via virsh:
# cat vdsm-ovirtmgmt.xml  


  vdsm-ovirtmgmt

  8ded486e-e681-4754-af4b-5737c2b05405

  

  



Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SOMUSIHCIKJRQDIUEL5VUZHFJOXH4BV6/


[ovirt-users] Re: oVirt Engine no longer Starting

2021-01-16 Thread Alex K
On Sat, Jan 16, 2021, 16:08 penguin pages  wrote:

>
> Thanks for help following below.
>
> 1) Auth to Libvirtd and show VM "hosted engine"  but also now that I
> manually registered "ns01" per above
> [root@medusa ~]# vdsm-client Host getVMList
> [
> {
> "status": "Down",
> "statusTime": "2218288798",
> "vmId": "69ab4f82-1a53-42c8-afca-210a3a2715f1"
> }
> ]
> [root@medusa ~]# virsh -c
> qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf
> Welcome to virsh, the virtualization interactive terminal.
>
> Type:  'help' for help with commands
>'quit' to quit
>
> virsh # list --all
>  Id   NameState
> 
>  -HostedEngineshut off
>  -HostedEngineLocal   shut off
>  -ns01shut off
>
> 2) Start VM  but seems network is needed first
> virsh # start HostedEngine
> error: Failed to start domain HostedEngine
> error: Network not found: no network with matching name 'vdsm-ovirtmgmt'
>
> virsh # start HostedEngineLocal
> error: Failed to start domain HostedEngineLocal
> error: Requested operation is not valid: network 'default' is not active
>
> 3) Start Networks:  This is "next next" HCI+Gluster build so it called it
> "ovirtmgmt"
> virsh # net-list
>  Name  StateAutostart   Persistent
> 
>  ;vdsmdummy;   active   no  no
> virsh # net-autostart --network default
> Network default marked as autostarted
> virsh # net-start default
> Network default started
> virsh # start HostedEngineLocal
> error: Failed to start domain HostedEngineLocal
> error: Cannot access storage file '/var/tmp/localvmn4khg_ak/seed.iso': No
> such file or directory
>
> <<<>>
>
> virsh # dumpxml HostedEngineLocal
> 
>   HostedEngineLocal
>   bb2006ce-838b-47a3-a049-7e3e5c7bb049
>   
> http://libosinfo.org/xmlns/libvirt/domain/1.0";>
>   http://redhat.com/rhel/8.0"/>
> 
>   
>   16777216
>   16777216
>   4
>   
> hvm
> 
> 
>   
>   
> 
> 
>   
>   
>   
> 
>   
>   destroy
>   restart
>   destroy
>   
> 
> 
>   
>   
> /usr/libexec/qemu-kvm
> 
>   
>file='/var/tmp/localvmn4khg_ak/images/e2e4d97c-3430-4880-888e-84c283a80052/0f78b6f7-7755-4fe5-90e3-d41df791a645'/>
>   
>function='0x0'/>
> 
> 
>   
>   
>   
>   
>   
> 
> 
> 
>function='0x2'/>
> 
> 
> 
>   
>   
>function='0x0' multifunction='on'/>
> 
> 
>   
>   
>function='0x1'/>
> 
> 
>   
>   
>function='0x2'/>
> 
> 
>   
>   
>function='0x3'/>
> 
> 
>   
>   
>function='0x4'/>
> 
> 
>function='0x0'/>
> 
> 
>   
>   
>   
>function='0x0'/>
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
>   
> 
> 
> 
> 
>   
> 
> 
>   
>function='0x0'/>
> 
> 
> 
>   /dev/random
>function='0x0'/>
> 
>   
> 
>
> virsh #
>
> ##So not sure what hosted engine needs an ISO image.  Can I remove this?
> virsh # change-media HostedEngineLocal /var/tmp/localvmn4khg_ak/seed.iso
> --eject
> Successfully ejected media.
>
> virsh # start HostedEngineLocal
> error: Failed to start domain HostedEngineLocal
> error: Cannot access storage file
> '/var/tmp/localvmn4khg_ak/images/e2e4d97c-3430-4880-888e-84c283a80052/0f78b6f7-7755-4fe5-90e3-d41df791a645'
> (as uid:107, gid:107): No such file or directory
> [root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# tree |grep
> e2e4d97c-3430-4880-888e-84c283a80052/0f78b6f7-7755-4fe5-90e3-d41df791a645
> [root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# pwd
> /gluster_bricks/engine/engine/3afc47ba-afb9-413f-8de5-8d9a2f45ecde
> [root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# tree
> .
> ├── dom_md
> │   ├── ids
> │   ├── inbox
> │   ├── leases
> │   ├── metadata
> │   ├── outbox
> │   └── xleases
> ├── ha_agent
> │   ├── hosted-engine.lockspace ->
> /run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/6023f2b1-ea6e-485b-9ac2-8decd5f7820d/b38a5e37-fac4-4c23-a0c4-7359adff619c
> │   └── hosted-engine.metadata ->
> /run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/77082dd8-7cb5-41cc-a69f-0f4c0380db23/38d552c5-689d-47b7-9eea-adb308da8027
> ├── images
> │   ├── 1dc69552-dcc6-484d-8149-86c93ff4b8cc
> │   │   ├── e4e26573-09a5-43fa-91ec-37d12de46480
> │   │   ├── e4e26573-09a5-43fa-91ec-37d12de46480.lease
> │   │   └── e4e26573-09a5-43fa-91ec-37d12de46480.meta
> │   ├── 375d2483-ee83-4cad-b421-a5a70ec06ba6
> │   │   ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a
> │   │   ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a.lease
> │   │   └── f936d4be-15e3-4983-8bf0-9ba5b97e638a.meta
> │   ├── 6023f2b1-ea6e-485b-9ac2-8decd5f7820d
> │   │   ├── b38a5e37-fac4-4c23-a0c4-7359adff619c
> │   │   ├── b38a5e37

[ovirt-users] Re: oVirt Engine no longer Starting

2021-01-16 Thread penguin pages

Thanks for help following below.

1) Auth to Libvirtd and show VM "hosted engine"  but also now that I manually 
registered "ns01" per above
[root@medusa ~]# vdsm-client Host getVMList
[
{
"status": "Down",
"statusTime": "2218288798",
"vmId": "69ab4f82-1a53-42c8-afca-210a3a2715f1"
}
]
[root@medusa ~]# virsh -c 
qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
   'quit' to quit

virsh # list --all
 Id   NameState

 -HostedEngineshut off
 -HostedEngineLocal   shut off
 -ns01shut off

2) Start VM  but seems network is needed first
virsh # start HostedEngine
error: Failed to start domain HostedEngine
error: Network not found: no network with matching name 'vdsm-ovirtmgmt'

virsh # start HostedEngineLocal
error: Failed to start domain HostedEngineLocal
error: Requested operation is not valid: network 'default' is not active

3) Start Networks:  This is "next next" HCI+Gluster build so it called it 
"ovirtmgmt"
virsh # net-list
 Name  StateAutostart   Persistent

 ;vdsmdummy;   active   no  no
virsh # net-autostart --network default
Network default marked as autostarted
virsh # net-start default
Network default started
virsh # start HostedEngineLocal
error: Failed to start domain HostedEngineLocal
error: Cannot access storage file '/var/tmp/localvmn4khg_ak/seed.iso': No such 
file or directory

<<<>>

virsh # dumpxml HostedEngineLocal

  HostedEngineLocal
  bb2006ce-838b-47a3-a049-7e3e5c7bb049
  
http://libosinfo.org/xmlns/libvirt/domain/1.0";>
  http://redhat.com/rhel/8.0"/>

  
  16777216
  16777216
  4
  
hvm


  
  


  
  
  

  
  destroy
  restart
  destroy
  


  
  
/usr/libexec/qemu-kvm

  
  
  
  


  
  
  
  
  



  



  
  
  


  
  
  


  
  
  


  
  
  


  
  
  


  


  
  
  
  


  

  


  


  
  




  


  
  



  /dev/random
  

  


virsh #

##So not sure what hosted engine needs an ISO image.  Can I remove this?
virsh # change-media HostedEngineLocal /var/tmp/localvmn4khg_ak/seed.iso --eject
Successfully ejected media.

virsh # start HostedEngineLocal
error: Failed to start domain HostedEngineLocal
error: Cannot access storage file 
'/var/tmp/localvmn4khg_ak/images/e2e4d97c-3430-4880-888e-84c283a80052/0f78b6f7-7755-4fe5-90e3-d41df791a645'
 (as uid:107, gid:107): No such file or directory
[root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# tree |grep 
e2e4d97c-3430-4880-888e-84c283a80052/0f78b6f7-7755-4fe5-90e3-d41df791a645
[root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# pwd
/gluster_bricks/engine/engine/3afc47ba-afb9-413f-8de5-8d9a2f45ecde
[root@medusa 3afc47ba-afb9-413f-8de5-8d9a2f45ecde]# tree
.
├── dom_md
│   ├── ids
│   ├── inbox
│   ├── leases
│   ├── metadata
│   ├── outbox
│   └── xleases
├── ha_agent
│   ├── hosted-engine.lockspace -> 
/run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/6023f2b1-ea6e-485b-9ac2-8decd5f7820d/b38a5e37-fac4-4c23-a0c4-7359adff619c
│   └── hosted-engine.metadata -> 
/run/vdsm/storage/3afc47ba-afb9-413f-8de5-8d9a2f45ecde/77082dd8-7cb5-41cc-a69f-0f4c0380db23/38d552c5-689d-47b7-9eea-adb308da8027
├── images
│   ├── 1dc69552-dcc6-484d-8149-86c93ff4b8cc
│   │   ├── e4e26573-09a5-43fa-91ec-37d12de46480
│   │   ├── e4e26573-09a5-43fa-91ec-37d12de46480.lease
│   │   └── e4e26573-09a5-43fa-91ec-37d12de46480.meta
│   ├── 375d2483-ee83-4cad-b421-a5a70ec06ba6
│   │   ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a
│   │   ├── f936d4be-15e3-4983-8bf0-9ba5b97e638a.lease
│   │   └── f936d4be-15e3-4983-8bf0-9ba5b97e638a.meta
│   ├── 6023f2b1-ea6e-485b-9ac2-8decd5f7820d
│   │   ├── b38a5e37-fac4-4c23-a0c4-7359adff619c
│   │   ├── b38a5e37-fac4-4c23-a0c4-7359adff619c.lease
│   │   └── b38a5e37-fac4-4c23-a0c4-7359adff619c.meta
│   ├── 685309b1-1ae9-45f3-90c3-d719a594482d
│   │   ├── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0
│   │   ├── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0.lease
│   │   └── 9eddcf51-fd15-4de5-a4b6-a83a9082dee0.meta
│   ├── 74f1b2e7-2483-4e4d-8301-819bcd99129e
│   │   ├── c1888b6a-c48e-46ce-9677-02e172ef07af
│   │   ├── c1888b6a-c48e-46ce-9677-02e172ef07af.lease
│   │   └── c1888b6a-c48e-46ce-9677-02e172ef07af.meta
│   └── 77082dd8-7cb5-41cc-a69f-0f4c0380db23
│   ├── 38d552c5-689d-47b7-9eea-adb308da8027
│   ├── 38d552c5-689d-47b7-9eea-adb308da8027.lease
│   └── 38d552c5-689d-47b7-9eea-adb308da8027.meta
└── master
├── tasks
│   ├── 150927c5-bae6-45e4-842c-a7ba229fc3ba