kube-ui failed to start

Bug #1584931 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Medium
yatin

Bug Description

See error below.

$ systemctl status kube-ui --full
● kube-ui.service
   Loaded: loaded (/etc/systemd/system/kube-ui.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-05-23 19:01:51 UTC; 3min 55s ago
 Main PID: 1251 (code=exited, status=1/FAILURE)

May 23 19:01:31 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: Waiting for Kubernetes API...
May 23 19:01:36 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: Waiting for Kubernetes API...
May 23 19:01:41 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: Waiting for Kubernetes API...
May 23 19:01:46 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: Waiting for Kubernetes API...
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: okerror validating "/srv/kubernetes/manifests/kube-ui-rc.yaml": error validating data: mkdir .kube: permission denied; if you choose to ignore these errors, turn validation off with --validate=false
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal kube-ui[1251]: error validating "/srv/kubernetes/manifests/kube-ui-svc.yaml": error validating data: mkdir .kube: permission denied; if you choose to ignore these errors, turn validation off with --validate=false
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal systemd[1]: kube-ui.service: Main process exited, code=exited, status=1/FAILURE
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal systemd[1]: Failed to start kube-ui.service.
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal systemd[1]: kube-ui.service: Unit entered failed state.
May 23 19:01:51 k8-6c3o6ixzjq-0-2tc4zvrfplgw-kube-master-x7lctjsdmi3s.novalocal systemd[1]: kube-ui.service: Failed with result 'exit-code'.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/320110

Changed in magnum:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress
Adrian Otto (aotto)
Changed in magnum:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Adrian Otto (<email address hidden>) on branch: master
Review: https://review.openstack.org/320110
Reason: Abandoning this patch because it is in merge conflict without a revision in one full week. You may un-abandon it, and post a revision at any time.

Changed in magnum:
assignee: hongbin (hongbin034) → yatin (yatinkarel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/379091

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/320110
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=865702f5b3933b9106035390758ac91afd7ae58a
Submitter: Jenkins
Branch: master

commit 865702f5b3933b9106035390758ac91afd7ae58a
Author: Hongbin Lu <email address hidden>
Date: Wed Sep 28 16:57:20 2016 +0530

    Fix failure of systemd service kube-ui

    The systemd service kube-ui failed because it does not
    know the HOME environment variable.
    Also updated script to handle already existing namespace,
    rc and service.

    Similar issue from upstream is as follows:
    https://github.com/kubernetes/kubernetes/pull/23975

    Change-Id: I71925a232b57f3c2cdfe82ae97b3fd7395e37343
    Co-Authored-By: yatinkarel <email address hidden>
    Closes-Bug: #1584931

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (stable/newton)

Reviewed: https://review.openstack.org/379091
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=3f86cc4e5245a6515997c62439a0e779a847ae31
Submitter: Jenkins
Branch: stable/newton

commit 3f86cc4e5245a6515997c62439a0e779a847ae31
Author: Hongbin Lu <email address hidden>
Date: Wed Sep 28 16:57:20 2016 +0530

    Fix failure of systemd service kube-ui

    The systemd service kube-ui failed because it does not
    know the HOME environment variable.
    Also updated script to handle already existing namespace,
    rc and service.

    Similar issue from upstream is as follows:
    https://github.com/kubernetes/kubernetes/pull/23975

    Change-Id: I71925a232b57f3c2cdfe82ae97b3fd7395e37343
    Co-Authored-By: yatinkarel <email address hidden>
    Closes-Bug: #1584931

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 4.0.0

This issue was fixed in the openstack/magnum 4.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 3.2.0

This issue was fixed in the openstack/magnum 3.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.