g-s-s can ignore lockfile and upload two identical images into glance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance-simplestreams-sync (Juju Charms Collection) |
Fix Released
|
Undecided
|
Mike McCracken |
Bug Description
# in a recent install, I saw this:
ubuntu@
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| e7a72008-
| fac3e5b5-
+------
ubuntu@
+------
| Property | Value |
+------
| Property 'architecture' | x86_64 |
| Property 'content_id' | auto.sync |
| Property 'item_name' | disk1.img |
| Property 'product_name' | com.ubuntu.
| Property 'source_content_id' | com.ubuntu.
| Property 'version_name' | 20150901.1 |
| checksum | 7002ada3e78e304
| container_format | bare |
| created_at | 2015-09-
| deleted | False |
| disk_format | qcow2 |
| id | e7a72008-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | auto-sync/
| owner | da2ae731dbb9463
| protected | False |
| size | 258736640 |
| status | active |
| updated_at | 2015-09-
+------
ubuntu@
+------
| Property | Value |
+------
| Property 'architecture' | x86_64 |
| Property 'content_id' | auto.sync |
| Property 'item_name' | disk1.img |
| Property 'product_name' | com.ubuntu.
| Property 'source_content_id' | com.ubuntu.
| Property 'version_name' | 20150901.1 |
| checksum | 7002ada3e78e304
| container_format | bare |
| created_at | 2015-09-
| deleted | False |
| disk_format | qcow2 |
| id | fac3e5b5-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | auto-sync/
| owner | da2ae731dbb9463
| protected | False |
| size | 258736640 |
| status | active |
| updated_at | 2015-09-
+------
## here's what's going on in the logs
DEBUG * 09-09 05:40:39 [PID:6844] * urllib3.
DEBUG * 09-09 05:40:39 [PID:6844] * urllib3.
DEBUG * 09-09 05:40:40 [PID:6844] * urllib3.
INFO * 09-09 05:41:01 [PID:6857] * root * glance-
INFO * 09-09 05:41:01 [PID:6857] * root * /var/run/
^^^ this is good behavior
INFO * 09-09 05:42:01 [PID:6864] * root * glance-
^^^ 6864 should have checked, found it locked, and exited but instead:
DEBUG * 09-09 05:42:01 [PID:6864] * keystoneclient.
rd": "5pWcb7tPnPSBkW
INFO * 09-09 05:42:01 [PID:6864] * urllib3.
DEBUG * 09-09 05:42:01 [PID:6864] * urllib3.
Related branches
- Felipe Reyes: Approve
- charmers: Pending requested
-
Diff: 20 lines (+1/-2)1 file modifiedscripts/glance-simplestreams-sync.py (+1/-2)
Changed in glance-simplestreams-sync (Juju Charms Collection): | |
assignee: | nobody → Mike McCracken (mikemc) |
status: | New → In Progress |
Changed in glance-simplestreams-sync (Juju Charms Collection): | |
status: | In Progress → Fix Released |