lp:~smoser/cloud-init/log_time

Created by Scott Moser and last modified
Get this branch:
bzr branch lp:~smoser/cloud-init/log_time
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Scott Moser
Project:
cloud-init
Status:
Merged

Recent revisions

855. By Scott Moser

set reading /proc/uptime to false by default.

reading /proc/uptime is going to be slower, and no reason to do it on most
things. Better to only do it when you suspect maybe a need for it.

854. By Scott Moser

add util.log_time helper

The reason for this is that more and more things I was wanting to be able to
see how long they took. This puts that time logic into a single place. It
also supports (by default) reading from /proc/uptime as the timing mechanism.

While that is almost certainly slower than time.time(), it does give
millisecond granularity and is not affected by 'ntpdate' having
run in between the two events.

853. By Scott Moser

add 'pyserial' to bddeb and bdrpm

852. By Scott Moser

add dependency on 'serial' used by SmartOS datasource

851. By Scott Moser

DataSourceAzure: do not capture output of bounce command

As shown in comments of bug 1202758 and filing of ntp bug 1206164, waiting
for the output of this command causes us to wait for ntpdate to fully
finish.

Ideally I think we'd disable ntpdate running on this run, but
that is not trivially possible.

850. By Scott Moser

azure: fix bouncing of interface

the environment that was set up to include 'interface' was not actually
being passed on to 'subp', so when the command ran it wasn't available.

849. By Scott Moser

add debian init scripts

These are debian's init scripts as taken from their trunk svn
as of today. Thanks Juerg.

848. By Scott Moser

minor azure cleanup

847. By Scott Moser

azure: support bouncing interfaces to publish new hostname

See the added doc/sources/azure/README.rst for why this is necessary.
Essentially, we now are doing the following in the get_data() method
of azure datasource to publish this NewHostname:
 hostname NewHostName
 ifdown eth0;
 ifup eth0

846. By Scott Moser

update dependencies for jsonpatch

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers