Comment 2 for bug 1899692

Revision history for this message
Frank Heimes (fheimes) wrote :

I tried the activation of DASD FBA devices again - with the 20.10 installer (ISO image Oct 1st) and the 20.04.1 installer and it failed for me on 20.10 only - hence I think a regression got introduced.

During DASD FBA activations I see (on groovy) the following error msg in subiquity:
----------%<--------------------%<--------------------%<--------------------%<----------
result = self.fn(*self.args, **self.kwargs)
                   File "/snap/subiquity/2027/lib/python3.6/site-packages/subiquitycore/prober.py", line 60, in get_storage
                                                                                                                               return Storage().probe(probe_types=probe_types)
                                                                                                                                                                                File "/snap/subiquity/2027/lib/python3.6/site-packages/probert/storage.py", line 186, in probe
                                    probed_data[ptype] = pfunc(context=self.context)

File "/snap/subiquity/2027/lib/python3.6/site-packages/probert/storage.py", line 128, in blockdev_probe

                                                                                                                                                                                                 ptable = _extract_partition_table(device['DEVNAME'])
         File "/snap/subiquity/2027/lib/python3.6/site-packages/probert/storage.py", line 111, in _extract_partition_table
                                                                                                                              log.error('Failed to load sfdisk json output:', e)
                                                                                                                                                                                Message: 'Failed to load sfdisk json output:'
                                                                                                                                                                                                                             Arguments: (JSONDecodeError('Expecting property name enclosed in double quotes: line 8 column 4 (char 151)',),)

Logging error ---
                                                                                                                   Traceback (most recent call last):
                                                                                                                                                       File "/snap/subiquity/2027/lib/python3.6/site-packages/probert/storage.py", line 109, in _extract_partition_table

                              ptable = json.loads(output)
File "/snap/subiquity/2027/usr/lib/python3.6/json/__init__.py", line 354, in loads
                                                                                                                                                 return _default_decoder.decode(s)
                                                                                                                                                                                    File "/snap/subiquity/2027/usr/lib/python3.6/json/decoder.py", line 339, in decode
                            obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/snap/subiquity/2027/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode

                                                                                                                                                                         ----------%<--------------------%<--------------------%<--------------------%<----------

I'm attaching here the log of what I saw in the console (installer and shell) during the 20.041 and the 20.10 installation.