When a image is created/updated/deleted, there isn't enough log for it's name,min_disk,updated_at etc. Adding some debug log will be helpful for users to trace the update history.
#glance --debug image-create --file /root/a.img --name testtest --container-format bare --disk-format qcow2 +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | 50bdc35edb03a38d91b1b071afb20a3c | | container_format | bare | | created_at | 2016-01-26T08:12:12Z | | disk_format | qcow2 | | id | 0e69fd8d-17bf-4a39-b480-71c2ee4c156b | | min_disk | 0 | | min_ram | 0 | | name | testtest | | owner | 5da2e9904c72482bba3bce0d64c809eb | | protected | False | | size | 9761280 | | status | active | | tags | [] | | updated_at | 2016-01-26T08:12:13Z | | virtual_size | None | | visibility | private | +------------------+--------------------------------------+ # grep "testtest" /var/log/glance/* -r ####Nothing returned here. # glance image-update 0e69fd8d-17bf-4a39-b480-71c2ee4c156b --min-disk 54321 +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | 50bdc35edb03a38d91b1b071afb20a3c | | container_format | bare | | created_at | 2016-01-26T08:12:12Z | | disk_format | qcow2 | | id | 0e69fd8d-17bf-4a39-b480-71c2ee4c156b | | min_disk | 54321 | | min_ram | 0 | | name | testtest | | owner | 5da2e9904c72482bba3bce0d64c809eb | | protected | False | | size | 9761280 | | status | active | | tags | [] | | updated_at | 2016-01-26T08:26:09Z | | virtual_size | None | | visibility | private | +------------------+--------------------------------------+ # grep "54321" /var/log/glance/* -r ####Nothon returned here.
When a image is created/ updated/ deleted, there isn't enough log for it's name,min_ disk,updated_ at etc.
Adding some debug log will be helpful for users to trace the update history.
#glance --debug image-create --file /root/a.img --name testtest --container-format bare --disk-format qcow2 ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ d91b1b071afb20a 3c | 26T08:12: 12Z | 17bf-4a39- b480-71c2ee4c15 6b | bba3bce0d64c809 eb | 26T08:12: 13Z | ------- -----+- ------- ------- ------- ------- ------- --+ 17bf-4a39- b480-71c2ee4c15 6b --min-disk 54321 ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ d91b1b071afb20a 3c | 26T08:12: 12Z | 17bf-4a39- b480-71c2ee4c15 6b | bba3bce0d64c809 eb | 26T08:26: 09Z | ------- -----+- ------- ------- ------- ------- ------- --+
+------
| Property | Value |
+------
| checksum | 50bdc35edb03a38
| container_format | bare |
| created_at | 2016-01-
| disk_format | qcow2 |
| id | 0e69fd8d-
| min_disk | 0 |
| min_ram | 0 |
| name | testtest |
| owner | 5da2e9904c72482
| protected | False |
| size | 9761280 |
| status | active |
| tags | [] |
| updated_at | 2016-01-
| virtual_size | None |
| visibility | private |
+------
# grep "testtest" /var/log/glance/* -r ####Nothing returned here.
# glance image-update 0e69fd8d-
+------
| Property | Value |
+------
| checksum | 50bdc35edb03a38
| container_format | bare |
| created_at | 2016-01-
| disk_format | qcow2 |
| id | 0e69fd8d-
| min_disk | 54321 |
| min_ram | 0 |
| name | testtest |
| owner | 5da2e9904c72482
| protected | False |
| size | 9761280 |
| status | active |
| tags | [] |
| updated_at | 2016-01-
| virtual_size | None |
| visibility | private |
+------
# grep "54321" /var/log/glance/* -r ####Nothon returned here.