Commit Graph

9 Commits

Author SHA1 Message Date
Harry Rybacki c9299d5c37 Add configurable delay to connection rety attempts with IPA
Presently, when novajoin fails to make a connection with the IPA
server, for any reason, it will immediately re-attempt to make
the connection when the backoff is unset (it is off by default).
As a result, any timing related issues could be the source of
the connection issues will likely result in no connection at all.

This change adds a new configuration option, retry_delay, which
will halt subsequent connection attempts for N seconds where N
is the retry_delay. By default this is set to 5 seconds, mirroring
internal ipalib behavior[1].

[1] - https://github.com/freeipa/freeipa/blob/master/ipalib/install/kinit.py#L29-L30

Change-Id: Iec96e4bd6643c0a657c8db424cc72deb10f170bd
2019-10-21 10:21:51 -04:00
Grzegorz Grasza 609f6e2b2b Support versioned notifications
Support nova versioned notifications. Unversioned notifications
are still supported and the default. The CI is configured to test
versioned notifications, and both implementations use the same methods.
Because of this, testing versioned notifications also covers
unversioned notifications, since the execution path flows through both.

Change-Id: If028afa9e9fbcb344786cd287605e0d9af5d3c01
2018-11-26 10:57:26 +01:00
Grzegorz Grasza fe72231faa Test OpenStack server instance enrollment
A basic test to check that a spawned instance
will be added to and than deleted from FreeIPA.
This also fixes the novajoin-install script to
work by default on devstack.

Change-Id: Id7e940360ade74d605fef9004c6a5454790c55a4
2018-11-20 20:01:06 +01:00
Grzegorz Grasza 47ce2f7136 Add functional tests to CI
Change-Id: I74f74e57f8a908f57d6b63d381b7e3af3d08e711
2018-11-20 20:01:01 +01:00
Grzegorz Grasza 58b5fe7895 Fix README so that the test-release-openstack check passes
Change-Id: Ifeb45a9e9273863fdbb23585e04e031c1a2cf88b
2018-11-09 19:32:12 +01:00
shangxiaobj 038e17027d [Trivialfix]Fix typos
Fix the typo in README.

Change-Id: I6194ab2bd0cd7b3c0df70c70ae52690bf1ce5265
2017-08-28 19:11:36 -07:00
Rob Crittenden bba56a53be Update README to mention that Pike+ is needed for OOOQ, add Packstack
Add a section on installing with Packstack.

Add a few other tweaks here and there.

Change-Id: I99d2ce3fc0905fc7e96de4a7f8e4e5f515945f76
2017-08-22 15:07:18 -04:00
Juan Antonio Osorio Robles d55333ea02 Use novajoin-specific directory for configurations
This will allow us to stop depending on openstack-nova-common and to
containerize easier.

Change-Id: I4c402ecd558634ebeaeae34b134083512628025d
2017-05-23 14:20:13 +03:00
Juan Antonio Osorio Robles b5f5ad703f Add README to docs and use rst format for it
In order to add the README to the docs, the format was moved from
markdown to rst; and some fixes were done to it.

Change-Id: Ic1337fcadaa344128dd89cd2b5b9db90f3ac7603
2017-03-29 16:19:25 +03:00