yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45422
[Bug 1538050] [NEW] lack of debug info for troubleshooting
Public bug reported:
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.
** Affects: glance
Importance: Undecided
Status: New
** Tags: debug log troubleshooting
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1538050
Title:
lack of debug info for troubleshooting
Status in Glance:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1538050/+subscriptions