f5-declarative-onboarding icon indicating copy to clipboard operation
f5-declarative-onboarding copied to clipboard

DO reboots device and resets hostname when simple declaration with DeviceCertificate is used

Open simonkowallik opened this issue 3 years ago • 3 comments

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:

  1. 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.

simonkowallik avatar Nov 21 '22 19:11 simonkowallik

Create Jira AUTOTOOL-3579 for tracking and prioritization. Spike to determine if reboot is required

mdditt2000 avatar Mar 29 '23 22:03 mdditt2000