Project

General

Profile

Actions

Bug #21589

closed

Confine sync plans procedures to 'katello feature'

Added by Swapnil Abnave over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Procedure
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

[root@centos7-foreman-1-14 foreman_maintain]# ./bin/foreman-maintain upgrade run --target-version 1.15
Running Procedures before migrating to Foreman 1.15
================================================================================
Turn on maintenance mode:                                             [OK]
--------------------------------------------------------------------------------
disable active sync plans: 
/ disabling sync plans                                                [FAIL]    
Illegal quoting in line 1.
--------------------------------------------------------------------------------
Scenario [Procedures before migrating to Foreman 1.15] failed.

The following steps ended up in failing state:

  [sync-plans-disable]

Resolve the failed steps and rerun
the command. In case the failures are false positives,
use --whitelist="sync-plans-disable" 

While debugging found that katello_sync_plans do not exist:

def parse_csv(data)
data # "ERROR: relation \"katello_sync_plans\" does not exist\nLINE 1: COPY ( SELECT id FROM katello_sync_plans WHERE enable...\n
end

Actions #1

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/theforeman/foreman_maintain/pull/124 added
Actions #2

Updated by Swapnil Abnave over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF