Hi,
and thank you for your report.
The version is from zesty, I just installed the same package and it triggered as is.
From your log:
Setting up maas-rack-controller (2.1.3+bzr5573-0ubuntu1) ...
Traceback (most recent call last):
File "/usr/sbin/maas-rack", line 85, in <module>
main()
File "/usr/sbin/maas-rack", line 81, in main
run()
File "/usr/sbin/maas-rack", line 52, in run
from provisioningserver.__main__ import main
File "/usr/lib/python3/dist-packages/provisioningserver/__main__.py", line 8, in <module>
import provisioningserver.boot.install_grub
File "/usr/lib/python3/dist-packages/provisioningserver/boot/__init__.py", line 387, in <module>
PXEBootMethod(),
File "/usr/lib/python3/dist-packages/provisioningserver/boot/__init__.py", line 275, in __init__
assert issubclass(type(self.template_subdir), Optional[str])
File "/usr/lib/python3.5/typing.py", line 770, in __subclasscheck__
raise TypeError("Unions cannot be used with issubclass().")
TypeError: Unions cannot be used with issubclass().
@Maas Team - please take a look this actually should never have passed installability tests, but then it could have been some sort of side effect by another update.
To trigger you can just init a new lxd container and run "apt-get install maas-rack-controller"
Hi,
and thank you for your report.
The version is from zesty, I just installed the same package and it triggered as is.
From your log: controller (2.1.3+ bzr5573- 0ubuntu1) ... maas-rack" , line 85, in <module> maas-rack" , line 81, in main maas-rack" , line 52, in run ver.__main_ _ import main python3/ dist-packages/ provisioningser ver/__main_ _.py", line 8, in <module> ver.boot. install_ grub python3/ dist-packages/ provisioningser ver/boot/ __init_ _.py", line 387, in <module> od(), python3/ dist-packages/ provisioningser ver/boot/ __init_ _.py", line 275, in __init__ type(self. template_ subdir) , Optional[str]) python3. 5/typing. py", line 770, in __subclasscheck__
Setting up maas-rack-
Traceback (most recent call last):
File "/usr/sbin/
main()
File "/usr/sbin/
run()
File "/usr/sbin/
from provisioningser
File "/usr/lib/
import provisioningser
File "/usr/lib/
PXEBootMeth
File "/usr/lib/
assert issubclass(
File "/usr/lib/
raise TypeError("Unions cannot be used with issubclass().")
TypeError: Unions cannot be used with issubclass().
@Maas Team - please take a look this actually should never have passed installability tests, but then it could have been some sort of side effect by another update. controller"
To trigger you can just init a new lxd container and run "apt-get install maas-rack-