install-guie: the signing_dir configuration (proxy-server.conf) is not correct

Bug #1329798 reported by keshava
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
keshava
swift (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The instruction for creating /home/swift is missing.
Without this , proxy service fails with the error -

  File "/usr/lib/python2.7/os.py", line 157, in makedirs^M
    mkdir(name, mode)^M
OSError: [Errno 13] Permission denied: '/home/swift'^M

Need to
1. create /home/swift
2. provide permissions - chown -R swift:swift /home/swift

-----------------------------------
Built: 2014-06-08T02:38:02 00:00
git SHA: 66f37758fe6c22aa9ca4f0afd1f4892c5a098ebd
URL: http://docs.openstack.org/icehouse/install-guide/install/apt/content/installing-and-configuring-the-proxy-node.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/object-storage/section_object-storage-install-config-proxy-node.xml
xml:id: installing-and-configuring-the-proxy-node

keshava (kb-sankethi)
Changed in openstack-manuals:
assignee: nobody → keshava (kb-sankethi)
Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

I'm not sure that this /home/swift problem comes from the doc. Maybe you already have a swift user on your system, and it's home dir is /home/swift?
I'm going to run a test on my ubuntu 14.04 system to see if it happens here too.

Changed in openstack-manuals:
status: New → Incomplete
Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

So the home dir problem is really happening... I think it's a packaging problem, and not a doc problem. But we should probably document the workaround keshava suggested.

Thanks!

summary: - Install and configure the proxy node in OpenStack Installation Guide for
- Ubuntu 12.04/14.04 (LTS)  - icehouse
+ swift user home dir is not created
Revision history for this message
Gauvain Pocentek (gpocentek) wrote : Re: swift user home dir is not created

I investigated a bit more, in fact this is a doc bug. The signing_dir in our proxy-server.conf sample is not properly defined. It shouldn't be in /home. We could remove this config, the default is fine.

Sorry about the noise...

Changed in openstack-manuals:
status: Incomplete → Confirmed
summary: - swift user home dir is not created
+ install-guie: the signing_dir configuration (proxy-server.conf) is not
+ correct
Changed in swift (Ubuntu):
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
status: Confirmed → In Progress
keshava (kb-sankethi)
information type: Public → Public Security
information type: Public Security → Public
Changed in openstack-manuals:
assignee: keshava (kb-sankethi) → Diane Fleming (diane-fleming)
Changed in openstack-manuals:
assignee: Diane Fleming (diane-fleming) → keshava (kb-sankethi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/100057
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=abed3e59e159136b39a498a013983d0cf9efded9
Submitter: Jenkins
Branch: master

commit abed3e59e159136b39a498a013983d0cf9efded9
Author: Keshava Bharadwaj <email address hidden>
Date: Sat Jun 14 18:18:29 2014 +0530

    Corrects proxy server conf in swift install guide

    The install and configuration guide for object storage has
    proxy-server.conf contents with /home/swift/keystone-signing as
    signing directory. Without the directory being available swift proxy
    service is unable to start. Signing directory is a temporary cache
    directory which defaults to /tmp. Hence removing this entry makes
    /tmp as default signing directory. This patch removes signing_dir
    option to make swift use /tmp as signing directory implicitly.

    Change-Id: I8b9b70b30af2767f48705acb14329833179b96fc
    Closes-Bug: #1329798

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/101091

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (stable/icehouse)

Reviewed: https://review.openstack.org/101091
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=644d42713de489a56de27fe57fa116f961b954dd
Submitter: Jenkins
Branch: stable/icehouse

commit 644d42713de489a56de27fe57fa116f961b954dd
Author: Keshava Bharadwaj <email address hidden>
Date: Sat Jun 14 18:18:29 2014 +0530

    Corrects proxy server conf in swift install guide

    The install and configuration guide for object storage has
    proxy-server.conf contents with /home/swift/keystone-signing as
    signing directory. Without the directory being available swift proxy
    service is unable to start. Signing directory is a temporary cache
    directory which defaults to /tmp. Hence removing this entry makes
    /tmp as default signing directory. This patch removes signing_dir
    option to make swift use /tmp as signing directory implicitly.

    Change-Id: I8b9b70b30af2767f48705acb14329833179b96fc
    Closes-Bug: #1329798
    (cherry picked from commit abed3e59e159136b39a498a013983d0cf9efded9)

tags: added: in-stable-icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

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.