Command is wrong on container create

Bug #1825067 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-zunclient
Fix Released
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)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (master)

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

Changed in python-zunclient:
assignee: nobody → hongbin (hongbin034)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-zunclient (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.openstack.org/653280

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/653281

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-zunclient (stable/rocky)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-zunclient (stable/stein)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-zunclient 3.4.0

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-zunclient rocky-eol

This issue was fixed in the openstack/python-zunclient rocky-eol 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.