No way to notify Horizon if cinder-backup is configured or not

Bug #1334856 reported by John Griffith
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Cinder
Triaged
Wishlist
Unassigned

Bug Description

Currently the only way to tell via the API if the Cinder-Backup service is configured is via the service_list command. This doesn't work for Horizon however because it's an Admin API.

Horizon typically relies on Service Catalogue entries based on "regular" user token info for this sort of thing but that doesn't work in this case either.

We should provide a user facing API that shows reduced information similar to service-list that could be consumed by Horizon an may be useful for describing some other forms of capability info to end-users.

Changed in cinder:
status: New → Triaged
importance: Undecided → Medium
tags: added: low-hanging-fruit
Changed in cinder:
assignee: nobody → Swapnil Kulkarni (coolsvap)
Revision history for this message
Deepti Ramakrishna (dramakri) wrote :

Hi Swapnil, I would like to work on this bug. Is it okay if I assign this to myself?

Thanks,
Deepti

Changed in cinder:
assignee: Swapnil Kulkarni (coolsvap) → nobody
assignee: nobody → Deepti Ramakrishna (dramakri)
Revision history for this message
Deepti Ramakrishna (dramakri) wrote :

Hi John,

I sent an email to openstack-dev-mailing list (http://lists.openstack.org/pipermail/openstack-dev/2015-October/077209.html) asking for inputs on 2 design alternatives for this problem. If you happen to see that, I would appreciate if you could reply.

Thanks,
Deepti

Revision history for this message
Sheel Rana (ranasheel2000) wrote :

Dear Deepti,

Are you working on this ?

Revision history for this message
Deepti Ramakrishna (dramakri) wrote :
Changed in cinder:
milestone: none → newton-1
Changed in cinder:
milestone: newton-1 → newton-2
Revision history for this message
Pavlo Shchelokovskyy (pshchelo) wrote :

I would like to add yet another perspective to this bug, which is Orchestration and interoperability of orchestration templates.

In Heat we have a delete_policy: snapshot for volume resources, which creates a volume backup on volume delete. However, AFAIK cinder-backup is an optional service, and thus Heat has no way to deduce from user-scoped API requests if this is available or not in order to fail early when such template is used.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/350310

Changed in cinder:
assignee: Deepti Ramakrishna (dramakri) → Satyajeet (satyajeet-d-shahane)
status: Triaged → In Progress
Changed in cinder:
assignee: Satyajeet (satyajeet-d-shahane) → Nate Potter (ntpttr)
Changed in cinder:
milestone: newton-2 → ocata-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by Sean McGinnis (<email address hidden>) on branch: master
Review: https://review.openstack.org/350310
Reason: This review is > 4 weeks with unaddressed issues. Feel free to reactivate the review by pressing the restore button and addressing the issue on this review if it is still needed.

Changed in cinder:
milestone: ocata-1 → ongoing
Revision history for this message
Satyajeet Shahane (satya1304) wrote :

I can pick this task up again if the community still needs it. It would always be a good thing if there was an API which horizon could query to find out if backup is enabled or not. This patch basically just needs to be rebased.

Revision history for this message
Jay Bryant (jsbryant) wrote :

Moving back to triaged given that it hasn't be touched in quite some time. Satyajeet, feel free to take it back if you are able to do so.

Changed in cinder:
status: In Progress → Triaged
Nate Potter (ntpttr)
Changed in cinder:
assignee: Nate Potter (ntpttr) → nobody
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :
Eric Harney (eharney)
tags: removed: low-hanging-fruit
Eric Harney (eharney)
Changed in cinder:
importance: Medium → Wishlist
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.