Trove kick-start fails with a "Permission Denied" error when run in a devstack-gate environment

Bug #1333454 reported by Nikhil Manchanda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trove Integration
Fix Released
Medium
Nikhil Manchanda

Bug Description

In a devstack-gate environment, the devstack user (stack) is used to run devstack, and so the /etc/trove directory is writable only by the stack user, causing kick-start to fail when the ubuntu user tries to copy the trove-guestagent.conf to the /etc/trove CONF directory.

This can be fixed by using "sudo install" instead of a plain cp.

Revision history for this message
Nikhil Manchanda (slicknik) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove-integration (master)

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

Changed in trove-integration:
assignee: nobody → Nikhil Manchanda (slicknik)
status: New → In Progress
Changed in trove-integration:
importance: Undecided → High
importance: High → Medium
milestone: none → juno-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove-integration (master)

Reviewed: https://review.openstack.org/102048
Committed: https://git.openstack.org/cgit/openstack/trove-integration/commit/?id=50bd9cf0863145d29aca7299cbc656027b0e7032
Submitter: Jenkins
Branch: master

commit 50bd9cf0863145d29aca7299cbc656027b0e7032
Author: Nikhil Manchanda <email address hidden>
Date: Mon Jun 23 15:43:55 2014 -0700

    Use 'sudo install' for conf files instead of 'cp'

    In a devstack-gate environment, the devstack user (stack) is used to run
    devstack, and so the /etc/trove directory is writable only by the stack
    user. This causes kick-start to fail when the ubuntu user tries to copy
    the trove-guestagent.conf to the /etc/trove CONF directory.

    Fixed this by using "sudo install" instead of a plain "cp" to copy the
    config files over to the /etc/trove directory.

    Closes-bug: 1333454
    Change-Id: Ie2df541b27ceb44d1ec685a313fed19a1f1ca40e

Changed in trove-integration:
status: In Progress → Fix Committed
Amrith Kumar (amrith)
Changed in trove-integration:
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.