open libvirt socket on CI slaves

Bug #1529240 reported by Vasyl Saienko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Mateusz Matuszkowiak

Bug Description

Please open libvirt tcp socket on CI slaves from https://product-ci.infra.mirantis.net/ .
As it is needed for https://bugs.launchpad.net/bugs/1524773

It looks that ports are still closed:
vsaienko@srv49-bud:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>import libvirt
>>> conn = libvirt.open('qemu+tcp://10.109.1.1/system')
libvirt: XML-RPC error : unable to connect to server at '10.109.1.1:16509': Connection refused
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/usr/lib/python2.7/dist-packages/libvirt.py", line 252, in open
   if ret is None:raise libvirtError('virConnectOpen() failed')
libvirt.libvirtError: unable to connect to server at '10.109.1.1:16509': Connection refused

​[5:16]
vsaienko@srv49-bud:~$ netstat -an |grep 16509
tcp 0 0 127.0.0.1:16509 0.0.0.0:* LISTEN

​[5:16]
vsaienko@srv49-bud:~$ cat /etc/libvirt/libvirtd.conf |grep listen_addr
#listen_addr = "192.168.0.1"
listen_addr = "127.0.0.1"

Tags: area-devops
Vasyl Saienko (vsaienko)
Changed in fuel:
assignee: nobody → Igor Shishkin (teran)
Revision history for this message
Igor Shishkin (teran) wrote :

It's already implemented in puppet code, deployment is only left.

* commit 165f10e045037bf54a640232da4d3035b2e2e6eb
| gpg: Signature made Mon Dec 21 14:55:32 2015 MSK using RSA key ID 1DCED2E4
| gpg: Good signature from "Igor Shishkin <email address hidden>" [ultimate]
| gpg: aka "Igor Shishkin <email address hidden>" [ultimate]
| gpg: aka "[jpeg image of size 330260]" [ultimate]
| gpg: aka "[jpeg image of size 5549]" [ultimate]
| gpg: aka "[jpeg image of size 109510]" [ultimate]
| Author: Igor Shishkin <email address hidden>
| Date: Mon Dec 21 14:55:28 2015 +0300
|
| Moving out listen_addr from libvirt hardcode
|
| It's required to make it possbile to specify it in hiera.
|
| Change-Id: I470ef420c2ee70e398991c3158e2695da2fa6607
| Related-Bug: #1524773
| Signed-off-by: Igor Shishkin <email address hidden>

Changed in fuel:
assignee: Igor Shishkin (teran) → Fuel DevOps (fuel-devops)
importance: Undecided → Low
status: New → Confirmed
milestone: none → 8.0
Changed in fuel:
importance: Low → High
Revision history for this message
Igor Shishkin (teran) wrote :

Can't be High according to related task priority(Wishlist).
Pavlo, please explain why you think it's High, we'll decrease it if it's applicable according to our policy:
    https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Additional_guidelines_for_Infrastructure_bugs

Changed in fuel:
importance: High → Low
Maciej Relewicz (rlu)
tags: added: area-devops
Revision history for this message
Vasyl Saienko (vsaienko) wrote :

Rising to High. We should cover deployment steps by automated CI tests.

Changed in fuel:
importance: Low → High
Revision history for this message
Mateusz Matuszkowiak (mmatuszkowiak) wrote :

first server - srv29-bud - which is in product-ci has been updated with puppet manifests.

tcp 0 0 0.0.0.0:16509 0.0.0.0:* LISTEN 1262/libvirtd

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Mateusz Matuszkowiak (mmatuszkowiak)
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mateusz Matuszkowiak (mmatuszkowiak) wrote :

All slaves in product-ci have been upgraded - libvirt is listening on 0.0.0.0.

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.