Commit Graph

50 Commits

Author SHA1 Message Date
Andreas Jaeger 1c1a103a7c Retire repository
Fuel repositories are all retired in openstack namespace, retire
remaining fuel repos in x namespace since they are unused now.

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/011675.html

A related change is: https://review.opendev.org/699752 .

Change-Id: I1ed27af26dc9b8284bf180a523b0e0cc6ab58069
2019-12-18 20:09:51 +01:00
Artem Savinov c6f9182e08 Changed condition for ca_file variable setup
Fixed wrong conditions for setup ca_file variable in the puppet template
for nsx.ini configuration file.

Change-Id: I795adc24133a1865ba40feb3b74d03d34f13e9e0
Closes-Bug: #1605120
2016-07-21 11:31:07 +03:00
Igor Zinovik eaf476486d Add checkbox for enable/disable NSX Manager SSL verification
Return checkbox that allows user enable/disable NSX Manager certificate
verification.

Document settings "Bypass NSX Manager certificate verification" and "CA
certificate".

Closes-bug: #1590383
Change-Id: I347c9c0630ed727ce9601faf1a6c8e79f3d975ac
2016-07-06 10:51:17 +03:00
Jenkins 3a96998509 Merge "Increase neutron_url_timeout for nova services" 2016-07-04 07:50:40 +00:00
Jenkins b7abfba8dd Merge "Return checkbox 'nsxv_metadata_insecure'" 2016-06-30 13:11:26 +00:00
Artem Savinov 7598c532a0 Return checkbox 'nsxv_metadata_insecure'
Due to LP Bug #1590840 - parameters
nsxv_metadata_nova_client_priv_key/nsxv_metadata_nova_client_cert
hidden

Change-Id: I8ee1107d24aa79fb02b3b91d79dbd3ddd10a9a83
Closes-Bug: #1590407
2016-06-30 12:34:52 +00:00
Artem Savinov dc7d5baa6c Increase neutron_url_timeout for nova services
Change-Id: Ie0c72fc68a14a3353817c423abe0d9f661b30fb5
Closes-Bug: #1596512
2016-06-30 08:41:10 +00:00
Artem Savinov a5b50d2474 Add restart nova-api service
In order to apply timeout for query to the neutron service need to
restart the service nova-api.

Change-Id: Ic0684a3e751352b62d821ad1db811d315b0d553e
Closes-Bug: #1596000
2016-06-29 10:41:02 +03:00
Artem Savinov e8bfab8631 Add neutron stop task, before start neutron configured with nsxv
Closes-bug: #1595188
Change-Id: I298f11870ed5937a3b61c8f5476b426fe36fbd49
2016-06-24 15:12:31 +03:00
Igor Zinovik 8097402c90 Move neutron-server start on controller to post deployment
Metadata router need some time to start, if we start neutron-servers on
controllers right after primary-controller thay may fail (unrecoverable
failure). This patch moves neutron-server start to post-deployment stage
giving metadata router to be ready to serve requests.

Remove ruby script that tries to check metadata router status.

Closes-bug: #1587074
Change-Id: I09edb236ed1a71d7a90e5d556e55fe22a67f716c
2016-06-16 06:52:44 +00:00
Jenkins 7d458a14ad Merge "Removed the ability to manually set ip address for nsxv metadata proxy." 2016-06-02 08:35:15 +00:00
Artem Savinov 0a776f50ef Added check that the metadata proxy successfully deployed
Without this check neutron server on controller nodes tries to start
before metadata infrastructure gets initialized from task on
primary-controller and terminates with exception.

Change-Id: Ifaa559bb849a9b03e6bd4ecd379091302fc27385
Closes-bug: #1587074
2016-06-01 16:06:02 +00:00
Artem Savinov ee4d192be8 Removed the ability to manually set ip address for nsxv metadata proxy.
Deleted 'Allocate IP address in management network for NSX metadata
proxy' parameter. Now this is the default behavior when choosing a
management network for "nova metadata api".

If "nsxv metadata proxy" address will be different from openstack
management network -  between "nova metadat api" and "nsxv metadata
proxy" will not l3 connectedness.

Change-Id: I7484fbe0fa749e2d2c7a6a8d8ce53d5e55e68ece
2016-05-31 11:56:36 +00:00
Artem Savinov 4f37a8cd87 Disabling the metadata server initialization.
Disabling the metadata server initialization for all nodes except the
primary-controller. Otherwise, we may get an error, and the server does
not start.

Change-Id: Ia96062df6180dca6d5d9a372f195f83beca2c8bf
Closes-Bug: #1583267
2016-05-24 11:00:17 +00:00
Artem Savinov 6872aa1927 Reorganize metadata related settings
* Transfer all the settings for the metadata proxy under checkbox "Init
  metadata infrastructure"
* Added restrictions to be bound by filling the parameters needs for
  metadata proxy
* Changed in puppet manifests for set up metadata settings only if
  checkbox "Init metadata infrastructure" in True state
* Changed parameter nsxv_metadata_listen_mgtm to radio/select type.
* Removed 'insecure' parameter for NSXv, 'insecure = false' if ca loaded
  and vice versa
* Remove nsxv_insecure from nsxv_smoke test
* Add nsxv_metadata_initializer to enable_plugin
* Change nsxv_metadata_listen_mgmt -> nsxv_metadata_listen in test

Change-Id: I4d40ef909646284f3f7e87705e8d2463f374445d
2016-05-11 13:19:59 +00:00
Artem Savinov ab0db2e127 Increase sleep timeout for 'waiting-for-neutron-api' for CI stabilization
Deployment on the CI stand fails with an error - the neutron server does
not manage successfully start, need increase check timeout.

Change-Id: Ifefe0c3b7425ddfcfd30c5d8d947575749c913ab
2016-04-28 11:41:48 +03:00
Artem Savinov 2940fc9aff Fix warnings from code check utilites(shellcheck/flake8)
Change-Id: I7c3759639b3edca41860c1c47590237afa3e8092
2016-04-26 13:30:32 +03:00
Jenkins 1ff86077ac Merge "Add new parameters from neutron nsx plugin for Mitaka Openstack release" 2016-04-25 13:11:22 +00:00
Artem Savinov 1283768834 Add new parameters from neutron nsx plugin for Mitaka Openstack release
* Added metadata_insecure, metadata_nova_client_cert,
  metadata_nova_client_priv_key, metadata_service_allowed_ports
  parameters, metadata_initializer, nameservers

Change-Id: I6d17e090cc83f9ab22d9b62d9743d69815bd9e70
2016-04-25 14:05:32 +03:00
Artem Savinov 1051ed6607 Disable incompatible roles with NSXv
* Script adds restrictions to built-in roles, so they get hidden when
  plugin is enabled for environment. Hidden roles: compute, ironic,
  cinder, cinder-block-device

Change-Id: I9dfe7ae1abd30f3846740ebc6f102677465282af
2016-04-21 15:16:21 +00:00
Igor Zinovik 9ca370fd76 Switch LBaaS service plugin to LBaaSv2
LBaaS v2 that Neutron NSX plugin provides:
- TLS support for NSX edges
- certificate management

While here move hardcoded values from manifests into ::nsxv::params
class.

Also some style nits: align fat arrows and equation operators according
to puppet style guide (non-functional change).

DocImpact: update documentation section that shows how to use LBaaS.
Change-Id: Id1d500a6dde2b4a8b6d1fb4120341bb87f0c312a
2016-04-20 10:52:34 +03:00
Artem Savinov 0ef53ef739 Fix puppet resource to stop neutron service
Change-Id: Ia52d515b57b4aa578960854467426e6d070e680c
2016-04-14 19:57:46 +03:00
Artem Savinov cc08392248 Improvements in the neutron reconfiguration after adding new vcenter clusters
* Deleted post_deployment tasks
* Added reexecute_on for netron tasks
* Added stop neutron service to apply the new settings

Change-Id: I522b7a25f1c9fec154b6074d610ed81c4a0684d5
2016-04-13 14:20:08 +03:00
Jenkins 3f011db909 Merge "Bump plugin compatible release to mitaka-9.0" 2016-04-08 15:33:13 +00:00
Igor Zinovik dcf0f90985 Bump plugin compatible release to mitaka-9.0
* Bump plugin compatible release
* Rebuild neutron nsx plugin for mitaka
  from 7 Apr, commit 23d5d10e89e09232af8fd220daa8b979eb32cc96

Closes-bug: #1565668
Change-Id: I9f5bffb004664ae70c93bb0ffbfd84aefada820f
2016-04-07 19:09:35 +03:00
Igor Zinovik 959355f8b9 Document nova-api-metadata options
Document two options related to nova-api-metadata network configuration.
Edit labels and descriptions in environment_config.yaml. Fix typos.

Change-Id: I0089c7b5ae8ff9fc29bca80829b1c600fb845163
2016-04-05 10:22:29 +03:00
Artem Savinov b92706a012 Apply plugin best practices
* shared variables moved in class nsxv :: params
* from the module nsxv removed classes that do not use templates or
  external files(from directory "files" module)
* hiera calls from classes replaced to parameterized classes
* fix keystone auth url and neutron url for compute-vmware role
* more "cosmetic" fixes

Change-Id: I24da204d8f433439cc6f60501d479c84cd3c21c3
2016-04-04 11:45:19 +00:00
Artem Savinov 2e90bf82f2 Select listen ip for metadata server.
Metadata proxy can accsess to metadata server via:
1) Public network from routed ip(need set ip,netmask,gw)
2) Management network from routed ip(need set ip,netmask,gw)
3) Management network from management ip(automatic allocation)

* Add checkbox to choose route to metadata server via public or
  management networks.
* Add checkbox to reservation ip address in management network
  for use with NSXv metadata proxy.

Change-Id: I71675dd0871266bf6efcbbbbb2b3d2d49c4944f4
2016-03-31 14:52:24 +03:00
Artem Savinov 9ac709d4af Adapt plugin for Fuel 9.0
* Adapt tasks for work with "task base" deployment
* Changed [neutron]/timeout in nova.conf to 600s
* Changed in the method of get the cluster moref ID to search for the
  name of the cluster in a subfolder
* Added 'reexecute_on: [deploy_changes]' to post_deployment task for
  reconfiguration nsx.ini after new compute-vmware node added
* Moved post_deployment from task.yaml to deployment_tasks.yaml
* Disabled getting upsream puppet modules, replaced by the use of
  /etc/puppet/modules
* Override "neutron_qos" option to false

Related-Bug: 1560377
Change-Id: Iaf7656660a93011b0766743b1562d461fa694d67
2016-03-30 11:26:14 +03:00
Artem Savinov c9161e584e Delete not need overrides for hiera
Delete not need overrides for network_metadata and network_scheme
hiera hashes.

Closes-Bug: 1557952

Change-Id: I4b45319ffa95a70f18dbeeb79ffddeef5380ac55
2016-03-16 11:30:02 +03:00
Igor Zinovik 09a03e2355 Rename haproxy config file of nova-metadata-api
haproxy configuration file for nova-metadata-api service was renamed
from /etc/haproxy/conf.d/060-nova-metadata-api.cfg to
/etc/haproxy/conf.d/050-nova-metadata-api.cfg

Change-Id: I6e28a683bca740c359fcf7827e581333391045c6
2016-03-10 18:30:28 +03:00
Igor Zinovik 26ed7f2521 Fix complains of CI script
Change-Id: Ibf6c0416858f28844e3f7f1d2ad0113a0b152241
2016-02-10 17:08:15 +03:00
Artem Savinov ef0348db96 Added reconfigure neutron after add new vcenter cluster
* Added get vcenter cluster name from "Vmware" tab
* Added convert cluster name to morefid
* Added public/private key to controller/compute nodes
* Added script, what check and configure neutron, if need
* Added task for connect to controller from compute-vmware via ssh and
  execute neutron reconfigure script
* Update documentation

Change-Id: I0dbd6b15fc2cb1efd0de009ee79a27222fe4bab3
2016-02-05 14:01:39 +03:00
Artem Savinov 439d7a06f8 More fixes for new fuel version
* Added "skip" for new primary-* tasks(tasks for primary-controller)
* Added restrictions for hide plugin with neutron and vlan segmentation selected
* Change script to configure neutron haproxy config
* Added refresh_on for openstack-network-neutron-start task

Change-Id: I0a487ec5a81706e853a6ddcceb696fe5f4eaf7f0
2016-02-02 02:50:40 +03:00
Artem Savinov cd852c4a99 NSXv component registry
* Add NSXv component registry in fuel web
* Remove dirty hack for enable neutron with vcenter
* Fix add hiera override file in hiera config

Change-Id: I8c3a3f30e7c558ae4777d3f13066dd9f37ff7d8f
2015-12-25 00:28:10 +03:00
Jenkins 9d8344a4be Merge "Deployment process fails if user named node with non-ASCII chars" 2015-12-21 08:06:41 +00:00
Igor Zinovik da063f7b31 Enclose variable in braces to pass lint CI check
Change-Id: Ie6c15900f0a6e96ecefbfc046c269f324302baf8
2015-12-16 14:21:49 +03:00
Artem Savinov fd702a6d55 Deployment process fails if user named node with non-ASCII chars
Changes hiera override method which used 'inline_template' puppet
functions that return string in US-ASCII encoding to custom puppet
function.

Change-Id: I6385021ace5090206bb4aaa239eda429714d4cd2
Closes-bug: #1519916
2015-12-11 17:54:39 +03:00
Artem Savinov 66ae379778 Adapt plugin deployment tasks to changed Neutron deployment
* Adapt deploy nsxv neutron plugin for granular neutron deployment
* Create predifined networks/router
* Enable loadbalancer v1 support

Change-Id: I5fdf351957fddba3fa61190b251a71fb5c907d3b
2015-12-03 22:09:26 +03:00
Jenkins f1b2355fc4 Merge "Add additional parameters to plugin in Neutron NSX plugin (Liberty)" 2015-11-17 11:41:53 +00:00
Artem Savinov 5c99c7c80d Override TestVM-VMDK to use TinyCoreLinux image
* Add simple cloud-init to TinyCoreLinux image (for SSH key integration)
* Rebuild deb with TinyCoreLinux image
* Override hiera data for upload TinyCoreLinux image as 'TestVM-VMDK'

Change-Id: I464840b81a6d16f27de9bb2965762ab3017b2feb
2015-11-11 23:56:14 +03:00
Jenkins 29e6639292 Merge "Increase HAproxy timeouts for neutron backend" 2015-11-03 12:40:00 +00:00
Igor Zinovik 3dcdc484ee Increase HAproxy timeouts for neutron backend
- Introduce new deployment task that will increase server and client
  timeouts.
- Default timeout (1m) that is configured by haproxy globally for
  backends is not enough when Neutron is used with NSX plugin. For some
  actions like router and network creation it takes more that 1 minute
  to finish operation. Default value leads to 504 (Gateway timeout) that
  neutron command line client receives.

Change-Id: I03fde105a737058e312620e9eb33412902a047e7
Closes-bug: #1508971
2015-11-03 14:50:12 +03:00
Artem Savinov c28ea81fc6 Add additional parameters to plugin in Neutron NSX plugin (Liberty)
* Add new fields to environtment_config.yaml and apply new settings in
  nsx.ini template

Change-Id: I9b7f8aeb9fbc67f5e31373756d5b8ee48bde35e9
2015-10-29 14:40:59 +03:00
Artem Savinov ac7f96d72c Remove customized .deb package python-nova out of plugin and remove manifest that installs it
* Remove python-nova.deb package and remove manifest that installs it
* Remove manifest that change plugin repository settings
* Change neutron policy for liberty release from vmware plugin
* Change neutron manifests for work on liberty release

Change-Id: If0c64ae24fd63eb733550669e74cfe0cc83756db
2015-10-28 14:35:59 +03:00
Artem Savinov 9a2d2009dc Add custom glance image for Fuel NSXv plugin
* Add deb package provide tiny core linux vmdk image with preinstalled open-vm-tools
* Upload tiny core linux vmdk image to glance

Change-Id: Ie3f9cde2f7ad03381e638184639185be6c626ab1
2015-10-19 19:26:40 +03:00
Artem Savinov ec5d8fdee7 Fixed the syntax for passing the syntax validation tests
Change-Id: I1f94fac1c271ec67c94023ff09be6d8371110edd
2015-10-02 18:02:46 +03:00
Artem Savinov 33ba430aab Fix rebase
Change-Id: Ib857acc206b4fb0799d591b816ec6277fe032aa5
2015-09-30 19:25:38 +03:00
Artem Savinov 733daf12f9 Fuel plugin to install NSXv with Neutron UI in wizard
* Plugin removes restriction on 'Neutron with tunnelling' in cluster
  creation wizard
* Plugin ships two .deb packages:
  python-vmware-nsx - Neutron NSXv plugin
  python-nova - Nova package with NSXv support in nova-compute
  https://review.openstack.org/#/c/209372/
  https://review.openstack.org/#/c/209374/

For build plugin need fpb version 3.

Change-Id: If6ba42abd7aaabca7a02c45718a82c6f8ca1e5a2
2015-09-30 17:33:08 +03:00
OpenStack Project Creator 08a26260e2 Fuel NSXv plugin
Plugin allows to use Neutron with VMware NSX plugin
(https://github.com/stackforge/vmware-nsx)

General plugin workflow:
* Disable nova-network
* Reconfigure nova-compute to use Neutron as network API
* Install neutron-server
* Install custom python-nova package (contains NSXv support for
  nova-compute)

Change-Id: Ibfac2c9210208de9171d7406afe30aa96e8c20a3
2015-09-28 17:01:02 +03:00