Bug #39917
Installation défectueuse
0%
Description
Bonjour,
je tente de creer un env de developpement en suivant les instructions de https://doc-publik.entrouvert.com/dev/installation-developpeur/ sur une vm vagrant (bento/debian-10)
$ git clone https://git.entrouvert.org/publik-devinst.git && cd publik-devinst
$ ansible-playbook -K -i inventory.yml install.yml
$ ansible-playbook -i inventory.yml deploy-tenants.yml
L'installation semble se dérouler sans problème.
Le deploiement des tenants par contre n'aboutit pas.
Dans les logs des services j'ai des 404
==> passerelle/stderr.log <==
Not Found: /manage/
Not Found: /manage/
Not Found: /manage/
==> nginx/passerelle-access.log <==
127.0.0.1 - - [15/Feb/2020:08:16:08 +0000] "GET /manage/ HTTP/1.1" 404 2187 "-" "python-requests/2.22.0"
==> fargo/stderr.log <==
Not Found: /admin/
Not Found: /admin/
Not Found: /admin/
==> nginx/fargo-access.log <==
127.0.0.1 - - [15/Feb/2020:08:16:08 +0000] "GET /admin/ HTTP/1.1" 404 852 "-" "python-requests/2.22.0"
==> passerelle/stderr.log <==
Not Found: /manage/
Not Found: /manage/
Not Found: /manage/
==> nginx/passerelle-access.log <==
127.0.0.1 - - [15/Feb/2020:08:16:08 +0000] "GET /manage/ HTTP/1.1" 404 2187 "-" "python-requests/2.22.0"
==> fargo/stderr.log <==
Not Found: /admin/
Not Found: /admin/
Not Found: /admin/
Si je lance hobo-manage cook directement j'ai ce resultat :
vagrant@debian-10:~/envs/publik-env/bin$ ./hobo-manage cook /tmp/cook-recipe.json
/home/vagrant/src/hobo/hobo/settings.py:161: UserWarning: journald will not be used directly, please install python-systemd
# SERVICE_EXTRA_VARIABLES: variables to create automatically for the
Starting new HTTPS connection (1): hobo.dev.publik.love:443
https://hobo.dev.publik.love:443 "GET / HTTP/1.1" 302 0
Starting new HTTPS connection (1): authentic.dev.publik.love:443
https://authentic.dev.publik.love:443 "GET / HTTP/1.1" 302 0
Starting new HTTPS connection (1): combo.dev.publik.love:443
https://combo.dev.publik.love:443 "GET / HTTP/1.1" 200 None
Starting new HTTPS connection (1): agent-combo.dev.publik.love:443
https://agent-combo.dev.publik.love:443 "GET / HTTP/1.1" 200 None
Starting new HTTPS connection (1): wcs.dev.publik.love:443
https://wcs.dev.publik.love:443 "GET / HTTP/1.1" 302 73
Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET / HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET / HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET / HTTP/1.1" 404 None
Starting new HTTPS connection (1): bijoe.dev.publik.love:443
https://bijoe.dev.publik.love:443 "GET / HTTP/1.1" 404 None
Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL. See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2018 Pivotal Software, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'direct_reply_to': True, u'basic.nack': True, u'per_consumer_qos': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'cluster_name': u'rabbit@debian-10.0-amd64', u'platform': u'Erlang/OTP 21.2.6', u'version': u'3.7.8'}, mechanisms: [u'PLAIN', u'AMQPLAIN'], locales: [u'en_US']
Open OK!
using channel_id: 1
Channel open
Closed channel #1
Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
.Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
.Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
.Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
.Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
.Starting new HTTPS connection (1): passerelle.dev.publik.love:443
https://passerelle.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): fargo.dev.publik.love:443
https://fargo.dev.publik.love:443 "GET /admin/ HTTP/1.1" 404 None
Starting new HTTPS connection (1): chrono.dev.publik.love:443
https://chrono.dev.publik.love:443 "GET /manage/ HTTP/1.1" 404 None
Et ca tourne en boucle.
Pour info j'installe les paquets suivants en provisioning :
apt-utils
wget
gnupg
debian-archive-keyring
rsyslog
gettext
vim.nox
bash-completion
apt-transport-https
ca-certificates rsync
python2.7
git
python-pip
python3-pip
postgresql
postgresql-contrib
acl
gettext
graphicsmagick\
graphviz
inkscape
libjs-leaflet
libldap2-dev
libmagic1
libpq-dev
libreoffice
libsasl2-dev
libssl-dev
make
nginx
postgresql
python-apt
python3-apt
python-dev
python3-dev
python-lasso
python3-lasso
python-pip
python-psycopg2
python3-psycopg2
python-virtualenv
rabbitmq-server
sassc
supervisor
memcached
virtualenv
ansible
Enfin si je vais sur https://combo.dev.publik.love/manage/ j'ai bien une page mais sans le menu de gauche.
Si je vais sur https://hobo.dev.publik.love/ tous les services sont verts sauf passerelle et porte-documents.
J'ai tenté de redemarrer les services avant de faire le provisioning, meme soucis.
Par contre, si je relance memcached et que je relance un hobo-manage cook celui-ci aboutit (mais l'installation n'est toujours pas fonctionnelle)
(Notons que j'ai tenté la meme chose sous docker, avec le meme résultat)
Fichiers
Demandes liées
Révisions associées
Historique
Mis à jour par Nicolas Roche il y a environ 4 ans
- Fichier 0001-adapt-hobo-agent-settings-for-chrono-and-passerelle-.patch 0001-adapt-hobo-agent-settings-for-chrono-and-passerelle-.patch ajouté
- Tracker changé de Support à Bug
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Les agents hobo de passerelle et chrono fargo ne lancent pas le déploiement parce que la configuration des commandes "manage" (~/.config/publik/settings/hobo-agent/settings.py) n'a pas été mise à jour pour ces deux briques suite à leur portage en python3.
Mis à jour par Frédéric Péters il y a environ 4 ans
passerelle et chrono
(ainsi que dans le sujet du ticket)
passerelle et fargo, plutôt.
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Nicolas Roche il y a environ 4 ans
- Lié à Development #38129: Tourner fargo en python3 ajouté
Mis à jour par Nicolas Roche il y a environ 4 ans
- Lié à Development #39372: Tourner passerelle en python3 ajouté
Mis à jour par Nicolas Roche il y a environ 4 ans
- Statut changé de Solution validée à Solution déployée
aïe, désolé c'est lundi matin.
commit a116e213ce2c3a295ccd41a8e89f2d08f710c084 Author: Nicolas ROCHE <nroche@entrouvert.com> Date: Sat Feb 15 23:07:11 2020 +0100 adapt hobo-agent settings for chrono and passerelle (#39917)
adapt hobo-agent settings for chrono and passerelle (#39917)