I don't understand what I've done wrong - I am literally following the rule
book here, but it seems to trip at every step.

I read the logs, and discovered that there were only three files it
couldn't find because katello was stopped (this still amazes me - "stop
katello, then make foreman-installer get data from katello"???!!?!?! who
designed/wrote this?)

the files were:

java-1.8.0-something_something
puppet-agent-1.9.0-something-something
puppetserver-2.7.2-something_something

So I found them on the file system and installed them successfully by hand.

I then repeated the above process of katello-services stop and
foreman-installer --upgrade-puppet

Now I get a fail on:

Upgrade Step: copy_data...

mv: cannot move ‘/var/lib/puppet/ssl’ to ‘/etc/puppetlabs/puppet/ssl’: File
exists

Upgrade step copy_data failed. Check logs for more information.


So I moved those files out of the way....and tried again. Failed with the
same message.

Deleted the files, tried again - failed with the same message.

Might I suggest that the puppet upgrade notes are not actually correct and
that the foreman-installer --upgrade-puppet service needs a "--skip-broken"
or "--skip-copy-data"

Anyway - I guess my question now is do I even need to run the
--upgrade-puppet?

Cheers
L.





------
The most dangerous phrase in the language is, "We've always done it this
way."

- Grace Hopper

On 13 February 2017 at 10:19, Lachlan Musicman <[email protected]> wrote:

> Hi,
>
> Self hosted installation.
>
> The upgrade foreman-installer --upgrade-puppet fails because it can't
> find packages.
>
> Which would be because I've just turned off all services as asked to in
> the instructions found here
>
> https://www.theforeman.org/plugins/katello/3.2/upgrade/puppet.html
>
> under "in place migration".
>
>
> Seems like a chicken and an egg problem - how do I solve this issue?
>
> cheers
> L.
> ------
> The most dangerous phrase in the language is, "We've always done it this
> way."
>
> - Grace Hopper
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to