Comment 20 for bug 1590846

Revision history for this message
Ryan Harper (raharper) wrote :

It looks like when we added the level key support, this also applied some implicit event
filtering where the install log was considered DEBUG level with no reporting level set
it defaults to INFO which prevented curtin from publishing the post_files event.

A quick test on the maas side would update the following dictionary:

reporting:
  maas:
     level: DEBUG

A complete install config would look like this.

install:
    log_file: /tmp/install.log
    post_files:
    - /tmp/install.log
reporting:
    maas:
        consumer_key: XfeDkMX7pqfMWRx8bL
        endpoint: http://10.246.64.50/MAAS/metadata/status/4y3h7p
        token_key: w3M3BpvTecqBGxKCS6
        token_secret: LYF5FwgGHwkPN79xWnakTM3uzwQCLqKj
        type: webhook
        level: DEBUG