跳转到主要内容

Freezer - 作为服务的备份用户界面

项目描述

团队和存储库标签

https://governance.openstack.org/tc/badges/freezer-web-ui.svg

Freezer - Horizon仪表板

freezer-web-ui是一个基于django的horizon插件,旨在提供与freezer的交互

要求

Freezer仪表板需要安装与horizon相同的环境中的freezer API客户端

git clone https://github.com/openstack/python-freezerclient
cd python-freezerclient
python setup.py install (is important that freezer API client is installed from source and not with pip and
                         is installed on horizon virtual environment)

Freezer仪表板需要安装freezer API端点,您可以根据以下步骤进行安装

https://github.com/openstack/freezer-api/blob/master/README.rst

API注册

注册freezer API端点

https://github.com/openstack/freezer-api/blob/master/README.rst#api-registration

如果keystone服务创建和端点创建不可用,您可以将其设置为以下回退

# vim /opt/stack/horizon/openstack_dashboard/local/local_settings.py

# add FREEZER_API_URL = http://<api_url>:<port>

开发安装

在安装过程中,我们将假设您的Horizon仪表板主目录是/opt/stack/horizon/openstack_dashboard/dashboards/。

要为开发安装freezer仪表板,您需要执行以下操作

# git clone https://github.com/openstack/freezer-web-ui

# cd freezer-web-ui

# cp freezer-web-ui/disaster_recovery/enabled/_5050_freezer.py  /opt/stack/horizon/openstack_dashboard/enabled/_5050_freezer.py

# to disable the panel just copy the following file

# cp freezer-web-ui/disaster_recovery/enabled/_7050_freezer_remove_panel_.py  /opt/stack/horizon/openstack_dashboard/enabled/_7050_freezer_remove_panel_.py

# cd /opt/stack/horizon/

# pip install -r requirements.txt

# make sure freezer is installed from source as detailed in the first step

# ./run_tests.sh --runserver 0.0.0.0:8000

生产安装

要将免费zer仪表板部署到生产环境中,您需要执行以下操作:

# git clone https://github.com/openstack/freezer-web-ui

# cd freezer-web-ui

# cp freezer-web-ui/disaster_recovery/enabled/_5050_freezer.py  /opt/stack/horizon/openstack_dashboard/enabled/_5050_freezer.py

# to disable the panel just copy the following file

# cp freezer-web-ui/disaster_recovery/enabled/_7050_freezer_remove_panel_.py  /opt/stack/horizon/openstack_dashboard/enabled/_7050_freezer_remove_panel_.py

# make sure freezer is installed from source as detailed in the first step

# restart apache2 service

在您的面板上会自动出现一个名为“灾难恢复”的新标签。

运行tox

  1. 在代理下开发

    tox -v

如果您在代理下进行开发或部署,请记住为以下内容设置no_proxies

源代码

freezer-api endpoint
keystone endpoint

项目源代码存储库位于: https://opendev.org/openstack/freezer-web-ui/

项目详情

发布历史 发布通知 | RSS订阅


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关安装软件包的更多信息。

源代码分发

freezer-web-ui-15.0.0.tar.gz (126.7 kB 查看哈希值)

上传时间: 源代码

构建分发

freezer_web_ui-15.0.0-py3-none-any.whl (147.4 kB 查看哈希值)

上传时间: Python 3

由以下支持