utah fails with UTAH exception: [Errno -2] Name or service not known

Bug #1208623 reported by Chris Gagnon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
New
Undecided
Unassigned

Bug Description

reproducible: rare 1 out of 30

Description:
utah fails with UTAH exception: [Errno -2] Name or service not known

steps:
1. provision a machine with the latest saucy image, force dns name resolution failure right after system is installed

expected results:
machine is provisioned with saucy and runs tests

actual results:
machine fails after system is installed, before running tests

utah version: 0.14.7ubuntu1~precise1

Additional info:
stack trace is not in debug log in run_utah_tests.py, so errors get lost, opened bug https://bugs.launchpad.net/utah/+bug/1208621 for that issue

Log:

2013-08-05 17:58:18,589 root DEBUG: Return code: 0
2013-08-05 17:58:18,589 ps-radeon-hd7450-le INFO: Unmounting ISO
2013-08-05 17:58:18,589 root DEBUG: Running command: sudo umount /tmp/ps-radeon-hd7450-le_ae_tCK/iso.d
2013-08-05 17:58:18,589 root DEBUG: Output follows:
2013-08-05 17:58:18,766 root DEBUG:
2013-08-05 17:58:18,766 root DEBUG: Return code: 0
2013-08-05 17:58:18,766 ps-radeon-hd7450-le DEBUG: Removing directory
2013-08-05 17:58:18,767 ps-radeon-hd7450-le INFO: System installed
2013-08-05 17:58:23,774 cleanup DEBUG: Running cleanup
2013-08-05 17:58:23,775 cleanup DEBUG: Running: release(machine=<utah.provisioning.baremetal.cobbler.CobblerMachine object at 0x2416590>)
2013-08-05 17:58:23,775 root DEBUG: Executing SQL statement: UPDATE machines SET state='available' WHERE name=?, [u'ps-radeon-hd7450-le']
2013-08-05 17:58:23,920 cleanup DEBUG: Running: _removenfs()
2013-08-05 17:58:23,920 cleanup DEBUG: Running: _cleanupcobbler()
2013-08-05 17:58:23,920 ps-radeon-hd7450-le DEBUG: Removing old system
2013-08-05 17:58:23,924 root DEBUG: Running command: sudo cobbler system remove --name=ps-radeon-hd7450-le
2013-08-05 17:58:23,924 root DEBUG: Output follows:
2013-08-05 17:58:24,263 root DEBUG:
2013-08-05 17:58:24,263 root DEBUG: Return code: 0
2013-08-05 17:58:24,263 ps-radeon-hd7450-le DEBUG: Cobbler log follows:
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - INFO | REMOTE remove_item (system, recursive=True); user(<DIRECT>); name(ps-radeon-hd7450-le)
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - INFO | remove_item(system); ['ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | get_items; ['system']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_items; ['system']

2013-08-05 17:58:24,264 ps-radeon-hd7450-le INFO: Removing old profile
2013-08-05 17:58:24,267 root DEBUG: Running command: sudo cobbler profile remove --name=ps-radeon-hd7450-le-x86_64
2013-08-05 17:58:24,267 root DEBUG: Output follows:
2013-08-05 17:58:24,592 root DEBUG:
2013-08-05 17:58:24,592 root DEBUG: Return code: 0
2013-08-05 17:58:24,592 ps-radeon-hd7450-le DEBUG: Cobbler log follows:
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - INFO | REMOTE remove_item (profile, recursive=True); user(<DIRECT>); name(ps-radeon-hd7450-le-x86_64)
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - INFO | remove_item(profile); ['ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | get_items; ['profile']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_items; ['profile']
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['system', 'ps-radeon-hd7450-le']
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255
Mon Aug 5 17:58:24 2013 - WARNING | warning: kernel option length exceeds 255

2013-08-05 17:58:24,592 ps-radeon-hd7450-le INFO: Removing old distro
2013-08-05 17:58:24,596 root DEBUG: Running command: sudo cobbler distro remove --name=ps-radeon-hd7450-le-x86_64
2013-08-05 17:58:24,596 root DEBUG: Output follows:
2013-08-05 17:58:24,933 root DEBUG:
2013-08-05 17:58:24,934 root DEBUG: Return code: 0
2013-08-05 17:58:24,934 ps-radeon-hd7450-le DEBUG: Cobbler log follows:
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['distro', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['distro', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - INFO | REMOTE remove_item (distro, recursive=True); user(<DIRECT>); name(ps-radeon-hd7450-le-x86_64)
Mon Aug 5 17:58:24 2013 - DEBUG | REMOTE CLI Authorized; user(?)
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['distro', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['distro', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - INFO | remove_item(distro); ['ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | get_items; ['distro']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_items; ['distro']
Mon Aug 5 17:58:24 2013 - DEBUG | get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']
Mon Aug 5 17:58:24 2013 - DEBUG | done with get_item; ['profile', 'ps-radeon-hd7450-le-x86_64']

2013-08-05 17:58:24,956 cleanup DEBUG: Recursively Removing directory /tmp/ps-radeon-hd7450-le_ae_tCK
UTAH exception: [Errno -2] Name or service not known
Running on machine: ps-radeon-hd7450-le

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.