Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-2672

AWX Web UI is not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • Honolulu Release
    • Guilin Release
    • None
    • None
    • Hide

      <!-- Thank you for creating a Bug on OOM. -->
      <!-- remove all lines by doing what's expected and not expected when started by <!-- -->
      <!-- Please fill the following template so we can efficiently move on: -->

      SUMMARY

      <!--- Explain the problem briefly below -->

      OS / ENVIRONMENT

      • Kubernetes version:
        <!-- output of `kubernetes version` -->
      • Helm version:
        <!-- output of `helm version` -->
      • Kubernetes mode of installation:
        <!-- add also configuration file if relevant -->
        <!-- please run:
        docker run -e DEPLOY_SCENARIO=k8s-test \
        -v <the kube config>:/root/.kube/config \
        opnfv/functest-kubernetes-healthcheck:latest
        -->
        <!-- and upload the result directory as a zip file -->
      • CNI Used for Kubernetes:
      • type of installation: <!-- number of control, number of nodes -->

      OOM VERSION

      <!--- which branch / tag did you use -->

      CONFIGURATION

      <!-- please paste or upload override file used -->

      STEPS TO REPRODUCE

      <!-- please show line used to create helm charts -->
      <!-- please show line used to deploy ONAP -->
      <!-- add any necessary relevant command done -->

      EXPECTED RESULTS

      <!--- Describe what you expected to happen when running the steps above -->

      ACTUAL RESULTS

      <!--- Describe what actually happened. -->
      <!-- please run: docker run -v <the kube config>:/root/.kube/config -v \
      <result directory>:/var/lib/xtesting/results \ registry.gitlab.com/orange-opensource/lfn/onap/integration/xtesting/infra-healthcheck:latest
      -->
      <!-- and upload the result directory as a zip file -->
      <!-- cd where/your/oom/install is -->
      <!-- launch healthchecks: ./kubernetes/robot/ete-k8s.sh YOUR_DEPLOYMENT_NAME health -->
      <!-- and upload the result directory as a zip file -->
      <!-- it should be /dockerdata-nfs/onap/robot/logs/0000_ete_health/ (0000 must be the biggest number) -->

      Show
      <!-- Thank you for creating a Bug on OOM. --> <!-- remove all lines by doing what's expected and not expected when started by <!-- --> <!-- Please fill the following template so we can efficiently move on: --> SUMMARY <!--- Explain the problem briefly below --> OS / ENVIRONMENT Kubernetes version: <!-- output of `kubernetes version` --> Helm version: <!-- output of `helm version` --> Kubernetes mode of installation: <!-- add also configuration file if relevant --> <!-- please run: docker run -e DEPLOY_SCENARIO=k8s-test \ -v <the kube config>:/root/.kube/config \ opnfv/functest-kubernetes-healthcheck:latest --> <!-- and upload the result directory as a zip file --> CNI Used for Kubernetes: type of installation: <!-- number of control, number of nodes --> OOM VERSION <!--- which branch / tag did you use --> CONFIGURATION <!-- please paste or upload override file used --> STEPS TO REPRODUCE <!-- please show line used to create helm charts --> <!-- please show line used to deploy ONAP --> <!-- add any necessary relevant command done --> EXPECTED RESULTS <!--- Describe what you expected to happen when running the steps above --> ACTUAL RESULTS <!--- Describe what actually happened. --> <!-- please run: docker run -v <the kube config>:/root/.kube/config -v \ <result directory>:/var/lib/xtesting/results \ registry.gitlab.com/orange-opensource/lfn/onap/integration/xtesting/infra-healthcheck:latest --> <!-- and upload the result directory as a zip file --> <!-- cd where/your/oom/install is --> <!-- launch healthchecks: ./kubernetes/robot/ete-k8s.sh YOUR_DEPLOYMENT_NAME health --> <!-- and upload the result directory as a zip file --> <!-- it should be /dockerdata-nfs/onap/robot/logs/0000_ete_health/ (0000 must be the biggest number) -->

      The AWX Web-UI is not accessible though the NodePort(http://<IP>:30478)
      In the logs (kubectl -n onap logs onap-awx-0 awx-web)
      You can see, that the nginx refuse to startup and it has no permissions to open port 80:

      2021-02-04 03:09:04,581 INFO RPC interface 'supervisor' initialized
      2021-02-04 03:09:04,582 CRIT Server 'unix_http_server' running without any HTTP authentication checking
      2021-02-04 03:09:04,582 INFO supervisord started with pid 120
      2021-02-04 03:09:05,586 INFO spawned: 'awx-config-watcher' with pid 123
      2021-02-04 03:09:05,591 INFO spawned: 'nginx' with pid 124
      2021-02-04 03:09:05,595 INFO spawned: 'uwsgi' with pid 125
      2021-02-04 03:09:05,598 INFO spawned: 'daphne' with pid 126
      2021/02/04 03:09:05 [warn] 124#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5
      nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:5
      *** Starting uWSGI 2.0.17 (64bit) on [Thu Feb  4 03:09:05 2021] ***
      compiled with version: 8.2.1 20180905 (Red Hat 8.2.1-3) on 04 November 2019 17:06:57
      os: Linux-4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019
      nodename: onap-awx-0
      machine: x86_64
      clock source: unix
      detected number of CPU cores: 8
      current working directory: /var/lib/awx
      detected binary path: /var/lib/awx/venv/awx/bin/uwsgi
      !!! no internal routing support, rebuild with pcre support !!!
      your memory page size is 4096 bytes
       *** WARNING: you have enabled harakiri without post buffering. Slow upload could be rejected on post-unbuffered webservers *** 
      detected max file descriptor number: 1048576
      lock engine: pthread robust mutexes
      thunder lock: disabled (you can enable it with --thunder-lock)
      uwsgi socket 0 bound to TCP address 127.0.0.1:8050 fd 3
      Python version: 3.6.8 (default, Oct  7 2019, 17:58:22)  [GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
      2021/02/04 03:09:05 [emerg] 124#0: bind() to 0.0.0.0:80 failed (13: Permission denied)
      nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
      2021-02-04 03:09:05,638 INFO exited: nginx (exit status 1; not expected)
      
      

            sdesbure sdesbure
            andreasgeissler Andreas Geissler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: