magnum EOF occurred in violation of protocol

asked 2016-05-03 07:41:15 -0500

Maik gravatar image

I have an running swarm 1.0.0 cluster with one master and one node and get the following error in magnum-conductor.log. How can i avoid this error?

30059: WARNING magnum.service.periodic [-] Skip pulling data from bay 0cd0e575-7ac2-4aa2-8c60-4691b1aacd18 due to error: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
30059: TRACE magnum.service.periodic Traceback (most recent call last):
30059: TRACE magnum.service.periodic   File "/opt/magnum/magnum/service/periodic.py", line 160, in _send_bay_metrics
30059: TRACE magnum.service.periodic     monitor.pull_data()
30059: TRACE magnum.service.periodic   File "/opt/magnum/magnum/conductor/swarm_monitor.py", line 45, in pull_data
30059: TRACE magnum.service.periodic     system_info = docker.info()
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/docker/api/daemon.py", line 33, in info
30059: TRACE magnum.service.periodic     return self._result(self._get(self._url("/info")), True)
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 47, in inner
30059: TRACE magnum.service.periodic     return f(self, *args, **kwargs)
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 120, in _get
30059: TRACE magnum.service.periodic     return self.get(url, **self._set_request_timeout(kwargs))
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 480, in get
30059: TRACE magnum.service.periodic     return self.request('GET', url, **kwargs)
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
30059: TRACE magnum.service.periodic     resp = self.send(prep, **send_kwargs)
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
30059: TRACE magnum.service.periodic     r = adapter.send(request, **kwargs)
30059: TRACE magnum.service.periodic   File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 447, in send
30059: TRACE magnum.service.periodic     raise SSLError(e, request=request)
30059: TRACE magnum.service.periodic SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
30059: TRACE magnum.service.periodic

Magnum version:

# magnum --version
2.0.1
# magnum-api --version
2.0.1.dev2
# magnum-conductor --version
2.0.1.dev2

The baymodel is the following:

# magnum baymodel-show swarmbaymodel
+---------------------+--------------------------------------+
| Property            | Value                                |
+---------------------+--------------------------------------+
| http_proxy          | None                                 |
| updated_at          | None                                 |
| master_flavor_id    | m1.medium                            |
| uuid                | 9fc31674-db1f-49ae-8966-cb28d40c9874 |
| no_proxy            | None                                 |
| https_proxy         | None                                 |
| tls_disabled        | False                                |
| keypair_id          | testkey                              |
| public              | False                                |
| labels              | {}                                   |
| docker_volume_size  | None                                 |
| server_type         | vm                                   |
| external_network_id | public                               |
| cluster_distro      | fedora-atomic                        |
| image_id            | fedora-23-atomic-7                   |
| volume_driver       | None                                 |
| registry_enabled    | False                                |
| apiserver_port      | None                                 |
| name                | swarmbaymodel                        |
| created_at          | 2016-05-03T11:57:50+00:00            |
| network_driver      | docker                               |
| fixed_network       | None                                 |
| coe                 | swarm                                |
| flavor_id           | m1.small                             |
| dns_nameserver      | xxx.xxx.xxx.xxx                         |
+---------------------+--------------------------------------+

The bay is the following:

# magnum bay-show swarmbay
+--------------------+------------------------------------------------------------+
| Property           | Value                                                      |
+--------------------+------------------------------------------------------------+
| status             | CREATE_COMPLETE                                            |
| uuid               | 0cd0e575-7ac2-4aa2-8c60-4691b1aacd18                       |
| stack_id           | 41f6577b-e7c5-41c2-8dd0-a37505684348                       |
| status_reason      | Stack CREATE completed successfully                        |
| created_at         | 2016-05-03T11:58:10+00:00                                  |
| updated_at         | 2016-05-03T12:01:07+00:00                                  |
| bay_create_timeout | 0                                                          |
| api_address        | https://xxx.xxx.xxx.xxx:2376                                 |
| baymodel_id        | 9fc31674-db1f-49ae-8966-cb28d40c9874                       |
| master_addresses   | ['xxx.xxx.xxx.xxx']                                          |
| node_count         | 1                                                          |
| node_addresses     | ['xxx.xxx.xxx.xxx']                                          |
| master_count       | 1                                                          |
| discovery_url      | https://discovery.etcd.io/xxxxxxxx |
| name               | swarmbay                                                   |
+--------------------+------------------------------------------------------------+

The docker ... (more)

edit retag flag offensive close merge delete