linux - Why systemctl services are loaded but failed CentOS 7 -
i finished install openstack magnum service on centos 7, using guide: http://docs.openstack.org/developer/magnum/install-guide-from-source.html
checking magnum-api , magnum-conductor services after reboot shows services active, few seconds later in failed state. selinux disabled, , services enabled.
restarting magnum api service:
[root@controller01 magnum]# systemctl restart magnum-api
magnum-api status ok:
[root@controller01 magnum]# systemctl status magnum-api ● magnum-api.service - openstack magnum api service loaded: loaded (/etc/systemd/system/magnum-api.service; enabled; vendor preset: disabled) active: active (running) since tue 2016-11-08 09:50:01 ist; 1s ago main pid: 21705 (magnum-api) cgroup: /system.slice/magnum-api.service └─21705 /var/lib/magnum/env/bin/python /var/lib/magnum/env/bin/magnum-api nov 08 09:50:01 controller01 systemd[1]: started openstack magnum api service. nov 08 09:50:01 controller01 systemd[1]: starting openstack magnum api service...
magnum-api service failed after few seconds:
[root@controller01 magnum]# systemctl status magnum-api ● magnum-api.service - openstack magnum api service loaded: loaded (/etc/systemd/system/magnum-api.service; enabled; vendor preset: disabled) active: failed (result: start-limit) since tue 2016-11-08 09:50:03 ist; 6s ago process: 21705 execstart=/var/lib/magnum/env/bin/magnum-api (code=exited, status=1/failure) main pid: 21705 (code=exited, status=1/failure) nov 08 09:50:02 controller01 systemd[1]: magnum-api.service: main process exited, code=exited, status=1/failure nov 08 09:50:02 controller01 systemd[1]: unit magnum-api.service entered failed state. nov 08 09:50:02 controller01 systemd[1]: magnum-api.service failed. nov 08 09:50:03 controller01 systemd[1]: magnum-api.service holdoff time over, scheduling restart. nov 08 09:50:03 controller01 systemd[1]: start request repeated magnum-api.service nov 08 09:50:03 controller01 systemd[1]: failed start openstack magnum api service. nov 08 09:50:03 controller01 systemd[1]: unit magnum-api.service entered failed state. nov 08 09:50:03 controller01 systemd[1]: magnum-api.service failed.
happens same magnum-conductor service.
how can fix this?
thanks, dedi
thanks @petesh. figure out. issue because set in magnum.conf file: host = controller
. once replaced "controller" ip, works. in other words, set: host = <controller_ip>
.
Comments
Post a Comment