← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1498416] [NEW] NOVA-DOCKER-Glance: Docker image can't registe to glance with broken pipe.

 

Public bug reported:

OS:Ubuntu 14.04
openstack KILO with nova-docker
NOVA-DOCKER-Glance: Docker image can't registe to glance with broken pipe.
steps:
=======
1. deploy kilo setup with 10 docker compute node, 2 network node , 1 controller. all node are ubuntu 14.04 trusty build.
2. Register docker image to glance, an "broken pipe" error will be observed and image is always in "SAVING" state:

root@quasarucn3:~# nova image-list
+--------------------------------------+------------------+--------+--------+
| ID                                   | Name             | Status | Server |
+--------------------------------------+------------------+--------+--------+
| 23579e1a-d9cc-498a-ac1a-6b4ec11edb9f | cirros           | SAVING |        |
| cdccdaca-6b66-4102-a3c5-255bef33916f | cirros           | ACTIVE |        |
| 2e25e8c4-cf03-4ae2-af47-cb2788a47b18 | ewindisch/cirros | SAVING |        |
| dfea4ce1-6b8b-4905-9d7a-dac6434b5ccd | ewindisch/cirros | SAVING |        |
| 9365acd8-d912-4e6c-acf2-2f8e52da1949 | leo_ubuntu       | SAVING |        |  <<<<<<<<<
+--------------------------------------+------------------+--------+--------+
root@quasarucn3:~#
root@quasarucn3:~#


root@quasarucn3:~# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
leo_ubuntu          latest              18e310c9cafc        5 weeks ago         274.7 MB
hello-world         latest              af340544ed62        6 weeks ago         960 B
ewindisch/cirros    latest              0a37b1702dd7        7 months ago        7.698 MB
root@quasarucn3:~#

root@quasarucn3:~# docker save  leo_ubuntu | glance image-create  --container-format=docker --visibility public --disk-format=raw --name leo_ubuntu
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | None                                 |
| container_format | docker                               |
| created_at       | 2015-09-18T07:33:49Z                 |
| disk_format      | raw                                  |
| id               | 9365acd8-d912-4e6c-acf2-2f8e52da1949 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | leo_ubuntu                           |
| owner            | 066c321d33c24ea4acaf2e1a0451e85c     |
| protected        | False                                |
| size             | None                                 |
| status           | queued                               |
| tags             | []                                   |
| updated_at       | 2015-09-18T07:33:49Z                 |
| virtual_size     | None                                 |
| visibility       | public                               |
+------------------+--------------------------------------+
write /dev/stdout: broken pipe------------------------------------------bugs
root@quasarucn3:~# ^C

** Affects: glance
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1498416

Title:
  NOVA-DOCKER-Glance: Docker image can't registe to glance with broken
  pipe.

Status in Glance:
  New

Bug description:
  OS:Ubuntu 14.04
  openstack KILO with nova-docker
  NOVA-DOCKER-Glance: Docker image can't registe to glance with broken pipe.
  steps:
  =======
  1. deploy kilo setup with 10 docker compute node, 2 network node , 1 controller. all node are ubuntu 14.04 trusty build.
  2. Register docker image to glance, an "broken pipe" error will be observed and image is always in "SAVING" state:

  root@quasarucn3:~# nova image-list
  +--------------------------------------+------------------+--------+--------+
  | ID                                   | Name             | Status | Server |
  +--------------------------------------+------------------+--------+--------+
  | 23579e1a-d9cc-498a-ac1a-6b4ec11edb9f | cirros           | SAVING |        |
  | cdccdaca-6b66-4102-a3c5-255bef33916f | cirros           | ACTIVE |        |
  | 2e25e8c4-cf03-4ae2-af47-cb2788a47b18 | ewindisch/cirros | SAVING |        |
  | dfea4ce1-6b8b-4905-9d7a-dac6434b5ccd | ewindisch/cirros | SAVING |        |
  | 9365acd8-d912-4e6c-acf2-2f8e52da1949 | leo_ubuntu       | SAVING |        |  <<<<<<<<<
  +--------------------------------------+------------------+--------+--------+
  root@quasarucn3:~#
  root@quasarucn3:~#

  
  root@quasarucn3:~# docker images
  REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
  leo_ubuntu          latest              18e310c9cafc        5 weeks ago         274.7 MB
  hello-world         latest              af340544ed62        6 weeks ago         960 B
  ewindisch/cirros    latest              0a37b1702dd7        7 months ago        7.698 MB
  root@quasarucn3:~#

  root@quasarucn3:~# docker save  leo_ubuntu | glance image-create  --container-format=docker --visibility public --disk-format=raw --name leo_ubuntu
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | None                                 |
  | container_format | docker                               |
  | created_at       | 2015-09-18T07:33:49Z                 |
  | disk_format      | raw                                  |
  | id               | 9365acd8-d912-4e6c-acf2-2f8e52da1949 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | leo_ubuntu                           |
  | owner            | 066c321d33c24ea4acaf2e1a0451e85c     |
  | protected        | False                                |
  | size             | None                                 |
  | status           | queued                               |
  | tags             | []                                   |
  | updated_at       | 2015-09-18T07:33:49Z                 |
  | virtual_size     | None                                 |
  | visibility       | public                               |
  +------------------+--------------------------------------+
  write /dev/stdout: broken pipe------------------------------------------bugs
  root@quasarucn3:~# ^C

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1498416/+subscriptions


Follow ups