Merge "Create Swift directory d1 if required"
This commit is contained in:
commit
15b279f4ce
|
@ -57,6 +57,10 @@ parameters:
|
|||
default: auto
|
||||
description: Number of workers for Swift account service.
|
||||
type: string
|
||||
SwiftUseLocalDir:
|
||||
default: true
|
||||
description: 'Use a local directory for Swift storage services when building rings'
|
||||
type: boolean
|
||||
|
||||
# DEPRECATED options for compatibility with overcloud.yaml
|
||||
# This should be removed and manipulation of the ControllerServices list
|
||||
|
@ -105,6 +109,7 @@ outputs:
|
|||
- get_attr: [SwiftBase, role_data, config_settings]
|
||||
- swift::storage::all::mount_check: {if: [swift_mount_check, true, false]}
|
||||
tripleo::profile::base::swift::storage::enable_swift_storage: {get_param: ControllerEnableSwiftStorage}
|
||||
tripleo::profile::base::swift::storage::use_local_dir: {get_param: SwiftUseLocalDir}
|
||||
tripleo.swift_storage.firewall_rules:
|
||||
'123 swift storage':
|
||||
dport:
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
fixes:
|
||||
Swift added a requirement to ensure that storage directories exist before
|
||||
using them. However, when local directories are used in Tripleo (storing
|
||||
data in /srv/node/d1), these are missing by default and thus Swift won't
|
||||
store any data. This fix creates this directory if needed.
|
Loading…
Reference in New Issue