Commit Graph

53 Commits

Author SHA1 Message Date
Stephen Finucane
411418b044 Add CPU thread pinning to metadata defs
CPU pinning policy is defined, but CPU thread pinning policy is not.
Resolve this.

UpgradeImpact
Change-Id: Ie3027a9ee92ac272b6c9a07926aa529d72187d00
Closes-bug: #1612341
2016-08-17 16:45:39 +01:00
Brianna Poulos
e78ff4a92e Add image signature verification metadefs
Add the properties for signature verification to Glance's
Metadata Definitions Catalog.

These are defined as part of the merged spec at:
http://specs.openstack.org/openstack/glance-specs/specs/mitaka/approved/image-signing-and-verification-support.html

Change-Id: I749a31f67bdf0866e7349afcc60df490794f8736
2016-06-30 14:16:49 +00:00
Niall Bunting
85375d46c7 Incorrect title for Outbound Peak
Changes the title to the correct one.

Change-Id: I6c71cd9a1489e4692cdfce252beda16b6e1c670a
Closes-Bug: 1587944
2016-06-01 16:50:20 +00:00
venkatamahesh
54153d79c2 Update the Administrator guide links with new ones
Change-Id: I4ec7cab23ffcd991160ac4930237fa50532724bf
2016-04-06 17:18:30 +05:30
Lin Yang
8a38f9ad5d New metadata definitions from CIM
Adds into the Glance metadata definitions items from the Common
Information Model (CIM) schema, include setting data for processor
allocation, resource allocation, storage allocation and virtual
system, which can be associated with several OpenStack resources
to make them interoperable from a end-user specific perspective.

Implements: blueprint cim-namespace-metadata-definitions

Change-Id: If769bae8fcf1803bb2432537228f9633ad789e58
2016-03-02 12:41:16 +08:00
Jenkins
41138f939f Merge "Add metadefs for Cinder volume type configuration" 2016-02-10 19:48:10 +00:00
Travis Tripp
33ae05ee86 Change Metadefs OS::Nova::Instance to OS::Nova::Server
The metadata definitions in etc/metadefs allow each namespace to be associated
with a resource type in OpenStack. Now that Horizon is supporting adding
metadata to instances (just got in during the mitaka cycle - so unrealeased),
I realized that we used OS::Nova::Instance instead of OS::Nova::Server in
Glance. This doesn’t align with Heat [0] or Searchlight [1].

There are a couple of metadef files that have OS::Nova::Instance that need to
change to OS::Nova::Server. I see also that OS::Nova:Instance is in one of
the db scripts. That script simply adds some initial "resource types" to the
database. [3]. It should be noted that there is no hard dependency on that
resource type to be in the DB script. You can add new resource types at any
time via API or JSON files and they are automatically added.

I'm not sure if the change to the db script needs to be done in a different
patch or not, but that can easily be accommodated.

See bug for additional links.

Change-Id: I196ce1d9a62a61027ccd444b17a30b2c018d9c84
Closes-Bug: 1537903
2016-02-02 15:05:22 -07:00
Karol Stepniewski
19aed25f5b Add storage_policy VMware driver option for flavors
https://review.openstack.org/#/c/68421/ added support for
storage_policy in flavor extra_specs. This patch adds missing property
in glance metadef for VMware driver options for flavors.

Change-Id: I2f42e51676701d1427a62d5765141e4e586f52f1
2016-01-26 09:13:26 -08:00
Jenkins
aa62cb4137 Merge "Add properties_target to Instance SW metadefs" 2016-01-25 17:26:02 +00:00
Jenkins
16c42f304f Merge "Add missing CPU features to Glance Metadata Catalog" 2016-01-25 01:40:57 +00:00
Travis Tripp
28becd1aad Add properties_target to Instance SW metadefs
There are several metadata definitions for software that are
associated with Nova instances (OS::Nova::Instance) which should
have their properties target set to "metadata".

The ability to add metadata to an instance leveraging these
definitions at launch time was recently added to horizon. In
a follow up discussion, somebody asked about using the metadata
definitions to also choose nova scheduler hints at launch time,
without confusing the two intended purposes of the metadata.
This raised our awareness that we don't have properties_target
set to "metadata" (rather than "scheduler hints") for
OS::Nova::Instance on the software metadata definition files.

This patch adds "properties_target": "metadata" to those files.

Change-Id: I247226ad78762d1d2add3bb39b1e780b93f36370
Closes-Bug: 1536849
2016-01-21 17:29:48 -07:00
Mitsuhiro Tanino
44629deb81 Add metadefs for Cinder volume type configuration
The following Cinder patch adds support to specify Cinder volume type
via cinder_img_volume_type parameter in glance properties on image
metadata. The property should be added in the Metadata Definitions
catalog.

https://review.openstack.org/#/c/258649/

DocImpact: Add cinder_img_volume_type to Image service property
           keys list at CLI reference.
           http://docs.openstack.org/cli-reference/glance.html
Change-Id: I3bbb20fdf153e12b7461fa9ea9fa172a8d603093
Depends-On: I62f02d817d84d3a7b651db36d7297299b1af2fe3
2016-01-19 11:41:56 -05:00
kairat_kushaev
5814440bb9 Enhance description of instance-uuid option for image-create
Current description of instance-uuid may confuse users because
they may think that instance-uuid can serve as basis for image
but it just stores instance-uuid as image-metadata. So we need
to enhance the description in glanceclient.

Change-Id: I534709bdce588806178912fdd57fdf25bcca0449
Closes-Bug: #1496822
2016-01-18 15:14:15 +03:00
NAO NISHIJIMA
788e8ad69b Add missing CPU features to Glance Metadata Catalog
This patch adds missing CPU features to Glance Metadata Catalog.
CPU features based on linux v4.4-rc4 kernel source code in
arch/x86/include/asm/cpufeature.h and picked up Intel&AMD vender.

Change-Id: I8c622172dbc1f7d80e606278064bea6f5bcb4c8f
Closes-Bug: #1409071
2015-12-10 10:44:03 +09:00
Deepti Ramakrishna
db400cdb23 Fix incorrect Glance image metadata description
For each image, when user clicks on Edit Image --> Update Metadata, the list
of various available metadata categories and properties is displayed in a
pop-up window. For each category and property, a user-friendly description is
displayed at the bottom of the pop-up.

The description for "Common Operating System Properties" category says - "When
adding an image to Glance, you may specify some common image properties that
may prove useful to consumers of your image." This is too generic and seems
like a copy-paste of the description from glance-common-image-props.json that
the author later failed to update.

Fixing this to show a more meaningful message.

Change-Id: I5477b1702932e07ab1fd499204d3ff1348abba3b
Closes-Bug: #1483063
2015-10-16 11:18:00 -07:00
Waldemar Znoinski
3e35dd0033 Add Large pages meta definition
This metadef enables Guest Memory backing namespace
and large pagesize property in Nova::Flavor,
Glance::Image, Cinder::Volume(image)
resource types metadata

Change-Id: I6566622a026d80115993cce1b5dc29878bcef0b7
Closes-Bug: #1476732
2015-09-29 22:33:32 +00:00
Jenkins
9114e16ee5 Merge "Add CPU Pinning in metadata definitions" 2015-09-04 21:36:18 +00:00
Jenkins
3654f07c32 Merge "Change URL to End User Guide" 2015-08-31 12:12:27 +00:00
Andreas Jaeger
383971c6b5 Change URL to End User Guide
The location of the content has changed on docs.openstack.org, adjust
URL.

Implements blueprint redesign-docs-site

Change-Id: Ib30ea987d950bcec693f0d3d906602eca84b0719
2015-08-23 10:30:58 +02:00
Andreas Jaeger
c07563f042 Fix URLs to admin-guide-cloud
The Cloud Administrators Guide has been moved from XML to RST and all
URLs have changed.

Adjust glance and change
http://docs.openstack.org/admin-guide-cloud/content/customize-flavors.html
to new location
http://docs.openstack.org/admin-guide-cloud/compute-flavors.html.

Change-Id: Ibb9a5f9394480976f37aa0338413f04abae735d9
Implements: blueprint reorganise-user-guides
2015-08-23 10:04:44 +02:00
Waldemar Znoinski
85de1149b6 Add CPU Pinning in metadata definitions
This metadef adds CPU pinning namespace and property to Nova::Flavor, 
Glance::Image, Cinder::Volume(image) resource types metadata.

Change-Id: I215373648f7490faf35e44f5b98f9a2688c81e79
Closes-bug: #1476696
2015-08-17 15:52:56 +00:00
Jenkins
0ea5862f1b Merge "Adds os_admin_user to common OS image prop metadef" 2015-07-30 21:33:44 +00:00
Eric Brown
c4cbfea8e3 Correct reference to VC as vCenter
VC is an abbreviation commonly used, but incorrect for documentation.
The proper product name is vCenter and not VC.

TrivialFix

Change-Id: I53b883adf44ab749e6803730b2d5855a81dcf95f
2015-07-12 22:27:50 -07:00
Jenkins
3bef5bddcf Merge "VMware: vmware_ostype should be enum" 2015-07-05 23:17:58 +00:00
Eric Brown
081af59b1b Adds os_admin_user to common OS image prop metadef
This will add os_admin_user to the list of common properties for
operating systems metadata definition.

Commit I215bb82668df074141397909b58fa9189f46b4da is adding
os_admin_user to the list of image metadata it understands.  As
a result, it's beneficial to also have that property defined
in the metadef.

Change-Id: I7cf70acf3c6a4f801b34d52926c444d05b79fd51
Implements: blueprint libvirt-set-admin-password
2015-06-30 05:40:05 +00:00
Lianhao Lu
68bc487786 Remove unnecessary executable permission
Bunch of glance source code files are marked as executable which is not
appropriate, this patch just 'chmod -x' to all of them.

Closes-Bug: #1468564

Change-Id: Iaa6ba2a4ec31994f528a191e480db202a96f0c67
2015-06-25 09:14:07 +08:00
Eric Brown
32dae06780 VMware: vmware_ostype should be enum
The vmware_ostype property is a string property defining the
available operating system types that can be associated with a
VM.  The os types should be a enumeration rather than just a
free form string.

Change-Id: Ifa5d71299c34b4613adf0107eb3fadf25ec3e906
2015-05-11 10:55:18 -07:00
Eric Brown
46eb1581fc VMware: add VirtualVmxnet3 to hw_vif_model
Commit I97147f8e0f749ee76f17569191e45eb520f7c88f added VirtualVmxnet3
to the list of supported network models.  The glance compute metadata
definition should reflect that change.

Change-Id: I0e363233582584d5d7a62477603795a237f49b5c
2015-05-08 17:25:48 +00:00
Wayne Okuma
1af8cd5745 Metadef JSON files need to be updated
Since Juno, some new hardware properties have been added to Nova that
should be included in the Kilo versions of the metadef JSON files.

This bug, would add in new properties or objects found in Nova and update
properties or objects if the definitions have changed.
Closes-Bug: 1436877

Change-Id: I582827e666bece539674e4a191963ecf8ebf599f
2015-04-15 20:08:37 -07:00
Pawel Koniszewski
473ac5fff6 Add operators to provide multivalue support
Added 'operators' to metadef jsons and property schema.
With the new section end-user knows which multivalue
operators are suitable for given property.

Implements: blueprint metadata-multivalue-operators-support

DocImpact
APIImpact
Change-Id: I0219bfaacfdc084200deb83d7806800c34f9aa6d
2015-03-08 16:42:30 +00:00
Jenkins
d55522da73 Merge "Software Metadata Definitions" 2015-02-05 04:58:34 +00:00
Travis Tripp
01ace04438 Software Metadata Definitions
The will provide a base library of metadata definitions for
various common software products, components, and libraries that
may exist on particular image (or volume or instance). These
metadata definitions will make it easier for end users and
admins to easily describe the software and its properties.
This information will enable an improved and faster user
experience for applying software metadata, searching based
on software metadata, and viewing the software information
about an image.

Various improvements in horizon are underway to take
advantage of this metadata. For example, a user launching
an instance will be able to expand the image row to see
additional information about the image.  This will include
providing the metadata definition for properties on the image.
This same information will also be visible from the image and
instance details page.

Change-Id: I63fa40f9eae8dfb602cf0c9c3f0dd7f0d1a65af0
Implements: blueprint software-metadefs
2015-02-05 00:18:23 +00:00
Sabari Kumar Murugesan
6abb49bb64 Update vmware_adaptertype metadef values
The metadef value for vmware_adaptertype is missing LSI Logic SAS
and VMware Paravirtual (PVSCSI) adapters that is supported by
nova.
See nova/virt/vmwareapi/constants.py in the nova tree for the
list of supported ADAPTER_TYPE_*.

Change-Id: I9ab487cc409addbacdcea3c80cef8fbcda5374b9
2015-01-31 16:32:16 -08:00
Jenkins
8baa2d312f Merge "Update the vmware_disktype metadefs values" 2014-11-23 21:31:17 +00:00
George Peristerakis
0b40a1b954 Typo correction of the prefix value in compute-host-capabilities
Simple typo correction.

Change-Id: I6f37a992e4841400be8d71050796b7c526d29864
Closes-Bug: #1390031
2014-11-10 16:01:01 -05:00
Arnaud Legendre
d5aebdea4a Update the vmware_disktype metadefs values
Update the vmware_disktype metadef value to reflect what nova
supports.

Change-Id: I34ce200968f4cb6dfd209150de4615b25787bb7a
2014-10-22 15:48:16 -07:00
Jenkins
aee984ffd7 Merge "Update Metadefs associated with ImagePropertiesFilter" 2014-10-09 01:11:32 +00:00
Jenkins
5be4ab4df8 Merge "Add missing metadefs for shutdown behavior" 2014-10-08 04:54:11 +00:00
Jenkins
f95492711c Merge "Update driver metadata definitions to Juno" 2014-10-07 19:01:23 +00:00
Jenkins
c0fd20a79f Merge "Add missing metadefs for Aggregate Filters" 2014-10-07 03:51:46 +00:00
Jenkins
7b3b4d0829 Merge "Nova instance config drive Metadata Definition" 2014-10-07 03:51:24 +00:00
Travis Tripp
5fcb3aa2e3 Add missing metadefs for shutdown behavior
The following Nova patch adds support for graceful shutdown
of a guest VM and allows setting timeout properties on images.
The properties should be updated in the Metadata Definitions catalog.

https://review.openstack.org/#/c/68942/

Change-Id: I58145d9d0114b3932b63263ea123c4662146d14b
Closes-bug: 1368036
2014-10-06 18:25:55 -06:00
Pawel Koniszewski
39e90f29d9 Make compute-trust.json compatible with TrustFilter
Current properties inside compute-trust.json does not match
with how TrustFilter in nova works. JSON provides True/False
boolean values but TrustFilter expects trusted/untrusted/unknown
string values. This patch repairs compute-trust.json to be
compatible with TrustFilter.

Change-Id: I26965a549daf9340621b0f18a1b845b39bac4bd8
Closes-Bug: #1369581
2014-09-22 02:55:26 -04:00
Travis Tripp
ebafdbeef6 Update driver metadata definitions to Juno
vmware and libvirt support different hw_vif_model settings.
This patch updates them so that each namespace can specify
the models they support.

vmware api is updated with the vmware_disktype

Change-Id: Iec5901097c9621a052a930b99d5cbe7872d4f3ff
Closes-bug: 1370767
2014-09-17 17:30:03 -06:00
Travis Tripp
236c9db4eb Update Metadefs associated with ImagePropertiesFilter
From: http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html#imagepropertiesfilter

Filters hosts based on properties defined on the instance's image.

Updated descriptions to be provide better information.
Added baremetal "hypervisor_type" after getting info from
Nova core about what hypervisors to include.

Left out "architecture" for now, because horizon fails when
trying to update architecture property.

Change-Id: I9195825a0ab4b89e764983da06827173a2daa23c
Closes-bug: 1368965
2014-09-16 15:45:49 -06:00
Jenkins
7374d9347e Merge "Improve OS::Compute::HostCapabilities description" 2014-09-15 09:09:44 +00:00
Jenkins
e550cac697 Merge "Fix VMware Namespace capitalization & description" 2014-09-11 09:31:57 +00:00
Travis Tripp
313d4f272c Add missing metadefs for Aggregate Filters
The below spec implemented in Juno added numerous properties
that can be added to Host Aggregates. The Metadata
Definitions catalog should include them.

https://github.com/openstack/nova-specs/blob/master/specs/juno/per-aggregate-filters.rst

Change-Id: Id37028b4b24ab5f6b0c4547a3c1af47bd76e61f6
Closes-bug: 1368032
2014-09-10 23:24:36 -06:00
Travis Tripp
0dd620c7bd Nova instance config drive Metadata Definition
A nova Juno FFE landed to support setting the
img_config_drive property on images to require images
to be booted with a config drive. The Glance Metadata
Definitions should include this property.

See Nova Blueprint:
https://blueprints.launchpad.net/nova/+spec/config-drive-image-property

Change-Id: Iffc4d4f00f3677ed1fa41233ef6cfbc5c46d8602
Closes-bug: 1367981
2014-09-10 19:05:19 -06:00
Travis Tripp
541ee20d8d Improve OS::Compute::HostCapabilities description
The OS::Compute::HostCapabilities namespace should include more
information about how the properties are used by Nova.
Let admin's know that the ComputeCapabilitiesFilter needs to
be enabled.

Change-Id: Ib3232e560969462d3973606e138a96d1a5beb7de
Closes-bug: 1367860
2014-09-10 13:21:53 -06:00