{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/234","repository_url":"https://api.github.com/repos/ManageIQ/manageiq-pods","labels_url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/234/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/234/events","html_url":"https://github.com/ManageIQ/manageiq-pods/issues/234","id":266536397,"number":234,"title":"httpd pod fails readiness probe","user":{"login":"barnzdan","id":1296779,"avatar_url":"https://avatars1.githubusercontent.com/u/1296779?v=4","gravatar_id":"","url":"https://api.github.com/users/barnzdan","html_url":"https://github.com/barnzdan","followers_url":"https://api.github.com/users/barnzdan/followers","following_url":"https://api.github.com/users/barnzdan/following{/other_user}","gists_url":"https://api.github.com/users/barnzdan/gists{/gist_id}","starred_url":"https://api.github.com/users/barnzdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barnzdan/subscriptions","organizations_url":"https://api.github.com/users/barnzdan/orgs","repos_url":"https://api.github.com/users/barnzdan/repos","events_url":"https://api.github.com/users/barnzdan/events{/privacy}","received_events_url":"https://api.github.com/users/barnzdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-18T15:26:58Z","updated_at":"2017-10-19T13:35:09Z","closed_at":null,"author_association":"NONE","body":"```oc v3.6.0-alpha.0+0343989\r\nkubernetes v1.5.2+43a9be4\r\nfeatures: Basic-Auth\r\nServer https://openshift:8443\r\nopenshift v1.4.1+3f9807a\r\nkubernetes v1.4.0+776c994```\r\n\r\nWhen standing up the miq stack the httpd pod continues to fail the readiness probe. When using a remote shell I can see there is no a broken link that httpd expects, /etc/httpd/logs -> /var/log/httpd, where /var/log/httpd is missing. Further, I dont have the permission to perform systemctl within the pod. I am working off the master branch of this repo.\r\n\r\nBelow are details of the scc commands I've run per README for Openshift and the pod description:\r\n\r\noc adm policy add-scc-to-user anyuid system:serviceaccount:manageiq:miq-anyuid\r\noc adm policy add-scc-to-user anyuid system:serviceaccount:manageiq:miq-orchestrator\r\noc adm policy add-scc-to-user privileged system:serviceaccount:manageiq:miq-privileged\r\noc adm policy add-scc-to-user anyuid system:serviceaccount:manageiq:miq-httpd\r\noc policy add-role-to-user view system:serviceaccount:manageiq:miq-orchestrator -n manageiq\r\noc policy add-role-to-user edit system:serviceaccount:manageiq:miq-orchestrator -n manageiq\r\n\r\nhttpd pod:\r\n% oc describe po/httpd-1-nk5e9\r\nName:\t\t\thttpd-1-nk5e9\r\nNamespace:\t\tmanageiq\r\nSecurity Policy:\tanyuid\r\nNode:\t\t\tnode05/10.3.96.158\r\nStart Time:\t\tWed, 18 Oct 2017 11:12:02 -0400\r\nLabels:\t\t\tapp=manageiq\r\n\t\t\tdeployment=httpd-1\r\n\t\t\tdeploymentconfig=httpd\r\n\t\t\tname=httpd\r\nStatus:\t\t\tRunning\r\nIP:\t\t\t10.129.3.71\r\nControllers:\t\tReplicationController/httpd-1\r\nContainers:\r\n  httpd:\r\n    Container ID:\tdocker://5d0d47163169b82bdef44e3cf9f59c23a4849cc097f802787874c87450e2d608\r\n    Image:\t\tdocker.io/manageiq/httpd:latest\r\n    Image ID:\t\tdocker-pullable://docker.io/manageiq/httpd@sha256:a32092a5c48051ff3a89188fdf23558d8f60fcf8ea411c551031c7cadcc202ba\r\n    Ports:\t\t80/TCP, 8080/TCP\r\n    Limits:\r\n      memory:\t8Gi\r\n    Requests:\r\n      cpu:\t\t500m\r\n      memory:\t\t512Mi\r\n    State:\t\tRunning\r\n      Started:\t\tWed, 18 Oct 2017 11:14:04 -0400\r\n    Last State:\t\tTerminated\r\n      Reason:\t\tError\r\n      Exit Code:\t137\r\n      Started:\t\tWed, 18 Oct 2017 11:13:14 -0400\r\n      Finished:\t\tWed, 18 Oct 2017 11:14:02 -0400\r\n    Ready:\t\tFalse\r\n    Restart Count:\t2\r\n    Liveness:\t\texec [pidof httpd] delay=15s timeout=3s period=10s #success=1 #failure=3\r\n    Readiness:\t\ttcp-socket :80 delay=10s timeout=3s period=10s #success=1 #failure=3\r\n    Volume Mounts:\r\n      /etc/httpd/auth-conf.d from httpd-auth-config (rw)\r\n      /etc/httpd/conf.d from httpd-config (rw)\r\n      /var/run/secrets/kubernetes.io/serviceaccount from miq-httpd-token-3f9zj (ro)\r\n    Environment Variables:\r\n      HTTPD_AUTH_TYPE:\t\t\t<set to the key 'auth-type' of config map 'httpd-auth-configs'>\r\n      HTTPD_AUTH_KERBEROS_REALMS:\t<set to the key 'auth-kerberos-realms' of config map 'httpd-auth-configs'>\r\nConditions:\r\n  Type\t\tStatus\r\n  Initialized \tTrue \r\n  Ready \tFalse \r\n  PodScheduled \tTrue \r\nVolumes:\r\n  httpd-config:\r\n    Type:\tConfigMap (a volume populated by a ConfigMap)\r\n    Name:\thttpd-configs\r\n  httpd-auth-config:\r\n    Type:\tConfigMap (a volume populated by a ConfigMap)\r\n    Name:\thttpd-auth-configs\r\n  miq-httpd-token-3f9zj:\r\n    Type:\tSecret (a volume populated by a Secret)\r\n    SecretName:\tmiq-httpd-token-3f9zj\r\nQoS Class:\tBurstable\r\nTolerations:\t<none>\r\nEvents:\r\n  FirstSeen\tLastSeen\tCount\tFrom\t\t\t\t\t\tSubObjectPath\t\tType\t\tReason\t\tMessage\r\n  ---------\t--------\t-----\t----\t\t\t\t\t\t-------------\t\t--------\t------\t\t-------\r\n  2m\t\t2m\t\t1\t{default-scheduler }\t\t\t\t\tNormal\t\tScheduled\tSuccessfully assigned httpd-1-nk5e9 to node05\r\n  2m\t\t2m\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tCreated\t\tCreated container with docker id a5a6d5d56f9a; Security:[seccomp=unconfined]\r\n  2m\t\t2m\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tStarted\t\tStarted container with docker id a5a6d5d56f9a\r\n  55s\t\t55s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tKilling\t\tKilling container with docker id a5a6d5d56f9a: pod \"httpd-1-nk5e9_manageiq(b1a60fbd-b416-11e7-a733-005056876455)\" container \"httpd\" is unhealthy, it will be killed and re-created.\r\n  53s\t\t53s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tStarted\t\tStarted container with docker id c06e2eefe523\r\n  53s\t\t53s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tCreated\t\tCreated container with docker id c06e2eefe523; Security:[seccomp=unconfined]\r\n  1m\t\t35s\t\t4\t{kubelet node05}\tspec.containers{httpd}\tWarning\t\tUnhealthy\tLiveness probe failed: \r\n  1m\t\t5s\t\t10\t{kubelet node05}\tspec.containers{httpd}\tWarning\t\tUnhealthy\tReadiness probe failed: dial tcp 10.129.3.71:80: getsockopt: connection refused\r\n  2m\t\t5s\t\t3\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tPulling\t\tpulling image \"docker.io/manageiq/httpd:latest\"\r\n  5s\t\t5s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tKilling\t\tKilling container with docker id c06e2eefe523: pod \"httpd-1-nk5e9_manageiq(b1a60fbd-b416-11e7-a733-005056876455)\" container \"httpd\" is unhealthy, it will be killed and re-created.\r\n  2m\t\t4s\t\t3\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tPulled\t\tSuccessfully pulled image \"docker.io/manageiq/httpd:latest\"\r\n  3s\t\t3s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tCreated\t\tCreated container with docker id 5d0d47163169; Security:[seccomp=unconfined]\r\n  3s\t\t3s\t\t1\t{kubelet node05}\tspec.containers{httpd}\tNormal\t\tStarted\t\tStarted container with docker id 5d0d47163169\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/comments/337909516","html_url":"https://github.com/ManageIQ/manageiq-pods/issues/234#issuecomment-337909516","issue_url":"https://api.github.com/repos/ManageIQ/manageiq-pods/issues/234","id":337909516,"user":{"login":"fbladilo","id":15676891,"avatar_url":"https://avatars3.githubusercontent.com/u/15676891?v=4","gravatar_id":"","url":"https://api.github.com/users/fbladilo","html_url":"https://github.com/fbladilo","followers_url":"https://api.github.com/users/fbladilo/followers","following_url":"https://api.github.com/users/fbladilo/following{/other_user}","gists_url":"https://api.github.com/users/fbladilo/gists{/gist_id}","starred_url":"https://api.github.com/users/fbladilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbladilo/subscriptions","organizations_url":"https://api.github.com/users/fbladilo/orgs","repos_url":"https://api.github.com/users/fbladilo/repos","events_url":"https://api.github.com/users/fbladilo/events{/privacy}","received_events_url":"https://api.github.com/users/fbladilo/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T13:35:08Z","updated_at":"2017-10-19T13:35:08Z","author_association":"CONTRIBUTOR","body":"@barnzdan @carbonin We do require Origin 1.5 at minimum, since some objects referenced by template are only available in 1.5 (I.E StatefulSets)."}}
{"actor":{"display_login":"fbladilo"}}