为了搭建一个测试的ubuntu cloud环境,我使用virtualbox进行安装。在完成cloud server安装后,通过web查看maas的管理界面,看到profile缺失,需要使用sudo maas-import-isos来进行安装。
运行多次这个命令,都失败了。错误如下:
"httpd does not appear to be running and proxying clobber"
查阅了半天资料,在论坛上找到问题的原因了:
Could you please make sure that MAAS/cobbler have the correct IP address configured? To do so, please to do the following:
sudo dpkg-reconfigure maas
It will ask for the IP address for the MAAS server and make the necessary updates. Once that's done, please try 'maas-import-isos' again!
这是由于我把网络改为bridge adapter之后ip地址变化,但是我没有重新设置地址造成的。重新设置地址以后就好了。
参见:https://bugs.launchpad.net/ubuntu/+source/maas/+bug/988173