Fix the password check description
1. Fix the password check description 2. adjust the import order Change-Id: I6e92201b11a41ecf79b006476d858d21736401a1
This commit is contained in:
parent
88479db8cf
commit
c60e03eb2d
|
@ -102,7 +102,7 @@ class KollaAction(object):
|
|||
empty_keys = get_empty_password_values()
|
||||
if empty_keys:
|
||||
raise InvalidConfiguration(
|
||||
u._('Deploy failed. There are empty password values '
|
||||
u._('password check failed. There are empty password values '
|
||||
'in {etc}passwords.yml. '
|
||||
'Please run kolla-cli password init or '
|
||||
'kolla-cli password set(key) to correct them. '
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
import os
|
||||
|
||||
import kolla_cli.i18n as u
|
||||
import os
|
||||
|
||||
from kolla_cli.api.exceptions import FailedOperation
|
||||
from kolla_cli.common import utils
|
||||
import kolla_cli.i18n as u
|
||||
|
||||
PWDS_FILENAME = 'passwords.yml'
|
||||
|
||||
|
|
|
@ -11,13 +11,12 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
import logging
|
||||
import os
|
||||
import yaml
|
||||
|
||||
import kolla_cli.i18n as u
|
||||
|
||||
from kolla_cli.api.exceptions import NotInInventory
|
||||
from kolla_cli.common.inventory import Inventory
|
||||
from kolla_cli.common.utils import change_property
|
||||
|
@ -25,6 +24,7 @@ from kolla_cli.common.utils import get_group_vars_dir
|
|||
from kolla_cli.common.utils import get_host_vars_dir
|
||||
from kolla_cli.common.utils import get_kolla_ansible_home
|
||||
from kolla_cli.common.utils import sync_read_file
|
||||
import kolla_cli.i18n as u
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
from copy import copy
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue