osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Zun] Openstack Rocky Appcontainer start error


Dear All,

I am getting following error while trying to start the ubuntu container
Command: openstack appcontainer run --name containerA --net network=5guknet ubuntu ping 8.8.8.8

Error:
status_reason     | Docker internal error: 500 Server Error: Internal Server Error ("legacy plugin: Post http://127.0.0.1:23750/Plugin.Activate: dial tcp 127.0.0.1:23750: connect: connection refused").

Secondly, 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']

Please advise how to resolve the two issues.

Kind Regards,
Navdeep

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190416/fe919db0/attachment.html>