FUEL Web is not available on 8.0 MU2

Bug #1594745 reported by Dmitry Belyaninov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Denis Puchkin

Bug Description

Detailed bug description:
After installing 8.0 release and updating to MU2 it is impossible to connect to FUEL Web after page reload.

Steps to reproduce:
install 8.0
update to MU2
go to Fuel Web
reload page(F5)

Expected results:
the same page should be opened
Actual result:
403 Forbidden
nginx

Reproducibility:
100%
Workaround:
no idea
Impact:
yes
Description of the environment:
any
Additional information:
no

Changed in fuel:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 8.0-mu-2
assignee: nobody → Denis Puchkin (dpuchkin)
Revision history for this message
Denis Puchkin (dpuchkin) wrote :

the cause of the error - empty dir /usr/share/nailgun/static/ in fuel-core-8.0-nailgun container

Revision history for this message
Dmitry Teselkin (teselkin-d) wrote :

The reason why that folder is empty is because it becomes 'masked' by volume from the host system.

There are two possible ways to solve is:
1. Make fuel-nailgun package available on master node from inside the container
2. During container image build, as the last step create a .tar.gz archive of /usr/share/nailgun/static/ somewhere in the container. Add some logic to 'start.sh' that will check that this folder contains required files when container is started, and if the directory is empty or misses some key files - restore from archive.

Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

It is blocker for verification bugs with UI used.

Is some workaround available?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/333948

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/8.0)

Reviewed: https://review.openstack.org/333948
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=ff8b2041429990419fb92f6d308281b5ac298ae8
Submitter: Jenkins
Branch: stable/8.0

commit ff8b2041429990419fb92f6d308281b5ac298ae8
Author: Denis Puchkin <email address hidden>
Date: Fri Jun 24 17:35:02 2016 +0300

    Unmount volume before puppet install fuel-nailgun package

    During build of the container image, puppet apply the manifest in
    container with the already mounted external volumes, as the
    result that some of the files are not saved in the container image

    Closes-bug: #1594745

    Change-id: Ib99eee8ed3a22f657e53900f919cfc7de5389387

Changed in fuel:
status: Confirmed → Fix Committed
tags: added: on-verification
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :

Verified, works fine now.

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.