Commit Graph

64 Commits

Author SHA1 Message Date
Andreas Jaeger eb9df14f25 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: I43bcda1c9154fc091ddc957175b68649295b67f7
2019-12-18 20:14:55 +01:00
Igor Gajsin aa23019b33 fix custom hostname
The l2.pp makes mistakes when finds neutron node if node has custom
nodename. Fix it.

Change-Id: I4cb984b760b056a5ab2583bcf6d44d4a8c385e8a
Closes-bug: #1590403
2017-01-10 12:55:16 +03:00
Igor Gajsin 0e54ab7b1b Change plugin to support 9.2
There is few changes in the MOS 9.2. So plugin should be changed too.

Change-Id: I7080934a164c2abf5b71b18d0fbda52f5d46b552
Closes-bug: #1644861
2016-12-08 18:05:08 +03:00
Igor Gajsin b19b88653d Fix the bug that prevent assign 2 Cluster to one controller
In some cases Ruby uses pointer instead of copying something for
optimization. But it allows to side effects. It was cause of that bug.
After cloning one variable by var.dup the problem was fixed.

Change-Id: Ide58c184f4cb9b655e11a13afb8c05bfc5149ab9
Closes-bug: #1625092
2016-09-20 15:35:08 +03:00
Igor Gajsin bd01b39922 add multiple uplinks support
The network and uplink mapping now should be set in the new format:
a) Multiple strings each for one cluster in a textarea item;
b) Uplinks-mapping is optional
c) possible data is:
   1. Cluster:VDS
   2. Cluster:VDS:TU1;TU2;TU3
   3. Cluster:VDS:TU1;TU2:FU3;FU4
where TU -- teaming uplink,
      FU -- fallback uplink,
      there is no limitation for amount of uplinks,
      uplinks shoud be splitted by ';'

Change-Id: Ibf40675bb048a15a70157598931fae211da04edb
2016-09-14 11:53:31 +00:00
Alexander Arzhanov 0c8903f5b9 Fix the bug with neutron timeout and rework code
- Fixed the bug with neutron timeout
- Removed unused code
- Fix typos, etc

Change-Id: I4159c8e132b445b2d00a5533597e74cc1d67255f
Closes-bug: #1621778
2016-09-09 11:17:45 +03:00
Alexander Arzhanov 5b7daa02e7 Support custom CA bundle
- Update driver
- Add support in templates and manifests. Agent will get CA from vcenter
  computes hash.

Change-Id: Ic41d93b95aa9f163284492da60c64e27e1de5c92
Implements: blueprint custom-ca-bundle-verify-vcenter-cert
2016-08-31 14:16:39 +03:00
Vyacheslav Tabolin 433eeac5a2 Nova.patch update for support DVS/PG IDs for VIFs
Change-Id: I1691b6f8d3b173fd7044681943346b734770e8f7
2016-08-12 10:01:15 +00:00
Igor Gajsin 299cccbd0c using networking-vsphere as the driver
Change-Id: I328bfdf6f4f8d096998998e18eaec8e5a4569dac
2016-08-11 14:16:18 +03:00
Igor Gajsin f0f226e8a6 set enable_security_group
When an user doesn't set the 'Use the VMware DVS firewall driver'
checkbox, the parameter enable_security_group should be false.

Closes-bug: #1597240
Change-Id: I33cb22713e98bf6a8515403c9d0e5a7a6d9990af
2016-06-29 18:55:33 +03:00
Igor Gajsin 2a09b8afa8 Improve idempotance of the agent task
Sometimes after removing a controller node from environment the
corosync resource for dvs agent becomes in error state where that
resource nowhere can be launched. Interesting that it never happens
for new resources.

That fix added deletion existed resource. Thus the problem reduces to
the previous.

Change-Id: I89c14af7f34406679a55751143f91fa12a33955b
Closes-bug: #1596487
2016-06-27 17:42:07 +03:00
Igor Gajsin 0ef7ee57d9 Make the dvs-agent stronger
Add few options to dvs-agent's init for restarting it after death of
the agent.

Closes-bug: #1584787
Change-Id: I0f86395c3f10c1807793d05709c0a68f2c1a3537
2016-06-22 19:24:35 +03:00
Igor Gajsin 8e25a8579d Fix the bug with custom hostname
There is the task openstack-network-plugins-l2 that works unwell with
environments with custom hostnames. The root of problem is incorrect
detection of neutron nodes. Unfortuantely it happens in core task and
for fixing that task should be replaced.

Change-Id: I663960befa4cfa82348b231728722d774482fb4e
Closes-bug: #1590403
2016-06-21 16:04:29 +03:00
Igor Gajsin e0f03b5262 Remove commented line from agent.pp
Because huge massive of commented line looks ugly.

Change-Id: I46e63798a6743618ac667bbedd43fe03ae77ea26
2016-06-09 17:10:44 +03:00
Igor Gajsin f414e4d056 Remove spaces from netmaps line
An user can write network mapping line with spaces. Remove that spaces.
Closes-bug: #1589589

Change-Id: I1eb4e3554773ccebe82715a77cdb885f21b3cb0f
2016-06-06 19:38:45 +03:00
Jenkins fd04abd7bc Merge "Fix tests and flake8 issues." 2016-03-30 15:58:45 +00:00
Igor Gajsin 7ae0e0979e auth_api_version = v3
Compute-vmware nodes use obsolete version of prototcol for auth.
Set v3 instead v2.0

Change-Id: I20dd663101d7635ec69aa404f20b10b3e10cfa4d
Closes-bug: #1563374
2016-03-29 19:23:59 +03:00
Igor Gajsin c086258530 initial work for support Fuel 9.0
Change-Id: I6ea8294c8ab783fffa15e8d1c2a218dbbcd6c2ba
2016-03-25 14:55:43 +03:00
otsvigun 5b65862cdc Fix tests and flake8 issues.
-fix flake8 issues
-fix smoke test
-fix dvs_vcenter_security test

Change-Id: If10cfb5f26aa386cee034335af6a6bc1648d3cad
2016-03-24 17:29:30 +02:00
Igor Gajsin 00a7601d53 add explicit restart nova-compute in post_deployment stage
Closes-bug: #1557980

Change-Id: Iec77d268b2157de6951d52c09fb5bcc2628bc827
2016-03-17 16:47:47 +03:00
Igor Gajsin 7c7ae2b96a Simplify manifests
Installation the VMware_dvs driver to /usr/bin and
/usr/lib/python2.7/dist-packages provides simplifying manifests,
removes some stuff and reduces amount of actions.

Also by prebuild hook the fuel plugin builder will build and put in the
plugin the latest verstion of driver from github repo.

Change-Id: I548f4a6d0ac4b4725befb27e812546333833a8d9
2016-02-25 15:44:40 +03:00
Igor Gajsin 3f2c585981 Plugin's changes wich follows from driver changes
Change-Id: I69d025216eb815bba2fb57384d8f74f5acd5ffd0
2016-02-20 17:08:22 +03:00
Igor Gajsin 314ba749e9 fix the get_agents_data function
This function works incorrectly where several VMware clusters
are assigned to a controller node. Fix that mistake.

Change-Id: Ied22cd3927920299cd1ba870d42cf8486d07d281
2016-02-12 13:48:46 +03:00
Igor Gajsin a8f0d55e19 Fix the /usr/local/bin/neutron-dvs-agent file
By default driver considers wrong neutron-dvs-agent file.
This commit fix that in-place. More rigth way is fix that file
in the driver. I'm going to do it sometimes later.

Change-Id: If4225b198492b495509746fe4a635b1d28a1d25f
2016-02-11 15:22:35 +03:00
Igor Gajsin d4f384373b add the use-firewall-driver checkbox
Change-Id: I3b7cbcdd0705d2abaadb45a05c72799e280768d2
2016-02-10 18:36:36 +03:00
Jenkins 3a32bd1a9c Merge "Launch agent via corosync on controllers" 2016-02-08 15:11:46 +00:00
Igor Gajsin 407f2ab53d Launch agent via corosync on controllers
dvs agent on controller should be launched under corosync.
Add this functionality.

Change-Id: I4d21666822552eea37ad4b4c9558ca4fdbe5deec
2016-02-05 19:06:31 +03:00
Vyacheslav Tabolin 5ac3f379d9 Increase portability for add_hyperv_type.
API uses image ID instead of image name.

Change-Id: I72f297ac927884b93da820bf491b525504e8db3f
(cherry picked from commit 2273ee1934)
2016-02-03 16:02:55 +00:00
Igor Gajsin 5d53a641f6 refactoring manifests
Do it more granular and clear. Remove useless and redundant things.
Add new task.

Change-Id: I0c218cf373f2d85dd3e57533d3780036312d4aae
2016-01-27 14:32:34 +03:00
Igor Gajsin 5101dfee17 PoC of new version vmware dvs plugin for Fuel 8.0
The new agent-based neutron ml2 driver makes deployment process more
granular and complicated. Add new task and  new manifests for setup
and configure agents.

Change-Id: Ibf264640718e21dd02f43e0a755ace994fee5693
2015-12-29 01:19:46 +03:00
Igor Gajsin 3df1f544af set the path parameter into exec apply-nova-patch resource
There is the aply-nova-patch resource which patch some files. Due to
unknow reason it works on controller and does not work on
compute-vmware when the path parameter is not specified. This commit
add path in both cases.

Change-Id: Ie34c068a203dc78d1eacd799102a9107c4048d68
Closes-bug: #1526691
2015-12-16 14:12:36 +03:00
Igor Gajsin 44e7777a5d patch nova on compute-vmware node
There is the patch for nova which collects port numbers. This putch
shud be on the same node where nova-compute process works.

Add this patch.

Change-Id: I379a4fae00bb1b4b0e41d769b2747781d5abd423
2015-12-15 18:15:45 +03:00
Igor Gajsin 025d9975cc Add task to the deployment graph for the compute-vmware role.
Add manifest which will configure nova on compute-vmware nodes.

Change-Id: Ia28c3cb58db0dbc5e1c7d078c7a01240afb32e81
2015-12-11 14:30:32 +03:00
Igor Gajsin 7bde6e4335 Fix some issue to make plugin ready for 8.0
There are some changes in this patch-set:
1. remove task which brokes deploy with compute-vmware
2. replace bringing full files vif.py and vm_util.py to aplly the patch
3. according changes for new network data scheme
4. new driver.

Change-Id: Ide36c894d5122d97a5bee591502b5c146c0b1fc8
2015-11-26 18:24:31 +03:00
Igor Gajsin 9a1b486555 Change plugin for adoptation to Fuel 8.0
Initial support of Fuel 8.0. Change metadata and other stuff.
Completed according changes for support new, granularted neutron tasks

Change-Id: Id8580ef4a00cbc1d185bcb3da60c7f54e3bb2c67
2015-11-12 19:24:13 +03:00
Igor Gajsin 7ac749632a Set url_timeout in nova.conf
The name of parameter was changed from neutron_url_timeout in 6.1 to
url_timeout in Fuel 7.0. It requires some changes in the deployment
script.

Change-Id: I63a50bae1793d8b938c9dc525733064c95467d96
2015-10-27 19:03:02 +03:00
Vyacheslav Tabolin 92ad73719f Update property hypervisor_type to images TestVM & TestVM-VMDK
Closes #1506437 : OSTF 'Update stack actions: inplace, replace and update whole template'

Change-Id: I8500186943c5d8e3b628b8099738fc7da2e8b3d7
2015-10-19 15:55:54 +00:00
Oleksandr Martsyniuk 1623ad4134 Nova-related plugin routines updated
Now nova-compute service is managed only on vmware-compute nodes.

Change-Id: Iefef678acecb58527afd4aff47ef8b24d29ac8ae
Closes-bug: 1506400
2015-10-15 13:36:47 +03:00
Oleksandr Martsyniuk 152cf6a541 Deployment tasks added for vmware-compute nodes
- dvs-related nova patch applied
- openstack-network-compute task added

Change-Id: Ia8e2f56a493ef4a26ce9c36893b253439c0985c3
2015-10-13 15:42:31 +03:00
Jenkins d95a150d69 Merge "set vlan_id for net04" 2015-10-08 10:57:34 +00:00
Igor Gajsin f84943fcf4 Fix detector of primary controller's role.
hiera('primary_controller') doesn't work for primary controller when it
has other role.

Check presents /etc/primary-controller.yaml works correctly.

Change-Id: Ie4e144d7d0456c89c0740d91edca8c2bdc560d3e
Closes-bug: 1504047
(cherry picked from commit bb388d179c)
2015-10-08 10:42:07 +00:00
Vyacheslav Tabolin 701bd7fcbf set vlan_id for net04
Change-Id: Iebbe3364ec556c0c362828a431651c7d35e5cacd
Closes-Bug: 1494151
2015-10-07 16:26:10 +00:00
Oleksandr Martsyniuk 065598241a Driver install routines updated to use OS packages
Change-Id: I587d875f531a65029ec62582e7bd163daf922b1d
2015-10-07 17:12:09 +03:00
Oleksandr Martsyniuk d7bef0dfa1 Typo fix for pip package URL
Change-Id: Id422816ae0a57de7476916f2e6b09eb5b5837715
2015-10-02 17:45:37 +03:00
Oleksandr Martsyniuk ade7a7abf2 Puppet routines for installing pip packages updated
Change-Id: Iaab43fa40d26fa505674e17fbff4145ba13b2f86
2015-10-02 15:20:22 +03:00
Oleksandr Martsyniuk 691ec5052f Changes for Fuel 7.0 and FPB 3.0
- plugin metadata updated
- nailgun patch routines added
- neutron puppet manifest updated

Change-Id: I4b09c2ebd78f9759cf9d76fa7d90d6d06a2cf91d
2015-10-01 12:44:33 +03:00
Igor Gajsin 4ee736d42c fix notification_topics value for ceilometer
This commit provides more precision version of value for parameter
notification_topics in neutron.conf file.

Сloses-Bug: #1484029

Change-Id: Iff3540d5ba29de83c28ea271e7163b2e03bea796
2015-09-16 13:37:20 +03:00
Igor Gajsin 2fbd880cbd add the _restart_crm_resource function
Change-Id: Iafe481ba9e8270e7356f7869346db54ea184a9fd
2015-08-28 15:05:02 +03:00
Igor Gajsin e7f7323c99 del check for primary_controller
Network creation was described under if $primary_controller
condition. But when primary controller has additional role
(cinder-vmware for example) on stage of plugin deployment astute.yaml
linked to cinder-vmware.yaml where primary_cotroller == false for each
cases. For this reason net04 never created.

Deletion of this checking fix this bug.

Change-Id: I1fc914d3b09f2ef2683d2b82fcf318a69913a920
2015-08-25 11:58:18 +03:00
Igor Gajsin 9deb9d177a Provide launch several vms simultaneously.
There was a bug 1481071 which was fixed on driver side. This patch-set
does corresponding changes on the plugin level.

Change-Id: I7268c3201664190a086d69615c66309ac020e620
2015-08-18 19:45:36 +03:00