Red Hat Satellite 6 services fails after manually installing pyjwt using pip3

Solution Verified - Updated -

Issue

  • Installing python package on Satellite hosted on RHEL7 using pip causes pulp and puppet services to be failed:

    - displaying rh-redis5-redis                       [OK]
    - displaying postgresql                            [OK]
    - displaying pulpcore-api                          [FAIL]
    - displaying pulpcore-content                      [FAIL]
    - displaying qdrouterd                             [OK]
    - displaying qpidd                                 [OK]
    - displaying pulpcore-worker@1.service             [FAIL]
    - displaying pulpcore-worker@2.service             [FAIL]
    - displaying pulpcore-worker@3.service             [FAIL]
    - displaying pulpcore-worker@4.service             [FAIL]
    - displaying pulpcore-worker@5.service             [FAIL]
    - displaying pulpcore-worker@6.service             [FAIL]
    - displaying pulpcore-worker@7.service             [FAIL]
    - displaying pulpcore-worker@8.service             [FAIL]
    - displaying tomcat                                [OK]
    \ displaying dynflow-sidekiq@orchestrator          [OK]
    \ displaying foreman                               [OK]
    \ displaying httpd                                 [OK]
    \ displaying puppetserver                          [FAIL]
    \ displaying dynflow-sidekiq@worker-1              [OK]
    \ displaying dynflow-sidekiq@worker-hosts-queue-1  [OK]
    | displaying foreman-proxy                         [OK]
    | All services displayed                                              [FAIL]
    
  • Satellite-installer fails with following error:

    2023-03-09 00:08:40 [ERROR ] [configure] Cannot create /etc/puppetlabs/puppetserver/services.d; parent 
    directory /etc/puppetlabs/puppetserver does not exist
    2023-03-09 00:08:40 [ERROR ] [configure] 
    /Stage[main]/Puppet::Server::Puppetserver/File[/etc/puppetlabs/puppetserver/services.d]/ensure: change from 
    'absent' to 'directory' failed: Cannot create /etc/puppetlabs/puppetserver/services.d; parent directory 
    /etc/puppetlabs/puppetserver does not exist
    2023-03-09 00:08:40 [ERROR ] [configure] Could not set 'file' on ensure: No such file or directory - A 
    directory component in /etc/puppetlabs/puppetserver/conf.d/ca.conf20230309-22533-x5gssk.lock does not exist or 
    is a dangling symbolic link (file: /usr/share/foreman- 
    installer/modules/puppet/manifests/server/puppetserver.pp, line: 240)
    2023-03-09 00:08:40 [ERROR ] [configure] Could not set 'file' on ensure: No such file or directory - A 
    directory component in /etc/puppetlabs/puppetserver/conf.d/ca.conf20230309-22533-x5gssk.lock does not exist or 
    is a dangling symbolic link (file: /usr/share/foreman- 
    installer/modules/puppet/manifests/server/puppetserver.pp, line: 240)
    2023-03-09 00:08:40 [ERROR ] [configure] Wrapped exception:
    2023-03-09 00:08:40 [ERROR ] [configure] No such file or directory - A directory component in 
    /etc/puppetlabs/puppetserver/conf.d/ca.conf20230309-22533-x5gssk.lock does not exist or is a dangling symbolic 
    link
    2023-03-09 00:12:05 [ERROR ] [configure] 'pulpcore-manager migrate --noinput' returned 1 instead of one of [0]
    2023-03-09 00:12:05 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate -- 
    noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from 'notrun' to ['0'] failed: 'pulpcore- 
    manager migrate --noinput' returned 1 instead of one of [0]
    2023-03-09 00:12:08 [NOTICE] [configure] System configuration has finished.
    

Environment

  • Red Hat Satellite 6.10
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content