Tâche #31162
Scénario #31042: Correction du test SP-T04-001 - Tester l'installation et la configuration d'un cluster de haute disponibilité avec deux serveurs Sphynx (2.8.0-beta1)
Erreur diagnose rvp sur Sphynx haute dispo; Python3 ?
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
12/01/2015
Due date:
% Done:
100%
Remaining (hours):
0.0
Description
root@sphynx:~# /usr/share/eole/diagnose/152-rvp │ * Online: [ sphynx ] Traceback (most recent call last): │ * OFFLINE: [ sphynxslave ] File "/usr/share/eole/diagnose/152-rvp", line 74, in <module> │ crm_output = crm_output.split('\n')[0] │Active Resources: TypeError: a bytes-like object is required, not 'str' │ * Resource Group: VIPCluster: Error in sys.excepthook: │ * VIP_externe (ocf::heartbeat:IPaddr2): Started sphynx Traceback (most recent call last): │ * VIP_interne (ocf::heartbeat:IPaddr2): Started sphynx File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook │ * ipsec_rsc (service:strongswan-starter): Started sphynx with os.fdopen(os.open(pr_filename, │ * arv_rsc (service:arv): Started sphynx (Monitoring) FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_share_eole_diagnose_152-rvp.0.cr│ * Clone Set: gw_pingd_clone [gw_pingd]: ash' │ * Started: [ sphynx ] │ Original exception was: │root@sphynx:~# vi /usr/share/eole/postservice/ Traceback (most recent call last): │00-eole-common 00-letsencrypt 00-systemd-networkd 26-actions File "/usr/share/eole/diagnose/152-rvp", line 74, in <module> │00-haute-dispo 00-ntpdate 00-ubuntu-motd 99-check-console-setup crm_output = crm_output.split('\n')[0] │00-haute-dispo~ 00-rvp 01-haute-dispo-sphynx TypeError: a bytes-like object is required, not 'str'
Associated revisions
diagnose rvp with HA : crm_output is not necessary a string
ref #31162
History
#1 Updated by Fabrice Barconnière almost 3 years ago
- Parent task changed from #30934 to #31042
#2 Updated by Fabrice Barconnière almost 3 years ago
- Status changed from Nouveau to En cours
#3 Updated by Fabrice Barconnière almost 3 years ago
- Assigned To set to Fabrice Barconnière
#4 Updated by Fabrice Barconnière almost 3 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
#5 Updated by Laurent Flori almost 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0