Bug 1390356
| Summary: | Katello-installer fails to start squid on EL6 systems. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Zach Huntington-Meath <zhunting> |
| Component: | Installation | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Sanket Jagtap <sjagtap> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.3 | CC: | omaciel, sjagtap |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | katello-installer-base-3.0.0.63-2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-10 08:15:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Zach Huntington-Meath
2016-10-31 19:33:47 UTC
New installation on RHEL 6.8 shows that the correct version of puppet module squid3 was installed:
[root@qe-sat62-rhel6 ~]# uname -a
Linux qe-sat62-rhel6.satqe.lab.eng.rdu2.redhat.com 2.6.32-642.6.2.el6.x86_64 #1 SMP Mon Oct 24 10:22:33 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@qe-sat62-rhel6 ~]# ls -l /usr/share/katello-installer-base/modules/
total 52
drwxr-xr-x. 4 root root 4096 Nov 1 12:22 alternatives
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 candlepin
drwxr-xr-x. 6 root root 4096 Nov 1 12:22 capsule
drwxr-xr-x. 7 root root 4096 Nov 1 12:22 certs
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 common
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 crane
drwxr-xr-x. 7 root root 4096 Nov 1 12:22 katello
drwxr-xr-x. 7 root root 4096 Nov 1 12:22 mongodb
drwxr-xr-x. 7 root root 4096 Nov 1 12:22 pulp
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 qpid
drwxr-xr-x. 6 root root 4096 Nov 1 12:22 service_wait
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 squid3
drwxr-xr-x. 5 root root 4096 Nov 1 12:22 trusted_ca
[root@qe-sat62-rhel6 ~]# cat /usr/share/katello-installer-base/modules/squid3/metadata.json | head -n5
{
"name": "thias-squid3",
"version": "1.0.0",
"author": "Matthias Saou",
"summary": "Squid 3 http proxy server module",
I now recommend that the same be tested for an upgrade.
Build : satellite 6.2.4 snap 2 upgrading from 6.2.3 to 6.2.4 snap 2 was successfull on el6 system uname -a Linux sjagtap-sat6.abc.redhat.com 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux satellite-installer --scenario satellite --upgrade Upgrading... Upgrade Step: stop_services... celery multi v3.1.11 (Cipater) > reserved_resource_worker-0.redhat.com: DOWN > reserved_resource_worker-1.redhat.com: DOWN > reserved_resource_worker-2.redhat.com: DOWN > reserved_resource_worker-3.redhat.com: DOWN celery multi v3.1.11 (Cipater) > resource_manager.redhat.com: DOWN Stopping httpd: [ OK ] Stopping foreman-proxy: [ OK ] celery init v10.0. Using config script: /etc/default/pulp_workers Stopping smart_proxy_dynflow_core: [ OK ] celery init v10.0. Using config script: /etc/default/pulp_resource_manager Stopping pulp_streamer... OK Stopping tomcat6: waiting for processes 22741 to exit killing 22741 which did not stop after 30 seconds [WARNING] [ OK ] celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat Stopping pulp_celerybeat... NOT RUNNING Shutting down qdrouterd services: [ OK ] Stopping Qpid AMQP daemon: [ OK ] Stopping squid: ................ [ OK ] Success! Upgrade Step: start_databases... Starting postgresql service: [ OK ] Success! Upgrade Step: update_http_conf... Upgrade Step: migrate_pulp... 22013 Attempting to connect to localhost:27017 Attempting to connect to localhost:27017 Write concern for Mongo connection: {} /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:159: DeprecationWarning: add_son_manipulator is deprecated _DATABASE.add_son_manipulator(NamespaceInjector()) Loading content types. Loading type descriptors [] Parsing type descriptors Validating type descriptor syntactic integrity Validating type descriptor semantic integrity Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution Loading unit model: package_group = pulp_rpm.plugins.db.models:PackageGroup Loading unit model: package_category = pulp_rpm.plugins.db.models:PackageCategory Loading unit model: iso = pulp_rpm.plugins.db.models:ISO Loading unit model: package_environment = pulp_rpm.plugins.db.models:PackageEnvironment Loading unit model: drpm = pulp_rpm.plugins.db.models:DRPM Loading unit model: srpm = pulp_rpm.plugins.db.models:SRPM Loading unit model: rpm = pulp_rpm.plugins.db.models:RPM Loading unit model: yum_repo_metadata_file = pulp_rpm.plugins.db.models:YumMetadataFile Loading unit model: docker_blob = pulp_docker.plugins.models:Blob Loading unit model: docker_manifest = pulp_docker.plugins.models:Manifest Loading unit model: docker_image = pulp_docker.plugins.models:Image Loading unit model: docker_tag = pulp_docker.plugins.models:Tag Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module Updating the database with types [] /usr/lib/python2.6/site-packages/pulp/server/db/model/base.py:96: DeprecationWarning: ensure_index is deprecated. Use create_index instead. unique=unique, background=True) Found the following type definitions that were not present in the update collection [puppet_module, docker_tag, docker_manifest, docker_blob, erratum, yum_repo_metadata_file, package_group, package_category, i so, package_environment, drpm, srpm, rpm, distribution, docker_image] Updating the database with types [puppet_module, docker_tag, erratum, docker_blob, docker_manifest, yum_repo_metadata_file, package_group, package_category, iso, package_environment, drpm, distribution, rpm, s rpm, docker_image] /usr/lib/python2.6/site-packages/pulp/plugins/types/database.py:277: DeprecationWarning: save is deprecated. Use insert_one or replace_one instead content_type_collection.save(content_type) Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Migration package pulp.server.db.migrations is up to date at version 23 Migration package pulp_docker.plugins.migrations is up to date at version 2 Migration package pulp_puppet.plugins.migrations is up to date at version 5 Migration package pulp_rpm.plugins.migrations is up to date at version 32 Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution Loading unit model: package_group = pulp_rpm.plugins.db.models:PackageGroup Loading unit model: package_category = pulp_rpm.plugins.db.models:PackageCategory Loading unit model: iso = pulp_rpm.plugins.db.models:ISO Loading unit model: package_environment = pulp_rpm.plugins.db.models:PackageEnvironment Loading unit model: drpm = pulp_rpm.plugins.db.models:DRPM Loading unit model: srpm = pulp_rpm.plugins.db.models:SRPM Loading unit model: rpm = pulp_rpm.plugins.db.models:RPM Loading unit model: yum_repo_metadata_file = pulp_rpm.plugins.db.models:YumMetadataFile Loading unit model: docker_blob = pulp_docker.plugins.models:Blob Loading unit model: docker_manifest = pulp_docker.plugins.models:Manifest Loading unit model: docker_image = pulp_docker.plugins.models:Image Loading unit model: docker_tag = pulp_docker.plugins.models:Tag Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module Database migrations complete. Upgrade Step: fix_pulp_httpd_conf... Upgrade Step: start_httpd... [Mon Nov 07 02:47:15 2016] [warn] module passenger_module is already loaded, skipping Starting httpd: [ OK ] Success! Upgrade Step: start_qpidd... Starting qdrouterd services: [ OK ] Starting Qpid AMQP daemon: [ OK ] Success! Upgrade Step: start_pulp... celery multi v3.1.11 (Cipater) > Starting nodes... > resource_manager.redhat.com: OK celery multi v3.1.11 (Cipater) > Starting nodes... > reserved_resource_worker-0.redhat.com: OK > reserved_resource_worker-1.redhat.com: OK > reserved_resource_worker-2.redhat.com: OK > reserved_resource_worker-3.redhat.com: OK celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat Starting pulp_celerybeat... celery init v10.0. Using config script: /etc/default/pulp_resource_manager celery init v10.0. Using config script: /etc/default/pulp_workers Success! Upgrade Step: migrate_candlepin... Migrating candlepin database Liquibase Update Successful Upgrade Step: remove_event_queue... Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner File "/usr/lib64/python2.6/threading.py", line 484, in run File "/usr/lib/python2.6/site-packages/qpid/selector.py", line 137, in run File "/usr/lib/python2.6/site-packages/qpid/compat.py", line 89, in select <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'debug' Upgrade Step: start_tomcat... Starting tomcat6: [ OK ] Success! Upgrade Step: fix_katello_settings_file... Upgrade Step: migrate_foreman... true false Upgrade Step: remove_nodes_distributors... MongoDB shell version: 2.4.6 connecting to: pulp_database Upgrade Step: Running installer... Installing Done [100%] [............................................................................................................................... ............................] The full log is at /var/log/foreman-installer/satellite.log Upgrade Step: restart_services... celery multi v3.1.11 (Cipater) > Stopping nodes... > resource_manager.redhat.com: QUIT -> 32756 > Waiting for 1 node -> 32756...... > resource_manager.redhat.com: OK celery multi v3.1.11 (Cipater) > Stopping nodes... > reserved_resource_worker-3.redhat.com: QUIT -> 496 > reserved_resource_worker-2.redhat.com: QUIT -> 473 > reserved_resource_worker-0.redhat.com: QUIT -> 432 > reserved_resource_worker-1.redhat.com: QUIT -> 454 > Waiting for 4 nodes -> 496, 473, 432, 454........ > reserved_resource_worker-3.redhat.com: OK > Waiting for 3 nodes -> 473, 432, 454.... > reserved_resource_worker-2.redhat.com: OK > Waiting for 2 nodes -> 432, 454.... > reserved_resource_worker-0.redhat.com: OK > Waiting for 1 node -> 454.... > reserved_resource_worker-1.redhat.com: OK celery multi v3.1.11 (Cipater) > Starting nodes... > reserved_resource_worker-0.redhat.com: OK > reserved_resource_worker-1.redhat.com: OK > reserved_resource_worker-2.redhat.com: OK > reserved_resource_worker-3.redhat.com: OK /usr/lib/python2.6/site-packages/pulp/server/db/connection.py:159: DeprecationWarning: add_son_manipulator is deprecated _DATABASE.add_son_manipulator(NamespaceInjector()) /usr/lib/python2.6/site-packages/pulp/server/db/model/base.py:96: DeprecationWarning: ensure_index is deprecated. Use create_index instead. unique=unique, background=True) celery multi v3.1.11 (Cipater) > Starting nodes... > resource_manager.redhat.com: OK [Mon Nov 07 02:57:25 2016] [warn] module passenger_module is already loaded, skipping Stopping httpd: [ OK ] celery init v10.0. Using config script: /etc/default/pulp_resource_manager Stopping smart_proxy_dynflow_core: [ OK ] celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat Stopping pulp_celerybeat... OK Stopping pulp_streamer... OK Stopping tomcat6: waiting for processes 685 to exit [ OK ] celery init v10.0. Using config script: /etc/default/pulp_workers Stopping foreman-proxy: [ OK ] Stopping squid: ................ [ OK ] Stopping Qpid AMQP daemon: [ OK ] Shutting down qdrouterd services: [ OK ] Stopping mongod: [ OK ] Stopping postgresql service: [ OK ] Success! Starting postgresql service: [ OK ] Starting mongod: [ OK ] Waiting for mongod to become available: [ OK ] Starting qdrouterd services: [ OK ] Starting Qpid AMQP daemon: [ OK ] Starting squid: . [ OK ] Starting foreman-proxy: [ OK ] celery init v10.0. Using config script: /etc/default/pulp_workers Starting tomcat6: [ OK ] Starting pulp_streamer... OK celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat Starting pulp_celerybeat... Starting smart_proxy_dynflow_core: [ OK ] celery init v10.0. Using config script: /etc/default/pulp_resource_manager Starting httpd: [ OK ] Starting foreman-tasks: [ OK ] Success! Upgrade Step: db_seed... Seeding /usr/share/foreman/db/seeds.d/03-auth_sources.rb Seeding /usr/share/foreman/db/seeds.d/03-permissions.rb Seeding /usr/share/foreman/db/seeds.d/03-roles.rb Seeding /usr/share/foreman/db/seeds.d/04-admin.rb Seeding /usr/share/foreman/db/seeds.d/05-taxonomies.rb Seeding /usr/share/foreman/db/seeds.d/06-architectures.rb Seeding /usr/share/foreman/db/seeds.d/07-provisioning_templates.rb Seeding /usr/share/foreman/db/seeds.d/08-partition_tables.rb Seeding /usr/share/foreman/db/seeds.d/10-installation_media.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/101-locations.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/102-organizations.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/103-provisioning_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/104-proxy.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/106-mail_notifications.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/107-enable_dynflow.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/108-ensure_sync_notification.rb Seeding /usr/share/foreman/db/seeds.d/11-smart_proxy_features.rb Seeding /usr/share/foreman/db/seeds.d/13-compute_profiles.rb Seeding /usr/share/foreman/db/seeds.d/15-bookmarks.rb Seeding /usr/share/foreman/db/seeds.d/16-mail_notifications.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.9/db/seeds.d/20-foreman_tasks_permissions.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/redhat_access-1.0.13/db/seeds.d/200-update-insights-roles.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-6.1.0.3/db/seeds.d/50-bootdisk_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-5.0.0.9/db/seeds.d/50_discovery_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.9/db/seeds.d/60-dynflow_proxy_feature.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.12/db/seeds.d/60-ssh_proxy_feature.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-5.0.0.9/db/seeds.d/60_discovery_proxy_feature.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.14.9/db/seeds.d/61-foreman_tasks_bookmarks.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.12/db/seeds.d/70-job_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/db/seeds.d/75-job_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.3.0.12/db/seeds.d/90-bookmarks.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.33/db/seeds.d/990 - provisioning_templates.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.3.18/db/seeds.d/openscap_feature.rb Seeding /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.3.18/db/seeds.d/openscap_policy_notification.rb All seed files executed Upgrade Step: import_package_groups (this may take a while) ... Importing Package Groups Upgrade Step: import_rpms (this may take a while) ... Importing Rpms Upgrade Step: import_distributions (this may take a while) ... Importing distribution data into repositories Upgrade Step: import_puppet_modules (this may take a while) ... Importing Puppet Modules Upgrade Step: import_subscriptions (this may take a while) ... Importing Subscriptions Upgrade Step: elasticsearch_message... package elasticsearch is not installed Upgrade Step: add_export_distributor (this may take a while) ... Refreshing existing repositories to add export distributor Upgrade Step: remove_docker_v1_content (this may take a while) ... Deleting repositories that only contain Docker v1 content....Done Orphaned content deletion started in background. Upgrade Step: update_puppet_repository_distributors (this may take a while) ... Updating Puppet Repository Distributors Updating Content View Puppet Environment Distributors Upgrade Step: update_subscription_facet_backend_data (this may take a while) ... Updating backend data for subscription facets Upgrade Step: remove_gutterball... package gutterball is not installed Upgrade completed! Service status after upgrade katello-service status mongod (pid 5470) is running... listening on 127.0.0.1:27017 connection test successful postmaster (pid 5424) is running... qdrouterd (pid 5516) is running... qpidd (pid 5547) is running... squid (pid 5580) is running... pulp_streamer (pid 6072) is running. tomcat6 (pid 5872) is running... [ OK ] celery init v10.0. Using config script: /etc/default/pulp_workers node reserved_resource_worker-0 (pid 5735) is running... node reserved_resource_worker-1 (pid 5750) is running... node reserved_resource_worker-2 (pid 5769) is running... node reserved_resource_worker-3 (pid 5792) is running... celery init v10.0. Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat pulp_celerybeat (pid 6126) is running. foreman-proxy (pid 9558) is running... smart_proxy_dynflow_core (pid 6187) is running... celery init v10.0. Using config script: /etc/default/pulp_resource_manager node resource_manager (pid 6268) is running... dynflow_executor is running. dynflow_executor_monitor is running. httpd (pid 6313) is running... Success! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:2699 |