openstack image create fails with [Errno 32] Broken pipe for openstack rocky and stein

Bug #1833009 reported by hshtel
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceph
New
Undecided
Unassigned
Glance
Invalid
Undecided
Unassigned

Bug Description

I've deployed openstack base bundle rocky and stein version (attached below). but when I create image I get below error:
```
openstack image create --public --min-disk 3 --container-format bare \
> --disk-format qcow2 --property architecture=x86_64 \
> --property hw_disk_bus=virtio --property hw_vif_model=virtio \
> --file bionic-server-cloudimg-amd64.img \
> "bionic x86_64"

Error finding address for http://192.168.30.103:9292/v2/images/17cc2de6-432f-4d1b-860f-ecb070a60a43/file: [Errno 32] Broken pipe
```
knowing that all openstack unit are in active state.

is it a bug or some missing configuration.

Revision history for this message
hshtel (hshtel) wrote :
Revision history for this message
hshtel (hshtel) wrote :

this issue happened as the glance lacks binding to the storage-data network space
ceph: ceph-access-space
I added redeployed glance charm with this binding and it worked

Revision history for this message
José Pekkarinen (koalinux) wrote :

Subscribed field-critical.

José

Revision history for this message
José Pekkarinen (koalinux) wrote :

I have a pristine environment deployed with Stein where
the ceph status renders to warning state 66.667% misplaced
2/3 objects misplaced where there is no objects uploaded
yet as images fails to do so:

$ sudo -i
root@juju-921312-0-lxd-0:~# ceph -s
  cluster:
    id: 1451e416-00e5-11ea-9155-00163e58a349
    health: HEALTH_WARN
            2/3 objects misplaced (66.667%)
            Reduced data availability: 1240 pgs inactive
            Degraded data redundancy: 1381 pgs undersized

  services:
    mon: 3 daemons, quorum juju-921312-2-lxd-0,juju-921312-0-lxd-0,juju-921312-24-lxd-0
    mgr: juju-921312-0-lxd-0(active), standbys: juju-921312-2-lxd-0, juju-921312-24-lxd-0
    osd: 54 osds: 54 up, 54 in; 524 remapped pgs

  data:
    pools: 21 pools, 1764 pgs
    objects: 1 objects, 14B
    usage: 54.7GiB used, 491TiB / 491TiB avail
    pgs: 70.295% pgs not active
             2/3 objects misplaced (66.667%)
             1240 undersized+peered
             374 active+clean
             141 active+undersized+remapped
             9 active+clean+remapped

image tried to be uploaded gets in saving state forever:

$ openstack image list
+--------------------------------------+------------+--------+
| ID | Name | Status |
+--------------------------------------+------------+--------+
| 385e295f-420f-499c-a14d-384b45470144 | xenial-kvm | saving |
+--------------------------------------+------------+--------+

Revision history for this message
José Pekkarinen (koalinux) wrote :

As per internal discussion, my problem was just a bad zone
allocation that included the customize-failure-domain value
set to true, so unsubscribing field-critical.

Thanks!

José.

Revision history for this message
Cyril Roelandt (cyril-roelandt) wrote :

This can probably be closed then :)

Changed in glance:
status: New → Invalid
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.