Actions
Bug #32002
closedWhile using foreman-installer --reset-data throws few "Permission Denied" errors
Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
2020-12-28 22:33:26 [NOTICE] [pre_commit] All hooks in group pre_commit finished
2020-12-28 22:33:26 [NOTICE] [pre] Executing hooks in group pre
Executing: sudo -u postgres dropdb foreman
could not change directory to "/root": Permission denied <<<<<<<<<<<<<<<
Executing: rm -f /var/lib/candlepin/.puppet-candlepin-cpdb*
Executing: sudo -u postgres dropdb candlepin
could not change directory to "/root": Permission denied <<<<<<<<<<<<<<<
Executing: rm -f /var/lib/pulp/init.flag
Executing: mongo pulp_database --host localhost --port 27017 --eval 'db.dropDatabase();'
MongoDB shell version v3.4.9
connecting to: mongodb://localhost:27017/pulp_database
MongoDB server version: 3.4.9
{ "dropped" : "pulp_database", "ok" : 1 }
Executing: rm -rf /var/lib/pulp/{distributions,published,repos,content}/*
2020-12-28 22:35:02 [NOTICE] [pre] All hooks in group pre finished
The installer does not exit with these permission denied errors, it continues its work but the error message is a bit concerning.
Updated by Ewoud Kohl van Wijngaarden almost 5 years ago
- Subject changed from While using satellite-installer --reset-data throws few "Permission Denied" errors to While using foreman-installer --reset-data throws few "Permission Denied" errors
- Category set to foreman-installer script
- Triaged changed from No to Yes
- Found in Releases 2.3.3 added
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Eric Helms
- Pull request https://github.com/theforeman/foreman-installer/pull/657 added
Updated by Eric Helms almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|8310aa688aefd6a339fa7589834b89d79845c151.
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman-installer/pull/660 added
Updated by Ewoud Kohl van Wijngaarden over 4 years ago
- Target version set to 2.4.0
- Fixed in Releases 2.4.0 added
- Fixed in Releases deleted (
2.5.0)
Actions