RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 1327068 - trove guest agent should create a sudoers entry
Summary: trove guest agent should create a sudoers entry
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: RDO
Classification: Community
Component: openstack-trove
Version: trunk
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: trunk
Assignee: Victoria Martinez de la Cruz
QA Contact: Luigi Toscano
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-14 08:27 UTC by Attila Fazekas
Modified: 2018-12-28 13:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-28 13:38:08 UTC
Embargoed:


Attachments (Terms of Use)

Description Attila Fazekas 2016-04-14 08:27:11 UTC
Description of problem:

trove guest agent needs to be able to run commands as root,
it uses sudo for root access.

All other openstack component creates a sudoers entry for himself, but the trove-guest-agent does not.


Example solution:
/etc/sudoers.d/trove_guest:
Defaults:trove !requiretty

trove ALL=(ALL) NOPASSWD:ALL


The file could be named as just 'trove' as well.

This file should be installed with the openstack-trove-guestagent package, but it must not be part of a more generic package like openstack-trove-common or openstack-trove .

Version-Release number of selected component (if applicable):
openstack-trove-guestagent-5.0.0-1.el7.noarch

Comment 1 Chandan Kumar 2016-05-19 15:53:08 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.

Comment 2 Luigi Toscano 2016-05-24 09:05:35 UTC
The target was definitely incorrect.

Comment 3 Christopher Brown 2017-06-18 07:23:15 UTC
Hi,

Can you let me know if this is still an issue, should be a fairly simple fix if it is?

Thanks

Comment 4 Attila Fazekas 2017-08-23 08:12:40 UTC
Hi,

I do not really work with trove nowadays it did not give me what I was looking for.

If the issue not solved on package level you can solve/workaround it at image build time if your build script does not have something for this issue already.

I can't remember which github repo  had the image build script compatible with this package, maybe someone else does ..

Comment 5 Luigi Toscano 2017-08-23 09:34:24 UTC
I don't work with trove anymore too. We did not package any image building thing in RDO for Trove, so this can be fixed in the packaging, if anyone is willing to.


Note You need to log in before you can comment on or make changes to this bug.