Bug 980565

Summary: Dashboard docs: nova service restart command
Product: Red Hat OpenStack Reporter: Attila Darazs <adarazs>
Component: doc-Installation_and_Configuration_GuideAssignee: Stephen Gordon <sgordon>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.0CC: hateya, sgordon
Target Milestone: ---Keywords: Documentation
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Red_Hat_OpenStack-Installation_and_Configuration_Guide-3-en-US-3-29 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build: CSProcessor Builder Version 1.10 Build Name: 15807, Installation and Configuration Guide-3-1 Build Date: 01-07-2013 17:33:39 Topic ID: 15858-469723 [Latest]
Last Closed: 2013-07-24 19:14:45 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:
Bug Depends On:    
Bug Blocks: 1011085    

Description Attila Darazs 2013-07-02 17:52:25 UTC
Title: Configuring Database Session Storage

Describe the issue:
 Restart the nova-api service to ensure the API server can connect to the Dashboard and to avoid an error displayed in the Dashboard.

#service restart nova-api

Suggestions for improvement:
The correct command is

# service openstack-nova-api restart

Additional information:

Also I'm not sure if the mysql part in the 4th step should create a user as 'dash'@'localhost', instead or next to the 'dash'@'%' user. The other parts of the documentation are doing this.

Comment 2 Stephen Gordon 2013-07-02 18:15:07 UTC
(In reply to Attila Darazs from comment #0)
> Title: Configuring Database Session Storage
> 
> Describe the issue:
>  Restart the nova-api service to ensure the API server can connect to the
> Dashboard and to avoid an error displayed in the Dashboard.
> 
> #service restart nova-api
> 
> Suggestions for improvement:
> The correct command is
> 
> # service openstack-nova-api restart

This bit is covered off under Bug # 975419.

> Additional information:
> 
> Also I'm not sure if the mysql part in the 4th step should create a user as
> 'dash'@'localhost', instead or next to the 'dash'@'%' user. The other parts
> of the documentation are doing this.

This I think is an issue, in particular because we create 'dash'@'%' but then use localhost as the hostname for local_settings.py. I don't believe that would work because the '%' wildcard does not include the socket based connection created in this case. I think the correct / best approach is to be consistent with the rest of the docs and create both the '%' and 'localhost' grant.

There is also some leading space in the screen element for step 7:

# cd /usr/share/openstack-dashboard
                    #python manage.py syncdb

https://access.redhat.com/site/documentation/en-US/Red_Hat_OpenStack/3/html/Installation_and_Configuration_Guide/Configuring_Database_Session_Storage.html

Given the minor nature of the required changes I will take it for a 3.0.z update.

Comment 3 Stephen Gordon 2013-07-02 18:34:39 UTC
"Configuring Database Session Storage" - ID: 15858 [rev: 473583]