Commit Graph

26 Commits

Author SHA1 Message Date
Ilya Shakhat 8bdb893209 Group drivers modules by type
Change-Id: Id5fab5efa5dfbe155e559256faf465b7d0b76706
2017-09-05 11:06:38 +02:00
Kyrylo Romanenko 253b66e687 [trivial] Several typos fix in tcpcloud driver
Change-Id: Ibdf42bb104fcfb499dd0a4d42a557fc7e0d8c43f
2017-06-08 16:11:06 +03:00
Anton Studenov 3beb80e0af Auth configuration for each node
This patch allows configuring separate ssh auth parameters
for each node.

Change-Id: Ib055c2f4f2eea0870ba546e873c8b544e0b29424
2017-04-25 15:32:19 +03:00
Anton Studenov 2fafe5f9b9 Add serial parameter to cloud drivers
'serial' parameter defines how many hosts Ansible should
manage at a single time.

Change-Id: I363ffda9cebd6533d58c23ba795b702b7431301d
2017-04-25 08:49:28 +00:00
Anton Studenov a5945210c6 [Core] Services as drivers
This patch move service definitions from classes to
drivers with default configurations.

* Driver are now loaded from all os_faults modules
  except tests folder.
* Registry now skips drivers without NAME.
* Registry now checks name collision.
* Added documentation for service drivers.

Change-Id: I58723bbb01a04e61836415392cf43be3e5fffff0
2017-04-17 17:20:27 +03:00
Anton Studenov f42eba7522 Add monitoring services to tcpcloud driver
Added the following services:
* elasticsearch
* grafana-server
* influxdb
* kibana
* nagios3

Change-Id: I4b9e746f01ed24d9e867432a94ae89183393679e
2017-02-15 14:14:43 +03:00
Anton Studenov 7eb1f4a038 Remove brackets from Service.GREP variables
This patch makes content of GREP variables more readable
and clear. Also it helps to protect users/developers from
missing brackets in GREP variables.

* Use `grep -v grep` to to filter grep from ps output.

Change-Id: I8455a347912d853b5245e654781f8f117d340298
2017-02-01 10:45:34 +03:00
Anton Studenov 3ddf8dda85 Add password auth to devstack and tcpcloud
* Fixed password auth in ansible executor

Change-Id: I6f2f21b3c893dc42032dba537c21c8f4bd0521dc
2017-01-27 14:02:57 +03:00
Anton Studenov 66d394be2b Add docs for drivers
* Added docstrings for all drivers
* Added sphinx extension for generation of docs for drivers.

Change-Id: I7b8dfb21f9324b413174c910384b9ae8f458a8d2
2017-01-26 19:27:41 +03:00
Anton Studenov abf60b09ca [tcpcloud] Additional configuration parameters
* Added get_ips_cmd parameter that specifies salt command
  that returns ip address of minion.
* Added slave_direct_ssh parameter that enables/disables
  using of salt master node as ssh proxy.

Change-Id: Ida4a2e0e7e549d7d9313a1c11188d38cdc49e475
Signed-off-by: Anton Studenov <astudenov@mirantis.com>
2017-01-25 16:09:57 +03:00
Anton Studenov 8bbbc75bdb Add node_list driver
* Added node_list driver that allows specifying list
  of nodes.
* Added default discovering to existing cloud drivers.
* Moved get_nodes to CloudManagment class
* Hid execute_on_master_node on tcpcloud and fuel drivers.

Change-Id: I5cd567b3afba12ad98a36474c739fa3b01ab2a8f
2017-01-23 17:20:19 +03:00
Anton Studenov 6c31641cfc Use filter in get_nodes
* Simplifies code of get_nodes for fuel and tcpcloud
  drivers.

Change-Id: I02569c55a01396cb82f13186e4f16a9daa651503
2017-01-19 17:28:38 +03:00
Anton Studenov fd7b82c7c6 Add neutron services to tcpcloud driver
Added the following services:
* neutron-dhcp-agent
* neutron-metadata-agent
* neutron-openvswitch-agent
* neutron-l3-agent

Change-Id: I0c4241b3bd8976ad49843e40ab00c4e993165cb4
2017-01-11 12:52:06 +03:00
Anton Studenov d36e9fb103 Skip monitoring nodes in TcpCloud
Change-Id: Ia15a4b286466b974c36c1170e4a06351bebbc2f9
2016-12-14 15:29:57 +03:00
Anton Studenov c7004ea52c New configuration parameters for TCPCloud driver
* Allow to configure domain names and network interface
  names for slaves on TcpCloud driver.
* Fixed test_utils.py

Change-Id: I12482e0d382c3c10427e26585277ffb454a0d9f7
2016-12-12 15:25:45 +03:00
Anton Studenov 59b2489674 Add glance-registry and cinder-backup to TcpCloud driver
Change-Id: I44bd948a5121c07649fae225abe50d48c0019524
2016-12-09 16:23:44 +03:00
Anton Studenov 5bf6b40b6e Add missing Nova serices to TcpCloud driver
Added following services:
* nova-cert
* nova-conductor
* nova-consoleauth
* nova-novncproxy

Change-Id: I99eb26e542283656a33f9c5447f322f35cff03a1
2016-12-09 15:52:03 +03:00
Anton Studenov 048687f983 Search all nodes except master on TcpCloud driver
Change-Id: I4adc391a54987cbdead415073eb9207e40f05593
2016-12-09 13:34:24 +03:00
Anton Studenov 2b33e960e1 Add neutron-server
Added neutron-server for fuel and tcpcloud drivers.

Change-Id: Ib950cc87f61f8a908c14480e5883c42e35e0a9d7
2016-11-22 18:47:16 +03:00
Jenkins 01801c3ecd Merge "Extend tcpcloud configuration" 2016-11-16 08:01:50 +00:00
Anton Studenov 6a6a8fedf3 Extend tcpcloud configuration
* Added ability to configure different user names
  for tcpcloud master and slaves.
* Added master_sudo, slave_sudo boolean options
  to enable/disable root privileges for
  master/slave nodes.

Change-Id: I423379bda4a9a012271d8afd6e03d4178052a5c9
2016-11-15 17:01:01 +03:00
Anton Studenov b135117394 Add start/terminate for all services
* Implemented start/terminate methods for all services
* Added new classes for services:
  - LinuxService
  - PcsService
  - SaltService

Change-Id: I5561b4163f24a01f5ea2107ad988b9fa6d7993a2
2016-11-15 14:51:12 +03:00
Anton Studenov 9622bc97bf horizon and cinder-volume service for TCPCloud and Fuel
* added horizon service that points to apache2 server.
* added cinder-volume.

Change-Id: I5f47bd861c1a07e83809b6518edd4c81210143cb
2016-10-31 13:55:35 +00:00
Anton Studenov fb63f50eca Add Cinder services to TCPCloud and Fuel drivers
Added services:
* cinder-api
* cinder-scheduler

Change-Id: Ib8bd2f116f15012e7c1cda9e3950842e13ac89b5
2016-10-28 16:00:34 +03:00
Anton Studenov 436d578b69 Add Services to TCPCloud driver
Added the following services:
* keystone
* memcached
* mysql
* rabbitmq
* nova-api
* glance-api
* nova-compute
* nova-scheduler
* heat-api
* heat-engine

Change-Id: I81273fdf92026fd08184c469e18751196e78c8cb
2016-10-21 18:25:05 +03:00
Anton Studenov 53ec37470a Support TCPCloud platform
Added 'tcpcloud' driver that can get list of nodes
and verify connection to the cloud.

Change-Id: I5275758b1c417f8b00c207224d0a99ea05d4ef06
2016-10-20 15:40:02 +03:00