Bug 979085 - openstack-nova: please review support data collection
Summary: openstack-nova: please review support data collection
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
urgent
medium
Target Milestone: Upstream M3
: 4.0
Assignee: Nikola Dipanov
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks: 840057
TreeView+ depends on / blocked
 
Reported: 2013-06-27 14:55 UTC by Bryn M. Reeves
Modified: 2019-09-09 15:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-20 23:30:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Sample etc directory for an allinone RHOS install (Grizzly) (43.20 KB, application/gzip)
2013-08-13 22:35 UTC, Perry Myers
no flags Details

Description Bryn M. Reeves 2013-06-27 14:55:30 UTC
As part of support readiness preparations for OpenStack please review the data proposed to be collected for support purposes by the sos tool:

        "/etc/nova/"
        "/var/log/nova/"
        "/var/lib/nova/"
        "/etc/polkit-1/localauthority/50-local.d/50-nova.pkla"
        "/etc/sudoers.d/nova"
        "/etc/logrotate.d/openstack-nova"

Please verify that this set of information is complete and sufficient for support of this component and confirm either that no secrets (passwords, private keys, etc.) are collected or list any secrets that may be included.

This information is needed to create path exclusion and search/replace rules to remove this data from generated reports.

Please provide feedback on these items via this bug - once the review has taken place the bug may be closed.

Comment 4 Russell Bryant 2013-08-12 19:39:50 UTC
The following secrets are included:

options in /etc/nova/nova.conf
 - [general]
   - ldap_dns_password
   - neutron_admin_password
   - rabbit_password
   - qpid_password
   - powervm_mgr_passwd
   - xenapi_connection_password
   - virtual_power_host_pass
 - [matchmaker_redis]
   - password
 - [vmware]
   - host_password
   - vnc_password
 - [database]
    - connection
 - [baremetal]
    - sql_connection

options in /etc/nova/api-paste.ini (probably not actually here, but just in case)
 - [filter:authtoken]
   - admin_password

Also, I wouldn't include /var/lib/nova.  It's all data that I don't think is appropriate to collect.

I'd like another nova person to look at this to make sure I didn't miss anything, though.

Comment 5 Alan Pevec 2013-08-12 21:36:39 UTC
> options in /etc/nova/api-paste.ini (probably not actually here, but just in
> case)
>  - [filter:authtoken]
>    - admin_password

That's still an option i.e. user could put authtoken configuration into paste.ini but default location in our RPMs is nova.conf [keystone_authtoken] section and sosreport plugin should mask both,
/etc/nova/api-paste.ini [filter:authtoken] admin_password
and
/etc/nova/nova.conf [keystone_authtoken] admin_password

Comment 6 Nikola Dipanov 2013-08-13 08:47:37 UTC
We might want to consider two more things (however unlikely):

* /etc/sysconfig/openstack-nova-novncproxy.sysconfig as it might have been used to override novncproxy options.
* /var/security/limits.d/91-nova.conf (due to #917534)

Comment 7 Russell Bryant 2013-08-13 09:00:03 UTC
The review looks pretty complete to me now.  Thanks Alan and Nikola!  Bryn, is there any additional information we can provide that would be helpful?

Comment 8 Bryn M. Reeves 2013-08-13 09:49:45 UTC
Examples of the configuration files so that we can come up with regexes to remove these items would be helpful, particularly considering the short time left to the deadline.

Alternately if anyone has a test system where I can look at all this stuff live that would be a help.

Comment 9 Perry Myers 2013-08-13 22:35:07 UTC
Created attachment 786324 [details]
Sample etc directory for an allinone RHOS install (Grizzly)

Comment 10 Perry Myers 2013-08-13 22:35:41 UTC
Bryn, see attachment from Comment #9

Comment 11 Russell Bryant 2013-11-20 23:30:50 UTC
It looks like this is complete.  Please let us  know if you need more information.  Thanks!


Note You need to log in before you can comment on or make changes to this bug.