An extra command required to setup proper access

Bug #1511956 reported by Saurabh Srivastava
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Low
Jude Augustine Job

Bug Description

The command:
usermod -a -G ceilometer swift

adds swift to the ceilometer group. However, the default access settings for the /var/log/ceilometer directory is 740, which will still not allow swift to add any files to the folder, and hence, on restarting the swift-proxy, the process won't start. We need an extra command to setup the proper access:
chmod 770 /var/log/ceilometer
-----------------------------------
Built: 2015-10-26T16:09:18 00:00
git SHA: c2ffa96e875eff331d3d7537f40f9bac3e4644ba
URL: http://docs.openstack.org/juno/install-guide/install/apt/content/ceilometer-swift.html
source File: file:/home/jenkins/workspace/openstack-manuals-tox-doc-publishdocs/doc/install-guide/section_ceilometer-swift.xml
xml:id: ceilometer-swift

tags: added: ceilometer swift
Changed in openstack-manuals:
assignee: nobody → sanket lawangare (sanket-lawangare-d)
Changed in openstack-manuals:
assignee: sanket lawangare (sanket-lawangare-d) → nobody
Changed in openstack-manuals:
assignee: nobody → sanket lawangare (sanket-lawangare-d)
Changed in openstack-manuals:
assignee: sanket lawangare (sanket-lawangare-d) → nobody
Changed in openstack-manuals:
assignee: nobody → Jude Augustine Job (judeaugustine-j)
Changed in openstack-manuals:
status: New → In Progress
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/241085

Changed in openstack-manuals:
importance: Undecided → Medium
milestone: none → mitaka
tags: added: install-guide
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

I cannot reproduce this issue with Liberty on Ubuntu. The swift-proxy process does not seem to access the /var/log/ceilometer directory.

Revision history for this message
Matt Kassawara (ionosphere80) wrote :

Perhaps this bug only applies to Juno and therefore the patch needs to specifically address that version?

Changed in openstack-manuals:
status: In Progress → Won't Fix
status: Won't Fix → Incomplete
importance: Medium → Undecided
assignee: Jude Augustine Job (judeaugustine-j) → nobody
Revision history for this message
Saurabh Srivastava (ssri-cse) wrote : Re: [Bug 1511956] Re: An extra command required to setup proper access

Please check the URL on which I have reported the same:
http://docs.openstack.org/juno/install-guide/install/apt/content/ceilometer-swift.html
<http://docs.openstack.org/juno/install-guide/install/apt/content/ceilometer-swift.html>
It is reported for Juno only. I have no idea about other versions.

On 11/04/2015 10:33 PM, Matt Kassawara wrote:
> Perhaps this bug only applies to Juno and therefore the patch needs to
> specifically address that version?
>
> ** Changed in: openstack-manuals
> Status: In Progress => Won't Fix
>
> ** Changed in: openstack-manuals
> Status: Won't Fix => Incomplete
>
> ** Changed in: openstack-manuals
> Importance: Medium => Undecided
>
> ** Changed in: openstack-manuals
> Assignee: Jude Augustine Job (judeaugustine-j) => (unassigned)
>

--
Thanks and Regards,
Saurabh Srivastava,
PhD Student,
Department of Computer Sc. & Engg.
IIT Kanpur
http://www.cse.iitk.ac.in/users/ssri

Changed in openstack-manuals:
assignee: nobody → Jude Augustine Job (judeaugustine-j)
Changed in openstack-manuals:
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/241956

Changed in openstack-manuals:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-manuals (master)

Change abandoned by Andreas Jaeger (<email address hidden>) on branch: master
Review: https://review.openstack.org/241085
Reason: not needed for master

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

Reviewed: https://review.openstack.org/241956
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=b59115bdcd8dd2933fdadc2edf6f95df119b6cbf
Submitter: Jenkins
Branch: stable/juno

commit b59115bdcd8dd2933fdadc2edf6f95df119b6cbf
Author: judejob <email address hidden>
Date: Thu Nov 5 15:12:31 2015 +0530

    Providing permission for swift to access ceilometer group

    The default access setting for the /var/log/ceilometer,
    directory is 740, which will not allow swift to add files
    to that folder and hence swift-proxy will not restart.

    Change-Id: I9b6ed615f0b16a42418bfdcf84c4144796174a30
    Closes-Bug: #1511956

tags: added: in-stable-juno
Changed in openstack-manuals:
status: In Progress → Fix Committed
Changed in openstack-manuals:
status: Fix Committed → Fix Released
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.