Commit Graph

42 Commits

Author SHA1 Message Date
Andreas Jaeger e61cc055ab Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: I10917e42829b459c41ca46514faa72fc46abf7be
2019-12-18 09:52:23 +01:00
Igor Gajsin 634b66df45 remove vmware
VMware not supported since Fuel 10.

Implements: blueprint remove-vmware

Change-Id: Ia26a97d13bb9c3d2e838d639efdababbb15f86da
2017-02-14 15:52:27 +00:00
Andriy Popovych 0fac7bdba5 Bond attributes in interface API
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
2016-11-30 11:39:35 +02:00
Mikhail Zhnichkov 9647ccde99 Revert "Add tag API"
This reverts commit 327f754d90.

Change-Id: I58474fd358287ad21f0f36ec5be9a565fc24c67c
2016-11-08 16:58:59 +00:00
melissaml 211c465c0b Modify use of assertTrue(A in B)
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
2016-10-13 14:55:58 +08:00
Ryan Moe 327f754d90 Add tag API
API handler for creating tags.

Implements: blueprint role-decomposition
Change-Id: I04c184f287d49ad2c15803809b8025f7351b8985
2016-10-05 17:28:22 +03:00
ntymtsiv 205224d573 Make type__ mandatory for bond creation
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
2016-07-25 15:21:13 +03:00
Alex Schultz 36515bbbc1 Expose configuration to skip gateway ping check
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
2016-07-06 19:12:14 +00:00
Alexey Elagin 2a937db7d0 add pci_devices to anonymous statistic
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
2016-06-29 15:21:03 +03:00
Jenkins 095fc570ed Merge "remove zabbix from nailgun" 2016-06-08 10:29:25 +00:00
Dmitry Guryanov ecf39c0afc remove zabbix from nailgun
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
2016-05-31 06:28:20 +00:00
Andriy Popovych 9d86b078cf Data model changes for Plugin NIC, BOND and Node attributes
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
2016-05-30 13:16:45 +03:00
Alexander Kislitsky 998b3dbdbb All attributes of node model are collected for fuel-stats
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
2016-05-04 15:17:07 +00:00
Dmitry Guryanov 9eeaa679d1 Don't use self.env.clusters[0] in tests where possible
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
2016-04-26 17:53:36 +03:00
Alexander Kislitsky 71d1ec2ab5 UCA repos info added to statistics
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
2016-03-17 18:24:40 +03:00
Ilya Kutukov 32bb68f501 DeploymentGraph and DeploymentGraphTasks models added
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
2016-03-03 02:28:56 +03:00
Dmitry Nikishov a66951251c Moved root and service user passwords to editable attributes
Root password is 'r00tme' now for backwards compatibility.
Reworked related provisioning serializer and unit tests.

Change-Id: If92ebf0cdccd391f9491271b8e7347a5ef6196d1
Blueprint: fuel-nonroot-openstack-nodes
2016-03-01 18:44:08 +00:00
Jenkins 025b70b869 Merge "Remove legacy patching code" 2016-02-26 17:48:41 +00:00
Denis Egorenko 271e548ed7 Revert "Remove Murano installation from Fuel from box"
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
2016-02-26 17:30:23 +03:00
Igor Kalnitsky e91363ba9c Remove legacy patching code
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
2016-02-26 15:06:04 +02:00
Dmitry Nikishov ab570379f2 Added OS user account settings to openstack.yaml
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
2016-02-19 07:32:02 -06:00
Denis Egorenko 21fcbbc5ae Remove Murano installation from Fuel from box
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
2016-02-11 15:45:50 +03:00
Andriy Popovych 426d2faecc Remove nova network support from 8.0
Remove UI parts and components for nova network.
Remove NovaNetworkManager for 8.0.

Change-Id: I81b8aee4615fa1da40724a92c781e955c8bf4ecb
Closes-Bug: #1528407
2016-01-19 14:27:17 +02:00
Aviram Bar-Haim 5c33fbbf2f Remove Mellanox section from the upstream settings
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
2015-12-23 18:58:51 +02:00
Alexander Kislitsky 5ded5017e5 New plugin data is collected in statsender
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
2015-12-01 14:14:30 +00:00
Vladimir Sharshov (warpc) 5b5acc97f3 Fixed tech debt related to ClusterPluginLink
- 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
2015-11-26 18:35:30 +03:00
Vladimir Kozhukalov 1a8801a870 Deprecate version.yaml
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
2015-11-17 01:05:39 +03:00
Vitaliy Mygal a25db9a2c6 Store attributes of plugins in a separate table
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
2015-11-15 23:29:13 -06:00
Maciej Kwiek 1ffc5e54e9 Fix hacking 0.10 errors in nailgun
Change-Id: I82e418d21e367ff379dda935f035dcc709c3a034
Partial-Bug: #1410810
2015-10-08 12:01:55 +02:00
Fedor Zhadaev 648571cfe4 Deny using CentOS even in experimental mode
* Set release state for CentOS to 'unavailable'
  * Add release's deployability check in cluster validator

Change-Id: Ic48ed10530efab3823018709b1e072bcfc35d891
Closes-bug: #1486559
2015-08-24 13:36:27 +03:00
Julia Aranovich 2e3173a469 View modes of node list in Fuel Web UI
* 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
2015-07-09 11:03:00 +03:00
Valyavskiy Viacheslav 4bf1095593 Stick 'pxe' role to physical interface
* 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
2015-07-08 20:49:07 +03:00
Stanislaw Bogatkin 2f8d9be6bc Add SSL-related fields to settings page
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
2015-07-07 14:16:03 +00:00
Jenkins dde16576fe Merge "Pass CLUSTER_ID to task" 2015-07-06 14:15:17 +00:00
Stanislaw Bogatkin 9f4555a57b Pass CLUSTER_ID to task
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
2015-06-30 13:18:04 +00:00
Alexander Kislitsky 8c487f4189 Nodes metadata filtration added
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
2015-06-18 15:39:36 +03:00
Alexander Kislitsky eba81fcedf Nodes meta data added into statistics
Meta data added for building stat reports on nodes info.

Change-Id: I7c1b63bea2b1dc28e1ba68fdc31609d4356a5322
Closes-Bug: #1466064
2015-06-17 15:39:52 +03:00
Maciej Kwiek 9e3f07bd92 Add field to release for storing valid deploy mode
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
2015-05-21 15:48:17 +02:00
Przemyslaw Kaminski 03c8868270 vmware attributes -- fix for None value after upgrade
Change-Id: Iec17bf2e76674ae1a619b647382fcd72555a1bce
Closes-Bug: #1450049
2015-05-05 06:06:08 +00:00
Artem Roma bc0b3adc2c Exploit default OS credentials for clusters w/o workloads_collector user
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
2015-04-17 17:41:43 +03:00
Aleksey Kasatkin f2b730719b Option to install Fedora LT kernel is added back
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
2015-04-07 16:38:27 +03:00
Artem Roma 4603980b81 Refactor nailgun.statistics package
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
2015-04-07 13:27:31 +03:00