<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/cloudinit/reporting/__init__.py, branch sagitta-public-unmaintained</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=sagitta-public-unmaintained</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=sagitta-public-unmaintained'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2021-12-16T02:16:38+00:00</updated>
<entry>
<title>Adopt Black and isort (SC-700) (#1157)</title>
<updated>2021-12-16T02:16:38+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2021-12-16T02:16:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf'/>
<id>urn:sha1:bae9b11da9ed7dd0b16fe5adeaf4774b7cc628cf</id>
<content type='text'>
Applied Black and isort, fixed any linting issues, updated tox.ini
and CI.
</content>
</entry>
<entry>
<title>hyperv_reporting_handler: simplify threaded publisher</title>
<updated>2018-08-31T21:47:18+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2018-08-31T21:47:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=43e51a04515686a15c410d1a16dd5ff06fd1afd4'/>
<id>urn:sha1:43e51a04515686a15c410d1a16dd5ff06fd1afd4</id>
<content type='text'>
Switch the implementation to a daemon thread which uses a
blocking get from the Queue.  No additional locking or flag checking
is needed since the Queue itself handles acquiring the lock as needed.
cloud-init only has a single producer (the main thread calling publish)
and the consumer will read all events in the queue and write them out.

Using the daemon mode of the thread handles flushing the queue on
main exit in python3; in python2.7 we handle the EOFError that results
when the publish thread calls to get() fails indicating the main thread
has exited.

The result is that the handler is no longer spawing a thread on each
publish event but rather creates a single thread when we start up
the reporter and we remove any additional use of separate locks and
flags as we only have a single Queue object and we're only calling
queue.put() from main thread and queue.get() from consuming thread.
</content>
</entry>
<entry>
<title>logging: Add logging config type hyperv for reporting via Azure KVP</title>
<updated>2018-08-24T22:25:37+00:00</updated>
<author>
<name>Andy Liu</name>
<email>andyliuliming@outlook.com</email>
</author>
<published>2018-08-24T22:25:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=2320c3de2712c2f320b0d8af4aa129219cc2ad04'/>
<id>urn:sha1:2320c3de2712c2f320b0d8af4aa129219cc2ad04</id>
<content type='text'>
Linux guests can provide information to Hyper-V hosts via KVP.
KVP allows the guests to provide any string key-value-pairs back to the
host's registry. On linux, kvp communication pools are presented as pool
files in /var/lib/hyperv/.kvp_pool_#.

The following reporting configuration can enable this kvp reporting in
addition to default logging if the pool files exist:

reporting:
    logging:
        type: log
    telemetry:
        type: hyperv
</content>
</entry>
<entry>
<title>LICENSE: Allow dual licensing GPL-3 or Apache 2.0</title>
<updated>2016-12-22T22:04:28+00:00</updated>
<author>
<name>Jon Grimm</name>
<email>jon.grimm@canonical.com</email>
</author>
<published>2016-11-22T23:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b2a9f33616c806ae6e052520a8589113308f567c'/>
<id>urn:sha1:b2a9f33616c806ae6e052520a8589113308f567c</id>
<content type='text'>
This has been a recurring ask and we had initially just made the change to
the cloud-init 2.0 codebase.  As the current thinking is we'll just
continue to enhance the current codebase, its desirable to relicense to
match what we'd intended as part of the 2.0 plan here.

- put a brief description of license in LICENSE file
- put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0
- simplify the per-file header to reference LICENSE
- tox: ignore H102 (Apache License Header check)

Add license header to files that ship.
Reformat headers, make sure everything has vi: at end of file.

Non-shipping files do not need the copyright header,
but at the moment tests/ have it.
</content>
</entry>
<entry>
<title>split 'events' portion of reporting into separate file</title>
<updated>2015-08-31T17:33:30+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-31T17:33:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=50bcb0f77d29a76a03946c6da13b15be25257402'/>
<id>urn:sha1:50bcb0f77d29a76a03946c6da13b15be25257402</id>
<content type='text'>
this just separates events from other things that could conceivably
be reported.

</content>
</entry>
<entry>
<title>reporting: remove unused variable, actually print in PrintHandler</title>
<updated>2015-08-10T15:17:28+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-10T15:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=a9c1e3f747ae69401ebfca9ae64eec1c6d20ebe7'/>
<id>urn:sha1:a9c1e3f747ae69401ebfca9ae64eec1c6d20ebe7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add doc, remove some debug / print statements.</title>
<updated>2015-08-07T19:44:00+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-07T19:44:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=95bfe5d5150e2bf0a26dd1b97578c4fd04152365'/>
<id>urn:sha1:95bfe5d5150e2bf0a26dd1b97578c4fd04152365</id>
<content type='text'>
</content>
</entry>
<entry>
<title>undo broken logic that attempted to not re-initialize classes</title>
<updated>2015-08-07T15:20:34+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-07T15:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=71c8fedcd581d8c4aa937d270f5bbd2e5af99e26'/>
<id>urn:sha1:71c8fedcd581d8c4aa937d270f5bbd2e5af99e26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add the webhook handler</title>
<updated>2015-08-07T04:51:17+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-07T04:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=fc5fc6e476059327d4063f165170cdde01db4100'/>
<id>urn:sha1:fc5fc6e476059327d4063f165170cdde01db4100</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync with cloudinit 2.0 for registry and reporting</title>
<updated>2015-08-06T23:19:46+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-08-06T23:19:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=6fdb23b6cbc8de14ebcffc17e9e49342b7bf193d'/>
<id>urn:sha1:6fdb23b6cbc8de14ebcffc17e9e49342b7bf193d</id>
<content type='text'>
</content>
</entry>
</feed>
