Install and configure controller node in neutron (manual) - Prerequisites

Bug #1811238 reported by Kfear Oshri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Boden R

Bug Description

- [X] This doc is inaccurate in this way:

In section 1
the command:
# mysql
should be:
# mysql -u root -p

for reference check:
https://docs.openstack.org/nova/rocky/install/controller-install-rdo.html

-----------------------------------
Release: 13.0.3.dev26 on 2019-01-04 17:45
SHA: 025e767b94cf29e522a67e3c1ddd8aa3dba9140a
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/install/controller-install-rdo.rst
URL: https://docs.openstack.org/neutron/rocky/install/controller-install-rdo.html

Tags: doc
Boden R (boden)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Lajos Katona (lajos-katona) wrote :

Perhaps a duplicate of this old one: https://bugs.launchpad.net/neutron/+bug/1785025 (Install and configure controller node in Neutron).

I changed the doc: https://review.openstack.org/589907, but was recently reverted:
https://review.openstack.org/#/c/628878/

So if I understand well from Akihiro's commit message: "This commit was approved just to keep the consistency with other OpenStack projects, but most proposed changes related to it have been rejected so far. The main reason is because it is clearer to specify options explicitly and we should not assume some configuration. I totally agree these opinions and see no reason that neutron
contineus to use different command line options for mysql. Consistency in the installation guide will bring better user experience."

So perhaps this bug can be rejected.

Revision history for this message
Kfear Oshri (kfear) wrote :

Please be advised:
while trying to use this command without parameters and logged in to bash as root
the command is rejected:

[root@controller ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So, in any case the user should add the "-p" option

[root@controller ~]# mysql -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 396
Server version: 10.1.20-MariaDB MariaDB Server

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

if so, neutron document should preserve consistency with all other docs and the command should be:
# mysql -u root -p

Boden R (boden)
Changed in neutron:
assignee: nobody → Boden R (boden)
Revision history for this message
Boden R (boden) wrote :

Best I can tell the docs already all do use -u and -p option [1].

If there's something else that's needed please reopen/clarify.

[1] http://codesearch.openstack.org/?q=mysql&i=nope&files=doc&repos=neutron

Changed in neutron:
status: Confirmed → Invalid
Revision history for this message
Kfear Oshri (kfear) wrote :

the docs are OK.
however, the web page is not
please see attached print screen
and the link
https://docs.openstack.org/neutron/rocky/install/controller-install-rdo.html

Revision history for this message
Kfear Oshri (kfear) wrote :

Print screen here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.