Project

General

Profile

Actions

Bug #32002

closed

While using foreman-installer --reset-data throws few "Permission Denied" errors

Added by Eric Helms over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Ewoud Kohl van Wijngaarden over 3 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
Actions #2

Updated by The Foreman Bot over 3 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
Actions #3

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #4

Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/660 added
Actions #6

Updated by Ewoud Kohl van Wijngaarden over 3 years ago

  • Target version set to 2.4.0
  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)
Actions

Also available in: Atom PDF