Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-1157

Unable to access Puppet Enterprise Console

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • PE 2017.2.1
    • None
    • Console
    • None
    • Chrome
    • Split
    • CentOS 7
    • CentOS 7
    • Needs Assessment

    Description

      Puppet Enterprise Console URL from 

      /etc/puppetlabs/console-services/conf.d/console.conf

      Puppet Enterprise Web Console

      However, I get the certificate error and I choose to proceed with that, but even after that I cannot web console and get ERROR 404

      root@practitioner.master:/etc/puppetlabs/console-services/conf.d# wget https://practitioner.master:4433 --no-check-certificate
      --2018-03-23 22:38:38--  https://practitioner.master:4433/
      Resolving practitioner.master (practitioner.master)... 192.168.1.9
      Connecting to practitioner.master (practitioner.master)|192.168.1.9|:4433... connected.
      WARNING: cannot verify practitioner.master's certificate, issued by ‘/CN=Puppet Enterprise CA generated on practitioner.master at +2018-03-23 00:13:28 +1100’:
        Unable to locally verify the issuer's authority.
      HTTP request sent, awaiting response... 404 Not Found
      2018-03-23 22:38:39 ERROR 404: Not Found.
      root@practitioner.master:/etc/puppetlabs/console-services/conf.d#
      

      I checked puppet console, puppetdb and puppetserver logs and there are no obvious errors:

      /var/log/puppetlabs/console-services/console-services.log

      2018-03-23 20:36:42,164 [async-dispatch-2] INFO  [p.p.service] Initializing PE console UI web service at https://0.0.0.0:4431/
      2018-03-23 20:36:42,245 [async-dispatch-2] INFO  [c.z.h.HikariDataSource] ClassifierPool - is starting.
      2018-03-23 20:36:42,449 [async-dispatch-2] INFO  [p.c.main] Node check-in storage disabled.
      2018-03-23 20:36:42,917 [async-dispatch-2] INFO  [p.c.main] Access-control enabled
      2018-03-23 20:36:43,090 [async-dispatch-2] INFO  [p.t.s.s.status-service] Registering status callback function for service 'classifier-service', version 1.12.29
      2018-03-23 20:36:43,264 [async-dispatch-2] INFO  [p.t.s.s.status-service] Registering status callback function for service 'rbac-service', version 1.7.23
      2018-03-23 20:36:43,316 [async-dispatch-2] INFO  [p.r.s.rbac] Initialized background job to purge expired tokens every 86,400 seconds.
      2018-03-23 20:36:43,317 [async-dispatch-2] INFO  [p.t.s.w.jetty9-service] Starting web server(s).
      2018-03-23 20:36:43,904 [async-dispatch-2] INFO  [p.t.s.w.jetty9-core] Starting web server.
      2018-03-23 20:36:43,973 [async-dispatch-2] INFO  [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT
      2018-03-23 20:36:48,660 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@4f0b374f{/auth,null,AVAILABLE}
      2018-03-23 20:36:48,759 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@14a87c26{/,null,AVAILABLE}
      2018-03-23 20:36:50,923 [clojure-agent-send-off-pool-0] INFO  [m.core] Starting migrations
      2018-03-23 20:36:50,924 [clojure-agent-send-off-pool-2] INFO  [m.core] Starting migrations
      2018-03-23 20:36:50,922 [clojure-agent-send-off-pool-1] INFO  [m.core] Starting migrations
      2018-03-23 20:36:51,695 [async-dispatch-2] INFO  [o.e.j.s.ServerConnector] Started ServerConnector@608f5b04{HTTP/1.1}{127.0.0.1:4430}
      2018-03-23 20:36:53,333 [async-dispatch-2] INFO  [o.e.j.s.ServerConnector] Started ServerConnector@492415aa{SSL-HTTP/1.1}{0.0.0.0:4431}
      2018-03-23 20:36:53,334 [async-dispatch-2] INFO  [o.e.j.s.Server] Started @75732ms
      2018-03-23 20:36:53,672 [async-dispatch-2] INFO  [p.t.s.w.jetty9-core] Starting web server.
      2018-03-23 20:36:53,722 [async-dispatch-2] INFO  [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT
      2018-03-23 20:36:54,440 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@49db136e{/activity-api,null,AVAILABLE}
      2018-03-23 20:36:54,624 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@46f7e55d{/classifier-api,null,AVAILABLE}
      2018-03-23 20:36:54,624 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1f09b53e{/metrics,null,AVAILABLE}
      2018-03-23 20:36:55,734 [async-dispatch-2] INFO  [p.t.s.m.jolokia] Using policy access restrictor classpath:/jolokia-access.xml
      2018-03-23 20:36:55,927 [clojure-agent-send-off-pool-2] INFO  [m.core] Ending migrations
      2018-03-23 20:36:56,086 [clojure-agent-send-off-pool-0] INFO  [m.core] Ending migrations
      2018-03-23 20:36:56,123 [clojure-agent-send-off-pool-1] INFO  [m.core] Ending migrations
      2018-03-23 20:36:56,755 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@ed895d2{/metrics/v2,null,AVAILABLE}
      2018-03-23 20:36:56,786 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@313d279f{/rbac-api,null,AVAILABLE}
      2018-03-23 20:36:56,789 [async-dispatch-2] INFO  [o.e.j.s.ServerConnector] Started ServerConnector@674b8936{HTTP/1.1}{127.0.0.1:4432}
      2018-03-23 20:36:56,809 [async-dispatch-2] INFO  [o.e.j.s.ServerConnector] Started ServerConnector@3aa38818{SSL-HTTP/1.1}{0.0.0.0:4433}
      2018-03-23 20:36:56,809 [async-dispatch-2] INFO  [o.e.j.s.Server] Started @79208ms
      2018-03-23 20:36:56,814 [async-dispatch-2] INFO  [p.t.s.s.status-core] Starting background monitoring of cpu usage metrics
      2018-03-23 20:36:56,826 [async-dispatch-2] INFO  [p.t.s.s.status-service] Registering status callback function for service 'status-service', version 0.7.1
      2018-03-23 20:36:56,826 [async-dispatch-2] INFO  [p.t.s.s.status-service] Registering status service HTTP API at /status
      2018-03-23 20:36:56,835 [async-dispatch-2] INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1fe6e351{/status,null,AVAILABLE}
      2018-03-23 20:36:56,848 [async-dispatch-2] INFO  [p.a.services] Activity service starting up.
      2018-03-23 20:36:56,869 [async-dispatch-2] INFO  [p.p.routes] Starting pe-console-app
      

      /var/log/puppetlabs/puppetserver/puppetserver.log

      2018-03-23 20:35:33,636 INFO  [async-dispatch-2] [p.p.certificate-authority] CA already initialized for SSL
      2018-03-23 20:35:33,694 INFO  [async-dispatch-2] [p.s.c.certificate-authority-service] CA Service adding a ring handler
      2018-03-23 20:35:33,824 INFO  [async-dispatch-2] [p.s.p.puppet-admin-service] Starting Puppet Admin web app
      2018-03-23 20:35:33,977 INFO  [async-dispatch-2] [p.s.v.versioned-code-service] No code-id-command set for versioned-code-service. Code-id will be nil.
      2018-03-23 20:35:33,978 INFO  [async-dispatch-2] [p.s.v.versioned-code-service] No code-content-command set for versioned-code-service. Attempting to fetch code content will fail.
      2018-03-23 20:35:34,184 INFO  [async-dispatch-2] [p.p.certificate-authority] Master already initialized for SSL
      2018-03-23 20:35:34,184 INFO  [async-dispatch-2] [p.e.s.m.master-service] Master Service adding a ring handler
      2018-03-23 20:35:34,199 INFO  [async-dispatch-2] [p.t.s.s.status-service] Registering status callback function for service 'pe-master', version 2017.2.0.9
      2018-03-23 20:35:34,259 WARN  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Empty contextPath
      2018-03-23 20:35:34,273 INFO  [async-dispatch-2] [p.t.s.w.jetty9-service] Starting web server(s).
      2018-03-23 20:35:34,759 INFO  [async-dispatch-2] [p.t.s.w.jetty9-core] Starting web server.
      2018-03-23 20:35:34,791 INFO  [async-dispatch-2] [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT
      2018-03-23 20:35:35,203 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@77405dc1{/packages,file:/opt/puppetlabs/server/data/packages/public/,AVAILABLE}
      2018-03-23 20:35:35,204 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1cddbf4a{/puppet-ca,null,AVAILABLE}
      2018-03-23 20:35:35,204 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1a8edc41{/puppet-admin-api,null,AVAILABLE}
      2018-03-23 20:35:35,204 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@1e7a7b56{/metrics,null,AVAILABLE}
      2018-03-23 20:35:35,481 INFO  [async-dispatch-2] [p.t.s.m.jolokia] Using policy access restrictor classpath:/jolokia-access.xml
      2018-03-23 20:35:35,564 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@6f2ca03c{/metrics/v2,null,AVAILABLE}
      2018-03-23 20:35:35,564 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@32c054c{/puppet,null,AVAILABLE}
      2018-03-23 20:35:35,565 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@2dc1766{/,null,AVAILABLE}
      2018-03-23 20:35:35,888 INFO  [async-dispatch-2] [o.e.j.s.ServerConnector] Started ServerConnector@6d1a6a2b{SSL-HTTP/1.1}{0.0.0.0:8140}
      2018-03-23 20:35:35,889 INFO  [async-dispatch-2] [o.e.j.s.Server] Started @221084ms
      2018-03-23 20:35:35,945 INFO  [async-dispatch-2] [p.t.s.s.status-core] Starting background monitoring of cpu usage metrics
      2018-03-23 20:35:35,958 INFO  [async-dispatch-2] [p.t.s.s.status-service] Registering status callback function for service 'status-service', version 0.7.1
      2018-03-23 20:35:35,958 INFO  [async-dispatch-2] [p.t.s.s.status-service] Registering status service HTTP API at /status
      2018-03-23 20:35:35,965 INFO  [async-dispatch-2] [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@25d0d1eb{/status,null,AVAILABLE}
      2018-03-23 20:35:36,025 INFO  [async-dispatch-2] [p.e.s.m.master-service] Puppet Server has successfully started and is now ready to handle requests
      2018-03-23 20:35:36,026 INFO  [async-dispatch-2] [p.e.s.l.pe-legacy-routes-service] The legacy routing service has successfully started and is now ready to handle requests
      2018-03-23 20:35:36,046 INFO  [async-dispatch-2] [p.e.s.a.analytics-service] Puppet Server Analytics has successfully started and will run in the background
      2018-03-23 20:35:38,678 INFO  [pool-2-thread-2] [p.d.version-check] Newer version 2017.3.5 is available! Visit http://links.puppet.com/enterpriseupgrade for details.
      

      /var/log/puppetlabs/puppetdb/puppetdb.log

      2018-03-23 20:24:26,654 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@2c37615{/pdb,null,AVAILABLE}
      2018-03-23 20:24:26,780 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@29f220b5{HTTP/1.1}{127.0.0.1:8080}
      2018-03-23 20:24:26,882 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@56c50647{SSL-HTTP/1.1}{0.0.0.0:8081}
      2018-03-23 20:24:26,883 INFO  [o.e.j.s.Server] Started @162830ms
      2018-03-23 20:24:26,922 INFO  [p.t.s.s.status-core] Starting background monitoring of cpu usage metrics
      2018-03-23 20:24:26,977 INFO  [p.t.s.s.status-service] Registering status callback function for service 'status-service', version 0.7.1
      2018-03-23 20:24:26,977 INFO  [p.t.s.s.status-service] Registering status service HTTP API at /status
      2018-03-23 20:24:27,035 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@616a4e6e{/status,null,AVAILABLE}
      2018-03-23 20:24:27,195 INFO  [c.z.h.HikariDataSource] PDBWritePool - is starting.
      2018-03-23 20:24:27,603 INFO  [c.z.h.HikariDataSource] PDBReadPool - is starting.
      2018-03-23 20:24:27,680 INFO  [p.p.c.services] PuppetDB version 4.4.2-20170915_234854-gd2dd41d
      2018-03-23 20:24:27,681 INFO  [c.z.h.HikariDataSource] PDBMigrationsPool - is starting.
      2018-03-23 20:24:33,102 INFO  [p.p.s.migrate] There are no pending migrations
      2018-03-23 20:24:34,052 INFO  [c.z.h.p.HikariPool] PDBMigrationsPool - is closing down.
      2018-03-23 20:24:34,755 INFO  [p.p.dashboard] Redirecting / to the PuppetDB dashboard
      2018-03-23 20:24:34,825 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@4b262c8{/,null,AVAILABLE}
      2018-03-23 20:24:34,938 INFO  [p.p.c.services] Starting sweep of stale nodes (threshold: 7 days)
      2018-03-23 20:24:34,992 WARN  [p.p.s.services] No remotes specified, sync disabled
      2018-03-23 20:24:34,993 WARN  [p.p.s.services] No remotes specified, sync disabled
      2018-03-23 20:24:34,993 INFO  [p.p.s.pe-routing] PuppetDB finished starting, disabling maintenance mode
      2018-03-23 20:24:35,907 INFO  [p.p.c.services] Finished sweep of stale nodes (threshold: 7 days)
      2018-03-23 20:24:35,908 INFO  [p.p.c.services] Starting sweep of stale reports (threshold: 14 days)
      2018-03-23 20:24:35,954 INFO  [p.p.c.services] Finished sweep of stale reports (threshold: 14 days)
      2018-03-23 20:24:35,955 INFO  [p.p.c.services] Starting database garbage collection
      2018-03-23 20:24:37,639 INFO  [p.p.c.services] Finished database garbage collection
      2018-03-23 20:34:27,154 INFO  [o.e.j.u.log] Logging initialized @152349ms
      2018-03-23 20:34:46,093 INFO  [p.t.s.n.nrepl-service] nREPL service disabled, not starting
      2018-03-23 20:34:46,097 INFO  [p.t.s.w.jetty9-service] Initializing web server(s).
      2018-03-23 20:34:57,615 INFO  [p.p.s.pe-routing] Starting PuppetDB, entering maintenance mode
      2018-03-23 20:34:57,786 INFO  [p.t.s.s.status-service] Registering status callback function for service 'puppetdb-status', version 4.4.2-20170915_234854-gd2dd41d
      2018-03-23 20:34:57,788 INFO  [p.t.s.w.jetty9-service] Starting web server(s).
      2018-03-23 20:34:59,011 INFO  [p.t.s.w.jetty9-core] Starting web server.
      2018-03-23 20:34:59,112 INFO  [o.e.j.s.Server] jetty-9.2.z-SNAPSHOT
      2018-03-23 20:34:59,737 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@20218fae{/metrics,null,AVAILABLE}
      2018-03-23 20:35:00,363 INFO  [p.t.s.m.jolokia] Using policy access restrictor classpath:/jolokia-access.xml
      2018-03-23 20:35:00,906 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.ServletContextHandler@1549584e{/metrics/v2,null,AVAILABLE}
      2018-03-23 20:35:00,907 INFO  [o.e.j.s.h.ContextHandler] Started o.e.j.s.h.ContextHandler@7545a80{/pdb,null,AVAILABLE}
      2018-03-23 20:35:01,087 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@84b1d74{HTTP/1.1}{127.0.0.1:8080}
      2018-03-23 20:35:01,096 INFO  [o.e.j.s.ServerConnector] Started ServerConnector@43d42167{SSL-HTTP/1.1}{0.0.0.0:8081}
      2018-03-23 20:35:01,196 INFO  [o.e.j.s.Server] Started @186292ms
      

      Attachments

        Activity

          People

            ryan Ryan Coleman
            aagashe Ameya Agashe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support