Remove restrictions on set of BOND properties. Now BOND can have
any attributes.
Remove redundant `bond_properties`.
Change-Id: I60d1a0628d84c5ba49bb5b45824d660297dacccc
Implements: blueprint nics-and-nodes-attributes-via-plugin
Developers should use assertIn(A, B) instead of assertTrue(A in B ).
Developers should use assertNotIn(A, B) instead of assertFalse(A in B ).
TrivialFix
Change-Id: Ibfb5bda501015383ac170544129c280f99f4f5ed
Added validation to bond creating for field 'bond_properties' and
bond_properties.type__. They are mandatory and bond can not be created
without type__.
Allowed modes for dpdkovs and ovs types:
- active-backup
- balance-slb'
- balance-tcp
- lacp-balance-tcp
Allowed modes for linux type:
- active-backup
- balance-rr
- balance-xor
- broadcast
- 802.3ad
- balance-tlb
- balance-alb
Change-Id: Ic5a443a347b5abbf235e88bd95154b56a627b76f
Closes-Bug: #1566252
We currently allow for someone to bypass the public gateway ping check
on the controllers for the public_vip monitor via hiera. But this is
hidden and not well documented. This change aims to expose this to the
deployer in a more obvious way.
Change-Id: Ic244e907fb9db2c020cf590e96626b015cbe0773
Closes-Bug: #1524640
Nailgun agent collects some anonymous statistic of Fuel usage.
This statistic consists lshw output, but lshw part of report doesn't
send to stat db.
Remove excess copying in get_node_meta function. Now it returns full meta
dict inculding pci_devices dict.
Also added tests for new meta dict params and fixed test env config for
this tests.
Closes-Bug: #1597276
Change-Id: I7273f953250fd5bd96f7603fbe6b3a658ba79950
Zabbix has been removed from Fuel 7 and is not supported for 3 releases.
It's time to make cleanup and remove its code.
Closes-Bug: #1583990
Change-Id: I7393caebc629fcf652369b98731455abe8a2c378
This patch:
* extends current DB model with new entities and provides
related migrations.
* extends plugin sync method to support storing new plugins
attributes.
* provides cosmetic fix for ClusterPlugin model. Lets write table
names in the plural but model names in the singular.
Change-Id: I3edbde1d48461ce3fab7c93f17e2db5332b1f7fb
Implements: blueprint nics-and-nodes-attributes-via-plugin
White list added for Node model attributes.
Collecting of node info for fuel-stats refactored for using
node attributes white list.
Closes-Bug: #1577759
Change-Id: I7b5332c4c094b1f68ae8fc47da95d882770e6bf1
Since self.env.create always return db object now,
we can use this returned value instead of
self.env.clusters list.
It's a refactoring, so no bug or blueprint.
Change-Id: If7c84cb7124bcf08ef5ff110542012564190fae1
UCA repos info added to collected by fuel-stats data.
Tests for checking that all cluster attributes are in filtering
WhiteList refactored to use releases with the same
operating_system value.
Now we are able to check attributes for Ubuntu and
Ubuntu+UCA releases.
Change-Id: I951324b34dc2ed7b6966316cc59ee2fe81872b04
Closes-Bug: #1558172
This models store deployment tasks sets that is grouped under
DeploymentGraph record with unique id.
DeploymentGraph is linked via m2m to the:
- releases
- plugins
- clusters
This transitive tables containing 'type' field, that should be used as
graphs merge key in business logic.
DocImpact
Implements: blueprint custom-graph-execution
Change-Id: If53cb58e8ae4cf8fe4caa470bf207ff1683b1cda
Root password is 'r00tme' now for backwards compatibility.
Reworked related provisioning serializer and unit tests.
Change-Id: If92ebf0cdccd391f9491271b8e7347a5ef6196d1
Blueprint: fuel-nonroot-openstack-nodes
This partially reverts commit 21fcbbc5ae.
This patch reverts only python part.
The new way of removing Murano is described here:
https://review.openstack.org/275124
Change-Id: I24643c06fbd5b578d6ea75cca44128623204b5ce
In Fuel 5.1 we had an experimental feature - 'patching openstack env'.
The idea was to update and to rollback OpenStack environments between
minor releases. However, we have encounter a lot of problems with
restoring OpenStack databases andresolving dependency hell in packages,
so we buried it and never release it.
This patch removes legacy code from the source tree. We can do it
without fear, since it wasn't released in public.
Related-Bug: #1511499
Change-Id: I58b3fedd239eb7fe4226e51c2d6386efab14395d
This change introduces following attributes to openstack.yaml
- Operator User (part of group General/Operating System Access in UI):
- name
- password
- home directory location
- authorized SSH keys
- sudo configuration
- Service User:
- (hidden) name
- (hidden) sudo
- (hidden) homedir
- (hidden) (generated) password
- (hidden) (generated) Root password
This commit hides "Public key" setting from the UI as it
becomes redundant. It's going to be removed from other components
later.
"Access" group label has been changed to "OpenStack Access" as well
since that could be confusing.
Change-Id: I9074881191aa6279fdb3eb6abb1c86f6f3ecbb9f
Blueprint: fuel-nonroot-openstack-nodes
Since Fuel 9.0 all functionality for Murano will be moved into
plugin, hence we need remove it from Fuel.
partially implements blueprint murano-fuel-plugin
Change-Id: I553ac31db7609ee568b7a58ab84393722f2dba2d
Remove UI parts and components for nova network.
Remove NovaNetworkManager for 8.0.
Change-Id: I81b8aee4615fa1da40724a92c781e955c8bf4ecb
Closes-Bug: #1528407
Mellanox Section in Fuel UI Settings tab has been added in 5.1,
moved to experimental mode in 6.1 due to the implementation as a plugin.
This change deletes the upstream section for enabling Mellanox features.
Implemented as a certified Fuel plugin.
Closes-Bug: #1452800
Change-Id: I6a1f33827d6c4fc9c9bc42cad567f4f96941f094
White list for plugins info added into statsender.
Now we are checking that all plugin data is collected in tests. In
case of adding new property to Plugin DB model test checks that
this field is collected by statsender.
Change-Id: Iae3f41b839172b5f6d4f79b207b2a19c309b6e8b
Closes-Bug: #1521596
- move test from unit to integration;
- disable additional properties in validation schema;
- refactoring;
- add more documentation;
- add more tests;
- Cluster-level plugin dashboard entries is renames to the cluster plugin links;
- hidden field added to the ClusterPluginLink API;
Change-Id: I7dc99fc622359848e54c7ce248360db1bdef7f0f
Author: Ilya Kutukov <ikutukov@mirantis.com>
Co-Authored-By: Vladimir Sharshov <vsharshov@mirantis.com>
Co-Authored-By: Ivan Kliuk <ikliuk@mirantis.com>
Closes-Bug: #1518381
At the moment feature_groups are defined during
ISO build in version.yaml file. We need to avoid
using build time defined parameters because
we are moving to the package based delivery approach.
Depends-On: I05e841d4279bc61645cefb68f411a93b67e57189
Related-Bug: #1513737
Related-Bug: #1515517
Change-Id: I4f96fec73f991094bca65de5f1d1014662fbb2b4
This is redesign of plugins architecture in order to store
the plugin's attributes in a separate table, not in cluster
attributes, so it will be possible to remove connection between
plugin and cluster when a plugin gets deleted.
Added ability to work with different versions of a plugin.
User can choose the preferred version in UI.
The test "test_plugin_generator" was removed because no longer
relevant.
Closes-Bug: #1440046
Implements: blueprint store-plugins-attributes
Change-Id: I52115f130bf1c7c80c66e18d0bf9f7acb16dd56c
* Set release state for CentOS to 'unavailable'
* Add release's deployability check in cluster validator
Change-Id: Ic48ed10530efab3823018709b1e072bcfc35d891
Closes-bug: #1486559
* ui_settings field added to Cluster DB model
to keep environment view and grouping modes
* grouping column of Cluster DB model deleted
* switcher of node list view modes added on Fuel Web UI
* introduced compact representation of node panel
with its extended view (when user hovers the node)
Blueprint node-list-view-modes
Change-Id: Ida505d6d9c72e8a8d6df08a536ea056cb2ea6d95
* add 'pxe' property to the nic db model
* collect 'pxe' property during the
bootstrap stage
* forbid to assign admin net to non pxe interfaces
* allow to assign admin net only to bond interface
what containing pxe interface
Change-Id: I70dcaed66607728b76ae3d93c59048c310ddb22c
Implements: blueprint admin-network-on-bond
Added fields about TLS for public OpenStack endpoints
divided by two groups - for Horizon and for other
services. Fields allow you to select services for which
you want to use SSL and give you opportunity to either
use self-signed keypair for these services (will
be generated after deploy started) or upload your own
certificate and key in format which HAProxy will
understand.
Change-Id: Ie6be3d2ed4e1864e5898d1c7d12ec761af01a041
Implements: blueprint ssl-endpoints
We need to pass CLUSTER_ID to two new astute prehook tasks:
- generate_haproxy_keys
- copy_haproxy_keys
Implements: blueprint ssl-endpoints
Change-Id: I2261dcfb55743b0fb31f4cbe42e7793176c8e1c0
Filtering of private nodes metadata added to statsender.
This patchset is only for syncronization of code in stable/6.1 and master.
Current whitelists implementation is not fit to fix this issue due to
meatdata data structure. Filtration by whitelists is going to be implemened
in: https://bugs.launchpad.net/fuel/+bug/1466121
Change-Id: I2c5f39e0ac0f77c281db444933ac54723c2645c7
Closes-Bug: #1466140
Field is called `modes`. Cluster validation stops creating the
environment with mode that is not in the `modes` field of cluster
release.
One cluster validation test seemed to have reversed logic
(test_release_non_exists_validation). It is fixed now.
Change-Id: Iafeb988a91f44e29ea0491422b8348997d950bc4
Closes-Bug: #1456540
Due to service user "workloads_collector" is not created for clusters
with older version than 6.1 after upgrade of master node, oswl
collecting procedure fails for those clusters. This fix adds workaround
to the problem by falling back to default credentials for the cluster to
be used for OS clients initialization. Please, be advised that such
approach will not work in case the user changed the credentials for the
cluster.
Change-Id: I65e9029fec3055a1e1f1179d77696b0338743663
Closes-Bug: #1444410
Closes-Bug: #1444362
Migration is not needed as orchestrator serializer code supports
both options (VLAN splinters for 6.0 and Fedora kernel for 6.1).
Closes-Bug: #1439821
Change-Id: I8d266d85494dd733620bb8ae9c8afe8bd75a20bb
Two subpackages (for statistic collecting of fuel infrastructure using
and collecting of oswl info) created in order to separate code dedicated
to logically different functions. Utility (universal utility functions
and custom errors description) infrastructure left on
statistics package level with possibility of reusing in subpackages'
code. Tests refactored considering current separation.
Change-Id: I89509d5fcd224276c3cd6c95353cea0ebca2162e
Closes-Bug: #1439268