This should fix the failing (but non-voting) postgres gate tests.
Why does postgresql change the value '0.0.0.0/00' to '0.0.0.0/0'?
Clearly the correct value for the network CIDR bits is with only
one zero but even an incorrect value shouldn't be changing.
SQLalchemy is given this for the column:
Column('cidr', String(length=255)),
Change-Id: Ib19dad23789654664e90518087e5a462fa8b8034
| ... | ... |
@@ -48,7 +48,7 @@ nova secgroup-create $SEC_GROUP_NAME 'a test security group' |
| 48 | 48 |
RULES_TO_ADD=( 22 3389 5900 ) |
| 49 | 49 |
|
| 50 | 50 |
for RULE in "${RULES_TO_ADD[@]}"; do
|
| 51 |
- nova secgroup-add-rule $SEC_GROUP_NAME tcp $RULE $RULE 0.0.0.0/00 |
|
| 51 |
+ nova secgroup-add-rule $SEC_GROUP_NAME tcp $RULE $RULE 0.0.0.0/0 |
|
| 52 | 52 |
done |
| 53 | 53 |
|
| 54 | 54 |
# Check to make sure rules were added |
| ... | ... |
@@ -63,7 +63,7 @@ done |
| 63 | 63 |
|
| 64 | 64 |
# Delete rules and secgroup |
| 65 | 65 |
for RULE in "${RULES_TO_ADD[@]}"; do
|
| 66 |
- nova secgroup-delete-rule $SEC_GROUP_NAME tcp $RULE $RULE 0.0.0.0/00 |
|
| 66 |
+ nova secgroup-delete-rule $SEC_GROUP_NAME tcp $RULE $RULE 0.0.0.0/0 |
|
| 67 | 67 |
done |
| 68 | 68 |
nova secgroup-delete $SEC_GROUP_NAME |
| 69 | 69 |
|