Also, would you please tell me the output of the following:
$ sudo maas-region shell
>>> from maasserver.preseed import get_preseed_context
>>> from pprint import pprint
>>> from maasserver.models import RackController
>>> pprint([get_preseed_context(rack_controller=rack) for rack in RackController.objects.all()])
Also, would you please tell me the output of the following:
$ sudo maas-region shell [get_preseed_ context( rack_controller =rack) for rack in RackController. objects. all()])
>>> from maasserver.preseed import get_preseed_context
>>> from pprint import pprint
>>> from maasserver.models import RackController
>>> pprint(
For me I see this:
[{'metadata_ enlist_ url': 'http:// 172.16. 99.2:5240/ metadata/ enlist', 172.16. 99.2:5240/ api/2.0/ machines/ ', host_port' : '172.16.99.2:514'}]
'osystem': '',
'release': '',
'server_host': '172.16.99.2',
'server_url': 'http://
'syslog_
Which doesn't match the .190 address, so that seems to be the bug; this data isn't making it into the preseed delivered to the enlisting node.