Commit Graph

13 Commits

Author SHA1 Message Date
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
Alexander Arzhanov 1f323f5898 Add restriction for using CA certificate verification
CA certificate verification should be available only if
Bypass verification is disabled.

Some changes were made in vmware_attributes_metadata
in openstack.yaml so we have to update releases table
accordingly during upgrade.

Change-Id: Ibc1da57cfda4e732210e5eddb821856f72770dda
Closes-bug: #1616438
2016-11-11 13:11:22 +03:00
Alexander Arzhanov 0df751c75e Fix typos vc_ca_file -> vcenter_ca_file
CA file is not uploaded because we made a mistake
in name vc_ca_file.

Fix typos vc_ca_file -> vcenter_ca_file to get correct
certificate files for cinder and compute item in
orchestrator serializer.

Change-Id: I531a1d6fb7d8cf28df644f8d2301cec4f437a996
Closes-bug: #1623478
2016-09-14 16:56:49 +03:00
Elena Kosareva 7f02c12ed9 Add restriction for using CA certificate verification
CA certificate verification should be available only if
Bypass verification is disabled.

Partial-Bug: 1616438
Change-Id: Ib83210f52c7874398fcb1791e51091e05151273f
Depends-On: Id38bf7c74869fa60852ca1cb2ccaa9c63412cf64
2016-09-13 19:28:23 +03:00
Alexander Arzhanov 4ebdb70b28 Allow user upload CA bundle file for VMware
* Add field that allows user to upload CA certificate
  that emitted vCenters TLS/SSL certificate (Self-Signed certificate).
  It allow cinder-volume configured with VMwareVcVmdkDriver
  and nova-compute configured with VMwareVCDriver verify
  connection to vCenter server.

* Add checkbox "Bypass vCenter certificate verification" for
  cinder-volume, nova-compute, Glance vSphere backend.

These changes will allow the cover use cases for cinder-volume,
nova-compute and Glance vSphere backend:

1. Bypass vCenter certificate verification (default). Certificate
verification turn off. This case is useful for faster deployment
and for testing environment.

2. vCenter is using a Self-Signed certificate. In this case the
user must upload custom CA bundle file certificate.

3. vCenter server certificate was emitted by know CA (e.g. GeoTrust).
In this case user have to leave CA certificate bundle upload field empty.

Change-Id: I6a697d01d84065c8f3ed80adf409b79bc7913620
Implements: blueprint custom-ca-bundle-verify-vcenter-cert
2016-08-24 12:57:08 +03:00
Igor Zinovik 59c8b8c790 Allow user upload CA bundle file for Glance with VMware backend
Add field that allows user to upload CA certificate that emitted
vCenters TLS/SSL certificate. It allow Glance with VMware backend verify
connection to vCenter server (verification is turned on by default).
If user did not uploaded certificate then, glance will be configured
to skip verification step during connection to vCenter.

Partial-bug: #1559067
DocImpact: Document how to use 'CA file' field on VMware tab.
Change-Id: I810bc000e54b941018a1190acb26d33150b74ce0
2016-04-12 09:05:04 +00:00
Andriy Popovych 9a2f70a131 Support for compute-vmware
New role 'compute-vmware' was introduced. Also vmware deployment
serializer is changed for supporting 'target-node'

Implements: blueprint compute-vmware-role
Change-Id: I4e35f2e980737a0e64abbba585e2f2aaaa3f27c3
2015-07-22 19:21:21 +03:00
Aniket Anikhindi d19631c3a0 Fix typo in "Settings->VMware" tab
Corrected "VSphere" to "vSphere" in "Settings->VMware" tab.

Author: Aniket Anikhindi

Change-Id: Ieed10cb42d0242e12bca5c14ee83d59e9ef944fe
DocImpact:
Closes-Bug: #1457899
2015-06-30 19:39:24 +05:30
Igor Zinovik 3ef6dc0ef5 Replace all occurrences of $ with $$ in vCenter input values
- OpenStack services may reference to previously defined variable in
  configuration files using $ (dollar sign), e.g. 'metadata_host =
  $my_ip'.  Interpolation can be avoided by using $$.  Passwords often
  contain metachars and $ is one of them.  We must replace all $
  occurrences with $$, otherwise service will fail to start because it
  cannot interpolate non-existing variable.
- add static method escape_dollar() to VMwareDeploymentSerializerMixin
  class that implements conversion
- also handle username and regular expression that is used for datastore
  search
- provide input values with '$' in test fixture vmware_attributes.json
- modify integration test

Change-Id: I0d7d9f2d7f0ccaa3310c865a7f467c377c067442
Closes-bug: #1436083
2015-05-05 16:04:06 +03:00
Igor Gajsin b4aa38db9c update cinder-vmware tests
There was checkbox "Cinder" on VMware tab which was removed on
https://review.openstack.org/#/c/169830/ and deployment serializer
was changed on https://review.openstack.org/#/c/171575/.

The patch-set reflects this changes.

Change-Id: I0245e467642f7bdd9253cfa62e89ffe9f333075b
Closes-bug: 1441618
2015-04-09 12:38:39 +03:00
Andriy Popovych 951b1aaa5a Implements validation for attributes
* provides implementation for checking
  restrictions which behavior desribed in openstack.yaml
  file for attributes and vmware_attribute on nailgun side.
* pre-deployment checking for vmware consistency

Change-Id: I2124bbf3fd8d2f7fd586c9859f63b169354b8ad7
2015-03-31 16:27:38 +03:00
Andriy Popovych bcc498794f Fix in vmware serialization for multi-role node
* fix in deployment serialization for multi-role node
  * fix dc and ds for glance
  * deny access to default vmware attributes when cluster
    doesn't support vmware configuration

Closes-Bug: #1431333
Change-Id: Ieabdd1b2c74c66dbea72e1bb4a97921a312e009e
2015-03-24 15:57:39 +02:00
Andriy Popovych a567e13c24 Implementation of vmware Settings on nailgun side
- New entity vmwareAttributes added
  - Basic deployment serializer

Implements: blueprint vmware-ui-settings

Change-Id: I17ba8f8535498263333fa47d6283433ea4d6c509
2015-02-11 15:42:59 +02:00