f5-declarative-onboarding
f5-declarative-onboarding copied to clipboard
DO reboots device and resets hostname when simple declaration with DeviceCertificate is used
Environment
- Declarative Onboarding Version: 1.34
- BIG-IP Version: 16.1.2.1
Summary
The BIG-IP system is rebooted when submitting a declaration with DeviceCertificate, similar to https://github.com/F5Networks/f5-declarative-onboarding/blob/30f15cc72e2ea13719834194063c9fdf07430c55/examples/deviceCertificate.json .
A reboot is unnecessary to activate a new device certificate. A simple restart of httpd would be sufficient.
I addition the hostname (sys global-settings hostname) is reset to localhost.
Steps To Reproduce
Steps to reproduce the behavior:
- Submit the following declaration:
{
"schemaVersion": "1.0.0",
"class": "Device",
"Common": {
"class": "Tenant",
"deviceCertificate": {
"class": "DeviceCertificate",
"certificate": {
"base64": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCkY1IEZBS0UgQ0VSVElGSUNBVEUKLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQ=="
},
"privateKey": {
"base64": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpGNSBGQUtFIFBSSVZBVEUgS0VZCi0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0t"
}
}
}
}
Expected Behavior
System does not reboot but restarts httpd. System hostname is not reset.
Actual Behavior
System is rebooted. System hostname is reset.
Create Jira AUTOTOOL-3579 for tracking and prioritization. Spike to determine if reboot is required