Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1331355

Summary: Undercloud contains test MySQL database
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: instack-undercloudAssignee: Emilien Macchi <emacchi>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: aschultz, dbecker, dsneddon, dtantsur, emacchi, jcoufal, jschluet, mburns, mcornea, morazi, rhel-osp-director-maint
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-6.0.0-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-17 19:29:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Cornea 2016-04-28 11:02:10 UTC
Description of problem:
The undercloud contains 'test' MySQL database.

Version-Release number of selected component (if applicable):
instack-undercloud-2.2.7-4.el7ost.noarch
instack-0.0.8-2.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install undercloud 
2. sudo mysql -e 'show databases;'

Actual results:
stack@instack:~>>> sudo mysql -e 'show databases;'
+--------------------+
| Database           |
+--------------------+
| information_schema |
| ceilometer         |
| glance             |
| heat               |
| ironic             |
| keystone           |
| mysql              |
| neutron            |
| nova               |
| performance_schema |
| test               |
+--------------------+

Expected results:
The test database should be deleted.

Comment 5 Emilien Macchi 2017-04-03 21:34:13 UTC
Can you verify it please?

Comment 8 Marius Cornea 2017-04-10 11:01:32 UTC
[stack@undercloud-0 ~]$  sudo mysql -e 'show databases;'
+--------------------+
| Database           |
+--------------------+
| information_schema |
| aodh               |
| ceilometer         |
| glance             |
| gnocchi            |
| heat               |
| ironic             |
| ironic-inspector   |
| keystone           |
| mistral            |
| mysql              |
| neutron            |
| nova               |
| nova_api           |
| nova_cell0         |
| nova_placement     |
| panko              |
| performance_schema |
+--------------------+

Comment 9 errata-xmlrpc 2017-05-17 19:29:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1245