Astute can refuse connection in any actions - Connection refused - connect(2)

Bug #1674942 reported by Ilya Bumarskov
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel QA Team

Bug Description

Fuel 10 build #1501

Scenario:
            1. Create cluster in Ha mode with 1 controller
            2. Add 1 node with controller role
            3. Add 1 node with compute role
            4. Verify network
            5. Deploy cluster
            6. Reset settings <- This step is failed
            7. Update net
            8. Re-deploy cluster
            9. Verify network
            10. Run OSTF

Actual result:
Task 'reset_environment' has incorrect status. error != ready, 'Method reset_environment. Connection refused - connect(2). Inspect Astute logs for the details'.

Astute logs:
2017-03-21 23:15:58 ERROR [17143] Error running RPC method reset_environment: Connection refused - connect(2), trace:
["/usr/share/ruby/net/http.rb:878:in `initialize'",
 "/usr/share/ruby/net/http.rb:878:in `open'",
 "/usr/share/ruby/net/http.rb:878:in `block in connect'",
 "/usr/share/ruby/timeout.rb:66:in `timeout'",
 "/usr/share/ruby/net/http.rb:877:in `connect'",
 "/usr/share/ruby/net/http.rb:862:in `do_start'",
 "/usr/share/ruby/net/http.rb:857:in `start'",
 "/usr/share/ruby/xmlrpc/client.rb:472:in `do_rpc'",
 "/usr/share/ruby/xmlrpc/client.rb:279:in `call2'",
 "/usr/share/ruby/xmlrpc/client.rb:260:in `call'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/cobbler.rb:47:in `token'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/cobbler.rb:116:in `sync'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/cobbler_manager.rb:249:in `sync'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/cobbler_manager.rb:124:in `ensure in edit_nodes'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/cobbler_manager.rb:124:in `edit_nodes'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:185:in `remove_nodes'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/orchestrator.rb:134:in `remove_nodes'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:181:in `remove_nodes'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:198:in `reset_environment'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:172:in `dispatch_message'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:131:in `block in dispatch'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in `each_with_index'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in `dispatch'",
 "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:106:in `block in perform_main_job'"]

Changed in fuel:
importance: Undecided → High
milestone: none → 10.1
tags: added: swarm-blocker
Revision history for this message
Ilya Bumarskov (ibumarskov) wrote :
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Please attach diagnostic snapshot.

Changed in fuel:
status: New → Incomplete
Changed in fuel:
status: Incomplete → New
assignee: nobody → Oleksiy Molchanov (omolchanov)
Changed in fuel:
assignee: Oleksiy Molchanov (omolchanov) → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
tags: added: area-python
Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :
summary: - Reset environment settings leads to fail
+ Astute can refuse connection in any actions - Connection refused -
+ connect(2)
tags: added: blocker-for-qa
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Since that issue hasn't workaround priority was increased to Critical.

Changed in fuel:
importance: High → Critical
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

We reverted this feature. So the bug should disappear.

Changed in fuel:
status: Confirmed → Incomplete
Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

The issue still remains in the test - we need to wait for nodes to become online after env destroy. They still exist as online in the database and mcollective may still timeout.

Changed in fuel:
importance: Critical → High
status: Incomplete → Triaged
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel QA Team (fuel-qa)
Revision history for this message
Ilya Bumarskov (ibumarskov) wrote :

Bug wasn't reproduced latest 9 runs.

Changed in fuel:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.