CentOS7: Failed to start gunicorn.service: Unit not found.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- centos, linux
- Ambito
- devops
Direzione di ricerca
Reproduce the declared python and python::gunicorn resources on CentOS 7 and inspect the service behavior around the reported systemctl invocation. Compare the module's Gunicorn management behavior with the expected service unit; done means the declaration creates a startable gunicorn.service without the reported Unit not found error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
using master:HEAD on CentOS7 having declared:
class { 'python':
version => 'system',
pip => 'present',
dev => 'absent',
virtualenv => 'absent',
gunicorn => 'present',
manage_gunicorn => true,
}
and:
python::gunicorn { 'puppet_reports':
ensure => present,
mode => 'wsgi',
dir => $dir,
bind => "0.0.0.0:${port}",
accesslog => "${log_dir}/access.log",
errorlog => "${log_dir}/error.log",
appmodule => 'puppet_reports:app',
timeout => 30,
owner => $owner,
require => Vcsrepo[$dir],
}
I get:
Error: Could not start Service[gunicorn]: Execution of '/bin/systemctl start gunicorn' returned 5: Failed to start gunicorn.service: Unit not found.
Wrapped exception:
Execution of '/bin/systemctl start gunicorn' returned 5: Failed to start gunicorn.service: Unit not found.
Error: /Stage[main]/Python::Config/Service[gunicorn]/ensure: change from stopped to running failed: Could not start Service[gunicorn]: Execution of '/bin/systemctl start gunicorn' returned 5: Failed to start gunicorn.service: Unit not found.
Notice: /Stage[main]/Python/Anchor[python::end]: Dependency Service[gunicorn] has failures: true
Warning: /Stage[main]/Python/Anchor[python::end]: Skipping because of failed dependencies
- Lingua principale
- Ruby
- Stelle
- 196
- Fork
- 371
- Merge medio
- 5h 54m
- PR unite (30g)
- 5
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voxpupuli/puppet-python
-
Requirements not installedAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
voxpupuli/puppet-python#759 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
voxpupuli/puppet-python#743 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#721 · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
voxpupuli/puppet-python#711 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
voxpupuli/puppet-python#673 · 1 commento ·
Tutte le issue di voxpupuli/puppet-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
metanorma/metanorma-standoc#1315 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metanorma/metanorma-iso#1681 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing zh-CN translation: components/common/CommunitySolution.tsx:communitySolution.authorsSolutionAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
openstreetmap/openstreetmap-website#7554 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
manyfold3d/manyfold#7445 ·
I maintainer di solito rispondono entro 1 giorno