hi, all,
I just upgraded katello from 2.0 to 2.1, it goes smoothy, but some error in
the log file that make confuse:
Seeding
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_discovery-2.0.0/db/seeds.d/60_discovery_proxy_feature.rb
All seed files executed
[ INFO 2015-02-16 15:54:12 main] Upgrade Step: Running errata import task
(this may take a while)…
[ERROR 2015-02-16 15:57:22 main] rake aborted!
PGError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
Tasks: TOP => katello:upgrades:2.1:import_errata
(See full trace by running task with --trace)
Importing Errata
Updating Content Host Repositories <here is the hostname that I ommited>
…
Generating applicability for 17 Content Hosts
[ INFO 2015-02-16 15:57:22 main] Katello upgrade completed!
[DEBUG 2015-02-16 15:57:22 main] Hook
/usr/share/katello-installer/hooks/post/30-upgrade.rb returned
[<Logging::Logger:0x3f96bfae3680 name="main">,
<Logging::Logger:0x3f96bfad376c name="fatal">]
[ INFO 2015-02-16 15:57:22 main] All hooks in group post finished
[DEBUG 2015-02-16 15:57:22 main] Exit with status code: 2 (signal was 2)
[ERROR 2015-02-16 15:57:22 main] Repeating errors encountered during run:
I ran a little test like remove a package for a host under content host
page, but it pop the same error:
PGError: server closed the connection unexpectedly This probably means the
server terminated abnormally, before or while processing the request.
can anyone please help on this?
Thanks
> hi, all,
>
> I just upgraded katello from 2.0 to 2.1, it goes smoothy, but some error in
> the log file that make confuse:
> Seeding
> /opt/rh/ruby193/root/usr/share/gems/gems/foreman_discovery-2.0.0/db/seeds.d/60_discovery_proxy_feature.rb
> All seed files executed
>
> [ INFO 2015-02-16 15:54:12 main] Upgrade Step: Running errata import task
> (this may take a while)…
> [ERROR 2015-02-16 15:57:22 main] rake aborted!
> PGError: server closed the connection unexpectedly
> This probably means the server terminated abnormally
> before or while processing the request.
>
> Tasks: TOP => katello:upgrades:2.1:import_errata
> (See full trace by running task with --trace)
> Importing Errata
> Updating Content Host Repositories <here is the hostname that I ommited>
> …
> Generating applicability for 17 Content Hosts
>
> [ INFO 2015-02-16 15:57:22 main] Katello upgrade completed!
> [DEBUG 2015-02-16 15:57:22 main] Hook
> /usr/share/katello-installer/hooks/post/30-upgrade.rb returned
> [<Logging::Logger:0x3f96bfae3680 name="main">,
> <Logging::Logger:0x3f96bfad376c name="fatal">]
> [ INFO 2015-02-16 15:57:22 main] All hooks in group post finished
> [DEBUG 2015-02-16 15:57:22 main] Exit with status code: 2 (signal was 2)
> [ERROR 2015-02-16 15:57:22 main] Repeating errors encountered during run:
>
> I ran a little test like remove a package for a host under content host
> page, but it pop the same error:
> PGError: server closed the connection unexpectedly This probably means the
> server terminated abnormally, before or while processing the request.
>
>
> can anyone please help on this?
PGError looks like something related to PostgreSQL. Can you look at
other logs in the system (/var/log/messages, journalctl,
/var/log/foreman/production.log)?
Uploading the tarball produced by foreman-debug
may help us
troubleshoot what's going on as well.
···
On Mon, Feb 16, 2015 at 12:30:29AM -0800, sinux shen wrote:
Thanks
–
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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
–
Best Regards,
Stephen Benjamin
Red Hat Engineering
Hi Stephen,
Thanks for your help, please check the tar file I just attached.
Sinux
foreman-debug-BTA7s.tar.xz (8.36 KB)
···
On Monday, February 16, 2015 at 8:11:56 PM UTC+8, Stephen Benjamin wrote:
>
> On Mon, Feb 16, 2015 at 12:30:29AM -0800, sinux shen wrote:
> > hi, all,
> >
> > I just upgraded katello from 2.0 to 2.1, it goes smoothy, but some error
> in
> > the log file that make confuse:
> > Seeding
> >
> /opt/rh/ruby193/root/usr/share/gems/gems/foreman_discovery-2.0.0/db/seeds.d/60_discovery_proxy_feature.rb
>
> > All seed files executed
> >
> > [ INFO 2015-02-16 15:54:12 main] Upgrade Step: Running errata import
> task
> > (this may take a while)...
> > [ERROR 2015-02-16 15:57:22 main] rake aborted!
> > PGError: server closed the connection unexpectedly
> > This probably means the server terminated abnormally
> > before or while processing the request.
> >
> > Tasks: TOP => katello:upgrades:2.1:import_errata
> > (See full trace by running task with --trace)
> > Importing Errata
> > Updating Content Host Repositories
> > ...
> > Generating applicability for 17 Content Hosts
> >
> > [ INFO 2015-02-16 15:57:22 main] Katello upgrade completed!
> > [DEBUG 2015-02-16 15:57:22 main] Hook
> > /usr/share/katello-installer/hooks/post/30-upgrade.rb returned
> > [,
> > ]
> > [ INFO 2015-02-16 15:57:22 main] All hooks in group post finished
> > [DEBUG 2015-02-16 15:57:22 main] Exit with status code: 2 (signal was 2)
> > [ERROR 2015-02-16 15:57:22 main] Repeating errors encountered during
> run:
> >
> > I ran a little test like remove a package for a host under content host
> > page, but it pop the same error:
> > PGError: server closed the connection unexpectedly This probably means
> the
> > server terminated abnormally, before or while processing the request.
> >
> >
> > can anyone please help on this?
>
> PGError looks like something related to PostgreSQL. Can you look at
> other logs in the system (/var/log/messages, journalctl,
> /var/log/foreman/production.log)?
>
> Uploading the tarball produced by `foreman-debug` may help us
> troubleshoot what's going on as well.
>
> > Thanks
> >
> > --
> > 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 foreman-user...@googlegroups.com .
> > To post to this group, send email to forema...@googlegroups.com
> .
> > Visit this group at http://groups.google.com/group/foreman-users.
> > For more options, visit https://groups.google.com/d/optout.
>
>
> --
> Best Regards,
>
> Stephen Benjamin
> Red Hat Engineering
>
Also having issues with this…
Is there a solution?