Wrong PATH into Fuel web UI when deployment fails

Bug #1522401 reported by Denis Klepikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Python (Deprecated)

Bug Description

We have wrong PATH to log file into Fuel web UI when deployment fails.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "525"
  build_id: "2015-06-19_13-02-31"
  nailgun_sha: "dbd54158812033dd8cfd7e60c3f6650f18013a37"
  python-fuelclient_sha: "4fc55db0265bbf39c369df398b9dc7d6469ba13b"
  astute_sha: "1ea8017fe8889413706d543a5b9f557f5414beae"
  fuel-library_sha: "2e7a08ad9792c700ebf08ce87f4867df36aa9fab"
  fuel-ostf_sha: "8fefcf7c4649370f00847cc309c24f0b62de718d"
  fuelmain_sha: "a3998372183468f56019c8ce21aa8bb81fee0c2f"

See screenshot

fa-build-image --log-file /var/log/fuel-agent-env-XX.log

but actually:

[root@nailgun /]# ls -la /var/log | grep fuel
-rw-r--r-- 1 root root 52 Dec 2 10:54 fuelmenu.log

[root@nailgun /]# ls -la /var/log/docker-logs/ | grep fuel
-rw-r--r-- 1 root root 182985 Dec 3 13:03 fuel-agent-env-1.log

Revision history for this message
Denis Klepikov (dklepikov) wrote :
tags: added: support
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
Dmitry Klenov (dklenov)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
milestone: none → 8.0
importance: Undecided → Medium
status: New → Confirmed
tags: added: area-python
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Nothing wrong with the path of log files.

since /var/log is mounted into every container and shared as docker data volume, then

this particular file /var/log/fuel-agent-env-XX.log initially created inside of mcollective' container will be accessible from nailgun' container too at the same path.

but from host (fuel master node) this docker data volume /var/log will be accessible as /var/log/docker-logs

So, this bug is invalid. Nailgun has access to this file and should be able to represent it through webUI.

Changed in fuel:
status: Confirmed → Invalid
Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

In order to get access to /var/log/fuel-agent-env-XX.log

you should first enter into container.

$ dockerctl shell nailgun

or

$ dockerctl shell mcollective

then, you'll access this file at /var/log/fuel-agent-env-XX.log, not as /var/log/docker-log/fuel-agent-env-XX.log

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.