Incorrect command

Bug #1833554 reported by Chason Chan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Incomplete
Undecided
Chason Chan

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.

Incorrect link command:
ln -s /usr/share/keystone/wsgi-keystone.conf /etc/httpd/conf.d/

It should be:
ln -s /usr/share/keystone/wsgi-keystone.conf /etc/httpd/conf.d/wsgi-keystone.conf

Using current command, there would not be a soft link of /usr/share/keystone/wsgi-keystone.conf.

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: on 2018-12-10 15:55:13
SHA: 1828d0612cf2c51427773077dc25bd8b659eb549
Source: https://opendev.org/openstack/keystone/src/doc/source/install/keystone-install-rdo.rst
URL: https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html

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

Fix proposed to branch: master
Review: https://review.opendev.org/666554

Changed in keystone:
assignee: nobody → Chason Chan (chen-xing)
status: New → In Progress
Revision history for this message
Colleen Murphy (krinkle) wrote :

The command in the documentation is already correct. Using a directory as an argument to ln -s implicitly creates a soft link with the same name as the target file in the directory. The result should be a link named /etc/httpd/conf.d/wsgi-keystone.conf that points to /usr/share/keystone/wsgi-keystone.conf.

Changed in keystone:
status: In Progress → Invalid
Revision history for this message
Chason Chan (chen-xing) wrote :

But There is no link generated in /etc/httpd/conf.d/ dir after I run this command.

I think we should complete this command. The current command is incompatible with some case, just like mine. :)

Changed in keystone:
status: Invalid → New
Revision history for this message
Colleen Murphy (krinkle) wrote :

These steps work for me and the link appears in the right place:

$ sudo yum install centos-release-openstack-stein
[snipped]
$ sudo yum install openstack-keystone httpd mod_wsgi
[snipped]
$ sudo ln -s /usr/share/keystone/wsgi-keystone.conf /etc/httpd/conf.d/
$ ls -l /etc/httpd/conf.d
total 16
-rw-r--r--. 1 root root 2926 Apr 24 13:45 autoindex.conf
-rw-r--r--. 1 root root 366 Apr 24 13:46 README
-rw-r--r--. 1 root root 1252 Apr 24 13:44 userdir.conf
-rw-r--r--. 1 root root 824 Apr 24 13:44 welcome.conf
lrwxrwxrwx. 1 root root 38 Jun 21 21:11 wsgi-keystone.conf -> /usr/share/keystone/wsgi-keystone.conf

Are you seeing any error message?

Changed in keystone:
status: New → Incomplete
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by "Gage Hugo <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/keystone/+/666554
Reason: Abandoning since there hasn't been any recent activity, if anyone wants to continue this work, please feel free to restore this or create a new change.

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.