Network verification has failed. Socket error: Address family not supported by protocol

Bug #1297829 reported by Anastasia Palkina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dima Shulyak

Bug Description

"build_id": "2014-03-26_13-22-07",
"mirantis": "yes",
"build_number": "51",
"nailgun_sha": "cb27e483815aa5ee09fcb69fe25e45b0e5fd6a7e",
"ostf_sha": "b54c48a50ea815d4e4aee1ed97c68601a2f458e8",
"fuelmain_sha": "27a04526eb1a0596b03dc9805435d2a3147d216e",
"astute_sha": "d7c6c4d00ffd6e2fa74da442f573e6f39049961e",
"release": "5.0",
"fuellib_sha": "d7fb2fe73788cae5241f321b11a90235d297b493"

1. Create new environment (CentOS, simple mode)
2. Choose GRE segmentation
3. Add controller, compute, cinder
4. Start network verification. It has failed with error in orchestrator logs:

2014-03-26 12:44:38 ERR

[8603] Error running RPC method verify_networks: 85ac167d-6026-403d-abb9-2f5d07c92cbe: MCollective call failed in agent 'net_probe', method 'start_frame_listeners', failed nodes:
ID: 6 - Reason: Socket error: Address family not supported by protocol - bind(2)
, trace: ["/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/mclient.rb:115:in `check_results_with_retries'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/mclient.rb:61:in `method_missing'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/network.rb:78:in `block in start_frame_listeners'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/network.rb:71:in `each'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/network.rb:71:in `start_frame_listeners'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/network.rb:39:in `check_network'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:163:in `verify_networks'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/dispatcher.rb:112:in `verify_networks'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:124:in `dispatch_message'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:87:in `block in dispatch'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:59:in `call'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:59:in `block in each'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:52:in `each'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/task_queue.rb:52:in `each'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:85:in `each_with_index'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:85:in `dispatch'", "/opt/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/naily-0.1.0/lib/naily/server.rb:70:in `block in perform_main_job'"]

2014-03-26 12:44:38 ERR

[8603] MCollective call failed in agent 'net_probe', method 'start_frame_listeners', failed nodes:
ID: 6 - Reason: Socket error: Address family not supported by protocol - bind(2)

5. Create other environment with nova-network
6. Add controller and compute
7. Start network verification. The same issue was presented.

Revision history for this message
Anastasia Palkina (apalkina) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

Fix proposed to branch: master
Review: https://review.openstack.org/83074

Changed in fuel:
status: New → In Progress
Evgeniy L (rustyrobot)
Changed in fuel:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/83074
Committed: https://git.openstack.org/cgit/stackforge/fuel-astute/commit/?id=1693fd7642a309a3835601ae4b0fe1f02ce24780
Submitter: Jenkins
Branch: master

commit 1693fd7642a309a3835601ae4b0fe1f02ce24780
Author: Dima Shulyak <email address hidden>
Date: Wed Mar 26 15:47:34 2014 +0200

    Change socket address from localhost to 127.0.0.1

    For some reason ruby socket started to fail when
    receives locahost for pack_sockaddr_in

    Change-Id: I66e6e80de4202a26d25edfab9157783948578e76
    Closes-Bug: #1297829

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #54
"build_id": "2014-03-27_01-01-50",
"mirantis": "yes",
"build_number": "54",
"nailgun_sha": "3df411acf2ed70b03dd78aa3c2cea1e2760f6d09",
"ostf_sha": "b54c48a50ea815d4e4aee1ed97c68601a2f458e8",
"fuelmain_sha": "f8af6d673e3e162c54e14c7a640a33400ce86fe0",
"astute_sha": "2aba323f3a2fec3d92eb74fa229f7fed1e1f76b9",
"release": "5.0",
"fuellib_sha": "34ee2a8681b78c18a302683796c0d6a8a6f71aca"

Changed in fuel:
status: Fix Committed → Fix Released
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.