美文网首页云计算
kolla-ansible horizon 集成 murano

kolla-ansible horizon 集成 murano

作者: cloudFans | 来源:发表于2020-05-26 11:48 被阅读0次

kolla-ansible horizon 集成 murano会有两个问题

(murano-api)[root@ccontrol01 /]

  1. murano-api 缺少 /var/cache/murano/meta/io.murano.applications.zip
    方法: 直接找到murano git 对应版本的 murano/meta/io.murano.applications 目录,在该目录下压缩并做到murano-api docker镜像中
  1. horizon 修改 openstack_dashboard/local/local_settings.d/_50_murano.py ,删除本地django的数据库访问配置,以及补充murano-api 的endpoint
MURANO_API_URL = "http://192.168.100.124:8082"

# Set to True to use Glare Artifact Repository to store murano packages
MURANO_USE_GLARE = False

# Sets the Glare API endpoint to interact with Artifact Repo.
# If left commented the one from keystone will be used
# GLARE_API_URL = 'http://ubuntu1:9494'

MURANO_REPO_URL = 'http://apps.openstack.org/api/v1/murano_repo/liberty/'

DISPLAY_MURANO_REPO_URL = 'http://apps.openstack.org/#tab=murano-apps'

# Overrides the default dashboard name (App Catalog) that is displayed
# in the main accordion navigation
# MURANO_DASHBOARD_NAME = "App Catalog"

# Filter the list of Murano images displayed to be only those owned by this
# project ID
# MURANO_IMAGE_FILTER_PROJECT_ID =

# Specify a maximum number of limit packages.
# PACKAGES_LIMIT = 100

# Make sure horizon has config the DATABASES, If horizon config use horizon's
# DATABASES, if not, set it by murano.

try:
    from openstack_dashboard import static_settings
    LEGACY_STATIC_SETTINGS = True
except ImportError:
    LEGACY_STATIC_SETTINGS = False

HORIZON_CONFIG['legacy_static_settings'] = LEGACY_STATIC_SETTINGS

# from openstack_dashboard.settings import POLICY_FILES
POLICY_FILES.update({'murano': 'murano_policy.json',})

murano 最佳上手文档

https://murano.readthedocs.io/en/latest/index.html

相关文章

网友评论

    本文标题:kolla-ansible horizon 集成 murano

    本文链接:https://www.haomeiwen.com/subject/fypmahtx.html