Merge ~rafaeldtinoco/ubuntu/+source/resource-agents:lp1895343-focal into ubuntu/+source/resource-agents:ubuntu/focal-devel
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Lucas Kanashiro | ||||
Proposed branch: | ~rafaeldtinoco/ubuntu/+source/resource-agents:lp1895343-focal | ||||
Merge into: | ubuntu/+source/resource-agents:ubuntu/focal-devel | ||||
Diff against target: |
89 lines (+67/-0) 3 files modified
debian/changelog (+7/-0) debian/patches/lp1895343-01-azure-lb-Dont-redirect-nc-listener-output-to-pidfile.patch (+59/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lucas Kanashiro (community) | Needs Fixing | ||
Canonical Server | Pending | ||
Rafael David Tinoco | Pending | ||
Review via email: mp+392747@code.launchpad.net |
Commit message
BUG: https:/
PPA: https:/
Both bugs: LP: #1894323 (fence-agents) & SF: #00289211 and LP: #1895343 (resource-agents) are part of our effort to get fence/resource agents back-ported to Bionic & Focal to Azure.
----
This is the Focal merge for resource-agents attempt of backporting azure-lb and azure-events.
Actually those 2 don't need backport as they're already present in Focal. This merge is only
leveling azure-lb up with the other merge (for same bug) doing the Bionic backport (the fix was placed in Bionic and I did not want to let Focal not to have the same fix).
Note: You might require to fill LP description with a SRU template for this one.
* Changelog:
- [-] old content and logical tag match as expected
- [x] changelog entry correct version and targeted codename
- [√] changelog entries correct
- [-] update-maintainer has been run
* Actual changes:
- [√] no upstream changes to consider
- [√] no further upstream version to consider
- [√] debian changes look safe
* Old Delta:
- [-] dropped changes are ok to be dropped
- [√] nothing else to drop
- [√] changes forwarded upstream/debian (if appropriate)
* New Delta: patches/ series
- [x] no new patches added
- [√] patches match what was proposed upstream
- [√] patches correctly included in debian/
- [√] patches have correct DEP3 metadata
* Build/Test:
- [√] build is ok
- [x] verified PPA package installs/uninstalls
- [√] autopkgtest against the PPA package passes
- [√] sanity checks test fine
The version needs to be updated to 1:4.5.0-2ubuntu2.2 because 1:4.5.0-2ubuntu2.1 was just accepted in focal-proposed as part of this SRU:
https:/ /bugs.launchpad .net/ubuntu/ +source/ resource- agents/ +bug/1900016
I ran the DEP-8 tests with autopkgtest and everything passed:
autopkgtest [11:45:45]: @@@@@@@ @@@@@@@ @@@@@@ summary
IPaddr2 PASS
command1 PASS
command2 PASS
command3 PASS
command4 PASS
command5 PASS
command6 PASS
command7 PASS
command8 PASS
command9 PASS
command10 PASS
command11 PASS
command12 PASS
The linked PPA is targeting Bionic and not Focal, so I did a local build and tested it in my Azure cluster with a load balance setup. Everything went well, the azure-lb resource is processing health probe requests as expected. This is the CIB of my cluster where I tested this package:
node 1: vm01 fence_azure_ arm \ focal-ha username= XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 login=XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 passwd="XXXXXXXXXX" tenantId= XXXXXXXX- f848-46d4- a96f-be6df491fe 15 subscriptionId= XXXXXXXX- f311-482d- a746-82b73fc32b 27 pcmk_reboot_ timeout= 900 \ fence_azure_ arm \ focal-ha username= XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 login=XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 passwd="XXXXXXXXXX" tenantId= XXXXXXXX- f848-46d4- a96f-be6df491fe 15 subscriptionId= XXXXXXXX- f311-482d- a746-82b73fc32b 27 pcmk_reboot_ timeout= 900 \ fence_azure_ arm \ focal-ha username= XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 login=XXXXXXXX- 097d-4821- 868b-a51b5be081 f0 passwd="XXXXXXXXXX" tenantId= XXXXXXXX- f848-46d4- a96f-be6df491fe 15 subscriptionId= XXXXXXXX- f311-482d- a746-82b73fc32b 27 pcmk_reboot_ timeout= 900 \
node 2: vm02
node 3: vm03
primitive fence-vm01 stonith:
params action=reboot plug=vm01 resourceGroup=
op monitor interval=3600 timeout=120
primitive fence-vm02 stonith:
params action=reboot plug=vm02 resourceGroup=
op monitor interval=3600 timeout=120
primitive fence-vm03 stonith:
params action=reboot plug=vm03 resourceGroup=
op monitor interval=3600 timeout=120
primitive lb-healthprobe azure-lb \
params port=8000 nc="/bin/nc" \
op monitor interval=10 timeout=20
location l-fence-vm01 fence-vm01 -inf: vm01
location l-fence-vm02 fence-vm02...