This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Switch to using sphinx-build
- Use openstackdocstheme instead of python2 only oslosphinx
- Remove install_command from tox.ini, the default is fine
- Fix two hacking problems, those were masked by ignore
to an empty string.
Change-Id: I8f67f8a7998a16805cbda52854a6b0f0ade05dc8
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix warnings found.
Change-Id: If966592a0f0d2c1000d5dc1ddafe2a3bcae88551
Currently, previous page in checkpoints pagination not
work, it always throw an error in the web page. It is
because that checkpoints in karbor do not need reverse
the order (checkpoints are sorted by 'timestamp@id' in
the backend, so we can not do the reverse only be the
id or name)
This patch will fix it.
Change-Id: I45c3e7337bf2ee9d3f2fbf9ee7a438884b8b8ca9
Closes-Bug: #1714909
Once the restore operation is successfully initialized,
redirect to the restore page to get restore state and progress.
Change-Id: I3d3fccbb36dd28d65461b1a18a844fe11e1692b6
When watching the checkpoint page, update (poll?) the checkpoint
status. If a checkpoint is protecting, user shouldn't refresh
the page to see it is available.
Change-Id: I4dd046a3314219586b83837593ebb16fb1217077
Closes-Bug: #1622594
Click on "show checkpoints" of the provider page, provider filtering
options of checkpoint page always display the default value.
Change-Id: I2b414018c6faaf5a0a437e92fc207b4506ea1b15
In checkpoints/views.py, IndexView class, get_data() method, we list
the checkpoints for a provider.
After that, we iterate the checkpoints for that provider and get the
provider using karbor client. This is not necessary: all the checkpoints
are from the same provider, and even if they weren't, we could use karbor
client to get each provider only once.
Change-Id: I790116137a321570c6d386e435f24a5efde2e607
Closes-Bug: #1643331