Comment 3 for bug 988633

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

The fix happened incidentally when I landed my patch for using python-glanceclient instead of glance.client. So a straight backport isn't an option. A whole new patch will need to be written for Essex, with new regression tests specifically for it.

The offending line is here in Essex:

https://github.com/openstack/horizon/blob/stable/essex/horizon/dashboards/nova/images_and_snapshots/images/forms.py#L74

The form needs to have a formfield added for "is_public" as is done here in master:

https://github.com/openstack/horizon/blob/master/horizon/dashboards/nova/images_and_snapshots/images/forms.py#L69

Then the handle method uses the data here:

https://github.com/openstack/horizon/blob/master/horizon/dashboards/nova/images_and_snapshots/images/forms.py#L77

The tests will have to be redone from scratch.