Nicolas Vazquez created CLOUDSTACK-10150:
--------------------------------------------

             Summary: Value of 'Restart required' for networks
                 Key: CLOUDSTACK-10150
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10150
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.9.1.0
            Reporter: Nicolas Vazquez


This issue was found on version 4.9.1.0.

There are few cases in which 'restart_required' is used:
a. Network implementation: 'restart_required' set to false
b. On network restart failure using cleanup flag: 'restart_required' is set to 
true
c. On successful network restart: 'restart_required' is set to true

Upon these 3 cases, actual behavior indicates that:
- 'restart_required' value is indicating whether a network failed restarting or 
it has been restarted at least once.
- Once it has been set to true it cannot be set to false under regular usage 
(only for isolated networks on exception during internal state machine 
transition 
https://github.com/apache/cloudstack/blob/4.9.1.0/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java#L2187)
- Case c. seems to be corrupting expected behavior of this value
- No usage of 'restart_required' value was found, not clear what it is intented 
to do



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to