Ask Your Question
2

The most recent `yum update` on IceHouse&CentOS 7

asked 2014-07-15 08:06:57 -0500

dbaxps gravatar image

updated 2014-07-27 11:48:43 -0500

[root@icehouse1 ~]# rpm -qa | grep openstack
openstack-nova-common-2014.1.1-2.el7.noarch
openstack-packstack-puppet-2014.1.1-0.25.dev1208.el7.noarch
openstack-nova-console-2014.1.1-2.el7.noarch
openstack-neutron-openvswitch-2014.1.1-5.el7.noarch
openstack-packstack-2014.1.1-0.25.dev1208.el7.noarch
openstack-utils-2014.1-3.el7.noarch
openstack-cinder-2014.1-2.el7.noarch
openstack-nova-novncproxy-2014.1.1-2.el7.noarch
openstack-selinux-0.5.4-1.el7ost.noarch
openstack-keystone-2014.1.1-1.el7.noarch
openstack-neutron-2014.1.1-5.el7.noarch
openstack-nova-api-2014.1.1-2.el7.noarch
openstack-glance-2014.1.1-4.el7.noarch
openstack-puppet-modules-2014.1-18.el7.noarch
openstack-nova-scheduler-2014.1.1-2.el7.noarch
openstack-nova-cert-2014.1.1-2.el7.noarch
python-django-openstack-auth-1.1.5-1.el7.noarch
openstack-nova-conductor-2014.1.1-2.el7.noarch
openstack-dashboard-2014.1.1-3.el7.noarch
openstack-neutron-ml2-2014.1.1-5.el7.noarch

Results failure to start httpd :-

[root@icehouse1 ~]# service httpd status -l
Redirecting to /bin/systemctl status  -l httpd.service
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
   Active: failed (Result: exit-code) since Tue 2014-07-15 16:31:44 MSK; 2min 41s ago
  Process: 2658 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 1563 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 1563 (code=exited, status=1/FAILURE)
   CGroup: /system.slice/httpd.service

Jul 15 16:31:44 icehouse1.localdomain httpd[1563]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ports.conf:7
Jul 15 16:31:44 icehouse1.localdomain httpd[1563]: AH00526: Syntax error on line 1 of /etc/httpd/conf.d/openstack-dashboard.conf:
Jul 15 16:31:44 icehouse1.localdomain httpd[1563]: Name duplicates previous WSGI daemon definition.
Jul 15 16:31:44 icehouse1.localdomain systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 15 16:31:44 icehouse1.localdomain systemd[1]: Failed to start The Apache HTTP Server.
Jul 15 16:31:44 icehouse1.localdomain systemd[1]: Unit httpd.service entered failed state.


`yum update` as of 07/27/2014.  Failure to start httpd:-

[root@icehouse1 conf.d]# service httpd status -l
Redirecting to /bin/systemctl status  -l httpd.service
httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
   Active: failed (Result: exit-code) since Sun 2014-07-27 20:44:50 MSK; 11s ago
  Process: 4838 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=0/SUCCESS)
  Process: 4836 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 4836 (code=exited, status=1/FAILURE)
   Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"

Jul 27 20:44:50 icehouse1.localdomain httpd[4836]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ports.conf:7
Jul 27 20:44:50 icehouse1.localdomain httpd[4836]: AH00526: Syntax error on line 24 of /etc/httpd/conf.d/ssl.conf:
Jul 27 20:44:50 icehouse1.localdomain httpd[4836]: SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
Jul 27 20:44:50 icehouse1.localdomain systemd[1]: httpd.service: main process exited ...
(more)
edit retag flag offensive close merge delete

Comments

1

Fow now working fix :- Update /etc/httpd/conf.d/openstack-dashboard.conf commenting out 2 first lines

# WSGIDaemonProcess dashboard
# WSGIProcessGroup dashboard
WSGISocketPrefix run/wsgi

WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
Alias /static /usr/share/openstack-dashboard/static

<Directory /usr/share/openstack-dashboard/openstack_dashboard/wsgi>
  Options All
  AllowOverride All
  Require all granted
</Directory>

<Directory /usr/share/openstack-dashboard/static>
  Options All
  AllowOverride All
  Require all granted
</Directory>
dbaxps gravatar imagedbaxps ( 2014-07-15 08:09:58 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-07-27 11:55:51 -0500

dbaxps gravatar image

updated 2014-08-15 13:05:30 -0500

rbowen gravatar image

Bug is fixed as of 07/27/2017

Comment out in /etc/httpd/conf.d/ssl.conf

    # SSLSessionCache         shmcb:/run/httpd/sslcache(512000)

Shared library loaded per bugzilla record down here

    # cat /etc/httpd/conf.modules.d/00-base.conf | grep mod_socache_shmcb
        LoadModule socache_shmcb_module modules/mod_socache_shmcb.so

See https://bugzilla.redhat.com/show_bug....

edit flag offensive delete link more

Comments

I believe that this answer refers to a completely different issue.

jminter gravatar imagejminter ( 2014-09-09 09:34:49 -0500 )edit
0

answered 2014-09-09 09:33:20 -0500

jminter gravatar image

updated 2014-09-10 02:48:35 -0500

See https://bugzilla.redhat.com/show_bug.cgi?id=1122192 (https://bugzilla.redhat.com/show_bug....)

It looks like the issue is that old versions of packstack remove /etc/httpd/conf.d/openstack-dashboard.conf at install time, and this file is automatically replaced when yum update is run, causing a configuration duplication.

The above bz fixes the problem for future new installations, but for current ones with this issue, truncate (don't remove) /etc/httpd/conf.d/openstack-dashboard.conf and restart httpd:

# >/etc/httpd/conf.d/openstack-dashboard.conf
# service httpd restart
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-15 08:06:57 -0500

Seen: 2,551 times

Last updated: Sep 10 '14