Merge ~mpontillo/maas:move-network-monitoring-to-maas-common into maas:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Mike Pontillo | ||||
Approved revision: | 07644db68232dbfc658f9d0d7249326641fc7677 | ||||
Merge reported by: | MAAS Lander | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~mpontillo/maas:move-network-monitoring-to-maas-common | ||||
Merge into: | maas:master | ||||
Diff against target: |
996 lines (+258/-92) 31 files modified
Makefile (+6/-5) buildout.cfg (+2/-0) debian/changelog (+5/-2) debian/compat (+1/-1) debian/control (+3/-1) debian/extras/99-maas-common-sudoers (+4/-0) debian/extras/99-maas-sudoers (+0/-2) debian/extras/maas-rack (+0/-0) debian/maas-common.install (+12/-0) debian/maas-rack-controller.install (+0/-5) debian/maas-rack-controller.lintian-overrides (+2/-1) dev/null (+0/-21) scripts/beacon-monitor (+24/-0) scripts/dhcp-monitor (+20/-0) scripts/multicast-helper (+89/-0) scripts/network-monitor (+21/-0) setup.py (+3/-3) snap/usr/lib/maas/maas-common (+1/-0) src/provisioningserver/__main__.py (+19/-6) src/provisioningserver/rpc/clusterservice.py (+2/-2) src/provisioningserver/rpc/tests/test_clusterservice.py (+6/-6) src/provisioningserver/utils/arp.py (+2/-2) src/provisioningserver/utils/beaconing.py (+2/-2) src/provisioningserver/utils/dhcp.py (+2/-2) src/provisioningserver/utils/fs.py (+3/-3) src/provisioningserver/utils/services.py (+4/-4) src/provisioningserver/utils/tests/test_arp.py (+2/-2) src/provisioningserver/utils/tests/test_beaconing.py (+2/-2) src/provisioningserver/utils/tests/test_fs.py (+5/-4) src/provisioningserver/utils/tests/test_services.py (+3/-3) utilities/install-sudoers (+13/-13) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+329475@code.launchpad.net |
Commit message
LP: #1702703 - Add /usr/lib/
* Any commands not specific to the rack controller will
now be available in /usr/lib/
* Add a symbolic link in the snap to point to the maas-rack
command.
* Add buildout rules to generate bin/maas-common.
* Change packaging to have maas-common depend on
the Python code for the provisioning server, so that the
command can successfully run.
* Rename some scripts in /usr/lib/maas to remove the
redundant maas- prefix, and prevent conflicts with
the old packaging.
* Update the debhelper compat level to 9, so dh-exec
can be used to copy and rename files in the same step
in .install files.
* Rename get_maas_
get_
Description of the change
This branch isn't as large as it seems; most of the lines in the diff are renaming the script files to remove the maas- prefix.
For more information on the debhelper changes, see:
https:/
https:/
These changes have been tested end-to-end and verified to work in both the .deb (including an upgrade) and the snap.
Some packaging-related items to consider (from `man debhelper`):
v8 Changes from v7 are:
- Commands will fail rather than warning when they
- dh_makeshlibs will run dpkg-gensymbols on all
- dh requires the sequence to run be specified as the
- dh_auto_* prefer to use Perl's Module::Build in
v9 This is the recommended mode of operation.
Changes from v8 are:
- Multiarch support. In particular, dh_auto_configure
- dh is aware of the usual dependencies between
- dh_strip compresses debugging symbol files to
- dh_auto_configure does not include the source
- dh does not default to enabling
- All of the dh_auto_* debhelper programs and dh set
- dh_auto_configure passes dpkg-buildflags CFLAGS,
- dh_strip puts separated debug symbols in a location
- Executable debhelper config files are run and their
This looks great. Thanks for fixing this issue. There is a bug for this defiantly somewhere, please attach before landing.