Deployment doc did not work for non-root user

Bug #1716864 reported by Dou Rui Yuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Undecided
Dou Rui Yuan

Bug Description

Zaqar deployment doc has several wrong places when deploy zaqar using non-root user:

1. File '/etc/systemd/system/zaqaruwsgi.service' should be '/etc/systemd/system/zaqar.uwsgi.service' according to the service start command 'systemctl start zaqar.uwsgi.service'

2. Got Error when service start : open("/var/run/zaqar.pid"): Permission denied, should create and chown for pid file first.

3. Got : ImportError: No module named zaqar_uwsgi, should change workdir to the path '/srv/zaqar' which zaqar_uwsgi.py in.

4. It's better to move zaqar.conf into /etc/zaqar/ instead of /etc/.

5. zaqar.conf miss 'identity_uri' for section keystone_authtoken

https://docs.openstack.org/zaqar/latest/install/index.html

Dou Rui Yuan (rydou)
Changed in zaqar:
status: New → In Progress
assignee: nobody → Dou Rui Yuan (rydou)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zaqar (master)

Fix proposed to branch: master
Review: https://review.openstack.org/503558

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

Reviewed: https://review.openstack.org/503558
Committed: https://git.openstack.org/cgit/openstack/zaqar/commit/?id=eb86aafb234a3316e7b2c0ad0429483554bcfe38
Submitter: Zuul
Branch: master

commit eb86aafb234a3316e7b2c0ad0429483554bcfe38
Author: Rui Yuan Dou <email address hidden>
Date: Wed Sep 13 16:23:38 2017 +0800

    Correct descriptions of install doc

    1. add create pid step
    2. correct service config file name to 'zaqar-uwsgi.service'
    3. move zaqar.conf into /etc/zaqar/
    4. change uwsgi workdir to path '/srv/zaqar'

    Change-Id: I6aafbb3b84abaf3ae40561055c2c122d9a1c8dff
    Closes-bug: 1716864

Changed in zaqar:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zaqar 6.0.0.0b1

This issue was fixed in the openstack/zaqar 6.0.0.0b1 development milestone.

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.