Implement "verify credentials" type mgmt-command

Bug #1385190 reported by Caio Begotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Capomastro
Triaged
Low
Unassigned

Bug Description

Something that can check that a set of SSH credentials can login to a given archive.

From https://github.com/capomastro/capomastro/issues/44

Tags: feature github
Revision history for this message
Daniel Manrique (roadmr) wrote :

Oh, this would rock, even in simple setups I've had SSH credential problems. I would implement it as a control in the admin interface rather than a management command.

I think something synchronous would work well, rather than launching a Celery task for this. Maybe a "test connectivity" button in the archive's edit page. If the data is valid and has been saved it could try logging in (set a reasonable timeout) and dropping a test file in the archive. If the data has not been saved, prompt the user to save before using the test button.

We can make it generic enough to use with any archive, so we can also test local (mostly for file permissions) and eventually swift.

Though that deviates from the bug description; but IMHO a set of credentials in isolation is meaningless, it has to be tested in connection with the archive.

Changed in capomastro:
importance: Undecided → Low
milestone: none → 2015-05
status: New → Incomplete
status: Incomplete → Triaged
Daniel Manrique (roadmr)
Changed in capomastro:
milestone: 2015-05 → future
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.