Systemd commands for kubernetes resources have invalid exec commands

Bug #1705028 reported by janonymous
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kuryr-kubernetes
Fix Released
Medium
janonymous

Bug Description

On using systemctl commands for kubernetes-* what we actually do is use command from ExecStart below:

---
cat /<email address hidden>
`
[Unit]
Description = Devstack <email address hidden>

[Service]
ExecStart = /usr/bin/docker logs -f kubernetes-api
User = vagrant

[Install]
WantedBy = multi-user.target

------
<Code>
https://git.openstack.org/cgit/openstack/kuryr-kubernetes/tree/devstack/lib/kuryr_kubernetes#n100

On using run container at the time of installation it correctly follows the steps in run_container, however once the entries are placed in ExecStart above, commands to restart and stop would not actually starts/stops docker processes.

`

Devstack do not have parameter like ExecStartPre , which might support multiple commands but currently start/stop should work..

Changed in kuryr-kubernetes:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → janonymous (janonymous)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kuryr-kubernetes (master)

Reviewed: https://review.openstack.org/484754
Committed: https://git.openstack.org/cgit/openstack/kuryr-kubernetes/commit/?id=bf60bb44ef5ae5ed4a0c628744b6b9d3897568fe
Submitter: Jenkins
Branch: master

commit bf60bb44ef5ae5ed4a0c628744b6b9d3897568fe
Author: Janonymous <email address hidden>
Date: Tue Jul 18 12:58:04 2017 +0000

    Systemd usage of kubernetes startup

    Change-Id: Id791189f94a02d0cc60766f8cf20d9cf854aeb93
    Closes-bug: #1705028

Changed in kuryr-kubernetes:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kuryr-kubernetes 0.2.0

This issue was fixed in the openstack/kuryr-kubernetes 0.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.