← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1836028] [NEW] Functional Test script results in an authentication error

 

Public bug reported:

The script is the "configure_for_func_testing.sh" located in /opt/stack/neutron/tools folder.
When the guidelines are followed from the following link:https://docs.openstack.org/neutron/ocata/devref/development.environment.html the test script displays the following error:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)

Possibly due to the version of MySQL version being used:
"Since version 5.7, MySQL is secure-by-default: a random root password is generated upon installation; you need to read this password from the server log. you have to change this password the first time you connect. you cannot use a blank password because of the validate_password plugin."

The fix for this is to include the already set password in order to
access the MySQL database.

** Affects: neutron
     Importance: Undecided
     Assignee: Sara Nierodzik (snierodz)
         Status: Fix Committed

** Changed in: neutron
     Assignee: (unassigned) => Sara Nierodzik (snierodz)

** Changed in: neutron
       Status: New => Incomplete

** Changed in: neutron
       Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1836028

Title:
  Functional Test script results in an authentication error

Status in neutron:
  Fix Committed

Bug description:
  The script is the "configure_for_func_testing.sh" located in /opt/stack/neutron/tools folder.
  When the guidelines are followed from the following link:https://docs.openstack.org/neutron/ocata/devref/development.environment.html the test script displays the following error:

  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
  password: YES)

  Possibly due to the version of MySQL version being used:
  "Since version 5.7, MySQL is secure-by-default: a random root password is generated upon installation; you need to read this password from the server log. you have to change this password the first time you connect. you cannot use a blank password because of the validate_password plugin."

  The fix for this is to include the already set password in order to
  access the MySQL database.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1836028/+subscriptions


Follow ups