Project

General

Profile

Actions

Bug #14738

closed

All the hosts appear unsubscribe i can't attach subscription

Added by Mario Gamboa almost 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
Client/Agent
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When i go to the content hosts tab all the hosts appear now unsubscribe after upgrade from 2.4 to 3.0 RC3
this is what i got when try to check one of the subsciptions

2016-04-21 12:54:44,482 [thread=http-bio-8443-exec-1] [req=909431d7-7231-4ff4-8b1a-adb0a3645447, org=] INFO org.candlepin.common.filter.LoggingFilter - Request: verb=GE T, uri=/candlepin/owners/Verifone/info
2016-04-21 12:54:45,353 [thread=http-bio-8443-exec-1] [req=909431d7-7231-4ff4-8b1a-adb0a3645447, org=Verifone] INFO org.candlepin.common.filter.LoggingFilter - Response : status=200, content-type="application/json", time=888
2016-04-21 12:55:03,650 [thread=http-bio-8443-exec-3] [req=95410c8c-20d3-4048-87b3-989d051c0a46, org=] INFO org.candlepin.common.filter.LoggingFilter - Request: verb=GE T, uri=/candlepin/consumers//compliance
2016-04-21 12:55:03,660 [thread=http-bio-8443-exec-3] [req=95410c8c-20d3-4048-87b3-989d051c0a46, org=] ERROR org.candlepin.common.exceptions.mappers.CandlepinExceptionMa pper - Runtime Error Could not find resource for relative : /consumers//compliance of full path: https://localhost:8443/candlepin/consumers//compliance at org.jboss.rest easy.core.registry.PathParamSegment.matchPattern:209
org.jboss.resteasy.spi.NotFoundException: Could not find resource for relative : /consumers//compliance of full path: https://localhost:8443/candlepin/consumers//complia nce
at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern(PathParamSegment.java:209) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:339) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:44) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:327) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:374) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:367) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:350) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:192) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:125) ~[resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.7.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.7.Final.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [tomcat-servlet-3.0-api.jar:na]
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.EventFilter.doFilter(EventFilter.java:63) [EventFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58) [ContentTypeHackFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.common.filter.LoggingFilter.doFilter(LoggingFilter.java:90) [candlepin-common-1.0.23.jar:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48) [CandlepinPersistFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:68) [CandlepinScopeFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.54]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.54]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.54]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:7.0.54]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.54]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.54]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) [tomcat-coyote.jar:7.0.54]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) [tomcat-coyote.jar:7.0.54]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) [tomcat-coyote.jar:7.0.54]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_99]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_99]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.54]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_99]
2016-04-21 12:55:03,666 [thread=http-bio-8443-exec-3] [req=95410c8c-20d3-4048-87b3-989d051c0a46, org=] INFO org.candlepin.common.filter.LoggingFilter - Response: status =404, content-type="application/json", time=16

Attach foreman-debug


Files

foreman-debug-5ZnFQ.tar.xz foreman-debug-5ZnFQ.tar.xz 2.1 MB Mario Gamboa, 04/20/2016 09:01 PM
yum_update_log.txt yum_update_log.txt 256 KB Christian Ehart, 04/21/2016 12:25 PM
messages.txt messages.txt 238 KB Christian Ehart, 04/21/2016 12:25 PM
production-log.txt production-log.txt 335 KB Christian Ehart, 04/21/2016 12:26 PM
upgrade.log upgrade.log 1.89 MB Christian Ehart, 04/21/2016 01:35 PM
messages.txt messages.txt 51.7 KB Christian Ehart, 04/21/2016 01:35 PM
production-log.txt production-log.txt 114 KB Christian Ehart, 04/21/2016 01:35 PM
foreman-debug-after-foreman-installer.tar.xz foreman-debug-after-foreman-installer.tar.xz 2.07 MB Mario Gamboa, 04/22/2016 02:34 AM
foreman-debug-before-foreman-installer.tar.xz foreman-debug-before-foreman-installer.tar.xz 2.05 MB Mario Gamboa, 04/22/2016 02:34 AM
foreman-debug-before-upgrade.tar.xz foreman-debug-before-upgrade.tar.xz 2.03 MB Mario Gamboa, 04/22/2016 02:35 AM
katello.log katello.log 1.35 MB Mario Gamboa, 04/27/2016 09:18 AM
foreman-debug-Obb0l.tar.xz foreman-debug-Obb0l.tar.xz 3.43 MB Mario Gamboa, 04/27/2016 09:25 AM
Actions #1

Updated by Justin Sherrill almost 8 years ago

Mario,

Would you be open to giving us a db dump?

pg_dump -U foreman foreman -f foreman.sql

Should generate a foreman.sql file. You may want to compress it with gzip before uploading it (depending on the size)

Updated by Christian Ehart almost 8 years ago

same issue on my system, problem looks to be related to the end of the "yum update" progress, see attached logs and info below:

in short: ###
  1. messages ###
    Apr 21 17:49:59 katello yum: Erased: katello-installer-2.4.0-1.el7.noarch
    Apr 21 17:50:13 katello systemd: Stopping Gofer Agent...
    Apr 21 17:50:14 katello systemd: Started Gofer Agent.
    Apr 21 17:50:14 katello systemd: Starting Gofer Agent...
    Apr 21 17:50:14 katello systemd: Stopping Foreman Proxy...
    Apr 21 17:50:14 katello systemd: Starting Foreman Proxy...
    Apr 21 17:50:14 katello goferd: [INFO][Thread-1] gofer.rmi.store:114 - Using: /var/lib/gofer/messaging/pending/demo
    Apr 21 17:50:14 katello goferd: [WARNING][MainThread] gofer.agent.plugin:639 - plugin:demo, DISABLED
    Apr 21 17:50:14 katello goferd: [INFO][Thread-2] gofer.rmi.store:114 - Using: /var/lib/gofer/messaging/pending/katelloplugin
    Apr 21 17:50:14 katello goferd: [INFO][Thread-3] gofer.rmi.store:114 - Using: /var/lib/gofer/messaging/pending/katelloplugin
    Apr 21 17:50:16 katello systemd: Started Foreman Proxy.
    Apr 21 17:50:17 katello goferd: [INFO][MainThread] gofer.agent.plugin:682 - plugin:katelloplugin loaded using: /usr/lib/gofer/plugins/katelloplugin.py
    Apr 21 17:50:17 katello goferd: [INFO][MainThread] rhsm.connection:788 - Connection built: host=katello.cesystems.at port=443 handler=/rhsm auth=identity_cert ca_dir=/etc/rhsm/ca/ verify=False
    Apr 21 17:50:17 katello goferd: [INFO][MainThread] gofer.agent.main:87 - agent started.
    Apr 21 17:50:28 katello systemd: Stopping An AMQP message broker daemon....
    Apr 21 17:50:28 katello qdrouterd: Thu Apr 21 17:50:28 2016 ROUTER (info) Removing Prefix 'pulp.' for routed links to 'broker'
    Apr 21 17:50:28 katello qdrouterd: Thu Apr 21 17:50:28 2016 ROUTER (info) Removing Prefix 'qmf.' for routed links to 'broker'
    Apr 21 17:50:28 katello server: Apr 21, 2016 5:50:28 PM org.apache.catalina.loader.WebappClassLoader loadClass
    Apr 21 17:50:28 katello server: INFO: Illegal access: this web application instance has been stopped already. Could not load javax.net.ssl.SSLSocket. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
    Apr 21 17:50:28 katello server: java.lang.IllegalStateException ###
  2. production ###
    2016-04-21 17:50:17 [app] [E] RestClient::ResourceNotFound: Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (GET /candlepin/consumers/39ac149b-b1b0-4ead-a637-68d19486f7ca)
    2016-04-21 17:50:17 [app] [I] Rendered text template (0.0ms)
    2016-04-21 17:50:17 [app] [I] Completed 404 Not Found in 63ms (Views: 9.5ms | ActiveRecord: 0.4ms)
    2016-04-21 17:50:57 [app] [I] Content Host afe352b7-7aaf-48cc-89c5-ca8e4cbeadab doesn't have candlepin information, unregistering.
    2016-04-21 17:50:57 [app] [W] Unregistering content host with UUID: afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
    2016-04-21 17:50:57 [app] [I] Removing Candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
    2016-04-21 17:50:57 [app] [W] Exception when destroying candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab:Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (DELETE /candlepin/consumers/afe352b7-7aaf-48cc-89c5-ca8e4cbeadab):
    2016-04-21 17:50:57 [app] [I] Removing Pulp consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab | Started POST "/api/reports" for 10.161.0.200 at 2016-04-21 17:52:58 +0200
    2016-04-21 17:52:58 [app] [I] Processing by Api::V2::ReportsController#create as JSON
    2016-04-21 17:52:58 [app] [I] Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"}
    2016-04-21 17:52:58 [app] [I] processing report for katello.cesystems.at
    2016-04-21 17:52:58 [app] [I] Imported report for katello.cesystems.at in 0.18 seconds
    2016-04-21 17:52:58 [app] [I] Rendered api/v2/reports/create.json.rabl (54.6ms)
    2016-04-21 17:52:58 [app] [W] Action failed | NoMethodError: undefined method `summary_status' for #<Report:0x007f3d28eb1c90> | /opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib/active_model/attribute_methods.rb:407:in `method_missing' | /opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib/active_record/attribute_methods.rb:149:in `method_missing'
    2016-04-21 17:52:58 [app] [I] Rendered api/v2/errors/standard_error.json.rabl within api/v2/layouts/error_layout (1.2ms)
    2016-04-21 17:52:58 [app] [I] Completed 500 Internal Server Error in 278ms (Views: 6.0ms | ActiveRecord: 38.0ms)
    2016-04-21 17:53:08 [app] [I] Content Host afe352b7-7aaf-48cc-89c5-ca8e4cbeadab doesn't have candlepin information, unregistering.
    2016-04-21 17:53:08 [app] [W] Unregistering content host with UUID: afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
    2016-04-21 17:53:08 [app] [I] Removing Candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
    2016-04-21 17:53:08 [app] [W] Exception when destroying candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab:Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (DELETE /candlepin/consumers/afe352b7-7aaf-48cc-89c5-ca8e4cbeadab):
    2016-04-21 17:53:08 [app] [I] Removing Pulp consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab

Updated by Christian Ehart almost 8 years ago

Dear all,

related to the above and now after running "foreman-installer --scenario katello --upgrade" I see the following, see also attached logs:

2016-04-21 18:46:20 [app] [I] Content Host afe352b7-7aaf-48cc-89c5-ca8e4cbeadab doesn't have candlepin information, unregistering.
2016-04-21 18:46:20 [app] [W] Unregistering content host with UUID: afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
2016-04-21 18:46:20 [app] [I] Removing Candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
2016-04-21 18:46:20 [app] [W] Exception when destroying candlepin consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab:Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (DELETE /candlepin/consumers/afe352b7-7aaf-48cc-89c5-ca8e4cbeadab):
2016-04-21 18:46:20 [app] [I] Removing Pulp consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
2016-04-21 18:46:20 [katello/pulp_rest] [I] RestClient.delete "https://katello.cesystems.at/pulp/api/v2/consumers/afe352b7-7aaf-48cc-89c5-ca8e4cbeadab/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"cg7DAY6RAqy8vT2hIkkIzX3d0SvzZ9p3FgKAgp7g8\", oauth_signature=\"LLm3g4Fm%2FoconeR4ilnAjBYpSnc%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1461257180\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin" | \n# => 404 NotFound | text/html 257 bytes |
2016-04-21 18:46:20 [app] [W] Pulp consumer not found for consumer afe352b7-7aaf-48cc-89c5-ca8e4cbeadab proceeding.
2016-04-21 18:46:20 [app] [I] Removing system afe352b7-7aaf-48cc-89c5-ca8e4cbeadab
2016-04-21 18:46:20 [app] [I] Content Host 454d4402-ddce-4b88-8147-a80eb9edfc19 doesn't have candlepin information, unregistering.
2016-04-21 18:46:20 [app] [W] Unregistering content host with UUID: 454d4402-ddce-4b88-8147-a80eb9edfc19
2016-04-21 18:46:20 [app] [I] Removing Candlepin consumer 454d4402-ddce-4b88-8147-a80eb9edfc19
2016-04-21 18:46:20 [app] [W] Exception when destroying candlepin consumer 454d4402-ddce-4b88-8147-a80eb9edfc19:Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (DELETE /candlepin/consumers/454d4402-ddce-4b88-8147-a80eb9edfc19):
2016-04-21 18:46:20 [app] [I] Removing Pulp consumer 454d4402-ddce-4b88-8147-a80eb9edfc19
2016-04-21 18:46:20 [katello/pulp_rest] [I] RestClient.delete "https://katello.cesystems.at/pulp/api/v2/consumers/454d4402-ddce-4b88-8147-a80eb9edfc19/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"C1QahJgPXVFs4jav5eFKTC7V40L9ZgMxfm6bZvsnFI\", oauth_signature=\"HehHhBwBhRzkGdi6NNhihGsiz9Q%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1461257180\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin" | \n# => 404 NotFound | text/html 257 bytes |
2016-04-21 18:46:20 [app] [W] Pulp consumer not found for consumer 454d4402-ddce-4b88-8147-a80eb9edfc19 proceeding.
2016-04-21 18:46:20 [app] [I] Removing system 454d4402-ddce-4b88-8147-a80eb9edfc19
2016-04-21 18:46:20 [app] [I] Content Host ef9b7f36-467a-4343-8c87-6f6bc22962d4 doesn't have candlepin information, unregistering.
2016-04-21 18:46:20 [app] [W] Unregistering content host with UUID: ef9b7f36-467a-4343-8c87-6f6bc22962d4
2016-04-21 18:46:20 [app] [I] Removing Candlepin consumer ef9b7f36-467a-4343-8c87-6f6bc22962d4
2016-04-21 18:46:20 [app] [W] Exception when destroying candlepin consumer ef9b7f36-467a-4343-8c87-6f6bc22962d4:Katello::Resources::Candlepin::Consumer: 404 Resource Not Found (DELETE /candlepin/consumers/ef9b7f36-467a-4343-8c87-6f6bc22962d4):
2016-04-21 18:46:20 [app] [I] Removing Pulp consumer ef9b7f36-467a-4343-8c87-6f6bc22962d4
2016-04-21 18:46:20 [katello/pulp_rest] [I] RestClient.delete "https://katello.cesystems.at/pulp/api/v2/consumers/ef9b7f36-467a-4343-8c87-6f6bc22962d4/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"BzYa2z8xd3KG9w5AqiHDNr4keyVh6JvQIYTTma4EVuM\", oauth_signature=\"OqnCksVGc57S62ql0FPyTasNl14%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1461257180\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin" | \n# => 404 NotFound | text/html 257 bytes

...and so on

Actions #4

Updated by Justin Sherrill almost 8 years ago

Mario,

Actually I think the error is related to https://github.com/Katello/katello/pull/5990

We need to revert a change that made it into 3.0 (as some needed code didn't make it into foreman 1.11).

That doesn't explain why your hosts would have been unsubscribed though... Will think about it some more.

Actions #5

Updated by Mario Gamboa almost 8 years ago

Hi justin

Did you still need the postgres dump or no anymore?

Actions #7

Updated by Mario Gamboa almost 8 years ago

Hi justin because the database is little big 18M

i share via my dropbox
https://www.dropbox.com/sh/t1l5pavykpi3caq/AABkaPBJTKsIA44BYovv7-RTa?dl=0

Actions #8

Updated by Eric Helms almost 8 years ago

  • Category set to Client/Agent
  • Status changed from New to Need more information

Please re-test this with RC4 where we have reverted the offending change and let us know if this is still an issue or not.

Updated by Mario Gamboa almost 8 years ago

Hi Eric

Still the issue present with the RC4 attach katello.log because also have some issues when running foreman-installer after that i can login into the gui but still all the content hosts are unsubscribe

Include foreman-debug

Actions #10

Updated by Eric Helms almost 8 years ago

There is a known issue right now with selinux that is being fixed that can cause the web application to fail to come up when running the installer. For testing RC4, did you start with a fresh upgrade from 2.3 or 2.4 or did you upgrade from RC3?

Actions #11

Updated by Mario Gamboa almost 8 years ago

Hi Eric

I make the upgrade from 2.4 to 3.0 RC4 with already data is our test-production katello , i was aware of the selinux and just turn off before the foreman-installer as you know i'm no trying to upgrade fresh install to 3.0 rc because doesn't make any sense if we would like to upgrade production instances that have data already is going to fail i believe if we make from scratch could be no problems at all but i going to try , could be the issue is no raise when you don't have any data and when you have data the migration database make something that remove all the hosts as you can see in foreman-debug on the katello logs have some issues migrating data but the foreman-installer finish ok , i can login into the gui but when i go to content hosts all my hosts appear with the red dot and i can attach a subscription also all the unilimited subscription for centos are gone i don't what to do.

Actions #12

Updated by The Foreman Bot almost 8 years ago

  • Status changed from Need more information to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/6003 added
Actions #13

Updated by Justin Sherrill almost 8 years ago

So we have a theory that your db migration is happening while candlepin is not running properly (since foreman runs the db:migrate as part of the rpm post install).

The current proposed fix is to fail the migration if the backend services are not running and re-run it during the upgrade.

Actions #14

Updated by Justin Sherrill almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #15

Updated by Justin Sherrill almost 8 years ago

  • Bugzilla link set to 1332620
Actions

Also available in: Atom PDF