Commit Graph

10 Commits

Author SHA1 Message Date
Kendall Nelson 1d52e37d0a Retire karbor-dashboard
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2021-01-08 00:21:36 +00:00
Andreas Jaeger 5f293262c9 Cleanup py27 support
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
2020-04-21 08:41:10 +02:00
Andreas Jaeger 2396e14085 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix warnings found.

Change-Id: If966592a0f0d2c1000d5dc1ddafe2a3bcae88551
2020-03-31 13:08:03 +00:00
Pengju Jiao 1d7fd7c754 Fix checkpoints pagination error
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
2017-09-05 10:31:01 +08:00
iswarya_vakati a42bb36d5f Replaces uuid.uuid4 with uuidutils.generate_uuid()
Change-Id: I751aa0e819faaf0a5cd07741fa812ab15dec967d
2017-07-05 16:01:54 +05:30
xiangxinyong 560fc002fe Redirect checkpoint restore to restores page
Once the restore operation is successfully initialized,
redirect to the restore page to get restore state and progress.

Change-Id: I3d3fccbb36dd28d65461b1a18a844fe11e1692b6
2017-02-16 09:35:03 +08:00
zhangshuai d2105f78c0 Update checkpoint status in checkpoint page
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
2017-01-26 08:50:53 +08:00
zhangshuai bd1c573a9f Fix provider show checkpoints page
Click on "show checkpoints" of the provider page, provider filtering
options of checkpoint page always display the default value.

Change-Id: I2b414018c6faaf5a0a437e92fc207b4506ea1b15
2017-01-22 07:38:36 +08:00
zhangshuai f3eec93b83 Provider is being get for each checkpoint
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
2017-01-12 04:57:35 +08:00
xiangxinyong 0914f30a04 Rename Smaug Dashboard to Karbor
Smaug has been renamed to Karbor.
Adjust Dashboard accordingly.

Change-Id: I626c5937abff0f0ebdb1fbc91b72053f92f4390f
2016-08-29 16:09:39 +08:00