"Progress" field from Nova API for servers never updated

Bug #1325407 reported by Daryl Walleck
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Won't Fix
Low
Unassigned

Bug Description

While a server builds, there is a "progress" field returned by the Nova API for a server that represents where a server is in the build process. When using the Ironic Nova driver, the field never appears to always be 0, even when the server has finished provisioning.

{"server": {"status": "ACTIVE", "updated": "2014-06-01T18:51:06Z", "hostId": "4236ef971998a96ef309ee5a3a97211e9d21e0077b174c4fc59beb3f", "addresses": {"private": [{"OS-EXT-IPS-MAC:mac_addr": "52:54:00:7e:dd:eb", "version": 4, "addr": "192.168.0.4", "OS-EXT-IPS:type": "fixed"}]}, "links": [{"href": "http://127.0.0.1:8774/v2/8c2f171adffa41e1bd8a920478d51722/servers/adb8ea9e-45bd-447c-9768-39f429bd6a69", "rel": "self"}, {"href": "http://127.0.0.1:8774/8c2f171adffa41e1bd8a920478d51722/servers/adb8ea9e-45bd-447c-9768-39f429bd6a69", "rel": "bookmark"}], "key_name": "default", "image": {"id": "1e440969-4723-4ba1-81e4-04f1c4ba7972", "links": [{"href": "http://127.0.0.1:8774/8c2f171adffa41e1bd8a920478d51722/images/1e440969-4723-4ba1-81e4-04f1c4ba7972", "rel": "bookmark"}]}, "OS-EXT-STS:task_state": null, "OS-EXT-STS:vm_state": "active", "OS-SRV-USG:launched_at": "2014-06-01T18:51:06.000000", "flavor": {"id": "2a2718b6-c563-44d2-9f76-ea7a549045b6", "links": [{"href": "http://127.0.0.1:8774/8c2f171adffa41e1bd8a920478d51722/flavors/2a2718b6-c563-44d2-9f76-ea7a549045b6", "rel": "bookmark"}]}, "id": "adb8ea9e-45bd-447c-9768-39f429bd6a69", "security_groups": [{"name": "default"}], "OS-SRV-USG:terminated_at": null, "OS-EXT-AZ:availability_zone": "nova", "user_id": "d426dbb68bff4087adc74695a06502ac", "name": "testing", "created": "2014-06-01T18:49:29Z", "tenant_id": "8c2f171adffa41e1bd8a920478d51722", "OS-DCF:diskConfig": "MANUAL", "os-extended-volumes:volumes_attached": [], "accessIPv4": "", "accessIPv6": "", "progress": 0, "OS-EXT-STS:power_state": 1, "config_drive": "", "metadata": {}}}

Daryl Walleck (dwalleck)
description: updated
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Ruby Loo (rloo) wrote :

Is this an ironic bug, or a nova (ironic driver) bug? Is 'progress' a % of amount of time it will take to complete?

Did you just want it to show 100% when it is done?

Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

I would classify it as a defect, not necessarily a bug in our ironic virt driver that lives in nova. Realistically, I'm not sure there is anything we can do to support this since we don't get any sort of atomic status updates on the process of the write-out of the image from IPA, and suggest that we decide not to fix this.

Revision history for this message
Ruby Loo (rloo) wrote :

Discussed with Julia on irc [1] and there is merit (assuming this means that ironic needs to have the progress info, to feed into the ironic-virt-driver-in-nova) although we don't see how it can be done in the near or later future of ironic. It seems like this would be an RFE in ironic and maybe a bug in nova. Going to mark it as wontfix. It can be revisited later.

[1] http://eavesdrop.openstack.org/irclogs/%23openstack-ironic/%23openstack-ironic.2017-11-15.log.html#t2017-11-15T14:08:05

Changed in ironic:
status: Triaged → Won't Fix
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.