Skip to content

Commit

Permalink
Fix create_control_server error
Browse files Browse the repository at this point in the history
Signed-off-by: XiaoMei Zheng <xmzheng@cn.ibm.com>
  • Loading branch information
zhengxiaomei123 committed Oct 25, 2022
1 parent e7af049 commit 2e45182
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
- vm_type == "kvm"
register: create_master
failed_when:
- '"failed: [localhost]" in create_master'
- '"ok: [localhost]" not in create_master'
- '"skipping: [localhost]" not in create_master'
- '"ValueError: dictionary update sequence element #0 has length 1; 2 is required" not in create_master'


Expand Down Expand Up @@ -121,7 +122,8 @@
- vm_type == "zvm"
register: create_master
failed_when:
- '"failed: [localhost]" in create_master'
- '"ok: [localhost]" not in create_master'
- '"skipping: [localhost]" not in create_master'
- '"ValueError: dictionary update sequence element #0 has length 1; 2 is required" not in create_master'

- name: 'Convert master flavor from value into number'
Expand Down Expand Up @@ -161,7 +163,8 @@
- volume_type_id is not defined
register: create_master
failed_when:
- '"failed: [localhost]" in create_master'
- '"ok: [localhost]" not in create_master'
- '"skipping: [localhost]" not in create_master'
- '"ValueError: dictionary update sequence element #0 has length 1; 2 is required" not in create_master'

- name: Create control boot volume
Expand Down

0 comments on commit 2e45182

Please sign in to comment.