There are many unnecessary neutron logs such as neutron.api_insecure.log

Bug #1388111 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Matthew Mosesohn

Bug Description

"build_id": "2014-10-31_00-32-30",
"ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa",
"build_number": "66",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "07d900562d02ac0b1450c47adea875bbdd4d3af0",
"production": "docker",
"fuelmain_sha": "fc69c67750a511e27e59c259603626a0b14f5012",
"astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf",
"feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-31_00-32-30", "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa", "build_number": "66", "api": "1.0", "nailgun_sha": "07d900562d02ac0b1450c47adea875bbdd4d3af0", "production": "docker", "fuelmain_sha": "fc69c67750a511e27e59c259603626a0b14f5012", "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "ca3ac8d6aa5e3f41ad2720453716add07451f71e"}}},
"fuellib_sha": "ca3ac8d6aa5e3f41ad2720453716add07451f71e"

1. Create new environment (CentOS, HA mode)
2. Choose neutron, vlan
3. Add 1 controller, 1 compute, 1 cinder
4. Start deployment. It was successful
5. There are many unnecessary neutron log:
neutron.admin_auth_url.log
neutron.auth_strategy.log
neutron.region_name.log
neutron.admin_password.log
neutron.ca_certificates_file.log
neutron.service_metadata_proxy.log
neutron.admin_tenant_id.log
neutron_default_tenant_id.log
neutron.url.log
neutron.admin_tenant_name.log
neutron.extension_sync_interval.log
neutron.url_timeout.log
neutron.admin_user_id.log
neutron.allow_duplicate_networks.log
neutron.metadata_proxy_shared_secret.log
neutron.admin_username.log
neutron.api_insecure.log
neutron.ovs_bridge.log

But need to keep necessary logs, they are useful:
neutron-agent-dhcp.log
neutron-agent-l3.log
neutron-agent-metadata.log
neutron-agent-ovs.log

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

First, In snapshot I can see some of services are missing use_syslog_rfc_format option

The serivces containing it are:
./nova/nova.conf:use_syslog_rfc_format=True
./keystone/keystone.conf:use_syslog_rfc_format=true
./cinder/cinder.conf:use_syslog_rfc_format=True
./glance/glance-api.conf:use_syslog_rfc_format=True
./glance/glance-cache.conf:use_syslog_rfc_format=True
./glance/glance-registry.conf:use_syslog_rfc_format=True

Looks like we missed it while were doing upstream modules sync

2nd, bug https://bugs.launchpad.net/fuel/+bug/1381545 looks related as well, the fix with localhost:514 for syslog appeared to be not enough

Changed in fuel:
status: New → Confirmed
assignee: Fuel Library Team (fuel-library) → Bogdan Dobrelya (bogdando)
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
Changed in fuel:
assignee: Bogdan Dobrelya (bogdando) → Matthew Mosesohn (raytrac3r)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Removed duplicate of https://bugs.launchpad.net/fuel/+bug/1381545. This will focus on syslog RFC format option missing in config. This applies to neutron, heat, swift, keystone, murano, and sahara.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/133978
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=db132572f1d26a2cff5a9e206cd4795dfd3cccba
Submitter: Jenkins
Branch: master

commit db132572f1d26a2cff5a9e206cd4795dfd3cccba
Author: Matthew Mosesohn <email address hidden>
Date: Wed Nov 12 18:20:11 2014 +0400

    Add use_syslog_rfc_format for neutron and ceilometer

    After syncing upstream manifests, this option was lost.
    This is necessary for rsyslog to aggregate service logs
    on upstream rsyslog server.

    Change-Id: Ie2970ac9b526f3877f3c915b08f4a641c9dcb37f
    Closes-Bug: #1388111

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #49

"build_id": "2014-12-09_22-41-06", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "49", "auth_required": true, "api": "1.0", "nailgun_sha": "22bd43b89a17843f9199f92d61fc86cb0f8772f1", "production": "docker", "fuelmain_sha": "3aab16667f47dd8384904e27f70f7a87ba15f4ee", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-12-09_22-41-06", "ostf_sha": "a9afb68710d809570460c29d6c3293219d3624d4", "build_number": "49", "api": "1.0", "nailgun_sha": "22bd43b89a17843f9199f92d61fc86cb0f8772f1", "production": "docker", "fuelmain_sha": "3aab16667f47dd8384904e27f70f7a87ba15f4ee", "astute_sha": "16b252d93be6aaa73030b8100cf8c5ca6a970a91", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "2c99931072d951301d395ebd5bf45c8d401301bb"}}}, "fuellib_sha": "2c99931072d951301d395ebd5bf45c8d401301bb"}

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