Fuel fails to start many services on Fuel node reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Matthew Mosesohn | ||
7.0.x |
Won't Fix
|
Medium
|
Matthew Mosesohn | ||
8.0.x |
Invalid
|
Medium
|
Matthew Mosesohn | ||
Mitaka |
Invalid
|
Medium
|
Matthew Mosesohn |
Bug Description
After I rebooted the fuel master node I wasn't able to access the web interface. The root cause seems to be failure to startup postgres and other container log files including nginx and nailgun
Version found: MOS 7.0 official release
*Postgres container*
The log file in /var/lib/
< 2015-11-23 03:05:20.265 UTC >FATAL: could not open log file "/var/log/pgsql": Permission denied
Postgres fix: https:/
*nginx*
Had to recreate /var/log/nginx in the container.
*Nailgun*
After fixing the Postgres issue there are still issues with the log and permissions of the nailgun container. See log:
Info: Applying configuration version '1448250752'
Notice: /Stage[
Info: /Stage[
Notice: /Stage[
Notice: /Stage[
Notice: Finished catalog run in 3.72 seconds
Stopping supervisord: ERROR: unix://
Waiting roughly 60 seconds for /var/run/
Supervisord still working on shutting down. We've waited roughly 60 seconds, we'll let it do its thing from here
Error: The directory named as part of the path /var/log/
For help, use /usr/bin/
*Cobbler*:
Cobbler container fails to start httpd becuase of log directory not existing:
service httpd start
Starting httpd: (2)No such file or directory: httpd: could not open error log file /etc/httpd/
Unable to open logs
Steps to reproduce:
1. Deploy Fuel 7.0 from ISO downloaded of Mirantis website
2. Reboot the fuel master through SSH and executing: reboot
Current result:
Fuel master is not usable
Workaround:
#postgres
touch /var/log/
chown 26:26 /var/log/
#nginx
mkdir /var/log/
#nailgun
mkdir /var/log/
mkdir /var/log/
#cobbler
mkdir /var/log/
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- Postgres fails to start on Fuel node reboot + Fuel fails to start many services on Fuel node reboot |
description: | updated |
description: | updated |
Changed in fuel: | |
importance: | Undecided → Medium |
milestone: | none → 7.0-updates |
Changed in fuel: | |
milestone: | 7.0-updates → 9.0 |
tags: | added: area-library |
Changed in fuel: | |
assignee: | Sam Stoelinga (sammiestoel) → Matthew Mosesohn (raytrac3r) |
tags: | added: keep-in-9.0 |
Fix proposed to branch: master /review. openstack. org/248520
Review: https:/