This updates a warning string and the release notes for the
IRONICCLIENT_CACHE_EXPIRY environment variable feature.
This is a follow-on to I2bc77c64b764f6c22574a30b0e5af4ca6feff29f.
Change-Id: I6db04a2c93997e594cf6d6c967fe718fc902a79b
As part of the Newton midcycle, it was discussed that it might
be nice to be able to specify the version cache timeout value
via an environment variable, rather than the current hard-coded
value.
Fixes-bug: #1596734
Change-Id: I2bc77c64b764f6c22574a30b0e5af4ca6feff29f
The internal cache (common.filecache) uses dogpile.cache's dbm backend,
which uses the bsddb package from the standardlib (in py2 only). bsddb
however breaks with a TypeError if the cache key is a unicode string.
This change fixes this by using the ``key_mangler`` arg on cache
creation, which (according to the dogpile.cache docs) is to be used with
dbm/bsddb.
Change-Id: Ie4911e31567d773357da99af3ded0548ad0b7db1
Closes-Bug: #1492205
If we negotiate an API microversion in the ironiccclient, cache
this value so that we don't need to re-negotiate it again for the
next API call, if the user doesn't specify a version.
We cache the version for a particular ironic instance in a
temporary file, one per server, in a multi-user, multi-server
safe-way - deleting old files once they expire, so only the
latest is kept.
Depends-On: Icb29fdc92ecd54e388b7c16899070572458308da
Change-Id: I0232bc611789fb96491d855020042e23ba0c4fab
Blueprint: version-caching