Command is wrong on container create

Bug #1825067 reported by hongbin on 2019-04-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-zunclient
Undecided
hongbin

Bug Description

with Heat Template:

heat_template_version: 2015-04-30
resources:
  the_resource:
    type: OS::Zun::Container
    properties:
      cpu: 4
      image: ubuntu
      image_pull_policy: "ifnotpresent"
      interactive: true
      memory: 2048
      name: "ubuntu16"
      command: "ping 8.8.8.8"
      networks: [{"network": 5guknet}]
      restart_policy: "no"

The command I can see on the appcontainer show is : command | [u'p', u'i', u'n', u'g', u' ', u'8', u'.', u'8', u'.', u'8', u'.', u'8']

hongbin (hongbin034) on 2019-04-16
description: updated

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

Changed in python-zunclient:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress

Reviewed: https://review.openstack.org/653175
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=422c9f25e31f9a396f1cc86c99e31bd5c2a0ffbe
Submitter: Zuul
Branch: master

commit 422c9f25e31f9a396f1cc86c99e31bd5c2a0ffbe
Author: Hongbin Lu <email address hidden>
Date: Tue Apr 16 23:47:43 2019 +0000

    Fix command parsing on legacy api version

    Change-Id: I43db7827a356650ab20e9ecaf0e7b7f41e771463
    Closes-Bug: #1825067

Changed in python-zunclient:
status: In Progress → Fix Released

Reviewed: https://review.opendev.org/653281
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=06944e80f91ef79826a8108e353c2ba9a56a5829
Submitter: Zuul
Branch: stable/rocky

commit 06944e80f91ef79826a8108e353c2ba9a56a5829
Author: Hongbin Lu <email address hidden>
Date: Tue Apr 16 23:47:43 2019 +0000

    Fix command parsing on legacy api version

    Change-Id: I43db7827a356650ab20e9ecaf0e7b7f41e771463
    Closes-Bug: #1825067
    (cherry picked from commit 422c9f25e31f9a396f1cc86c99e31bd5c2a0ffbe)

tags: added: in-stable-rocky

Reviewed: https://review.opendev.org/653280
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=fef4d0657a7460c935fe8aaea1d91d89eb37964c
Submitter: Zuul
Branch: stable/stein

commit fef4d0657a7460c935fe8aaea1d91d89eb37964c
Author: Hongbin Lu <email address hidden>
Date: Tue Apr 16 23:47:43 2019 +0000

    Fix command parsing on legacy api version

    Change-Id: I43db7827a356650ab20e9ecaf0e7b7f41e771463
    Closes-Bug: #1825067
    (cherry picked from commit 422c9f25e31f9a396f1cc86c99e31bd5c2a0ffbe)

tags: added: in-stable-stein

This issue was fixed in the openstack/python-zunclient 3.4.0 release.

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

Other bug subscribers