/srv/irclogs.ubuntu.com/2017/06/15/#maas.txt

=== frankban is now known as frankban|afk
MikeTis anyone aware of being able to use SSO/LDAP for the MaaS web interface?17:36
tlianQUESTION on maas cli: How to "Add alias or VLAN" to a bond interface?  It is simple using web interface. But having a hard time to do it via CLI17:40
tlian@channel QUESTION on maas cli: How to "Add alias or VLAN" to a bond interface?  It is simple using web interface. But having a hard time to do it via CLI17:54
MikeT@channel is anyone aware of a way to enable SSO/LDAP with the MaaS web interface?18:03
Test21Heads up, you forgot a comma on the front page. (DevOps integration Integration with devops automation tools like conjure-up, Juju, Chef, Puppet, SALTAnsible and more).18:04
Test21SATL, Ansible18:04
pmatulistlian, try 'maas $PROFILE interface update -h'18:07
pmatulis(providing you're logged in as $PROFILE)18:07
pmatulisTest2... thank you :)18:08
tlianpmatulis, I did look into that... no success18:19
tliancan you be more specific if you have run the command before to do the job ? thnx18:19
mupBug #1698181 opened: Switch to netplan renderer in Artful <cloud-images:New> <cloud-init (Ubuntu):New> <lxd (Ubuntu):Invalid> <maas (Ubuntu):New> <https://launchpad.net/bugs/1698181>18:20
pmatulistlian, please pastebin your exact command and its output18:20
tlianmaas cloginprofile interface update 'hneswp' 157 name="11.11.11.11-Prod" mac_address="xx:xx:xx:xx:xx:xx"18:22
tlianthat command do not update anything18:22
pmatulistlian, error output?18:23
tlianI assume there should be parameter for the update18:23
tlianthis is from the HELP message18:23
tlianFields for bond interface:  :param name: Name of the interface. :param mac_address: MAC address of the interface. :param tags: Tags for the interface. :param vlan: Untagged VLAN the interface is connected to.  If not set     then the interface is considered disconnected. :param parents: Parent interfaces that make this bond.18:23
tliannot sure how :param vlan is to be used18:24
tlianis the parameter asking for the current vlan it is associated with ?   or Is it the new VLAN I want to add to the interface?18:25
pmatulistlian, the latter (new)18:26
pmatulistlian, the output doesn't say what is wrong with the command?18:26
tlianpmatulis, just to be on the same page, you understand what I'm trying to accomplish - right?18:27
tlianIf not, I can re- explian :)18:27
pmatulistlian, you want to put a bonded interface in a VLAN?18:28
tlianno18:28
tlianI have a bonded interface which is run on "Untagged" VLAN as bond interface are only run on untagged vlan18:29
tlianWhat I am trying to accomplish is to add additional VLAN to the bond interface18:29
tlianfrom the Web UI, it will say "Add  alias or VLAN"18:30
pmatulisright, that's what i meant18:31
tlianEssentially, this is to make the interface associate with 2 VLAN... one being tagged and the other being a specific VLAN18:31
tlianok18:31
tlianso the error is18:31
tlian{"vlan": ["Select a valid choice. That choice is not one of the available choices."]}18:31
tlianI verified the vlan does exist...18:32
pmatulisok, but i don't see "vlan" in your command above18:33
tlianmaas cloginprofile interface update 'hneswp' 157 name="11.11.11.11-Prod" mac_address="xx:xx:xx:xx:xx:xx" vlan="SQL"18:35
tlianpmatulis, that's the full command18:35
tlianInstead of specifying the vlan by name (vlan="SQL"), specifying it by id (vlan=8) generating a more useful error message18:38
tlian{"vlan": ["A bond interface can only belong to an untagged VLAN."]}18:38
tlianIt looked like the above command move it to a different VLAN instead of adding an additional VLAN18:39
tlianpmatulis, figured!  So, short answer is (1) First, create an interface of 'VLAN' type <interfaces create-vlan > (2) Secondly, link the interface to a subnet <interface link-subnet>19:10
pmatulistlian, sweet19:28
pmatulistlian, i recommend a follow up to the m/l post19:29
mupBug #1678339 opened: [2.2] Can't assign a static IP to a physical interface due to incorrect validation <MAAS:In Progress by mpontillo> <MAAS 2.2:In Progress by mpontillo> <https://launchpad.net/bugs/1678339>21:24
catbusHi, I have an SSD drive on a node, how come the 'create bcache' button is grey out on the node page?22:10
catbusI figured other ways to create the bcache (via global settings and cli), but thought that button is the gui way of doing it on the per node basis.22:10
catbusmaas 2.222:12
mupBug #1698240 opened: [MAAS 2.2.0] Creating tag definition with whitespace in XPath applies to all nodes <MAAS:New> <https://launchpad.net/bugs/1698240>22:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!