AIO Duplex install failure: Failed to determine the boot device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Don Penney |
Bug Description
Brief Description
-----------------
ansible-playbook command fails with the output below. A pre-condition to note is that during installation I manually changed the anaconda install cmdline to point the boot and rootfs dev to sdb (since sda was my USB drive). Pl. see
http://
Severity
--------
<Minor: System/Feature is usable with minor issue>
Here is the output:
TASK [persist-config : Add the management floating address] *******
changed: [localhost]
TASK [persist-config : Saving config in sysinv database] *******
changed: [localhost]
TASK [persist-config : debug] *******
ok: [localhost] => {
"populate_
"changed": true,
"failed": false,
"msg": "non-zero return code",
"rc": 1,
"stderr": "No handlers could be found for logger \"cgtsclient.
"No handlers could be found for logger \"cgtsclient.
" File \"/tmp/
" controller = populate_
" File \"/tmp/
" boot_device = get_device_
" File \"/tmp/
" device_node = get_disk_
" File \"/tmp/
" raise ConfigFail(\"Failed to determine the boot device\")",
],
"stdout": "Populating system config...\nSystem type is All-in-one\nSystem config completed.
"System type is All-in-one",
"System config completed.",
"Load config completed.",
"DNS config completed.",
"Root fs device = /dev/disk/
"Failed to update the initial system config."
]
}
}
TASK [persist-config : Fail if populate config script throws an exception] *******
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to provision initial system configuration."}
PLAY RECAP *******
localhost : ok=97 changed=26 unreachable=0 failed=1
-----
And here is the relevant log:
controller-0:~$ sudo cat /var/log/
08:31:06,860 DEBUG blivet: getFormat(
08:31:06,879 DEBUG blivet: PartitionDevice
08:31:06,881 DEBUG blivet: PartitionDevice
08:31:06,881 INFO blivet: registered action: [88] create format biosboot on partition req0 (id 85)
08:31:07,072 DEBUG blivet: fixing size of non-existent 1024 KiB partition sdb1 (85) with non-existent biosboot
08:31:08,614 DEBUG blivet: action: [88] create format biosboot on partition sdb1 (id 85)
08:31:08,640 DEBUG blivet: action: [88] create format biosboot on partition sdb1 (id 85)
08:31:15,576 INFO blivet: executing action: [88] create format biosboot on partition sdb1 (id 85)
08:31:15,698 DEBUG blivet: BIOSBoot.create: device: /dev/sdb1 ; status: False ; type: biosboot ;
controller-0:~$
Marking as stx.3.0 gating - It appears that the system cannot be bootstrapped if the boot device is updated from /dev/sda