Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Fixes #17191 - don't continue with upgrade on db migrate error #471

Merged
merged 1 commit into from Jan 26, 2017

Conversation

iNecas
Copy link
Member

@iNecas iNecas commented Jan 24, 2017

Before this patch, we were ignoring the results of db:migrate rake task in
pre-upgrade hook. While sometimes it helped us with issues, when the second run
of db:migrate inside the installer would finish successfully (just because of
some combination plugins or jumping though multiple versions). We should
however rather be aware of the issues and fixing them, rather than ignoring it,
with potential consequences later.

@theforeman-bot
Copy link

There were the following issues with the commit message:

  • commit message for 5428ef8 is not wrapped at 72nd column
  • commit message for 5428ef8 is not wrapped at 72nd column

If you don't have a ticket number, please create an issue in Redmine.

More guidelines are available in Coding Standards or on the Foreman wiki.


This message was auto-generated by Foreman's prprocessor

@stbenjam
Copy link
Contributor

@iNecas LGTM, please just make @theforeman-bot happy

Before this patch, we were ignoring the results of db:migrate rake
task in pre-upgrade hook. While sometimes it helped us with issues,
when the second run of db:migrate inside the installer would finish
successfully (just because of some combination plugins or jumping
though multiple versions). We should however rather be aware of the
issues and fixing them, rather than ignoring it, with potential
consequences later.
@stbenjam stbenjam force-pushed the dont-ignore-db-migrate-errors branch from 5428ef8 to 6aeb1d1 Compare January 26, 2017 17:29
@stbenjam
Copy link
Contributor

Thanks @iNecas! Merging, I made Mr. @theforeman-bot happy for you

@stbenjam stbenjam merged commit 24ef11b into Katello:master Jan 26, 2017
@iNecas
Copy link
Member Author

iNecas commented Jan 30, 2017

@stbenjam++

ehelms pushed a commit to ehelms/katello-installer that referenced this pull request Mar 9, 2017
…lo#471)

Before this patch, we were ignoring the results of db:migrate rake
task in pre-upgrade hook. While sometimes it helped us with issues,
when the second run of db:migrate inside the installer would finish
successfully (just because of some combination plugins or jumping
though multiple versions). We should however rather be aware of the
issues and fixing them, rather than ignoring it, with potential
consequences later.
(cherry picked from commit 24ef11b)
zjhuntin pushed a commit to zjhuntin/katello-installer that referenced this pull request Oct 30, 2018
Provide proper error message to indicate required organization options
for content-view name in hostgroup create/update. These messages are
especially important for these commands because the organization options
are `--query-organization[-id|-label]` rather than just
`--organization[-id|-label]`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants