Project

General

Profile

Bug #21589

Confine sync plans procedures to 'katello feature'

Added by Swapnil Abnave about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Procedure
Target version:
Difficulty:
trivial
Triaged:
No
Bugzilla link:
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

Associated revisions

Revision af23cbd5 (diff)
Added by Swapnil Abnave almost 3 years ago

Fixes #21589 - confine sync plans procedure to katello feature

History

#1 Updated by The Foreman Bot about 3 years ago

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

#2 Updated by Swapnil Abnave almost 3 years ago

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

Also available in: Atom PDF