<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/udev/cloud-init-wait, branch 22.1</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=22.1</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=22.1'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2016-05-27T21:03:49+00:00</updated>
<entry>
<title>remove blocking udev functionality</title>
<updated>2016-05-27T21:03:49+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-05-27T21:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b16533714e02fc71d463ca73abee5c9f6237f115'/>
<id>urn:sha1:b16533714e02fc71d463ca73abee5c9f6237f115</id>
<content type='text'>
This didn't really work.  See bug for more info.

LP: #1577844</content>
</entry>
<entry>
<title>improve how cloud-init-wait waits</title>
<updated>2016-03-29T13:11:25+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-29T13:11:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=78c9de871eb2a68da36fb4397fe756b88dc9eb15'/>
<id>urn:sha1:78c9de871eb2a68da36fb4397fe756b88dc9eb15</id>
<content type='text'>
Instead of sleep and check loop, use 'udevadm settle' to wait.
since we run from a udev event, this is sufficient.
udev settle will exit when either of
   a.) the file exists
   b.) the udev event queue has all been processed.
   c.) timeout is reached.

Since cloud-init-wait is being run as a udev event, 'b' cannot
be satisfied until it finishes. Thus, this essentially becomes a
inotify based wait for the file /run/cloud-init/network-config-ready
and no loops are needed.
</content>
</entry>
<entry>
<title>improve how cloud-init-wait waits</title>
<updated>2016-03-28T18:47:19+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-28T18:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bf88c6ef54608f4488fca806b5f30afad08d6c51'/>
<id>urn:sha1:bf88c6ef54608f4488fca806b5f30afad08d6c51</id>
<content type='text'>
since we run from a udev event, this is sufficient.
udev settle will exit when either of
 a.) the file exists
 b.) the udev event queue has all been processed.

Since cloud-init-wait is being run as a udev event, 'b' cannot
be satisfied until it finishes.  Thus, this essentially becomes a
inotify based wait for the file /run/cloud-init/network-config-ready
and no loops are needed.
</content>
</entry>
<entry>
<title>fix creation of network-config-ready and dont bother waiting on lo</title>
<updated>2016-03-21T02:31:21+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-21T02:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=16751f75a51814e4873199eddec15040dd221561'/>
<id>urn:sha1:16751f75a51814e4873199eddec15040dd221561</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove the 'find_name' function that was here.</title>
<updated>2016-03-19T00:42:49+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-19T00:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=db54b59b90c8db2fc4a637ae09d3f0df14e77acb'/>
<id>urn:sha1:db54b59b90c8db2fc4a637ae09d3f0df14e77acb</id>
<content type='text'>
I had left this in to commit it, it was my first pass at
cloud-init doing the naming itself.  That design was then 
replaced with the idea for cloud-init to instead write systemd.rules
files.
</content>
</entry>
<entry>
<title>commit the systemd waiting mechanism</title>
<updated>2016-03-19T00:40:54+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2016-03-19T00:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=519c0936e3e80fc14225e500fbb61d0d12d28c35'/>
<id>urn:sha1:519c0936e3e80fc14225e500fbb61d0d12d28c35</id>
<content type='text'>
Note, still broken as cloud-init local is not going to ever touch the
CI_NET_READY file (/run/cloud-init/network-config-ready).

So as this is , it will actually just block for 60 seconds and go on.
</content>
</entry>
</feed>
