Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@cluster3-2:/home/adara# openstack appcontainer run --name container --net network=ee56f952-8ff1-4752-991f-605d29d71985 cirros ping 8.8.8.8
- +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | Field | Value |
- +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- | addresses | None |
- | links | [{u'href': u'http://cluster3-2:9517/v1/containers/69cc16eb-91f9-4a5d-88f7-0e180037620e', u'rel': u'self'}, {u'href': u'http://cluster3-2:9517/containers/69cc16eb-91f9-4a5d-88f7-0e180037620e', u'rel': u'bookmark'}] |
- | image | cirros |
- | labels | {} |
- | disk | 0 |
- | security_groups | None |
- | image_pull_policy | None |
- | task_state | None |
- | user_id | 3b136545b47b40709b78b1e36cdcdc63 |
- | uuid | 69cc16eb-91f9-4a5d-88f7-0e180037620e |
- | hostname | None |
- | environment | {} |
- | memory | 512M |
- | project_id | a391261cffba4f4c827ab7420a352fe1 |
- | status | Creating |
- | workdir | None |
- | auto_remove | False |
- | auto_heal | False |
- | host | None |
- | image_driver | None |
- | status_detail | None |
- | status_reason | None |
- | name | container |
- | restart_policy | None |
- | ports | None |
- | command | "ping" "8.8.8.8" |
- | runtime | None |
- | cpu | 1.0 |
- | interactive | False |
- +-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- root@cluster3-2:/home/adara# openstack appcontainer list
- +--------------------------------------+-----------+--------+--------+------------+-----------+-------+
- | uuid | name | image | status | task_state | addresses | ports |
- +--------------------------------------+-----------+--------+--------+------------+-----------+-------+
- | 69cc16eb-91f9-4a5d-88f7-0e180037620e | container | cirros | Error | None | | [] |
- +--------------------------------------+-----------+--------+--------+------------+-----------+-------+
- zun.log
- ============
- rying paths: ['/var/lib/zun/.docker/config.json', '/var/lib/zun/.dockercfg'] find_config_file /usr/local/lib/python2.7/dist-packages/docker/utils/config.py:21
- 2018-04-09 15:05:07.844 3685 DEBUG docker.utils.config [req-04650a9b-7f6e-4b01-aeaf-d0d767f8b8d8 3b136545b47b40709b78b1e36cdcdc63 a391261cffba4f4c827ab7420a352fe1 default - -] No config file found find_config_file /usr/local/lib/python2.7/dist-packages/docker/utils/config.py:28
- 2018-04-09 15:05:07.847 3685 DEBUG zun.container.docker.driver [req-04650a9b-7f6e-4b01-aeaf-d0d767f8b8d8 3b136545b47b40709b78b1e36cdcdc63 a391261cffba4f4c827ab7420a352fe1 default - -] Creating container with image cirros name container create /usr/local/lib/python2.7/dist-packages/zun/container/docker/driver.py:184
- 2018-04-09 15:05:09.112 3685 DEBUG zun.network.kuryr_network [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Calling docker.create_network to create network ee56f952-8ff1-4752-991f-605d29d71985, ipam_options {'Config': [{'Subnet': u'5.5.5.0/24', 'Gateway': u'5.5.5.1'}], 'Driver': 'kuryr', 'Options': {'neutron.net.shared': 'False', 'neutron.subnet.uuid': u'0b50a659-9d85-4a75-b15b-075297c90cfb', 'neutron.pool.uuid': None}}, options {'neutron.net.shared': 'False', 'neutron.subnet.uuid': u'0b50a659-9d85-4a75-b15b-075297c90cfb', 'neutron.pool.uuid': None, 'neutron.net.uuid': u'ee56f952-8ff1-4752-991f-605d29d71985'} create_network /usr/local/lib/python2.7/dist-packages/zun/network/kuryr_network.py:117
- 2018-04-09 15:05:11.628 3685 ERROR zun.compute.manager [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Error occurred while calling Docker create API: Docker internal error: 500 Server Error: Internal Server Error ("failed to update store for object type *libnetwork.endpointCnt: dial tcp 10.11.142.2:2379: getsockopt: connection refused").: DockerError: Docker internal error: 500 Server Error: Internal Server Error ("failed to update store for object type *libnetwork.endpointCnt: dial tcp 10.11.142.2:2379: getsockopt: connection refused").
- 2018-04-09 15:05:11.646 3685 DEBUG zun.compute.claims [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Aborting claim: [Claim: 512 memory, 1.00 VCPU] abort /usr/local/lib/python2.7/dist-packages/zun/compute/claims.py:106
- 2018-04-09 15:05:11.647 3685 DEBUG oslo_concurrency.lockutils [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Lock "compute_resources" acquired by "zun.compute.compute_node_tracker.abort_container_claim" :: waited 0.000s inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:273
- 2018-04-09 15:05:11.657 3685 DEBUG oslo_concurrency.lockutils [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Lock "compute_resources" released by "zun.compute.compute_node_tracker.abort_container_claim" :: held 0.010s inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:285
- 2018-04-09 15:05:11.744 3685 DEBUG oslo_concurrency.lockutils [req-631aaeb6-a6f2-4760-987a-090d5d62ea25 - - - - -] Lock "69cc16eb-91f9-4a5d-88f7-0e180037620e" released by "zun.compute.manager.do_container_create" :: held 5.524s inner /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py:285
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement