Need to change way to puppet.log for UI

Bug #1512280 reported by Anastasia Palkina
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
High
Andrey Tykhonov

Bug Description

1. Deploy any environment
2. Click "View logs" button on any node
3. Choose "Debug" level for puppet.log. No log entries match current filters. (see screen)

Cause is new logrotate rules. Now puppet logs are located in /var/log/docker-logs/remote/node-XXX.domain.tld/puppet-apply.log.1.gz on each node, not in /var/log/docker-logs/remote/node-XXX.domain.tld/puppet-apply.log

"release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-createmirror_sha": "5b61266e19eb7cdc745fea7a7d97c90f2515c921", "shotgun_sha": "bbbfccff9eb90895b13fae3fac398e65efe646f4", "api": "1.0", "fuelmain_sha": "0e375fb9f996ee6c3bf25b99321d9635c62844ae", "astute_sha": "687458e949dedfa6877e3a2e683f8ee0c1cbd43c", "fuel-ostf_sha": "1ab201cb8c3bba04522bf56ce72e863a03ff09b3", "openstack_version": "2015.1.0-8.0", "build_id": "94", "fuelmenu_sha": "153c91e884a4601d30f8ebe3349170f96e3456e2", "build_number": "94", "fuel-library_sha": "e1ad5b695e4bebc823b1786610efc0bafc078495", "fuel-nailgun-agent_sha": "00b4b11553c250f22c0079fb74c8b782dcb7b740", "fuel-nailgun_sha": "ca678db51afd14a1485d0a8a9d2194abdd226d3b", "fuel-agent_sha": "d2103bee6e216396eb8e308ec5448328c9ee4261", "production": "docker", "network-checker_sha": "518f7ef2706e564950469435f7cf27df175e1b27", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "2a1b048cc439986e222ece43a290b5cc68e92a77"}}}, "fuel-createmirror_sha": "5b61266e19eb7cdc745fea7a7d97c90f2515c921", "shotgun_sha": "bbbfccff9eb90895b13fae3fac398e65efe646f4", "api": "1.0", "fuelmain_sha": "0e375fb9f996ee6c3bf25b99321d9635c62844ae", "astute_sha": "687458e949dedfa6877e3a2e683f8ee0c1cbd43c", "fuel-ostf_sha": "1ab201cb8c3bba04522bf56ce72e863a03ff09b3", "openstack_version": "2015.1.0-8.0", "build_id": "94", "fuelmenu_sha": "153c91e884a4601d30f8ebe3349170f96e3456e2", "build_number": "94", "auth_required": true, "fuel-library_sha": "e1ad5b695e4bebc823b1786610efc0bafc078495", "fuel-nailgun-agent_sha": "00b4b11553c250f22c0079fb74c8b782dcb7b740", "fuel-nailgun_sha": "ca678db51afd14a1485d0a8a9d2194abdd226d3b", "fuel-agent_sha": "d2103bee6e216396eb8e308ec5448328c9ee4261", "production": "docker", "network-checker_sha": "518f7ef2706e564950469435f7cf27df175e1b27", "feature_groups": ["mirantis"], "release": "8.0", "python-fuelclient_sha": "2a1b048cc439986e222ece43a290b5cc68e92a77"

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

This should be fixed on nailgun/library side - settings.yaml needs to be updated or changes in logrorate should be reverted

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → nobody
tags: removed: ui
Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: area-library
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :
tags: added: regression-8.0
Revision history for this message
Dmitry Klenov (dklenov) wrote :

Changing to python according to conversation with Mikhail Polenchuk.

tags: added: area-python
removed: area-library
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python)
importance: Critical → High
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

UI should be able to render the previously rotated log file for puppet-apply (puppet-apply.log.1.gz) because it's very common for this file to exceed the minimum threshold of 20mb and be rotated within 15mins. Not compressing this file or finding a workaround to compress every file _EXCEPT_ puppet-apply.log would be quite onerous. As a result, nailgun should render this file and concat it with puppet-apply.log, gunzipping it first.

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Andrey Tykhonov (atykhonov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/243240

Changed in fuel:
status: Confirmed → In Progress
Dmitry Pyzhov (dpyzhov)
tags: added: team-bugfix
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

I believe this is not a bug, but feature, since we never say we support logrotated logs on Fuel UI.

The patch that implements this support is prettu huge and unreviewable. It's to dangerous to merge it in 8.0.

Setting Won't fix for 8.0. I'm going to send email that proposes to remove Fuel Log Viewer in 9.0.

Changed in fuel:
status: In Progress → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Andrey Tykhonov (<email address hidden>) on branch: master
Review: https://review.openstack.org/243240
Reason: We don't need this patch anymore.

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.