TritonDataCenter / triton-cmon

The Metric Agent Proxy for Triton's Container Monitor https://github.com/joyent/rfd/blob/master/rfd/0027/README.md
Mozilla Public License 2.0
6 stars 12 forks source link

how to specify network instead of external when installing triton-cmon #4

Closed bruceyang15 closed 2 years ago

bruceyang15 commented 7 years ago

I am trying to setup cmon on my headnode, and got the following error message.

sdcadm post-setup cmon: error (SDCClient): sapi client error (ProvisionFailedError): no more free IPs.

seems it will create 2 NICs with admin and external networks. but my external networks contains public IP addresses and it runs out of IP.

is it possible to specify another network (private subnet) when I run "sdcadm post-setup cmon"?

thanks.

bahamat commented 5 years ago

At current, you can't. All of Triton's core stack components expect to be able to use the network named external wherever external interfaces are required, and it's a best practice to reserve that network for the admin user and provide other networks for tenant use.