'prefixlen' argument is absent for 'subnet' method in 'change_public_vip' test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Andrey Sledzinskiy |
Bug Description
Detailed bug description:
'prefixlen' argument is absent for 'subnet' method in 'change_public_vip' test
File: fuel-qa/
string: 76
Found on CI:
https:/
Test: Deploy cluster with public vip manually set
Test Group: change_public_vip
Steps to reproduce:
1. Create cluster
2. Add 1 node with controller role
3. Add 1 node with compute role and 1 cinder node
4. Change public vip value to ip address from public range
Expected results:
Test is passed
Actual result:
Test is failed with error:
TypeError: subnet() takes at least 2 arguments (1 given)
Description of the environment:
9.1 snapshot #93
FUEL_QA_
https:/
tags: | added: fuel-qa |
tags: |
added: area-qa removed: fuel-qa |
Changed in fuel: | |
assignee: | nobody → Fuel QA Team (fuel-qa) |
Changed in fuel: | |
milestone: | none → 9.1 |
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
tags: | added: on-verification |
@Andrey, please, explain why we use [0][5]. Does it mean 5th IP in first subnet? What is a preferred prefix?
self. env.d_env. get_network( name='public' ).ip.subnet( )[0][5] )
ip_to_set = str(