ServerName is empty in 10-keystone_wsgi_admin.conf

Bug #1633326 reported by Deepak Jon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
New
Undecided
Praveen N

Bug Description

ServerName is empty in 10-keystone_wsgi_admin.conf(Newton release) while running packstack --allinone

Error:
ERROR : Error appeared during Puppet run: 10.10.0.87_controller.pp
Error: Could not start Service[httpd]: Execution of '/usr/bin/systemctl start httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.

~]# httpd -t
AH00526: Syntax error on line 7 of /etc/httpd/conf.d/10-keystone_wsgi_admin.conf:
ServerName takes one argument, The hostname and port of the server

Please let me know if more details needed!

Revision history for this message
Deepak Jon (deepak-kumar-9) wrote :

Added logs

Praveen N (praveenn)
Changed in packstack:
assignee: nobody → Praveen N (praveenn)
Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

We saw this issue in TripleO in RHEL. Is it so that the ServerName parameter for that template in httpd is being filled with the fact $::hostname ? If that's the case, you need to have a domain set for $::hostname else the result will be empty, and you will see that failure. For some reason CentOS doesn't have this problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.