Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1574 from advancedtelematic/feat/prep-2020.3
Browse files Browse the repository at this point in the history
Feat/prep 2020.3
  • Loading branch information
pattivacek authored Feb 27, 2020
2 parents 614e5b6 + 07a2255 commit 9f2cc5d
Show file tree
Hide file tree
Showing 27 changed files with 1,212 additions and 89 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ Our versioning scheme is `YEAR.N` where `N` is incremented whenever a new releas
## [??? (unreleased)]


## [2020.3] - 2020-02-27

### Added

- Pluggable package managers for the Primary: [PR](https://github.com/advancedtelematic/aktualizr/pull/1518)
- Log basic device information when starting aktualizr: [PR](https://github.com/advancedtelematic/aktualizr/pull/1555)

### Changed

- Wait for Secondaries to come online before attempting installation: [PR #1533](https://github.com/advancedtelematic/aktualizr/pull/1533) and [PR #1562](https://github.com/advancedtelematic/aktualizr/pull/1562)
- Renamed shared libraries to remove the extraneous "\_lib": [PR](https://github.com/advancedtelematic/aktualizr/pull/1564)

### Fixed

- Apply pending updates even if their metadata expired if the installation was initiated before the expiration: [PR](https://github.com/advancedtelematic/aktualizr/pull/1548)
- Add a mising include to fix building libaktualizr out-of-tree: [PR](https://github.com/advancedtelematic/aktualizr/pull/1572)
- Restore interrupted downloads correctly: [PR](https://github.com/advancedtelematic/aktualizr/pull/1571)
- Use uintmax_t for storing file length to support files greater than 4 GB: [PR](https://github.com/advancedtelematic/aktualizr/pull/1571)


## [2020.2] - 2020-01-30

### Changed
Expand Down
1 change: 1 addition & 0 deletions docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ The link above is for the doxygen docs on master. Doxygen docs for the following
* https://advancedtelematic.github.io/aktualizr/2019.11/index.html[2019.11]
* https://advancedtelematic.github.io/aktualizr/2020.1/index.html[2020.1]
* https://advancedtelematic.github.io/aktualizr/2020.2/index.html[2020.2]
* https://advancedtelematic.github.io/aktualizr/2020.3/index.html[2020.3]
====

== Release process
Expand Down
2 changes: 1 addition & 1 deletion docs/ota-client-guide/antora.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ota-client
title: OTA Connect Developer Guide
version: latest
display_version: 2020.1 (latest)
display_version: 2020.2 (latest)
nav:
- modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,309 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>4.0</version>
<date>2020-02-13T10:13:43Z</date>
<groups>
<group>
<name>Templates/Applications</name>
</group>
</groups>
<templates>
<template>
<template>Aktualizr Client</template>
<name>Aktualizr Client</name>
<description>Aktualizr client resources consumption monitoring.</description>
<groups>
<group>
<name>Templates/Applications</name>
</group>
</groups>
<applications>
<application>
<name>Aktualizr/Application</name>
</application>
</applications>
<items>
<item>
<name>aktualizr.threads.count</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>aktualizr.threads.count</key>
<delay>30s</delay>
<history>90d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Aktualizr/Application</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>0</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<master_item/>
</item>
<item>
<name>aktualizr.rss.memory.usage</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>proc.mem[aktualizr,,,,rss]</key>
<delay>30s</delay>
<history>90d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Aktualizr/Application</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>0</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<master_item/>
</item>
<item>
<name>vfs.dev.write.sectors</name>
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>vfs.dev.write[,sectors]</key>
<delay>30s</delay>
<history>90d</history>
<trends>365d</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>B</units>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Aktualizr/Application</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
<preprocessing/>
<jmx_endpoint/>
<timeout>3s</timeout>
<url/>
<query_fields/>
<posts/>
<status_codes>200</status_codes>
<follow_redirects>1</follow_redirects>
<post_type>0</post_type>
<http_proxy/>
<headers/>
<retrieve_mode>0</retrieve_mode>
<request_method>0</request_method>
<output_format>0</output_format>
<allow_traps>0</allow_traps>
<ssl_cert_file/>
<ssl_key_file/>
<ssl_key_password/>
<verify_peer>0</verify_peer>
<verify_host>0</verify_host>
<master_item/>
</item>
</items>
<discovery_rules/>
<httptests/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<graphs>
<graph>
<name>aktualizr.rss.memory.usage.graph</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>1A7C11</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Aktualizr Client</host>
<key>proc.mem[aktualizr,,,,rss]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>aktualizr.threads.count.graph</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>1A7C11</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Aktualizr Client</host>
<key>aktualizr.threads.count</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>vfs.dev.write.bytes.graph</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>1A7C11</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Aktualizr Client</host>
<key>vfs.dev.write[,sectors]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>
14 changes: 11 additions & 3 deletions docs/ota-client-guide/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,15 @@ ifndef::env-github[:pageroot:]
** xref:{pageroot}add-ota-functonality-existing-yocto-project.adoc[Add OTA functionality to a Yocto project]
** xref:{pageroot}libaktualizr-integrate.adoc[Add libaktualizr integration to a Yocto project]
* xref:{pageroot}bsp-integration.adoc[Add support for new hardware]
** xref:{pageroot}add-board-class.adoc[Adding a board class]
** xref:{pageroot}setup-boot-image-for-ostree.adoc[Set up boot image layout for OSTree compatibility]
** xref:{pageroot}add-meta-updater-to-vendors-sdk.adoc[Add meta-updater features to the vendor's SDK]
** xref:{pageroot}troubleshooting-bsp-integration.adoc[Troubleshooting BSP Integration]
* xref:{pageroot}device-cred-prov-steps.adoc[Provision devices]
** xref:{pageroot}generate-selfsigned-root.adoc[Generate a self-signed root certificate]
** xref:{pageroot}provide-root-cert.adoc[Register your root certificate]
** xref:{pageroot}generate-selfsigned-root.adoc[Generate a fleet root certificate]
** xref:{pageroot}provide-root-cert.adoc[Register your fleet root certificate]
** xref:{pageroot}generate-devicecert.adoc[Generate device certificates]
** xref:{pageroot}hsm-provisioning-example.adoc[Generate a device certificate using an HSM]
** xref:{pageroot}enable-device-cred-provisioning.adoc[Enable and install device certificates]
Expand All @@ -85,11 +91,12 @@ ifndef::env-github[:pageroot:]
// MC: Do in second iteration: * xref:{pageroot}otaconnect-identifiers.adoc[Identifiers]
* xref:{pageroot}aktualizr-config-options.adoc[Client configuration options]
* xref:{pageroot}build-configuration.adoc[Build configuration options]
* xref:{pageroot}customise-targets-metadata.adoc[Customize targets metadata]
* xref:{pageroot}aktualizr-runningmodes-finegrained-commandline-control.adoc[Client commands]
* xref:{pageroot}provisioning-methods-and-credentialszip.adoc[Contents of the credentials file]
* xref:{pageroot}useful-bitbake-commands.adoc[Bitbake commands]
* xref:{pageroot}ostree-usage.adoc[OSTree commands]
* xref:{pageroot}ecu_events.adoc[ECU events]
// xref:{pageroot}ecu_events.adoc[ECU events]
* xref:{pageroot}meta-updater-usage.adoc[Advanced usage of meta-updater]
.Test and simulate OTA functions
Expand All @@ -98,6 +105,7 @@ ifndef::env-github[:pageroot:]
** xref:{pageroot}posix-secondaries.adoc[Configuration and emulation on a local host]
* xref:{pageroot}fault-injection.adoc[Simulate installation failures for testing]
* xref:{pageroot}uptane-generator.adoc[Simulate Uptane metadata transactions]
* xref:{pageroot}device-monitoring-with-zabbix.adoc[Monitor aktualizr resource usage with Zabbix]
.Troubleshooting
* xref:{pageroot}troubleshooting.adoc[Troubleshooting]
Expand Down
Loading

0 comments on commit 9f2cc5d

Please sign in to comment.