Optionally make dynamic vendordata failures fatal.
Some operators would like instance starts to fail if we cannot fetch dynamic vendordata. Add an option to do that. Change-Id: I0c31465c5c52cd4c7e4bb229a4452bc4c8df0e88
This commit is contained in:
parent
04cf926a76
commit
e0b3573049
@ -103,6 +103,7 @@ Related options:
|
||||
* vendordata_dynamic_ssl_certfile
|
||||
* vendordata_dynamic_connect_timeout
|
||||
* vendordata_dynamic_read_timeout
|
||||
* vendordata_dynamic_failure_fatal
|
||||
"""),
|
||||
cfg.ListOpt('vendordata_dynamic_targets',
|
||||
default=[],
|
||||
@ -132,6 +133,7 @@ Related options:
|
||||
* vendordata_dynamic_targets
|
||||
* vendordata_dynamic_connect_timeout
|
||||
* vendordata_dynamic_read_timeout
|
||||
* vendordata_dynamic_failure_fatal
|
||||
"""),
|
||||
cfg.IntOpt('vendordata_dynamic_connect_timeout',
|
||||
default=5,
|
||||
@ -152,6 +154,7 @@ Related options:
|
||||
* vendordata_dynamic_targets
|
||||
* vendordata_dynamic_ssl_certfile
|
||||
* vendordata_dynamic_read_timeout
|
||||
* vendordata_dynamic_failure_fatal
|
||||
"""),
|
||||
cfg.IntOpt('vendordata_dynamic_read_timeout',
|
||||
default=5,
|
||||
@ -171,6 +174,20 @@ Related options:
|
||||
* vendordata_dynamic_targets
|
||||
* vendordata_dynamic_ssl_certfile
|
||||
* vendordata_dynamic_connect_timeout
|
||||
* vendordata_dynamic_failure_fatal
|
||||
"""),
|
||||
cfg.BoolOpt('vendordata_dynamic_failure_fatal',
|
||||
default=False,
|
||||
help="""
|
||||
Should failures to fetch dynamic vendordata be fatal to instance boot?
|
||||
|
||||
Related options:
|
||||
|
||||
* vendordata_providers
|
||||
* vendordata_dynamic_targets
|
||||
* vendordata_dynamic_ssl_certfile
|
||||
* vendordata_dynamic_connect_timeout
|
||||
* vendordata_dynamic_read_timeout
|
||||
"""),
|
||||
cfg.IntOpt("metadata_cache_expiration",
|
||||
default=15,
|
||||
|
Loading…
Reference in New Issue
Block a user