Glance metadefs for OS::Nova::Aggregate should be OS::Nova::HostAggregate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
In Progress
|
Medium
|
liwei | ||
heat-dashboard |
In Progress
|
Medium
|
ChangBo Guo(gcb) |
Bug Description
https:/
The metadata definitions in etc/metadefs allow each namespace to be associated with a resource type in OpenStack. We realized that we used OS::Nova::Aggregate instead of OS::Nova:
Glance Issue:
There are a couple of metadef files that have OS::Nova::Aggregate that need to change to OS::Nova:
The DB will need to be upgraded similar to https:/
Horizon Issue:
The aggregate update metadata action should retrieve OS::Nova:
[0] http://
[1] https:/
[3] https:/
The main concern I have is that with the new resource registry, we will register Host Aggregates as OS::Nova:
The overall changes here are simple, but may have backwards compatibility concerns with older Glance installations.
Finally:
It should be noted that updating namespaces in Glance is already possible with glance-manage. E.g.
/opt/stack/glance$ glance-manage db_load_metadefs etc/metadefs -h
usage: glance-manage db_load_metadefs [-h]
positional arguments:
path
merge
prefer_new
overwrite
So, you just have to call:
/opt/stack/glance$ glance-manage db_load_metadefs etc/metadefs true true
See also: https:/
description: | updated |
Changed in glance: | |
assignee: | nobody → liwei (wei-li) |
Changed in glance: | |
importance: | Undecided → Medium |
Changed in horizon: | |
assignee: | nobody → liwei (wei-li) |
Changed in horizon: | |
assignee: | liwei (wei-li) → nobody |
Changed in horizon: | |
assignee: | nobody → liwei (wei-li) |
Changed in horizon: | |
assignee: | liwei (wei-li) → ChangBo Guo(gcb) (glongwave) |
Changed in horizon: | |
importance: | Undecided → Medium |
tags: | added: heat |
Fix proposed to branch: master /review. openstack. org/359742
Review: https:/