<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;" data-mce-style="direction: ltr; font-family: Tahoma; color: #000000; font-size: 10pt;">Hello,<div><br></div><div>I have just deployed software factory and when I tried to test how zuul works, I got the following zuul error: </div><div><br></div><div>NODE_FAILURE</div><div><br></div><div><br></div><div>Now, I can see that nodes always keep "building" state.</div><div><br></div><div><br></div><div>nodepool log :</div><div><br></div><div><div>2019-04-11 17:55:18,203 ERROR nodepool.NodeLauncher-0000000046: Launch attempt 9/9 failed for node 0000000046:</div><div>Traceback (most recent call last):</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/oci/handler.py", line 40, in launch</div><div> self.handler.pool, hostid, port, self.label)</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/oci/provider.py", line 149, in createContainer</div><div> "Manager %s failed to initialized" % self.provider.name)</div><div>RuntimeError: Manager oci-provider-hypervisor-oci failed to initialized</div><div>2019-04-11 17:55:19,208 ERROR nodepool.NodeLauncher-0000000046: Launch failed for node 0000000046:</div><div>Traceback (most recent call last):</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/__init__.py", line 659, in run</div><div> self.launch()</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/oci/handler.py", line 57, in launch</div><div> self.node.host_keys = key</div><div>UnboundLocalError: local variable 'key' referenced before assignment</div><div>2019-04-11 17:55:19,208 ERROR nodepool.NodeLauncher-0000000045: Launch failed for node 0000000045:</div><div>Traceback (most recent call last):</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/__init__.py", line 659, in run</div><div> self.launch()</div><div> File "/opt/rh/rh-python35/root/usr/lib/python3.5/site-packages/nodepool/driver/oci/handler.py", line 57, in launch</div><div> self.node.host_keys = key</div><div>UnboundLocalError: local variable 'key' referenced before assignment</div><div>2019-04-11 17:55:22,918 INFO nodepool.DeletedNodeWorker: Deleting failed instance 0000000045-centos-oci-100-0000000045 from oci-provider-hypervisor-oci</div><div>2019-04-11 17:55:22,926 INFO nodepool.NodeDeleter: Deleting ZK node id=0000000045, state=deleting, external_id=0000000045-centos-oci-100-0000000045</div><div>2019-04-11 17:55:22,934 INFO nodepool.DeletedNodeWorker: Deleting failed instance 0000000046-centos-oci-100-0000000046 from oci-provider-hypervisor-oci</div><div>2019-04-11 17:55:22,940 INFO nodepool.NodeDeleter: Deleting ZK node id=0000000046, state=deleting, external_id=0000000046-centos-oci-100-0000000046</div><div>2019-04-11 17:55:26,276 INFO nodepool.NodePool: Creating requests for 2 centos-oci nodes</div><div>2019-04-11 17:55:29,822 INFO nodepool.PoolWorker.oci-provider-hypervisor-oci-main: Assigning node request <NodeRequest {'id': '100-0000000047', 'node_types': ['centos-oci'], 'state': 'requested', 'state_time': 1554998126.2781763, 'stat': ZnodeStat(czxid=11466, mzxid=11466, ctime=1554998126279, mtime=1554998126279, version=0, cversion=0, aversion=0, ephemeralOwner=0, dataLength=217, numChildren=0, pzxid=11466), 'nodes': [], 'reuse': False, 'declined_by': [], 'requestor': 'NodePool:min-ready'}></div><div>2019-04-11 17:55:29,845 WARNING nodepool.driver.oci.OpenContainerProvider: Creating container when provider isn't ready</div></div><div><br></div><div><br></div><div><br></div><div>Any idea?</div><div><br></div></div></blockquote><div>Hi Noel,<br></div><div><br></div><div>I'm not sure if it's the same situation, but last time I tried to use oci containers I had to remount /srv/host-rootfs as read-write before it would work the first time (it is mounted as read-only by default). After this and a reboot, it worked fine as ro.<br></div><div><br></div><div>So can you try a quick "mount -o remount,rw /srv/host-rootfs" and see if it fixes it?<br></div><div><br></div><div>Regards,<br></div><div>Javier<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;" data-mce-style="direction: ltr; font-family: Tahoma; color: #000000; font-size: 10pt;"><div>Thank in advance</div><div><br></div><div>BR</div><div><br></div><div>Noel Ruiz</div></div><br>_______________________________________________<br>Softwarefactory-dev mailing list<br>Softwarefactory-dev@redhat.com<br>https://www.redhat.com/mailman/listinfo/softwarefactory-dev<br></blockquote><div><br></div></div></body></html>