Project

General

Profile

Actions

Bug #17934

closed

Error when updating in db:migrate step

Added by Ruediger Mueck over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When i try to update from 1.12.4-1 to 1.13.3-1 i get the following error:

  1. foreman-rake db:migrate
    API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache.
    rake aborted!
    ArgumentError: wrong number of arguments (1 for 0)
When i perform the desired rake task i get:
  1. foreman-rake apipie:cache
    rake aborted!
    ArgumentError: wrong number of arguments (1 for 0)

Files

db_migrate.txt db_migrate.txt 13.3 KB Ruediger Mueck, 01/05/2017 04:14 AM
apipie_cache.txt apipie_cache.txt 13.3 KB Ruediger Mueck, 01/05/2017 04:14 AM
Actions #1

Updated by Dominic Cleal over 7 years ago

  • Project changed from Foreman to Ansible
  • Category deleted (DB migrations)

The stack trace indicates that the error's coming from foreman_ansible 1.0, but there are newer versions available. I'd suggest updating to the latest available (e.g. 1.3.1) to see if it fixes the error.

Actions #2

Updated by Ruediger Mueck over 7 years ago

  • Status changed from New to Resolved

There was a missing package and as you said one update for ruby-foreman-ansible!

The following NEW packages will be installed:
ruby-foreman-tasks

The following packages will be upgraded:
ruby-foreman-ansible

After installing/updating this all tasks where performed without errors.

Thank you!

Actions

Also available in: Atom PDF