I installed ubuntu maas in a vagrant box and did the port forwarding setup.
On accessing the web interface only nodes link is available.
I also have the pxe images not found warning in the UI. Tried to import PXE images and was completed but still the warning message persists and no other links available.
I did some research and found something can be done by logging in here : https://maas.ubuntu.com/docs/maascli.html#cli.
My web UI is similar to one in the above link.
They asked to login to API using
maas login <profile-name> <hostname> <key>
But I am getting unknown command login.Then I tried with maas-cli login <profile-name> <hostname> <key> and I am getting error saying connection refused.
Am I doing something wrong? please help me..
My goal is to setup a node and use maas API to do its powercycle.
My host machine is ubuntu 14.04
On accessing the web interface only nodes link is available.
I also have the pxe images not found warning in the UI. Tried to import PXE images and was completed but still the warning message persists and no other links available.
I did some research and found something can be done by logging in here : https://maas.ubuntu.com/docs/maascli.html#cli.
My web UI is similar to one in the above link.
They asked to login to API using
maas login <profile-name> <hostname> <key>
But I am getting unknown command login.Then I tried with maas-cli login <profile-name> <hostname> <key> and I am getting error saying connection refused.
Code:
vagrant@precise32:~$ maas-cli login root http://localhost:8081/MAAS/api/1.0/auth vNjxR3wUuesrFkakLu:Kbxr5YHsSQkZy6mtLP:Bk4Wq3QzWrmTg6LvGe83j4uBzTvUmar7
usage: /usr/lib/python2.7/dist-packages/maascli/__main__.py [-h] COMMAND ...
/usr/lib/python2.7/dist-packages/maascli/__main__.py: error: [Errno 111] Connection refused
Am I doing something wrong? please help me..
My goal is to setup a node and use maas API to do its powercycle.
My host machine is ubuntu 14.04