Create container hang

Bug #1872130 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-zunclient
Fix Released
Critical
hongbin

Bug Description

Use latest version of python-zunclient, create a container hang:

ubuntu@ip-172-31-61-51:/opt/stack/python-zunclient$ zun run nginx
^CTraceback (most recent call last):
  File "/usr/local/bin/zun", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/python-zunclient/zunclient/shell.py", line 766, in main
    map(encodeutils.safe_decode, sys.argv[1:]))
  File "/opt/stack/python-zunclient/zunclient/shell.py", line 703, in main
    args.func(self.cs, args)
  File "/opt/stack/python-zunclient/zunclient/v1/containers_shell.py", line 752, in do_run
    opts['entrypoint'] = zun_utils.parse_entrypoint(args.entrypoint)
  File "/opt/stack/python-zunclient/zunclient/common/utils.py", line 216, in parse_entrypoint
    return shlex.split(entrypoint)
  File "/usr/lib/python3.6/shlex.py", line 305, in split
    return list(lex)
  File "/usr/lib/python3.6/shlex.py", line 295, in __next__
    token = self.get_token()
  File "/usr/lib/python3.6/shlex.py", line 105, in get_token
    raw = self.read_token()
  File "/usr/lib/python3.6/shlex.py", line 136, in read_token
    nextchar = self.instream.read(1)
KeyboardInterrupt

hongbin (hongbin034)
Changed in python-zunclient:
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-zunclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/719093

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.opendev.org/719093
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=75d2d10a8159f89b60a6366a326b5183cd33e926
Submitter: Zuul
Branch: master

commit 75d2d10a8159f89b60a6366a326b5183cd33e926
Author: Hongbin Lu <email address hidden>
Date: Fri Apr 10 19:46:36 2020 +0000

    Handle entrypoint is None

    Change-Id: Ic6eb27cb018eec6d476fbbe17f29ac020ce83b71
    Closes-Bug: #1872130

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/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/719112

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

Reviewed: https://review.opendev.org/719112
Committed: https://git.openstack.org/cgit/openstack/python-zunclient/commit/?id=d26adc61c0afbc5e6eaae5108200fef8e8c7185b
Submitter: Zuul
Branch: stable/ussuri

commit d26adc61c0afbc5e6eaae5108200fef8e8c7185b
Author: Hongbin Lu <email address hidden>
Date: Fri Apr 10 19:46:36 2020 +0000

    Handle entrypoint is None

    Change-Id: Ic6eb27cb018eec6d476fbbe17f29ac020ce83b71
    Closes-Bug: #1872130
    (cherry picked from commit 75d2d10a8159f89b60a6366a326b5183cd33e926)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-zunclient 4.0.1

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