Check for network verification status before deployment

Registered by Vitaly Kramskikh

We need to warn the user if network verification hasn't been perfromed or ended with error when he attempts to start deployment.

A new field "network_check_status" should be added to Cluster API. It should have 3 possible values: passed, failed and not_performed (default).

This field should be set by nailgun internally when some actions are performed:
1) The value should become "passed" when network check successfully passes
2) The value should become "failed" when network check fails
3) The value should become "not_performed" when current network verification status becomes invalid: in case of adding a new node, changing network settings, chaning interface configuration on one or more nodes, etc.
4) This field can also be set to "not_performed" directly by client (UI) when the user starts to edit configuration (discussable)

This field should NOT change its value when unsaved network settings are checked (clicking Verify Networks button without clicking Save Changes first)

Blueprint information

Status:
Complete
Approver:
Vitaly Kramskikh
Priority:
Medium
Drafter:
Vitaly Kramskikh
Direction:
Needs approval
Assignee:
Vitaly Kramskikh
Definition:
Approved
Series goal:
Accepted for 6.1.x
Implementation:
Implemented
Milestone target:
milestone icon 6.1
Started by
Vitaly Kramskikh
Completed by
Vitaly Kramskikh

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/check-network-before-deployment,n,z

Addressed by: https://review.openstack.org/153556
    Network check status flag added to cluster

Gerrit topic: https://review.openstack.org/#q,topic:bug/1418985,n,z

Gerrit topic: https://review.openstack.org/#q,topic:ui_netw_verification,n,z

Addressed by: https://review.openstack.org/153962
    Frontend part for verification tasks change

Addressed by: https://review.openstack.org/160797
    Fixes for networks verification warning messages

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.