Project

General

Profile

Actions

Bug #27401

closed

Foreman-debug katello_repositories SQL query no longer works

Added by Lukas Zapletal over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1725244

Description of problem:

Foreman-debug collecting repos data through below command and displays that output in katello_repositories file.

  1. echo "select id, name, checksum_type, updated_at from katello_repositories" | su postgres -c 'psql foreman'

But this command does not work in satellite 6.5

Version-Release number of selected component (if applicable):
satellite-6.5.0-11.el7sat.noarch

How reproducible:

Reproducible on 6.5 only

Actual results:

  1. echo "select id, name, checksum_type, updated_at from katello_repositories" | su postgres -c 'psql foreman'
    could not change directory to "/root"
    ERROR: column "name" does not exist
    LINE 1: select id, name, checksum_type, updated_at from katello_repo...

Expected results:

Foreman-debug should collect the repos data in all version.

Additional info:

This works in satellite 6.5

  1. echo "select id, name, checksum_type, updated_at from katello_root_repositories" | su postgres -c 'psql foreman'
Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/3954 added
Actions #2

Updated by John Mitsch over 4 years ago

  • Subject changed from Foreman-debug katello_repositories SQL query no longer works to Foreman-debug katello_repositories SQL query no longer works
  • Target version set to Katello 3.13.0
  • Triaged changed from No to Yes
Actions #3

Updated by Evgeni Golov over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF