lp:~doanac/utah/uuid_check_rsyslog
- Get this branch:
- bzr branch lp:~doanac/utah/uuid_check_rsyslog
Branch merges
- Andy Doan (community): Needs Resubmitting
-
Diff: 350 lines (+89/-37) (has conflicts)8 files modifiedtemplates/install-commands.jinja2 (+23/-0)
tests/test_rsyslog.py (+34/-11)
utah/config.py (+4/-7)
utah/provisioning/baremetal/bamboofeeder.py (+1/-1)
utah/provisioning/baremetal/cobbler.py (+1/-1)
utah/provisioning/provisioning.py (+0/-12)
utah/provisioning/rsyslog.py (+25/-4)
utah/provisioning/vm.py (+1/-1)
Recent revisions
- 892. By Andy Doan
-
restart rsyslog when network comes alive
I've seen an issue mostly with server images and rsyslog. The issue
is that rsyslog starts running before the network is up. It seems
to detect this and at some point stop trying to send things to the
remote syslog server (or at least waits a bit before trying again).
This is causing our first few syslog messages to not always show up,
and these messages are critical for UTAH to understand how things
are working.This restarts rsyslogd after we know the network is up so that we
can reliably get these messages. - 891. By Andy Doan
-
wait for network before running install commands
in the case of this running during the installer, nothing will change.
in the case of booting an image and running from rc.local, we should
be safer now and always get the rsyslog messages.This seems to fix the issues we had with wait_for_booted not always
working. - 890. By Andy Doan
-
improve timeout logic with regards to future_patterns
The future pattern logic works correctly. However, it hinges on the
pattern being hit within the limits of the previous timeout interval.
This change adds up the future timeouts and makes us wait that whole
duration so we can properly detect future messages. This happens most
often on the wait_for_booted logic. - 888. By Andy Doan
-
as per max's review
this raises an exception when UUID mismatches since its a provisioning
issue. - 887. By Andy Doan
-
change uuid_check logic
This doesn't really have to occur via SSH. We can instead piggyback
on rsyslog logic and the wait_for_booted logic - 884. By Javier Collado
-
Merged fixes to throw exceptions when baremetal support isn't isntalled
Source branch: lp:~nuclearbob/utah/fix-baremetal-import
- 883. By Javier Collado
-
Merged fixes to make sure ssh client is propertly closed
Source branch: lp:~javier.collado/utah/ssh-client-close
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:utah