[ovirt-users]回复: how to renew expired ovirt node vdsm cert manually ?

2022-06-25 Thread adam_xu
Hi Dhanaraj
I still got some ssl error on my host like:
ERROR ssl handshake: socket error, address: :::192.168.49.188
Is there anything I should do in engine side?

-邮件原件-
发件人: dhanaraj.ramesh--- via Users  
发送时间: 2022年6月26日 12:35
收件人: users@ovirt.org
主题: [ovirt-users] how to renew expired ovirt node vdsm cert manually ?

below are the steps to renew the expired vdsm cert of ovirt node

# To check CERT expired
# openssl x509 -in /etc/pki/vdsm/certs/vdsmcert.pem -noout -dates

1. Backup vdsm folder
# cd /etc/pki
# mv vdsm vdsm.orig
# mkdir vdsm   ; chown vdsm:kvm vdsm
# cd vdsm
# mkdir libvirt-vnc certs keys libvirt-spice libvirt-migrate
# chown vdsm:kvm  libvirt-vnc certs keys libvirt-spice libvirt-migrate

2. Regenerate cert & keys
# vdsm-tool configure --module certificates

3. Copy the cert to destination location
chmod 440 /etc/pki/vdsm/keys/vdsmkey.pem
chown root /etc/pki/vdsmcerts/*pem
chmod 644 /etc/pki/vdsmcerts/*pem

cp /etc/pki/vdsm/certs/cacert.pem /etc/pki/vdsm/libvirt-spice/ca-cert.pem
cp /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/vdsm/libvirt-spice/server-key.pem
cp /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-spice/server-cert.pem

cp /etc/pki/vdsm/certs/cacert.pem /etc/pki/vdsm/libvirt-vnc/ca-cert.pem
cp /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/vdsm/libvirt-vnc/server-key.pem  
cp /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-vnc/server-cert.pem

cp -p /etc/pki/vdsm/certs/cacert.pem 
/etc/pki/vdsm/libvirt-migrate/ca-cert.pem
cp -p /etc/pki/vdsm/keys/vdsmkey.pem 
/etc/pki/vdsm/libvirt-migrate/server-key.pem
cp -p /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-migrate/server-cert.pem

chown root:qemu /etc/pki/vdsm/libvirt-migrate/server-key.pem

cp -p /etc/pki/vdsm.orig/keys/libvirt_password /etc/pki/vdsm/keys/

mv /etc/pki/libvirt/clientcert.pem /etc/pki/libvirt/clientcert.pem.orig
mv /etc/pki/libvirt/private/clientkey.pem 
/etc/pki/libvirt/private/clientkey.pem.orig
mv /etc/pki/CA/cacert.pem /etc/pki/CA/cacert.pem.orig
 
cp -p /etc/pki/vdsm/certs/vdsmcert.pem /etc/pki/libvirt/clientcert.pem
cp -p /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/libvirt/private/clientkey.pem
cp -p /etc/pki/vdsm/certs/cacert.pem /etc/pki/CA/cacert.pem


3. cross check the backup folder /etc/pki/vdsm.orig vs /etc/pki/vdsm
 # refer to /etc/pki/vdsm.orig/*/ and set the correct owner & group 
permission in /etc/pki/vdsm/*/

4. restart services # Make sure both services are up
systemctl restart vdsmd libvirtd
___
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/NHJNETOIMSHDXMQ6VTW6KS5NEWNBBYKG/
___
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/56QU2AD7YUX2VZUP4NZMRFXK32MJM7QE/


[ovirt-users] how to renew expired ovirt node vdsm cert manually ?

2022-06-25 Thread dhanaraj.ramesh--- via Users
below are the steps to renew the expired vdsm cert of ovirt node

# To check CERT expired
# openssl x509 -in /etc/pki/vdsm/certs/vdsmcert.pem -noout -dates

1. Backup vdsm folder
# cd /etc/pki
# mv vdsm vdsm.orig
# mkdir vdsm   ; chown vdsm:kvm vdsm
# cd vdsm
# mkdir libvirt-vnc certs keys libvirt-spice libvirt-migrate
# chown vdsm:kvm  libvirt-vnc certs keys libvirt-spice libvirt-migrate

2. Regenerate cert & keys
# vdsm-tool configure --module certificates

3. Copy the cert to destination location
chmod 440 /etc/pki/vdsm/keys/vdsmkey.pem
chown root /etc/pki/vdsmcerts/*pem
chmod 644 /etc/pki/vdsmcerts/*pem

cp /etc/pki/vdsm/certs/cacert.pem /etc/pki/vdsm/libvirt-spice/ca-cert.pem
cp /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/vdsm/libvirt-spice/server-key.pem
cp /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-spice/server-cert.pem

cp /etc/pki/vdsm/certs/cacert.pem /etc/pki/vdsm/libvirt-vnc/ca-cert.pem
cp /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/vdsm/libvirt-vnc/server-key.pem  
cp /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-vnc/server-cert.pem

cp -p /etc/pki/vdsm/certs/cacert.pem 
/etc/pki/vdsm/libvirt-migrate/ca-cert.pem
cp -p /etc/pki/vdsm/keys/vdsmkey.pem 
/etc/pki/vdsm/libvirt-migrate/server-key.pem
cp -p /etc/pki/vdsm/certs/vdsmcert.pem 
/etc/pki/vdsm/libvirt-migrate/server-cert.pem

chown root:qemu /etc/pki/vdsm/libvirt-migrate/server-key.pem

cp -p /etc/pki/vdsm.orig/keys/libvirt_password /etc/pki/vdsm/keys/

mv /etc/pki/libvirt/clientcert.pem /etc/pki/libvirt/clientcert.pem.orig
mv /etc/pki/libvirt/private/clientkey.pem 
/etc/pki/libvirt/private/clientkey.pem.orig
mv /etc/pki/CA/cacert.pem /etc/pki/CA/cacert.pem.orig
 
cp -p /etc/pki/vdsm/certs/vdsmcert.pem /etc/pki/libvirt/clientcert.pem
cp -p /etc/pki/vdsm/keys/vdsmkey.pem /etc/pki/libvirt/private/clientkey.pem
cp -p /etc/pki/vdsm/certs/cacert.pem /etc/pki/CA/cacert.pem


3. cross check the backup folder /etc/pki/vdsm.orig vs /etc/pki/vdsm
 # refer to /etc/pki/vdsm.orig/*/ and set the correct owner & group 
permission in /etc/pki/vdsm/*/

4. restart services # Make sure both services are up
systemctl restart vdsmd libvirtd
___
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/NHJNETOIMSHDXMQ6VTW6KS5NEWNBBYKG/


[ovirt-users]回复: Re: 回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
I know what happed to ovirt host.

The host’s cert has expired. So the host lost connect to engine.

How to renew the host cert if that host is already lost connection to engine?

 �

 �

发件人: wodel youchi  
发送时间: 2022年6月25日 18:58
收件人: adam...@adagene.com.cn
抄送: users 
主题: [ovirt-users]Re: 回复: Re: can not access engine when hosted engine is up

 �

On the healthy node try restarting: ovirt-ha-agent, ovirt-ha-broker and vdsmd 
services.

 �

Verify that the three services are running properly.

 �

Wait a couple of minutes the execute hosted-engine --vm-status to see if the 
node returns VM down message, if you get there try to start the VM engine again.

 �

 �

 �

On Sat, Jun 25, 2022, 11:49 mailto:adam...@adagene.com.cn> > wrote:

I’m using a fc-san storage. The storage is ok.

 �

发件人: wodel youchi mailto:wodel.you...@gmail.com> > 
发送时间: 2022年6月25日 18:40
收件人: adam...@adagene.com.cn  
抄送: users mailto:users@ovirt.org> >
主题: [ovirt-users]Re: 回复: Re: can not access engine when hosted engine is up

 �

Verify the ovirt-ha-agent service on the healthy node.

 �

What type of storage are you using for the VM engine? Is it still reachable?

 �

I don't think that the update broke your VM. The should at least boot.

 �

On Sat, Jun 25, 2022, 09:44 mailto:adam...@adagene.com.cn> > wrote:

Vdsm log:

2022-06-25 01:24:48,206-0700 INFO � (jsonrpc/6) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=33f083e2-1a06-449c-afce-66cf0c831be0 
(api:48)

2022-06-25 01:24:48,206-0700 INFO � (jsonrpc/6) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:54)

2022-06-25 01:24:48,206-0700 WARN � (jsonrpc/6) [throttled] MOM not available. 
Error: [Errno 111] Connection refused (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN � (jsonrpc/6) [throttled] MOM not available, 
KSM stats will be missing. Error: � (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN � (jsonrpc/6) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:48,208-0700 INFO � (jsonrpc/6) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:49,323-0700 INFO � (jsonrpc/4) [vdsm.api] START 
repoStats(domains=['74ff7aac-f9e9-4e89-86db-2f40e48ddd85']) from=::1,53638, 
task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:48)

2022-06-25 01:24:49,323-0700 INFO � (jsonrpc/4) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '2.0', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}} from=::1,53638, task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e 
(api:54)

2022-06-25 01:24:51,778-0700 INFO � (jsonrpc/1) [api.host] START getStats() 
from=::1,53638 (api:48)

2022-06-25 01:24:51,791-0700 INFO � (jsonrpc/1) [vdsm.api] START 
repoStats(domains=()) from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:48)

2022-06-25 01:24:51,791-0700 INFO � (jsonrpc/1) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '1.1', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}, 'fa5059e6-38ad-4f71-ad7d-0fc30aedf254': {'code': 0, 
'lastCheck': '4.4', 'delay': '0.000361428', 'valid': True, 'version': 0, 
'acquired': True, 'actual': True}} from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:54)

2022-06-25 01:24:51,792-0700 INFO � (jsonrpc/1) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=9845c9ca-e20e-425a-9fd2-f473b256380e 
(api:48)

2022-06-25 01:24:51,792-0700 INFO � (jsonrpc/1) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:54)

2022-06-25 01:24:51,793-0700 WARN � (jsonrpc/1) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:51,793-0700 INFO  �(jsonrpc/1) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:52,482-0700 INFO � (jsonrpc/7) [api.virt] START getStats() 
from=::1,53638, vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:48)

2022-06-25 01:24:52,482-0700 INFO � (jsonrpc/7) [api.virt] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'statsList': [{'statusTime': 
'11315340662', 'status': 'Down', 'vmId': 
'39877e08-26da-4694-a6a0-53bda1f1f87d', 'exitCode': 0, 'exitMessage': 'User 
shut down from within the guest', 'exitReason': 7}]} from=::1,53638, 
vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:54)

发件人: adam...@adagene.com.cn   
mailto:adam...@adagene.com.cn> > 
发送时间: 2022年6月25日 16:39
收件人: 'wodel youchi' mailto:wodel.you...@gmail.com> >
抄送: 'users' mailto:users@ovirt.org> >
主题: [ovirt-users]回复: Re: can not access engine when hosted engine is up

 �

I restart v

[ovirt-users]回复: ovirt 4.5 default username

2022-06-25 Thread adam_xu
Default username in ovirt 4.5 is

admin@localhost

 �

发件人: adam...@adagene.com.cn  
发送时间: 2022年6月25日 20:21
收件人: users@ovirt.org
主题: [ovirt-users] ovirt 4.5 default username

 �

Hi all,

I just setup a new ovirt 4.5 cluster for testing  �purpose. It was successful. 
But I can’t login using my password. Is there any changes between 4.4 and 4.5?

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


[ovirt-users] ovirt 4.5 default username

2022-06-25 Thread adam_xu
Hi all,

I just setup a new ovirt 4.5 cluster for testing  purpose. It was successful. 
But I can’t login using my password. Is there any changes between 4.4 and 4.5?

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


[ovirt-users] Re: API how to increase extend resize disk VM

2022-06-25 Thread sultanu--- via Users
Hello, team!
Is it possible to change Actual size on cow disk from API? In our 
infrastructure we have 3 host cluster + ISCSI storage, i need increase disk 
size for uploading cow image from API.   
___
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/XJ6B6BQ7AGSBFT3KICRG2FNTZIGD57YN/


[ovirt-users]Re: 回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread wodel youchi
On the healthy node try restarting: ovirt-ha-agent, ovirt-ha-broker and
vdsmd services.

Verify that the three services are running properly.

Wait a couple of minutes the execute hosted-engine --vm-status to see if
the node returns VM down message, if you get there try to start the VM
engine again.



On Sat, Jun 25, 2022, 11:49  wrote:

> I’m using a fc-san storage. The storage is ok.
>
>
>
> *发件人:* wodel youchi 
> *发送时间:* 2022年6月25日 18:40
> *收件人:* adam...@adagene.com.cn
> *抄送:* users 
> *主题:* [ovirt-users]Re: 回复: Re: can not access engine when hosted engine
> is up
>
>
>
> Verify the ovirt-ha-agent service on the healthy node.
>
>
>
> What type of storage are you using for the VM engine? Is it still
> reachable?
>
>
>
> I don't think that the update broke your VM. The should at least boot.
>
>
>
> On Sat, Jun 25, 2022, 09:44  wrote:
>
> Vdsm log:
>
> 2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] START
> multipath_health() from=::1,53638,
> task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:48)
>
> 2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] FINISH
> multipath_health return={} from=::1,53638,
> task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:54)
>
> 2022-06-25 01:24:48,206-0700 WARN  (jsonrpc/6) [throttled] MOM not
> available. Error: [Errno 111] Connection refused (throttledlog:104)
>
> 2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [throttled] MOM not
> available, KSM stats will be missing. Error:  (throttledlog:104)
>
> 2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [root] Failed to retrieve
> Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
>
> 2022-06-25 01:24:48,208-0700 INFO  (jsonrpc/6) [api.host] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)}
> from=::1,53638 (api:54)
>
> 2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] START
> repoStats(domains=['74ff7aac-f9e9-4e89-86db-2f40e48ddd85']) from=::1,53638,
> task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:48)
>
> 2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] FINISH repoStats
> return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck':
> '2.0', 'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired':
> True, 'actual': True}} from=::1,53638,
> task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:54)
>
> 2022-06-25 01:24:51,778-0700 INFO  (jsonrpc/1) [api.host] START getStats()
> from=::1,53638 (api:48)
>
> 2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] START
> repoStats(domains=()) from=::1,53638,
> task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:48)
>
> 2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH repoStats
> return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck':
> '1.1', 'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired':
> True, 'actual': True}, 'fa5059e6-38ad-4f71-ad7d-0fc30aedf254': {'code': 0,
> 'lastCheck': '4.4', 'delay': '0.000361428', 'valid': True, 'version': 0,
> 'acquired': True, 'actual': True}} from=::1,53638,
> task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:54)
>
> 2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] START
> multipath_health() from=::1,53638,
> task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:48)
>
> 2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH
> multipath_health return={} from=::1,53638,
> task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:54)
>
> 2022-06-25 01:24:51,793-0700 WARN  (jsonrpc/1) [root] Failed to retrieve
> Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
>
> 2022-06-25 01:24:51,793-0700 INFO  (jsonrpc/1) [api.host] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)}
> from=::1,53638 (api:54)
>
> 2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] START getStats()
> from=::1,53638, vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:48)
>
> 2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'statsList':
> [{'statusTime': '11315340662', 'status': 'Down', 'vmId':
> '39877e08-26da-4694-a6a0-53bda1f1f87d', 'exitCode': 0, 'exitMessage': 'User
> shut down from within the guest', 'exitReason': 7}]} from=::1,53638,
> vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:54)
>
> *发件人:* adam...@adagene.com.cn 
> *发送时间:* 2022年6月25日 16:39
> *收件人:* 'wodel youchi' 
> *抄送:* 'users' 
> *主题:* [ovirt-users]回复: Re: can not access engine when hosted engine is up
>
>
>
> I restart vdsmd process failed. And when I try to restart the only healthy
> node. Now no vm is running now.
>
> Too bad.
>
> # hosted-engine --vm-status
>
> The hosted engine configuration has not been retrieved from shared storage
> yet,
>
> please ensure that ovirt-ha-agent service is running.
>
>
>
> I think the engine vm is down because of “dnf update” on it.
>
> Is there any  recovery mode I can do now?
>
> *发件人:* wodel youchi 
> *发送时间:* 2022年6月25日 16:23
> *收件人:* adam...@adagene.com.cn
> *抄送:* users 
> *主题:* [ovir

[ovirt-users]回复: Re: 回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
I’m using a fc-san storage. The storage is ok.

 �

发件人: wodel youchi  
发送时间: 2022年6月25日 18:40
收件人: adam...@adagene.com.cn
抄送: users 
主题: [ovirt-users]Re: 回复: Re: can not access engine when hosted engine is up

 �

Verify the ovirt-ha-agent service on the healthy node.

 �

What type of storage are you using for the VM engine? Is it still reachable?

 �

I don't think that the update broke your VM. The should at least boot.

 �

On Sat, Jun 25, 2022, 09:44 mailto:adam...@adagene.com.cn> > wrote:

Vdsm log:

2022-06-25 01:24:48,206-0700 INFO � (jsonrpc/6) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=33f083e2-1a06-449c-afce-66cf0c831be0 
(api:48)

2022-06-25 01:24:48,206-0700 INFO � (jsonrpc/6) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:54)

2022-06-25 01:24:48,206-0700 WARN � (jsonrpc/6) [throttled] MOM not available. 
Error: [Errno 111] Connection refused (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN � (jsonrpc/6) [throttled] MOM not available, 
KSM stats will be missing. Error: � (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN � (jsonrpc/6) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:48,208-0700 INFO � (jsonrpc/6) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:49,323-0700 INFO � (jsonrpc/4) [vdsm.api] START 
repoStats(domains=['74ff7aac-f9e9-4e89-86db-2f40e48ddd85']) from=::1,53638, 
task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:48)

2022-06-25 01:24:49,323-0700 INFO � (jsonrpc/4) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '2.0', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}} from=::1,53638, task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e 
(api:54)

2022-06-25 01:24:51,778-0700 INFO � (jsonrpc/1) [api.host] START getStats() 
from=::1,53638 (api:48)

2022-06-25 01:24:51,791-0700 INFO � (jsonrpc/1) [vdsm.api] START 
repoStats(domains=()) from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:48)

2022-06-25 01:24:51,791-0700 INFO � (jsonrpc/1) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '1.1', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}, 'fa5059e6-38ad-4f71-ad7d-0fc30aedf254': {'code': 0, 
'lastCheck': '4.4', 'delay': '0.000361428', 'valid': True, 'version': 0, 
'acquired': True, 'actual': True}} from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:54)

2022-06-25 01:24:51,792-0700 INFO � (jsonrpc/1) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=9845c9ca-e20e-425a-9fd2-f473b256380e 
(api:48)

2022-06-25 01:24:51,792-0700 INFO � (jsonrpc/1) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:54)

2022-06-25 01:24:51,793-0700 WARN � (jsonrpc/1) [root] Failed to retrieve 
Hosted Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:51,793-0700 INFO  �(jsonrpc/1) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:52,482-0700 INFO � (jsonrpc/7) [api.virt] START getStats() 
from=::1,53638, vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:48)

2022-06-25 01:24:52,482-0700 INFO � (jsonrpc/7) [api.virt] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'statsList': [{'statusTime': 
'11315340662', 'status': 'Down', 'vmId': 
'39877e08-26da-4694-a6a0-53bda1f1f87d', 'exitCode': 0, 'exitMessage': 'User 
shut down from within the guest', 'exitReason': 7}]} from=::1,53638, 
vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:54)

发件人: adam...@adagene.com.cn   
mailto:adam...@adagene.com.cn> > 
发送时间: 2022年6月25日 16:39
收件人: 'wodel youchi' mailto:wodel.you...@gmail.com> >
抄送: 'users' mailto:users@ovirt.org> >
主题: [ovirt-users]回复: Re: can not access engine when hosted engine is up

 �

I restart vdsmd process failed. And when I try to restart the only healthy 
node. Now no vm is running now. 

Too bad.

# hosted-engine --vm-status

The hosted engine configuration has not been retrieved from shared storage yet,

please ensure that ovirt-ha-agent service is running.

 �

I think the engine vm is down because of “dnf update” on it.

Is there any � recovery mode I can do now?

发件人: wodel youchi mailto:wodel.you...@gmail.com> > 
发送时间: 2022年6月25日 16:23
收件人: adam...@adagene.com.cn  
抄送: users mailto:users@ovirt.org> >
主题: [ovirt-users] Re: can not access engine when hosted engine is up

 �

Try restarting the vdmd process in that node and you can try to start the VM 
engine in another healthy hosted node.

 �

On Sat, Jun 25, 2022, 09:07 mailto:adam...@adagene.com.cn> > wrote:

I can not pin

[ovirt-users]Re: 回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread wodel youchi
Verify the ovirt-ha-agent service on the healthy node.

What type of storage are you using for the VM engine? Is it still reachable?

I don't think that the update broke your VM. The should at least boot.

On Sat, Jun 25, 2022, 09:44  wrote:

> Vdsm log:
>
> 2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] START
> multipath_health() from=::1,53638,
> task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:48)
>
> 2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] FINISH
> multipath_health return={} from=::1,53638,
> task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:54)
>
> 2022-06-25 01:24:48,206-0700 WARN  (jsonrpc/6) [throttled] MOM not
> available. Error: [Errno 111] Connection refused (throttledlog:104)
>
> 2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [throttled] MOM not
> available, KSM stats will be missing. Error:  (throttledlog:104)
>
> 2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [root] Failed to retrieve
> Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
>
> 2022-06-25 01:24:48,208-0700 INFO  (jsonrpc/6) [api.host] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)}
> from=::1,53638 (api:54)
>
> 2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] START
> repoStats(domains=['74ff7aac-f9e9-4e89-86db-2f40e48ddd85']) from=::1,53638,
> task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:48)
>
> 2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] FINISH repoStats
> return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck':
> '2.0', 'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired':
> True, 'actual': True}} from=::1,53638,
> task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:54)
>
> 2022-06-25 01:24:51,778-0700 INFO  (jsonrpc/1) [api.host] START getStats()
> from=::1,53638 (api:48)
>
> 2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] START
> repoStats(domains=()) from=::1,53638,
> task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:48)
>
> 2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH repoStats
> return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck':
> '1.1', 'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired':
> True, 'actual': True}, 'fa5059e6-38ad-4f71-ad7d-0fc30aedf254': {'code': 0,
> 'lastCheck': '4.4', 'delay': '0.000361428', 'valid': True, 'version': 0,
> 'acquired': True, 'actual': True}} from=::1,53638,
> task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:54)
>
> 2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] START
> multipath_health() from=::1,53638,
> task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:48)
>
> 2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH
> multipath_health return={} from=::1,53638,
> task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:54)
>
> 2022-06-25 01:24:51,793-0700 WARN  (jsonrpc/1) [root] Failed to retrieve
> Hosted Engine HA info, is Hosted Engine setup finished? (api:168)
>
> 2022-06-25 01:24:51,793-0700 INFO  (jsonrpc/1) [api.host] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)}
> from=::1,53638 (api:54)
>
> 2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] START getStats()
> from=::1,53638, vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:48)
>
> 2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] FINISH getStats
> return={'status': {'code': 0, 'message': 'Done'}, 'statsList':
> [{'statusTime': '11315340662', 'status': 'Down', 'vmId':
> '39877e08-26da-4694-a6a0-53bda1f1f87d', 'exitCode': 0, 'exitMessage': 'User
> shut down from within the guest', 'exitReason': 7}]} from=::1,53638,
> vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:54)
>
> *发件人:* adam...@adagene.com.cn 
> *发送时间:* 2022年6月25日 16:39
> *收件人:* 'wodel youchi' 
> *抄送:* 'users' 
> *主题:* [ovirt-users]回复: Re: can not access engine when hosted engine is up
>
>
>
> I restart vdsmd process failed. And when I try to restart the only healthy
> node. Now no vm is running now.
>
> Too bad.
>
> # hosted-engine --vm-status
>
> The hosted engine configuration has not been retrieved from shared storage
> yet,
>
> please ensure that ovirt-ha-agent service is running.
>
>
>
> I think the engine vm is down because of “dnf update” on it.
>
> Is there any  recovery mode I can do now?
>
> *发件人:* wodel youchi 
> *发送时间:* 2022年6月25日 16:23
> *收件人:* adam...@adagene.com.cn
> *抄送:* users 
> *主题:* [ovirt-users] Re: can not access engine when hosted engine is up
>
>
>
> Try restarting the vdmd process in that node and you can try to start the
> VM engine in another healthy hosted node.
>
>
>
> On Sat, Jun 25, 2022, 09:07  wrote:
>
> I can not ping the engine. And no kvm process of engine in any node.
>
> I try to run “hosted-engine --vm-start”, it said:
>
> # hosted-engine --vm-start
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
>
> "__main__", mod_spec)
>
>   File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
>
>

[ovirt-users]回复: 回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
Vdsm log:

2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=33f083e2-1a06-449c-afce-66cf0c831be0 
(api:48)

2022-06-25 01:24:48,206-0700 INFO  (jsonrpc/6) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=33f083e2-1a06-449c-afce-66cf0c831be0 (api:54)

2022-06-25 01:24:48,206-0700 WARN  (jsonrpc/6) [throttled] MOM not available. 
Error: [Errno 111] Connection refused (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [throttled] MOM not available, 
KSM stats will be missing. Error:  (throttledlog:104)

2022-06-25 01:24:48,207-0700 WARN  (jsonrpc/6) [root] Failed to retrieve Hosted 
Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:48,208-0700 INFO  (jsonrpc/6) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] START 
repoStats(domains=['74ff7aac-f9e9-4e89-86db-2f40e48ddd85']) from=::1,53638, 
task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e (api:48)

2022-06-25 01:24:49,323-0700 INFO  (jsonrpc/4) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '2.0', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}} from=::1,53638, task_id=448f81dd-f0bd-4c92-92ca-9d6400be4a7e 
(api:54)

2022-06-25 01:24:51,778-0700 INFO  (jsonrpc/1) [api.host] START getStats() 
from=::1,53638 (api:48)

2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] START 
repoStats(domains=()) from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:48)

2022-06-25 01:24:51,791-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH repoStats 
return={'74ff7aac-f9e9-4e89-86db-2f40e48ddd85': {'code': 0, 'lastCheck': '1.1', 
'delay': '0.000278052', 'valid': True, 'version': 5, 'acquired': True, 
'actual': True}, 'fa5059e6-38ad-4f71-ad7d-0fc30aedf254': {'code': 0, 
'lastCheck': '4.4', 'delay': '0.000361428', 'valid': True, 'version': 0, 
'acquired': True, 'actual': True}} from=::1,53638, 
task_id=a9ab92c1-87e0-42df-a059-36e2588d5a78 (api:54)

2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] START 
multipath_health() from=::1,53638, task_id=9845c9ca-e20e-425a-9fd2-f473b256380e 
(api:48)

2022-06-25 01:24:51,792-0700 INFO  (jsonrpc/1) [vdsm.api] FINISH 
multipath_health return={} from=::1,53638, 
task_id=9845c9ca-e20e-425a-9fd2-f473b256380e (api:54)

2022-06-25 01:24:51,793-0700 WARN  (jsonrpc/1) [root] Failed to retrieve Hosted 
Engine HA info, is Hosted Engine setup finished? (api:168)

2022-06-25 01:24:51,793-0700 INFO  (jsonrpc/1) [api.host] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'info': (suppressed)} 
from=::1,53638 (api:54)

2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] START getStats() 
from=::1,53638, vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:48)

2022-06-25 01:24:52,482-0700 INFO  (jsonrpc/7) [api.virt] FINISH getStats 
return={'status': {'code': 0, 'message': 'Done'}, 'statsList': [{'statusTime': 
'11315340662', 'status': 'Down', 'vmId': 
'39877e08-26da-4694-a6a0-53bda1f1f87d', 'exitCode': 0, 'exitMessage': 'User 
shut down from within the guest', 'exitReason': 7}]} from=::1,53638, 
vmId=39877e08-26da-4694-a6a0-53bda1f1f87d (api:54)

发件人: adam...@adagene.com.cn  
发送时间: 2022年6月25日 16:39
收件人: 'wodel youchi' 
抄送: 'users' 
主题: [ovirt-users]回复: Re: can not access engine when hosted engine is up

 �

I restart vdsmd process failed. And when I try to restart the only healthy 
node. Now no vm is running now. 

Too bad.

# hosted-engine --vm-status

The hosted engine configuration has not been retrieved from shared storage yet,

please ensure that ovirt-ha-agent service is running.

 �

I think the engine vm is down because of “dnf update” on it.

Is there any � recovery mode I can do now?

发件人: wodel youchi mailto:wodel.you...@gmail.com> > 
发送时间: 2022年6月25日 16:23
���件人: adam...@adagene.com.cn  
抄送: users mailto:users@ovirt.org> >
主题: [ovirt-users] Re: can not access engine when hosted engine is up

 �

Try restarting the vdmd process in that node and you can try to start the VM 
engine in another healthy hosted node.

 �

On Sat, Jun 25, 2022, 09:07 mailto:adam...@adagene.com.cn> > wrote:

I can not ping the engine. And no kvm process of engine in any node.

I try to run “hosted-engine --vm-start”, it said:

# hosted-engine --vm-start

Traceback (most recent call last):

 � File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main

 � � � "__main__", mod_spec)

 � File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code

 � � � exec(code, run_globals)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 214, in 

 � � � args.command(args)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 42, in func

 � � � f(*args, **kwargs)

 � File

[ovirt-users]回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
I restart vdsmd process failed. And when I try to restart the only healthy 
node. Now no vm is running now. 

Too bad.

# hosted-engine --vm-status

The hosted engine configuration has not been retrieved from shared storage yet,

please ensure that ovirt-ha-agent service is running.

 �

I think the engine vm is down because of “dnf update” on it.

Is there any  recovery mode I can do now?

发件人: wodel youchi  
发送时间: 2022年6月25日 16:23
收件人: adam...@adagene.com.cn
抄送: users 
主题: [ovirt-users] Re: can not access engine when hosted engine is up

 �

Try restarting the vdmd process in that node and you can try to start the VM 
engine in another healthy hosted node.

 �

On Sat, Jun 25, 2022, 09:07 mailto:adam...@adagene.com.cn> > wrote:

I can not ping the engine. And no kvm process of engine in any node.

I try to run “hosted-engine --vm-start”, it said:

# hosted-engine --vm-start

Traceback (most recent call last):

 � File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main

 � � � "__main__", mod_spec)

 � File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code

 � � � exec(code, run_globals)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 214, in 

 � � � args.command(args)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 42, in func

 � � � f(*args, **kwargs)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 91, in checkVmStatus

 � � � cli = ohautil.connect_vdsm_json_rpc()

 � File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 474, in connect_vdsm_json_rpc

 � � � __vdsm_json_rpc_connect(logger, timeout)

 � File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 415, in __vdsm_json_rpc_connect

 � � � timeout=VDSM_MAX_RETRY * VDSM_DELAY

RuntimeError: Couldn't � connect to VDSM within 60 seconds

Traceback (most recent call last):

 � File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main

 � � � "__main__", mod_spec)

 � File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code

 � � � exec(code, run_globals)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 214, in 

 � � � args.command(args)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 42, in func

 � � � f(*args, **kwargs)

 � File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 57, in create

 � � � cli = ohautil.connect_vdsm_json_rpc()

 � File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 474, in connect_vdsm_json_rpc

 � � � __vdsm_json_rpc_connect(logger, timeout)

 � File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 415, in __vdsm_json_rpc_connect

 � � � timeout=VDSM_MAX_RETRY * VDSM_DELAY

RuntimeError: Couldn't � connect to VDSM within 60 seconds

VM failed to launch

 �

发件人: wodel youchi mailto:wodel.you...@gmail.com> > 
发送时间: 2022年6月25日 15:56
收件人: adam...@adagene.com.cn  
抄送: users mailto:users@ovirt.org> >
主题: [ovirt-users] Re: can not access engine when hosted engine is up

 �

Hi,

 �

Can you ping the VM engine? If yes then it's up and running, you may ssh into 
it and verify the ovirt-engine service if it is running properly.

 �

If the VM engine doesn't ping, search for its kvm process in your hosted nodes 
(all of them), for example: ps -ef | grep qemu-kvm | grep -i hosted

 �

If the process exists then VM exists but may be it is paused, if it does not, 
then try to start the VM : hosted-engine --vm-start

 �

When the global maintenance is active if the VM engine is rebooted or shutdown 
it is not restarted.

 �

 �

Regards.

 �

On Sat, Jun 25, 2022, 08:42 mailto:adam...@adagene.com.cn> > wrote:

Hi ovirt list,

I need help.

I ran “dnf update” on my engine and reboot it. Then I lost connection of the 
engine.

When I access one of my host web management https://ovirthost1:9090, I saw 
engine status is “Hosted Engine is up!”, but another host of the cluster is in 
down status. 

How can I bring up my engine since it is “UP” now.

 �

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

___
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://list

[ovirt-users] Re: can not access engine when hosted engine is up

2022-06-25 Thread wodel youchi
Try restarting the vdmd process in that node and you can try to start the
VM engine in another healthy hosted node.

On Sat, Jun 25, 2022, 09:07  wrote:

> I can not ping the engine. And no kvm process of engine in any node.
>
> I try to run “hosted-engine --vm-start”, it said:
>
> # hosted-engine --vm-start
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
>
> "__main__", mod_spec)
>
>   File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
>
> exec(code, run_globals)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 214, in 
>
> args.command(args)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 42, in func
>
> f(*args, **kwargs)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 91, in checkVmStatus
>
> cli = ohautil.connect_vdsm_json_rpc()
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", line
> 474, in connect_vdsm_json_rpc
>
> __vdsm_json_rpc_connect(logger, timeout)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", line
> 415, in __vdsm_json_rpc_connect
>
> timeout=VDSM_MAX_RETRY * VDSM_DELAY
>
> RuntimeError: Couldn't  connect to VDSM within 60 seconds
>
> Traceback (most recent call last):
>
>   File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
>
> "__main__", mod_spec)
>
>   File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
>
> exec(code, run_globals)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 214, in 
>
> args.command(args)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 42, in func
>
> f(*args, **kwargs)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py",
> line 57, in create
>
> cli = ohautil.connect_vdsm_json_rpc()
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", line
> 474, in connect_vdsm_json_rpc
>
> __vdsm_json_rpc_connect(logger, timeout)
>
>   File
> "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", line
> 415, in __vdsm_json_rpc_connect
>
> timeout=VDSM_MAX_RETRY * VDSM_DELAY
>
> RuntimeError: Couldn't  connect to VDSM within 60 seconds
>
> VM failed to launch
>
>
>
> *发件人:* wodel youchi 
> *发送时间:* 2022年6月25日 15:56
> *收件人:* adam...@adagene.com.cn
> *抄送:* users 
> *主题:* [ovirt-users] Re: can not access engine when hosted engine is up
>
>
>
> Hi,
>
>
>
> Can you ping the VM engine? If yes then it's up and running, you may ssh
> into it and verify the ovirt-engine service if it is running properly.
>
>
>
> If the VM engine doesn't ping, search for its kvm process in your hosted
> nodes (all of them), for example: ps -ef | grep qemu-kvm | grep -i hosted
>
>
>
> If the process exists then VM exists but may be it is paused, if it does
> not, then try to start the VM : hosted-engine --vm-start
>
>
>
> When the global maintenance is active if the VM engine is rebooted or
> shutdown it is not restarted.
>
>
>
>
>
> Regards.
>
>
>
> On Sat, Jun 25, 2022, 08:42  wrote:
>
> Hi ovirt list,
>
> I need help.
>
> I ran “dnf update” on my engine and reboot it. Then I lost connection of
> the engine.
>
> When I access one of my host web management https://ovirthost1:9090, I
> saw engine status is “Hosted Engine is up!”, but another host of the
> cluster is in down status.
>
> How can I bring up my engine since it is “UP” now.
>
>
>
> ___
> 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/DYVOECFXW57F2ZGOI7FKCMXYVUTVJQKP/
>
>
___
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/I3EO2C2UGN5RSPELDGAU6JTP2EFNXY6E/


[ovirt-users]回复: Re: can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
I can not ping the engine. And no kvm process of engine in any node.

I try to run “hosted-engine --vm-start”, it said:

# hosted-engine --vm-start

Traceback (most recent call last):

  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)

  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 214, in 

args.command(args)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 42, in func

f(*args, **kwargs)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 91, in checkVmStatus

cli = ohautil.connect_vdsm_json_rpc()

  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 474, in connect_vdsm_json_rpc

__vdsm_json_rpc_connect(logger, timeout)

  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 415, in __vdsm_json_rpc_connect

timeout=VDSM_MAX_RETRY * VDSM_DELAY

RuntimeError: Couldn't  connect to VDSM within 60 seconds

Traceback (most recent call last):

  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)

  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 214, in 

args.command(args)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 42, in func

f(*args, **kwargs)

  File 
"/usr/lib/python3.6/site-packages/ovirt_hosted_engine_setup/vdsm_helper.py", 
line 57, in create

cli = ohautil.connect_vdsm_json_rpc()

  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 474, in connect_vdsm_json_rpc

__vdsm_json_rpc_connect(logger, timeout)

  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/util.py", 
line 415, in __vdsm_json_rpc_connect

timeout=VDSM_MAX_RETRY * VDSM_DELAY

RuntimeError: Couldn't  connect to VDSM within 60 seconds

VM failed to launch

 �

发件人: wodel youchi  
发送时间: 2022年6月25日 15:56
收件人: adam...@adagene.com.cn
抄送: users 
主题: [ovirt-users] Re: can not access engine when hosted engine is up

 �

Hi,

 �

Can you ping the VM engine? If yes then it's up and running, you may ssh into 
it and verify the ovirt-engine service if it is running properly.

 �

If the VM engine doesn't ping, search for its kvm process in your hosted nodes 
(all of them), for example: ps -ef | grep qemu-kvm | grep -i hosted

 �

If the process exists then VM exists but may be it is paused, if it does not, 
then try to start the VM : hosted-engine --vm-start

 �

When the global maintenance is active if the VM engine is rebooted or shutdown 
it is not restarted.

 �

 �

Regards.

 �

On Sat, Jun 25, 2022, 08:42 mailto:adam...@adagene.com.cn> > wrote:

Hi ovirt list,

I need help.

I ran “dnf update” on my engine and reboot it. Then I lost connection of the 
engine.

When I access one of my host web management https://ovirthost1:9090, I saw 
engine status is “Hosted Engine is up!”, but another host of the cluster is in 
down status. 

How can I bring up my engine since it is “UP” now.

 �

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

___
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/5747RBJZVCVC4ZRRKQVUASX5EAEGY6ZM/


[ovirt-users] Re: can not access engine when hosted engine is up

2022-06-25 Thread wodel youchi
Hi,

Can you ping the VM engine? If yes then it's up and running, you may ssh
into it and verify the ovirt-engine service if it is running properly.

If the VM engine doesn't ping, search for its kvm process in your hosted
nodes (all of them), for example: ps -ef | grep qemu-kvm | grep -i hosted

If the process exists then VM exists but may be it is paused, if it does
not, then try to start the VM : hosted-engine --vm-start

When the global maintenance is active if the VM engine is rebooted or
shutdown it is not restarted.


Regards.

On Sat, Jun 25, 2022, 08:42  wrote:

> Hi ovirt list,
>
> I need help.
>
> I ran “dnf update” on my engine and reboot it. Then I lost connection of
> the engine.
>
> When I access one of my host web management https://ovirthost1:9090, I
> saw engine status is “Hosted Engine is up!”, but another host of the
> cluster is in down status.
>
> How can I bring up my engine since it is “UP” now.
>
>
> ___
> 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/DYVOECFXW57F2ZGOI7FKCMXYVUTVJQKP/
>
___
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/4HVLSISJFS3AI67NJPWQH2JAAH36EA6C/


[ovirt-users] can not access engine when hosted engine is up

2022-06-25 Thread adam_xu
Hi ovirt list,

I need help.

I ran “dnf update” on my engine and reboot it. Then I lost connection of the 
engine.

When I access one of my host web management https://ovirthost1:9090, I saw 
engine status is “Hosted Engine is up!”, but another host of the cluster is in 
down status. 

How can I bring up my engine since it is “UP” now.

 �

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