Merge lp:~doanac/utah/booted-bug1155037 into lp:utah

Proposed by Andy Doan
Status: Merged
Merged at revision: 835
Proposed branch: lp:~doanac/utah/booted-bug1155037
Merge into: lp:utah
Diff against target: 15 lines (+4/-1)
1 file modified
utah/config.py (+4/-1)
To merge this branch: bzr merge lp:~doanac/utah/booted-bug1155037
Reviewer Review Type Date Requested Status
Max Brustkern (community) Approve
Review via email: mp+153586@code.launchpad.net

Description of the change

This adds another message to grep for when detecting if the network is active. It was tested on alderamin with:

${PYTHONPATH}/examples/run_utah_tests.py -d -p lp:ubuntu-test-cases/server/preseeds/minimal-virtual.preseed -i ${ISO} lp:ubuntu-test-cases/server/runlists/minimal-virtual.run -x /etc/utah/bridged-network-vm.xml

To post a comment you must log in.
Revision history for this message
Max Brustkern (nuclearbob) wrote :

Are inline comments something we don't like, or do I just remember removing those in cases where the lines were too long? The actual part of this looks good.

Revision history for this message
Javier Collado (javier.collado) wrote :

I think inline comments are fine. The only requirement to be pep8 compliant,
aside from line length, is to use two whitespace characters before the hash
character.

Revision history for this message
Javier Collado (javier.collado) wrote :

By the way, line 166 in utah/config.py ins't passing pep8 checks because it's
too long:

>> '.*finish-install.d/94save-logs', # needed for server bootspeed

I know it's not part of this merge request, but probably it doesn't make any
harm to fix that here.

Revision history for this message
Max Brustkern (nuclearbob) wrote :

I'd like to try to get all of the outstanding branches merged and start testing the new stable version today, so if you don't have a chance to make this change before 1800 UTC, I'll probably go ahead and merge with that change in place.

review: Approve
Revision history for this message
Andy Doan (doanac) wrote :

On 03/18/2013 08:11 AM, Javier Collado wrote:
> By the way, line 166 in utah/config.py ins't passing pep8 checks because it's
> too long:
>
>>> >> '.*finish-install.d/94save-logs', # needed for server bootspeed
> I know it's not part of this merge request, but probably it doesn't make any
> harm to fix that here.

crap - I use pylint which doesn't complain about column 79 stuff. By
memory I always limit to 80. i'll fix.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'utah/config.py'
2--- utah/config.py 2013-03-15 13:31:22 +0000
3+++ utah/config.py 2013-03-15 15:58:27 +0000
4@@ -186,7 +186,10 @@
5 },
6 {
7 'message': 'network active',
8- 'pattern': '.*NetworkManager',
9+ 'pattern': [
10+ '.*NetworkManager',
11+ '.*dhclient: bound to', # needed for minimal server installs
12+ ],
13 'timeout': 180,
14 }
15 ],

Subscribers

People subscribed via source and target branches

to all changes: