[Buildbot] #3500: Integrating buildbot with openstack

Buildbot trac trac at buildbot.net
Wed Mar 23 13:38:33 UTC 2016


#3500: Integrating buildbot with openstack
-------------------------+-------------------------------------------------
Reporter:  ngundu        |      Owner:
    Type:  support-      |     Status:  new
  request                |
Priority:  critical      |  Milestone:  0.8.x
 Version:  0.8.12        |   Keywords:  openstack integration with buildbot
-------------------------+-------------------------------------------------
 We are integration buildbot with openstack. so, while trying to connection
 it gets substantiate errors and gets shutdown.

 we are using buildbot 8.12 and guide me to resolve the errors below where
 new to buildbot.

 errors:
 The dummy slave in mater.cfg file without openstack details where it
 starts and gets attached to the master.
 c['slaves'] = [OpenStackLatentBuildSlave("example-slave", "pass")]

 but with the openstack configured in master.cfg where it throws errors.
 from buildbot.plugins import buildslave
 c['slaves'] = [buildslave.OpenStackLatentBuildSlave('example-slave',
 'pass',
                 flavor=2, image='ce7b6455-3e9e-4035-9789-3853f2c42af4',
                 os_username='admin', os_password='Openstack1',
                 os_tenant_name='admin',
                 os_auth_url='http://172.17.0.4:35357/v2.0')]

 logs from /data/buildbot/master/twisted.log file:
 2016-03-15 15:01:13+0000 [Broker,0,127.0.0.1] slave 'example-slave'
 attaching from IPv4Address(TCP, '127.0.0.1', 36068)
 2016-03-15 15:01:13+0000 [Broker,0,127.0.0.1] Slave example-slave received
 connection while not trying to substantiate.  Disconnecting.
 2016-03-15 15:01:13+0000 [Broker,0,127.0.0.1] waiting for slave to finish
 disconnecting
 2016-03-15 15:01:13+0000 [Broker,0,127.0.0.1] Peer will receive following
 PB traceback:
 2016-03-15 15:01:13+0000 [Broker,0,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
         Failure: exceptions.RuntimeError: Slave openstack-slave received
 connection while not trying to substantiate.  Disconnecting.



 2016-03-16 09:29:17+0000 [-] Connecting to localhost:9989
 2016-03-16 09:29:17+0000 [Broker,client]
 ReconnectingPBClientFactory.failedToGetPerspective
 2016-03-16 09:29:17+0000 [Broker,client] While trying to connect:
         Traceback from remote host -- Traceback (most recent call last):
         Failure: exceptions.RuntimeError: Slave openstack-slave received
 connection while not trying to substantiate.  Disconnecting.
         exceptions.RuntimeError: Slave openstack-slave received connection
 while not trying to substantiate.  Disconnecting.

 2016-03-16 09:29:17+0000 [Broker,client] Lost connection to localhost:9989
 2016-03-16 09:29:17+0000 [-] Stopping factory <buildslave.bot.BotFactory
 instance at 0x3fff8bd6fe18>
 2016-03-16 09:29:17+0000 [-] Main loop terminated.
 2016-03-16 09:29:17+0000 [-] Server Shut Down.

--
Ticket URL: <http://trac.buildbot.net/ticket/3500>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list