TRITON-1914: cn-agent server_sysinfo task for Linux

Details

Issue Type:New Feature
Priority:4 - Normal
Status:In Progress
Created at:2019-10-04T21:30:07.791Z
Updated at:2019-12-04T18:55:29.850Z

People

Created by:Former user
Reported by:Former user
Assigned to:Former user

Related Issues

Labels

linuxcn

Description

The Linux port of cn-agent requires a replacement for sysinfo, which is normally delivered in the PI. On Linux, sysinfo will be delivered as part of cn-agent.

Note that sysinfo on SmartOS has a caching mechanism. A similar caching mechanism will not be implemented because sysinfo caching is already performed by cn-agent.

Comments

Comment by Former user
Created at 2019-10-04T21:34:38.500Z
Updated at 2019-10-04T21:39:12.847Z

Work has started on this:

https://github.com/joyent/sdc-cn-agent/commit/a0e44ac5c78e96376c0cdac131c8bdfb60fbb414
https://github.com/joyent/sdc-cn-agent/commit/8a417c6892d12023a698f36279e9dc6e2947be28
https://github.com/joyent/sdc-cn-agent/commit/a6460a99145f7e8222f47c9b1a8f56d0a0772c9c

Also, part of this changeset has the server_sysinfo cn-agent task.

https://github.com/joyent/sdc-cn-agent/commit/4f3e8931ba996777a94f008493061c9118b7da87

Before landing in master, some tests should be written.

There may be some TBD's in this with the initial integration. In particular:

As the initial support lands, additional tickets will be opened to track the parts that require further work but could not be completed yet because of dependencies on other features that are not yet complete.