[05:01] <mup> Bug #1672947 opened: MAAS accepts <IP_ADDRESS>/0 as a subnet, but this breaks DNS update code <MAAS:New> <https://launchpad.net/bugs/1672947>
[05:27] <ybaumy> can i use a apt proxy for one subnet and for another not?
[05:28] <ybaumy> or is this a global parameter
[09:16] <mup> Bug # changed: 1254807, 1386504, 1441408, 1549397, 1571031, 1582323, 1598175, 1600328, 1602412, 1606508, 1611999, 1614584, 1620478, 1621507, 1628514, 1629982, 1630361, 1630636, 1632853, 1633378, 1633397, 1633401, 1633452, 1633457, 1633462, 1633467, 1633470, 1633600, 1633717, 1633822, 1636250,
[09:16] <mup> 1636251, 1636324, 1636873, 1636874, 1636992, 1637009, 1637182, 1637192, 1637246, 1637401, 1638284, 1638285, 1638288, 1638575, 1638589, 1639182, 1639247, 1639258, 1639288, 1640147, 1640259, 1640780, 1642033, 1642200, 1643552, 1645067, 1645319, 1645912, 1646162, 1646163, 1646748, 1646891, 1646955,
[09:16] <mup> 1647703, 1648456, 1648836, 1651452, 1651675, 1655049, 1656208, 1656717, 1657491, 1659152, 1659164, 1659244, 1659511, 1659607, 1659672, 1659959, 1660185, 1660188, 1660858, 1660863, 1660864, 1661214, 1661579, 1663276, 1663290, 1663517, 1663643, 1663686, 1664285, 1664664, 1664667, 1664732, 1664813,
[09:16] <mup> 1665143, 1665459, 1665478, 1665839, 1667426, 1667754, 1668731, 1668759, 1669213, 1669221, 1669225, 1669226, 1669246, 1669425, 1669428, 1669547, 1669568, 1669570, 1669783, 1669833, 1670326, 1670337, 1670821
[09:46] <mup> Bug #1671897 changed: ui to browse combos of tags is inconsistent with juju's notion of combos of tags <ui> <uosci> <MAAS:Invalid> <https://launchpad.net/bugs/1671897>
[09:49] <mup> Bug #1671897 opened: ui to browse combos of tags is inconsistent with juju's notion of combos of tags <ui> <uosci> <MAAS:Invalid> <https://launchpad.net/bugs/1671897>
[09:52] <mup> Bug #1671897 changed: ui to browse combos of tags is inconsistent with juju's notion of combos of tags <ui> <uosci> <MAAS:Invalid> <https://launchpad.net/bugs/1671897>
[11:37] <mup> Bug #1665482 changed: [2.2] MAAS shows install.log from previous deploy on a machine that failed to commission <MAAS:Fix Released> <https://launchpad.net/bugs/1665482>
[13:41] <rainmaker> Hi all, is there any way to force maas to use eth1 to probe the BMC of the server? I'm having trouble turning on servers with 2 nics connected since the bmc shares port 1
[14:28] <wargamez> Hi. Is maas 2.0 supported by landscape?
[14:29] <roaksoax> rainmaker: i dont fully understand what the issue is there, but you only would need the rack controller reacheable to the IP address of the BMC, or one on the same subnet
[14:34] <cnf> in maas, what is the difference between a fabric and a space?
[14:39] <roaksoax> wargamez: for autopilot? I think they are working in it
[14:39] <roaksoax> cnf: fabric is a swithc or a set of switches
[14:39] <cnf> hmm
[14:39] <roaksoax> cnf: in 2.2+ space concept is being changed from L3 to L2. Basically, a space tells that a vlan or a set of vlans can communicate to each other
[14:39] <cnf> roaksoax: because the docs say "A fabric is a set of interconnected VLANs that are capable of mutual communication. "
[14:40] <roaksoax> pmatulis: ^^
[14:40] <cnf> so i configured my fabrics as if they where spaces
[14:41] <cnf> roaksoax: so i can have 10 vlans in 8 spaces  on one fabric, really?
[14:41] <cnf> so why would you define different fabrics on maas?
[14:41] <cnf> here, it's all just one big "virtual switch"
[14:42] <roaksoax> cnf: spaces is not mandatory in 2.2+
[14:43] <cnf> well, i was asking in juju how to have juju place things on the right server, because not every server has / should have an ip in every vlan
[14:43] <cnf> and i got pointed to spaces
[14:43] <cnf> (my main goal is deploying openstack with juju btw)
[14:43] <pmatulis> roaksoax, so you want "A fabric is a switch or a set of switches." ?
[14:43] <roaksoax> pmatulis: we can clarify the terms later, but just pointing out that the term in ther is actually ckinda referring to spaces
[14:44] <mup> Bug #1673087 opened: Save/Load Network and Storage Configurations <MAAS:Triaged> <https://launchpad.net/bugs/1673087>
[14:44] <mup> Bug #1673091 opened: Tags with dots are not saved <error-surface> <MAAS:Triaged> <https://launchpad.net/bugs/1673091>
[14:44] <cnf> ok, so i should move everything back into fabric-0 then
[14:44] <cnf> i think
[14:49] <pmatulis> roaksoax, comes from here: http://bazaar.launchpad.net/~maas-committers/maas/2.1/view/head:/docs/networking.rst
[14:50] <wargamez> roaksoax: Yes for autopilot. I am not able to connect to maas 2.X with it it says 401 gone. Is there a maas 1.9 for ubuntu 16.04 available somewhere?
[14:50] <pmatulis> roaksoax, please open a doc bug on it with specifics
[14:51] <cnf> it has the same info text in the GUI btw
[14:51] <roaksoax> wargamez: i dont think it is released, but they have been working on it
[14:52] <cnf> hmm, what a mess :P
[14:52] <roaksoax> cnf: note that fabrics / spaces is a design thing. If all your machines are in the same fabric, and all your machines are connected to the same 'untagged' vlan (i.e. all pxe boot on the same untagged vlan), then yes that sounds all your machines should be in the same fabric
[14:53] <cnf> roaksoax: i have a lot more vlans than that
[14:53] <roaksoax> cnf: is you have say X machines pxe boot on untagged vlanX and Y machines pxe boot on untagged vlanY, then it sounds you need 2 fabrics
[14:53] <cnf> but i have 1 vlan just for MAAS
[14:53] <roaksoax> cnf: yeah just an exmape :)
[14:53] <cnf> but here, everything is one switch
[14:53] <cnf> well, about 5 switches, but they behave as 1
[14:54] <cnf> ignoring the vmware distributed vswitches etc
[14:54] <cnf> hmm
[14:54] <cnf> what are the concequenses of having different fabrics?
[14:55] <cnf> (seems i can't move VLAN's between fabrics)
[14:57] <cnf> so you would have a fabric per top of rack switch, for example, but all pxe boot vlan's would be in one space?
[14:57] <cnf> or am I misunderstanding this?
[14:58] <roaksoax> cnf: i sec, otp
[14:59] <cnf> sure
[15:03] <roaksoax> cnf: ok, sorry about that.
[15:03] <roaksoax> cnf: say you have this:
[15:03] <roaksoax> MAAS (region/rack) -- switch1 -- node01
[15:03] <roaksoax>                    -- switch2 -- node02
[15:03] <roaksoax>                    -- switch3 -- node03
[15:04] <roaksoax> cnf: and node01/node02/node03 can talk to each outher in the same vlan
[15:04] <roaksoax> cnf: and PXE boot from MAAS in the same vlan, from the same subnet
[15:04] <roaksoax> cnf: then that would be 1 fabric
[15:05] <roaksoax> cnf: i guess the right term would be that all those 3 switches are trunked
[15:06] <cnf> right
[15:07] <cnf> i'm not sure when to use different fabrics, i guess
[15:07] <cnf> as opposed to using spaces
[15:07] <cnf> roaksoax: so if you had a VLAN for pxe booting and maas mgmt, and one for storage traffic, would those be different fabrics?
[15:07] <cnf> when they are on the same switch
[15:08] <roaksoax> cnf:
[15:08] <roaksoax> MAAS eth0-<IP_ADDRESS> -- switch1.fabric0.untagged -- node01.eth0    -- <IP_ADDRESS>
[15:08] <roaksoax>                                 fabric0.vlan10   -- node01.eth0.10 -- <IP_ADDRESS>
[15:08] <roaksoax>                      -- switch2.fabric0.untagged -- node02
[15:08] <roaksoax>                      -- switch3.fabric0.untagged -- node03.eth0    -- <IP_ADDRESS>
[15:08] <roaksoax>                                 fabric0.vlan10   -- node03.eth0.10 -- <IP_ADDRESS>
[15:08] <cnf> ok
[15:13] <roaksoax> MAAS eth0-<IP_ADDRESS> -- switch1.fabric0.untagged -- node01.eth0    -- <IP_ADDRESS>   -- space.undefined
[15:13] <roaksoax>                                 fabric0.vlan10   -- node01.eth0.10 -- <IP_ADDRESS> -- space.test
[15:13] <roaksoax>                      -- switch2.fabric0.untagged -- node02
[15:13] <roaksoax>                                 fabric0.vlan20   -- node02.eth0.20 -- <IP_ADDRESS> -- space.storage
[15:13] <roaksoax>                      -- switch3.fabric0.untagged -- node03.eth0    -- <IP_ADDRESS>   -- space.undefined
[15:13] <roaksoax>                                 fabric0.vlan10   -- node03.eth0.10 -- <IP_ADDRESS> -- space.test
[15:13] <roaksoax>                                 fabric0.vlan30   -- node03.eth0.30 -- <IP_ADDRESS> -- space.storage
[15:13] <roaksoax> cnf: or the above too
[15:14] <roaksoax> cnf: so in maas 2.2+ L2 spaces, you can have vlan20 and vlan30 in the same space, each with different subnets, and you are saying basically that machjines in vlan30 and machines in vlan20 can communicate to each other
[15:14] <roaksoax> cnf: on thjose subnets via those spaces
[15:15] <cnf> ok
[15:15] <cnf> so do i need separate spaces for ipv4 or ipv6 ?
[15:16] <roaksoax> cnf: no necessarily, you can have both ipv4/ipv6 subnets in the same vlan
[15:16] <cnf> but in the same space?
[15:16] <cnf> because technically, they can't communicate :P
[15:17] <cnf> hmm, but spaces are per vlan, of course
[15:17] <roaksoax> yeah, so you can have ipv4/ipv6 on vlan10 and ipv4.1/ipv6.1 in vlan20, both in the same space
[15:17] <roaksoax> what you are saying there is, ipv4 on vlan10 can communicate with ipv4.1 in vlan20
[15:17] <cnf> ok
[15:17] <roaksoax> the same for ipv6
[15:17] <cnf> so when would you use different fabrics?
[15:19] <roaksoax> cnf: when you have infrastructure that you dont want it to communicate with each other
[15:19] <roaksoax> cnf: for example, you can have 2 different openstack clouds, each on their own fabric
[15:19] <cnf> hmm, ok
[15:19] <roaksoax> cnf: the isntances could communicate to each other because they are "public" addresses
[15:19] <cnf> and have the same vlans with the same subnets, but there is no link between the 2?
[15:20] <cnf> right
[15:22] <cnf> ok, i'm going to have to jiggle some things around
[15:22] <cnf> roaksoax: thanks
[15:23] <roaksoax> cnf: this may help a bit too: https://docs.ubuntu.com/maas/devel/en/release-notes#important-announcements_1
[15:49] <cnf> hmm
[15:57] <ThiagoCMC> Hey guys, does the PXE boot stuff works on top of tagged vlans? Like: "eth0.100"? While just eth0 is the regular "ubuntu maas" IP, for accessing its UI, ssh into it, etc...
[15:59] <ThiagoCMC> The server was PXE booted by MaaS, but the commisioning is faling: "Could not query power state: Connection timed out while performing power action.  Check BMC configuration and connectivity and try again.."
[15:59] <ThiagoCMC> not sure what to do...   =/
[15:59] <ThiagoCMC> I changed the "power user / pass", to Dell's default but, still doesn't work... I can use those same user/pass on iDrac.
[16:00] <rainmaker> anyone here installed openstack? how did you have success? using autopilot or juju deploy openstack-base?
[16:01] <roaksoax> rainmaker: last time i did was with conjure-up and maas 2.2
[16:01] <roaksoax> ThiagoCMC: if the bios handles it, it should yes
[16:02] <rainmaker> roadsoax: i used conjure-up for deploying it on a single laptop.. but will it still work for a production enviornment?
[16:03] <ThiagoCMC> Hmm... Double checking BIOS settings... Thanks!
[16:03] <ThiagoCMC> =)
[16:11] <mup> Bug #1673135 opened: [2.2b3] Machine fails to deploy , but install log is not immediately stored. <MAAS:Triaged> <https://launchpad.net/bugs/1673135>
[16:13] <cnf> hmz
[16:13] <cnf> what a mess :P
[16:15] <ThiagoCMC> roaksoax, "iDRAC -> iDRAC Settings -> Network/Security -> Network -> IPMI Settings [x]Enable IPMI Over LAN" - Worked! Thanks man!
[16:24] <cnf> roaksoax: i can't pick what vlan to assign in a fabric on a node
[16:24] <cnf> it's grayed out, and only the 1st one is selected?
[16:26] <zeestrat> rainmaker: I'd look at building your own bundle either from the base examples from https://github.com/openstack-charmers/openstack-bundles or something like this HA example: https://launchpadlibrarian.net/298175262/bundle.yaml
[16:28] <zeestrat> rainmaker: My experience is that openstack is just not something that is going to work out of the box so we needed to take a moment to look at all the components.
[16:30] <Budgie^Smore> zeestrat, I would say that Conanical has made it pretty easy to get a basic clean openstack cluster to work out of the box, my biggest issue with it was (and also my weakness) setting up the servers networking correctly to handle all the different VLANs
[16:34] <zeestrat> Budgie^Smore: Oh, absolutely. My recommendation is just to take a moment and think about the normal things such as storage and network as the latter usually never works automagically.
[16:34] <cnf> hmm
[16:35] <cnf> i seem to have painted myself into a corner
[16:35] <cnf> "Can't delete fabric; the following interfaces are still connected: eth0 (unknown) on <unknown-node>, eth0 (unknown) on <unknown-node>"
[16:35] <cnf> i don't seem to have said nodes...
[16:41] <cnf> hmz, how the hell do i clean this up
[16:44] <cnf> postgres stuff it is :/
[16:49] <cnf> hmm, so my database is inconsistent
[16:49] <cnf> already?
[16:49] <cnf> how the hell did that happen :/
[16:51] <cnf> anyone proficient enough with maas to help me clean this up?
[16:52] <roaksoax> mpontillo: ^^ :)
[16:57] <Budgie^Smore> zeestrat oh yeah, you definitely have to get your network layer setup correctly for things to go smoothly. http://blog.naydenov.net/2015/11/deploying-openstack-on-maas-1-9-with-juju-network-setup/ is a walk through that I used when I deployed my first openstack cluster
[16:59] <cnf> https://bpaste.net/show/b761a057d1c7
[16:59] <cnf> that looks wrong...
[16:59] <cnf> no node_id
[17:00] <cnf> and why can't i pick the vlan on an interface?
[17:01] <cnf> https://www.dropbox.com/s/m971jqnq8mve3be/Screenshot%202017-03-15%2018.01.03.png?dl=0
[17:01] <cnf> should the VLAN field be grayed out?
[17:04] <cnf> hmz
[17:04] <Budgie^Smore> cnf I think that VLAN is associated with the fabric so it would make sense to grey it out
[17:04] <cnf> Budgie^Smore: there are 5 vlans associated with that fabric
[17:05] <cnf> and the one selected is NOT the one i want
[17:06] <cnf> hmz, i don't understand this ^^;
[17:09] <Budgie^Smore> does maas allow multiple subnets / vlan?
[17:10] <mpontillo> cnf: let me take a step back: what specific version of MAAS are you using? (latest in the 2.2 or 2.2-beta series, I imagine?)
[17:10] <mpontillo> Budgie^Smore: yes, you can have multiple subnets in a VLAN
[17:10] <cnf> mpontillo: whatever was default 3 weeks ago for "apt install maas" on 16.04 :P
[17:10] <cnf> uhm,
[17:10] <cnf> MAAS Version 2.1.3+bzr5573-0ubuntu1 (16.04.1)
[17:12] <mpontillo> cnf: ok, thanks. the following query might help us understand why you have stray interfaces on your fabric. https://gist.github.com/mpontillo/94b227942fbcfc79dcad5124927ca9d9
[17:12] <mpontillo> cnf: use "sudo maas-region dbshell" to get a postgres console, then do "\pset pager off"
[17:12] <cnf> i'm already on
[17:14] <cnf> let me sanitize some ip addresses
[17:14] <mpontillo> cnf: another useful query is "select * from maas_support__node_networking;" (that's a view) -- but it's more node-centric, and it sounds like unknown interfaces are the issue for you, which are created in certain cases when we don't have a specific node
[17:15] <mpontillo> cnf: my guess is they're from leftover DHCP leases that MAAS was notified about, and the fact that you can't delete the fabric because of them is a bug
[17:15] <cnf> mpontillo: https://bpaste.net/show/8c98a8f22394
[17:16] <cnf> the last query doesn't have any reference to the floating interfaces
[17:21] <cnf> mpontillo: so i decided to keep the fabric in question., but i still think it's nasty to have this problem
[17:21] <cnf> any suggestions on how to clean it up?
[17:21] <mpontillo> cnf: I was just about to give you a workaround to clean up all the unknown interfaces so you could delete the fabric. https://gist.github.com/mpontillo/1a6faee09fe674c62dbaab27eb9164f4
[17:22] <cnf> nice
[17:23] <mpontillo> cnf: though if that is fabric-0 I'm honestly not sure if we'll let you delete it; that might be the "default fabric", let me know ;-)
[17:23] <cnf> that seems to have done it, i think
[17:23] <mpontillo> cnf: ok cool
[17:23] <cnf> it wasn't 0
[17:23] <cnf> so
[17:23] <cnf> uhm
[17:23] <cnf> mpontillo: what happened is i misunderstood fabrics from the docs
[17:23] <cnf> and configured them as spaces
[17:24] <cnf> then later learned i should have used spaces for this, so i made the right spaces
[17:24] <cnf> and tried to put everything on fabric-0 again
[17:24] <cnf> which is when i ran into this
[17:24] <mpontillo> cnf: yeah, we think of fabrics as basically an interconnected set of (non-virtual) switches; traditional switches in which you might use 802.1q VLANs on -- it sounds like you have vswitches in your environment though?
[17:24] <cnf> then i learned that a "fabric" is what is on a "cable" really
[17:24] <cnf> mpontillo: yeah
[17:25] <cnf> it's a juniper qfabric
[17:25] <cnf> with most things on a 2 x 10g LAG
[17:25] <cnf> but i never did figure out how to pxe boot from a LAG interface
[17:25] <cnf> so the maas network is on a separate copper cable, from the same qfabric, really
[17:25] <mpontillo> cnf: OK, I'd like to better understand your environment; if you don't mind me asking, are you using MAAS on physical or virtual hardware? is this a production or demo/staging type environment?
[17:26] <cnf> tis is a PoC atm, to evaluate using MaaS / juju to install / manage openstack
[17:26] <cnf> the MAAS controller is on a VM, the rest are physical machines
[17:26] <cnf> (PoC is Proof of Concept if you where not familiar with the TLA)
[17:27] <mpontillo> OK, sounds good, yes I know that one ;-)
[17:27] <cnf> so _normally_ we have 1 copper network (100mbit) for IlO / IPMI access
[17:27] <cnf> and everything else on optical LAGs
[17:28] <cnf> but as said, i never found out how to pxe boot on the LAG, so i added a copper network for the MAAS network
[17:28] <cnf> it's the same virtual switch, but a separate connection to the machines
[17:29] <mpontillo> cnf: all right. so you may have two or three VLANs, but it may look like two or three fabrics to MAAS?
[17:29] <mpontillo> (it's fine to model it as three fabrics, btw, that will probably mean less headache if you aren't using VLAN tags anywhere)
[17:29] <cnf> so what i am learning, i think? is that a fabric isn't a switch, but really a "cable" connected to the machine
[17:30] <mpontillo> cnf: we use a fabric to model a traditional switching infra with consistent VLAN tags inside. in your case, if you have three completely separate VLANs that can in no way communicate even by fiddling with the VLAN tags, then yeah, telling MAAS it's three fabrics will probably give you the best experience
[17:31] <mpontillo> cnf: if you have a switch with trunk ports configured where each host interface can retag traffic on the different VLAN IDs, then you'd want to use a fabric with multiple VLANs inside. but it doesn't seem like that's true in your env
[17:32] <cnf> well, it is on the fibers
[17:32] <cnf> the LAG is a trunk
[17:32] <mpontillo> cnf: okay, then I would model the LAG's VLANs if you want the deployed nodes to be able to configure VLAN interfaces on them
[17:33] <cnf> so atm i have fabric-0 with all the VLAN's, a fabric-maas with the maas vlan, and a fabric-mgmt with carries the iLo / IPMI traffic
[17:33] <mpontillo> cnf: sounds good to me.
[17:33] <cnf> for the maas controller, this looks like a separate interface
[17:33] <cnf> the ipmi one, that is
[17:33] <mpontillo> cnf: that should be fine
[17:34] <cnf> cool
[17:34] <cnf> so, as I understand it
[17:34] <cnf> juju can't configure networking
[17:34] <cnf> i need to configure what i want on a machine in maas, and then juju gets to use what is there, right?
[17:37] <mpontillo> cnf: yes, that makes sense. so for juju what you might do first is define three spaces to start with: 'mgmt', 'maas', and 'aggregate' - since you're on MAAS 2.1, those would be assigned to each subnet MAAS knows about in those spaces
[17:38] <cnf> right
[17:38] <cnf> i also addes spaces for public, openstack-mgmt and openstack-storage
[17:39] <cnf> which are all in fabric-0
[17:39] <mpontillo> cnf: are you able to define 802.1q VLANs (based on VID) inside the LAG fabric? if so then you could define the VLANs and subnets in the 'aggregate' network you want to use with juju, and define spaces appropriate for those
[17:39] <cnf> right
[17:39] <cnf> mind if i past something in pm?
[17:40] <mpontillo> cnf: ok. in MAAS 2.1, spaces must be assigned to subnets, so if you've simply created the spaces they aren't really in use until you tell MAAS which subnets they're associated with (as mentioned earlier, in MAAS 2.2 they are migrating to VLANs)
[17:40] <mpontillo> cnf: sure, if you have sensitive pastes you'd rather not make public, feel free to PM them
[17:40] <cnf> it's public ip ranges
[17:40] <cnf> i'd rather not broadcast those :P
[17:41] <mpontillo> np
[17:41] <cnf> does that look sane?
[17:41] <mpontillo> cnf: yeah that looks good to me.
[17:42] <cnf> cool
[17:42]  * mpontillo likes the "Available IPs: 100%" next to your /64; I don't imagine that will change much over time ;-)
[17:48] <cnf> :P
[18:05] <cnf> mpontillo: ok, thanks for your help
[18:05] <cnf> i'm calling it a day
[18:05] <ThiagoCMC> Hey guys, how to configure MaaS in a way that it is not the gateway of the bare-metal servers?
[18:05] <cnf> 19:00 here, i'm getting hungry and a bit sleepy
[18:05] <ThiagoCMC> I tried to delete the gateway on DHCP config but, it reappears...
[18:06] <cnf> ThiagoCMC: each subnet lets you define a gatway, and cusom routes
[18:06] <ThiagoCMC> I want the PXE network to have no gateway, and another interface of the bare-metal boxes will be the gateway...
[18:06] <ThiagoCMC> Hmm...
[18:06] <ThiagoCMC> well, I just don't want the maas as a gateway, while keep it as metadata / cloud-init as usual.
[18:07] <mpontillo> ThiagoCMC: you can set the gateway per subnet
[18:07] <ThiagoCMC> How the bare-metal boxes will have 2 gateways without using iproute2 ?
[18:07] <ThiagoCMC> Or, does it uses iproute2 multiple tables?
[18:07] <ThiagoCMC> for each gateway?
[18:07] <ThiagoCMC> Or just metrics?
[18:08] <mpontillo> ThiagoCMC: well, iproute2 is used, but it's true that MAAS could handle overlapping default routes better. you can define static routes
[18:08] <mpontillo> or rather, overlapping routes in general. we've heard requests for policy based routing
[18:10] <mpontillo> ThiagoCMC: so let me see if I understand correctly. when you PXE boot you want to use the PXE network's default router for the gateway (such as to reach the Ubuntu archive, etc. but you have another interface you want to use for just about all other traffic (assuming it's online)?
[18:11] <mpontillo> ThiagoCMC: when you say "I want the PXE network to have no gateway"... that's okay, but I see how that could be problematic with MAAS since during enlistment, commissioning, and deployment we won't bring up your data-plane interfaces
[18:19] <roaksoax> you can already achieve that
[18:19] <roaksoax> you cant two default gateways for a machine
[18:20] <ThiagoCMC> I know, with iproute2, you can...   =)
[18:20] <roaksoax> if you have a pxe network with the default gateway that is different from having gateway for other eoutes
[18:20] <roaksoax> or viceversa
[18:20] <mup> Bug #1673204 opened: LXD not getting IP address, MAAS 2.2b3 throwing django.db.utils.IntegrityError and  AssertionError <MAAS:New> <https://launchpad.net/bugs/1673204>
[18:21] <ThiagoCMC> mpontillo, oh, I see how that enlistment / deployment can be problematic...
[18:21] <roaksoax> sounds like you need to define your default gatewat forst and then configure routes for other places
[18:48] <zeho> I'm trying to figure out why i'm unable to deploy autopilot from my maas server with juju. I'm looking at the commands.log file and ls
[18:49] <zeho> and I can't tell what is wrong. What I do see is the following:
[18:49] <zeho> [ERROR: 03-15 13:19:34, gui.py:270] Problem with juju bootstrap.
[18:49] <zeho> Traceback (most recent call last):
[18:49] <zeho>   File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
[18:49] <zeho>     result = self.fn(*self.args, **self.kwargs)
[18:49] <zeho>   File "/usr/share/openstack/cloudinstall/controllers/install/multi.py", line 146, in do_install
[18:49] <zeho>     raise Exception("Problem with juju bootstrap.")
[18:49] <zeho> Exception: Problem with juju bootstrap.
[18:49] <zeho> [DEBUG: 03-15 13:19:34, error.py:35] showing error view for: Problem with juju bootstrap.
[18:49] <zeho> [ERROR: 03-15 13:19:34, task.py:71] ran off end of task list, can't start Bootstrapping Juju
[18:49] <zeho> [DEBUG: 03-15 13:19:34, utils.py:627] ssh keys exist for this user, they will be used instead.
[18:49] <zeho> [DEBUG: 03-15 13:19:34, multi.py:139] Bootstrapping Juju: JUJU_HOME=/home/maasadmin/.cloud-install/juju juju  bootstrap  --to autopilot
[18:49] <zeho> [DEBUG: 03-15 13:19:35, multi.py:145] Problem during bootstrap: '{'err': 'WARNING ignoring environments.yaml: using bootstrap config in file "/home/maasadmin/.cloud-install/juju/environments/maas.jenv"\nWARNING This juju environment is already bootstrapped. If you want to start a new Juju\nenvironment, first run juju destroy-environment to clean up, or switch to an\nalternative environment.\nERROR environment is already bootstrapped\n', 'o
[18:49] <zeho> utput': '', 'status': 1}'
[18:58] <firl> anyone on that might be able to help me understand the best way to integrate mellanox into a node for maas 2.1?
[20:08] <mpontillo> firl: what do you mean by "integrate mellanox"?
[20:09] <firl> when I commission a host that I can see an ip over ib in the networking
[20:10] <firl> mpontillo: I know a year ago it wasn’t at a place to be able to do it. I wasn’t sure if things have changed
[20:11] <mpontillo> firl: sorry, I may not be up to date on the terminology for this, but what is "ip over ib"? for MAAS 2.2 I worked on some switch ASIC identification code that runs during commissioning; we have the ability to deploy onto switches, but it can get complex depending on what you want to do
[20:12] <firl> sure, infiniband = ib. The drivers that require installation are 3rd party for them to be recognized during commissioning.
[20:12] <firl> so the IPoIB is just ethernet over infiniband ( mellanox )
[20:14] <wililupy> firl: can you give me some info on your setup?
[20:14] <mpontillo> firl: ah, I see what you mean now. mellanox being a vendor that makes lots of different things it didn't click that you were talking about InfiniBand, sorry. MAAS currently only models Ethernet interfaces, so IB cannot be fully supported, unless you can PXE boot from a non-IB interface and run a script post-deployment to configure IB
[20:14] <firl> I can do that
[20:14] <firl> is there a way to do a post-deployment script during commissioning?
[20:15] <firl> every host has, 1 pxe net, 1 ipmi net, a 20gb bonded interface, and a dual 54 mellanox port card
[20:15] <mpontillo> firl: yes, on the settings page you can upload a custom commissioning script. but doing so may not help since your IB interfaces won't have 6-byte MAC addresses and it's not likely that the MAAS commissioning script will do anything with them. if you're okay with MAAS not knowing about your IB devices, that would be easier (though undesirable for other
[20:15] <mpontillo> reasons)
[20:16] <wililupy> firl: When I did this, I had the power control set to my DLI PDU to manage power up/down/status since there is no power control on mellanox switches.
[20:16] <firl> ya
[20:16] <wililupy> You also need to set PXE as default boot. and set a tag up in MAAS for the serial console so that you can manage it:
[20:17] <firl> ya that’s already all configured
[20:17] <firl> idrac technically but ya
[20:17] <wililupy> maas admin tags create name=mellanox-sn2700 kernel_opts="console=tty0 console=ttyS0,115200n8"
[20:18] <firl> wililupy mpontillo: so comissioning is one thing, what about deployment when I deploy a node how do I have a 3rd party script run to init the interfaces ?
[20:18] <firl> so that I can have juju use it
[20:20] <mpontillo> firl: I would do that with a custom curtin_userdata script (found in /etc/maas)
[20:20] <firl> ok, I will digest this. It might be a few weeks before I will have time to do something that in depth
[20:25] <mpontillo> firl: sure. sorry, I meant /etc/maas/preseeds -- and you can have more specific files in there if you want, such as "curtin_userdata_amd64_generic_xenial_myhostname" which would match Xenial deployments [with a generic kernel] to AMD64 machines, where the hostname is "myhostname"
[20:25] <mpontillo> firl: you should be able to leave off the [_X] pieces if you want to write a more generic preseed YAML
[20:26] <firl> nice, yeah I can do a bash script check to see if the device exists on the system
[20:27] <firl> the hangup for juju to be able to use it originally was that it required post configuration and juju wouldn’t recognize it because it was running before the post configuration could go
[20:27] <firl> so I think this could work, not easily managed in a gui, but still work quite nicely
[20:31] <mpontillo> firl: yeah, most people just use the GUI for the initial setup and then automate everything from there AIUI
[20:32] <firl> ya
[20:32] <firl> for the people I need to hand off to, gui’s are easier to understand hah
[20:32] <mpontillo> firl: we do have a facility for custom drivers as well (drivers.yaml) but there is a bug where it doesn't work properly in MAAS 2.1 which has been fixed in MAAS 2.2, and it is only for deployment, not commissioning. it can identify hardware by PCI ID and add a custom repo with a DKMS module
[20:32] <firl> oooo
[20:32] <mpontillo> firl: other issue with doing it that way is the movement away from DKMS and toward UEFI boot with signed kernels
[20:33] <firl> yeah, I have bios boot for everything because it is more supported
[20:33] <firl> changing the bios on the 50 machines I help manage is a pain
[21:06] <kklimonda> I've been seeing this issue randomly over the last few deployments: https://launchpad.net/bugs/1673204 - is there something I can do to debug it further?
[21:08] <kklimonda> wow, I just read the code that is failing


[02:52] <BlackDalek> Can anyone help me with a problem? My friend's laptop has a problem with incorrectly installed kernel or kernel headers. We can't install kernel headers. We get "no installable candidate" error
[02:57] <Bashing-om> BlackDalek: What release are you working on ? End_Of_Life where the repo no longer exist ?
[03:02] <BlackDalek> Bashing-om, hold on.. I'm just switching to the problem computer so I can more easily pastebin stuff into here. brb
[03:02] <BlackDalek> exit
[03:12] <BlackDalek> Bashing-om, I am back. Sorry... what info were you asking for again?
[03:13] <Bashing-om> BlackDalek: release info ' terminal command ' lsb_release -a ' .
[03:14] <BlackDalek> Bashing-om, it's Ubuntu 20.04.3 LTS
[03:15] <BlackDalek> Bashing-om, it also tells me no LSB modules are available
[03:17] <Bashing-om> BlackDalek: We can work that ;)- OK pastebin ' sudo apt update ; sudo apt full-upgrade ' so we know the system is up-2-date and we see what the package manager screams and hollers about.
[03:17] <Bashing-om> BlackDalek: Ignore - LSB is a holdover from Debian ways.
[03:26] <BlackDalek> Bashing-om,  https://paste.ubuntu.com/p/6R3SqnBccr/
[03:28] <Bashing-om> BlackDalek: reading ^ .
[03:29] <Bashing-om> BlackDalek: Good there - so again what is the issue ? ' uname -r ' to know the booted kernel version.
[03:34] <BlackDalek> Bashing-om, the problem was discovered when we were trying to run a virtual machine on virtual box, then we discovered the virtualbox kernel driver was not installed properly, which led to discovering we could not install kernel headers for the installed kernel version.
[03:35] <BlackDalek> Bashing-om, kernel version says "5.12.5-051205-generic"
[03:36] <BlackDalek> Bashing-om, attempt to sudo apt install linux-headers-$(uname -r)
[03:36] <BlackDalek> results in no install Package 'linux-headers-5.12.5-051205-generic' has no installation candidate
[03:37] <Bashing-om> BlackDalek: Yukkie ! that is an out of tree version.
[03:37] <Bashing-om> !info linux-generic-hwe-20.04 fical | BlackDalek
[03:37] <BlackDalek> Bashing-om, yeah... so how do I fix it to the correct kernel version?
[03:37] <Bashing-om> !info linux-generic-hwe-20.04 focal | BlackDalek
[03:38] <Bashing-om> BlackDalek: Reboot and from grub choose the 5.11 kernel to boot.
[03:39] <BlackDalek> Bashing-om, how do I get to the grub menu? IS it shift key?
[03:40] <Bashing-om> BlackDalek:legacy systems are shift - EFI systems are the escape key that grub looks for - only a 2 second window of opprtunity.
[03:41] <BlackDalek> ok. brb
[04:07] <BlackDalek> Bashing-om, sorry.. having no luck. I can boot up in kernel 511, but when I do, I get no wifi hardware detected. So I am back in kernel 512 so I can access IRC on wifi
[04:10] <Bashing-om> BlackDalek: Sorry - no can help for WIFI issues - no experience there :(
[04:13] <BlackDalek> :(
[04:13] <Bashing-om> BlackDalek: Gotta run - hope you find a way forward.
[04:13] <BlackDalek> ok
[04:57] <BlackDalek> Ok, My problem is now... I have a bad branch kernel installed 5.12.5-051205-generic.... I need to get rid of it and change to kernel version 5.11.0-43-generic. I am currently switched to kernel 5.11 through grub menu. BUT I have no wifi hardware detected in 5.11 kernel. I can ONLY get my WiFi hardware to detect in kernel 5.12... I am currently connected to IRC using a ethernet cable while booted into kernel 5.11
[04:58] <BlackDalek> How do I fix my wifi in kernel 5.11 and remove kernel 5.12?
[05:00] <lotuspsychje> BlackDalek: did you file a !bug yet for your chipset?
[05:03] <BlackDalek> lotuspsychje,  I don't even know what the chipset of the wifi card is. This isn't my laptop. I'm helping a friend and they sure would not know either. currently it doesn't even show up in lspci. I need to reboot into kernel 5.12 to "see" the wifi card.
[05:04] <lotuspsychje> BlackDalek: i would suggest you keep booted into 5.11 with your cable in, then ubuntu-bug linux from a terminal, let launchpad collect your sysinfo and drag into the bug
[05:06] <BlackDalek> lotuspsychje, ok
[05:19] <BlackDalek> lotuspsychje, I put the info on  bugs.launchpad https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.11/+bug/1955754
[05:36] <lotuspsychje> thank you for filing your bug BlackDex
[05:36] <lotuspsychje> oh he left
[05:48] <morganu> gnash. image magic did not work (no such file but tabcomplete knew the file) and google voice messages could not send the file. - selected files are not supported for upload. AND when I pick it  from the list I se the name up top but then a filename all numbers on the right column.  I am going to try another way.
[06:00] <morganu> I saved it as a webpage it seems.
[06:12] <kimi> we need one more person to join so we can have a kilobyte amount of users!
[06:13] <TaZeR> i am ready to sacrifice myself for the greater good!
[06:13]  * TaZeR /wrist
[06:14] <TaZeR> ahhhhhhh it burnnnssss!
[10:12] <bluf0x> Hi, i recentlyhad to upgrade smartmontools from source so i had to remove the default package from apt. I then had to install gsmartmontools, which i did by manually downloading the .den file and forced the installation and configuration since it wanted me to install smartmontools from the repo(which i obviously ignored). Everything is fine, except now when i want to update my system i get unmet dependency error like this:
[10:12] <bluf0x> gsmartcontrol : Depends: smartmontools (>= 5.43) but it is not installed
[10:13] <bluf0x> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
[10:13] <bluf0x> .deb* file
[10:13] <bluf0x> Is it possible to ignore this unmet dependency issue and continue with update of the rest of the system?
[10:15] <lotuspsychje> bluf0x: unmet dependencys usualy arise when adding external ppa's/packages that conflict with apt
[10:15] <lotuspsychje> bluf0x: best to turn back ubuntu to its vanilla sources/packages to resolve
[10:16] <lotuspsychje> !sources
[10:20] <bluf0x> lotuspsychje, thanks but how do i install only gsmartcontrol from the repo/apt and also ignoring smartmontools at the same time?
[10:21] <bluf0x> it says Depends: smartmontools (>= 5.43) but it is not installed  however i have installed smartmontools 7.2 so i dont understand
[10:26] <lotuspsychje> bluf0x: smartmontools & gsmartcontrol depend on each other, so your external ppa conflicts with apt/vanilla repos
[10:27] <lotuspsychje> bluf0x: just remove your ppa/external package and use the one on the ubuntu repos
[10:27] <lotuspsychje> bluf0x: wich ubuntu release are you on?
[10:29] <bluf0x> lotuspsychje, i havent put any ppa's. if you mean the gsmartcontrol .deb package i manually installed then i can remove it but when i tried and installed gsmartcontrol from the vanilla repo's it wants to force me to install smartmontools and i want to ignore it.  im on Ubuntu 20.04
[10:29] <lotuspsychje> bluf0x: some external .debs contain the ppa of the maintainer, and so conflicting with apt
[10:29] <lotuspsychje> !info smartmontools focal
[10:30] <lotuspsychje> this would be your version to have/use bluf0x
[10:31] <bluf0x> lotuspsychje, yes but 7.1 is giving issues that 7.2 fixes, so i need 7.2 and i installed it from source. All i want now is gsmartcontrol without the repo'd smartmontools
[10:31] <lotuspsychje> bluf0x: volunteers cant help you with external ppa's nor built from source packages
[10:32] <bluf0x> thats why im asking how to ignore the dependency of smartmontools. not asking for help with external ppa's.
[10:32] <bluf0x> lotuspsychje, i mean i want to ignore the dependency of gsmartcontrol
[10:33] <lotuspsychje> bluf0x: try sudo apt-get install --no-install-recommends packagename
[10:34] <bluf0x> lotuspsychje, nope, still trying to force me to install smartmontools.
[10:34] <bluf0x> The following NEW packages will be installed:
[10:34] <bluf0x>   gsmartcontrol smartmontools
[10:36] <bluf0x> im just asking if there is some kind of a way to completely ignore dependencies - its not that i havent installed them, its actually that ive installed a higher version so its kind of annoying seeing this error when its not actually true.  I want to know if there is a way for other future packages as well and how people in Ubuntu deal with these kind of issues
[10:37] <lotuspsychje> bluf0x: for higher versions the reccomended way you can try !pinning or !backports
[10:38] <lotuspsychje> apt always try to fix itself the logical way
[10:46] <bluf0x> !backports
[10:51] <bluf0x> doesnt seem like smartmontools is in focal-backports
[10:52] <RikMills> (a) create a dummy empty smartmontools .deb and install that to keep apt happy
[10:52] <RikMills> (b) rebuild the gsmartcontrol archive package removing the dependency
[10:53] <RikMills> 2 possible options ^
[10:55] <RikMills> pinning won't work, as the higher version has been build from source, not in a deb
[10:58] <RikMills> for (a), something like https://grayson.sh/blogs/faking-dependencies-with-the-equivs-package
[11:05] <bluf0x> RikMills, interesting, thanks. Or maybe i should build gsmartmontools from source as well. seems easier. But its good to know there are no apt --switches to ignore dependencies this way. There should be though.
[11:06] <bluf0x> gsmartcontrol*
[11:07] <RikMills> if the option was there is apt, it would too easy for people to break their systems, and/or copy pasting unwise commands or scripts from online
[11:09] <RikMills> IMO opinion anyway
[11:32] <kristian_on_linu> hi
[11:33] <kristian_on_linu> I have a Libera issue, I hope it's okay to ask here ... when I paste the line I got in the verification email, I get "cannot send to nick/channel" ... help?
[11:33] <lotuspsychje> !register | kristian_on_linu
[11:34] <kristian_on_linu> ty, I was unaware of #libera
[12:31] <kristian_on_linu> is there a general chat channel still?
[12:34] <kristian_on_linu> ah, found #ubuntu-offtopic
[13:15] <dob1> does ubuntu creates a swapfile on / ?
[13:16] <dob1>  /swapfile is created by ubuntu?
[13:25] <lotuspsychje> !swap | dob1
[13:26] <lotuspsychje> !partitioning | dob1 see also
[13:26] <dob1> lotuspsychje, my question was different, I am not asking what is swap and how to create a swap file/partition
[13:27] <ioria> but if it's necessary ?
[13:28] <dob1> I am just asking: does ubuntu, during installation, creates a swap file on / ? named /swapfile
[13:28] <ioria> yes
[13:29] <dob1> in my case I have plenty of ram, I prefer to disable it in fstab
[13:29] <ioria> do it
[13:29] <dob1> yes
[13:31] <ioria> but first ,please, read carefully what the lotuspsychje factoid said
[13:36] <dob1> in the doc they suggest with 32gb a 6gb file/partition, imho it's a value that makes no sense
[13:37] <dob1> it's too much, you will never use it
[13:37] <ioria> it's not about the size, but the use of it
[13:40] <ioria> as i said , read carefully the factoid ; especially the 'it can also be used '  part; it suggests 2 kinds of use, notone
[13:41] <dob1> ioria, here https://help.ubuntu.com/community/SwapFaq ?
[13:41] <dob1> I was reading this
[13:42] <ioria> dob1, 'swap is used to move unused programs and data out of main memory to make your system faster. It can also be used as extra memory if you don't have enough'
[13:45] <jkc> swap is not extra ram.
[13:45] <dob1> ioria, maybe things changed but I want to prevent this. I don't want it continues write data on my ssd/nvme, I read is not good for it and I have 32gb that are enough
[13:45] <jkc> If you ever hit the point that swap is being used that way, you're past the point of trouble.
[13:45] <ioria> ok
[13:45] <branko_> Hello
[13:45] <branko_> What is PAI..?
[13:45] <jkc> dob1: swap does not generate continuous writes, so that's a myth. doesn't matter how much ram you have, swap is a beneficial thing to have.
[13:46] <dewa_> halo
[13:46] <lotuspsychje> branko_: you mean PAE?
[13:46] <branko_> yes
[13:46] <jkc> Maybe not massive amounts of it, but at least some swap is beneficial. It's a core component of the linux memory management model.
[13:46] <lotuspsychje> !pae | branko_
[13:46] <dob1> jkc, it is just moving the problem until you fill the swap too, if you example is a program that consume too much memory
[13:46] <Inline__> afaik pae is phsical address expansion
[13:47] <branko_> I cant upgrade my system because I dont have a PAE
[13:47] <Inline__> i.e. make the 32bit apps use the 64bit hw
[13:47] <Inline__> not fully but i suppose datawise or so
[13:48] <jkc> dob1: Correct. However, swap's actual purpose - to page out idle data so that that space is free for allocation to active programs - is very helpful.
[13:49] <jkc> PAE is physical address extension. Allows a 32-bit system to use more than 4GB RAM, but each individual process is still limited to 4GB RAM.
[13:49] <Inline__> right
[13:49] <dob1> jkc, ok but so we return to my point, continues write on it
[13:49] <Inline__> so it's not for the binaries themselves
[13:49] <jkc> dob1: No. You didn't have that point to begin with, so we're not returning to it.
[13:50] <Inline__> those run all within 4Gb max, but they can i suppose use more pages and shuffle pages in and out to expand or some such....
[13:50] <Inline__> no idea how all that works
[13:50] <lotuspsychje> lets please divide support issues with discussions, thanks
[13:50] <lotuspsychje> !discuss
[13:50] <dob1> jkc, if I have plenty of free ram why I need to write data on disk?  It makes no sense to me
[13:50] <jkc> dob1: Writes only occur when there is 1. sufficient inactive data in RAM and 2. a significant enough predicted need to warrant it. Unless you're in a highly memory constrained scenario, writes to swap are infrequent.
[13:52] <jkc> dob1: The system anticipates future memory needs based on current patterns, and tries to make sure that there is enough available memory to satisfy those needs by moving idle memory to disk. The point of swap is to make sure you CONTINUE to have plenty of free ram.
[13:53] <dob1> jkc, I got your point and I understand itr but for certain scenarios or some specific apps (video editing etc) but it's not my case
[13:53] <jkc> dob1: Are you running a linux system? If so, its your case.
[13:54] <jkc> dob1: So I don't think you understand as well as you seem to think you do.
[13:54] <jkc> Swap, good. No swap, not good. Have lots of ram? Great! Swap, still good.
[13:54] <jkc> And that's the end of it.
[14:01] <jkc> Oh, and for the audience: swap does not, contrary to the popular tale, destroy SSDs. Tons of reasons for this. If someone is claiming that that is the case, they're misinformed.
[14:02] <juglugs1974> I mean, why would they? Bit fatigue? lol
[14:04] <jkc> juglugs1974: SSDs have a write lifetime that's a function of the type of flash they use and their capacity, but SSDs these days have write lifetimes measured in hundreds - or thousands - of terabytes.
[14:05] <juglugs1974> Yep, and the resistance (as opposed to charge) types, i.e. Optane, are even hardier.
[14:06] <jkc> If you had an SSD with a write lifetime of 600TB, you would have to swap out 4GiB per hour to the disk for 16 years straight to reach that.
[14:06] <ice9> just had fresh installation 20.10 but sometimes when the screen sleeps gdm lock, when i try to unlck it freeze and have to force shutdown, any idea?
[14:06] <juglugs1974> @jkc normal pron transfers, then?
[14:06] <jkc> lol
[14:07] <juglugs1974> But swap uses memory levelling in #linux systems, doesn't it?
[14:08] <jkc> Same as most everything, yup.
[14:52] <WickedDekciw> Heyo... Anyway I can directly convert an vmdk to a bootable physical disk?
[14:52] <WickedDekciw> I basically have an .img alongisde its vmdk (a few KB)
[14:52] <WickedDekciw> I mean directly without converting to vhd first
[14:56] <WickedDekciw> ?
[14:57] <tomreyn> sounds like a #vmware question to me
[14:58] <tomreyn> qemu-img convert can convert some vmdk format versions to a raw disk image, though
[14:59] <tomreyn> i do not know for sure whether it can write it to disk directly,, but try specifying a device to -O rather than a file name
[15:00] <tomreyn> whether or not it's bootable, and how, should not change
[15:00] <BluesKaj> Hi folks
[15:19] <jhutchins> A bootable CD/ISO image is not the same as a bootable hard drive image.
[15:20] <ice9> sometimes when the screen sleeps gdm lock, when i try to unlck it freeze and have to force shutdown, any idea?
[15:25] <tomreyn> ice9: check logs
[15:25] <ice9> tomreyn, which ones? paths?
[15:26] <tomreyn> journalctl let's you view and filter logs.
[15:26] <tomreyn> if it's gdm related, then 'gdm' will be on those lines
[15:26] <tomreyn> but i'd rather look around the event time
[15:27] <duuude> "xset led on" doesn't work for someone who updated ubuntu 20.04 to 21.10
[15:27] <duuude> it doesn't enable their keyboard backlight
[15:27] <duuude> how to fix this?
[15:30] <ice9> tomreyn, alrighty i see in journal "NMI watchdog: Watchdog detected hard LOCKUP on cpu 4" this happens while gdm is on sleep, do you have any idea?
[15:32] <jkc> ice9: Are you on Arch or Ubuntu, because you've asked in both channels.
[15:33] <jkc> And at the same time.
[15:33] <leftyfb> ice9: ( uname -a ; cat /etc/os-release ) | nc termbin.com 9999
[15:35] <ice9> it's ubuntu sorry for posting in other place
[15:36] <leftyfb> ice9: ( uname -a ; cat /etc/os-release ) | nc termbin.com 9999
[15:36] <ice9> leftyfb, https://termbin.com/d8av
[15:40] <leftyfb> ice9: if you're running Ubuntu, then please stop asking for help with ubuntu in the arch channel. You did the same thing back in June
[15:41] <ice9> i got both and it's happening as well in archy, but currently im on Ubuntu, sorry
[15:41] <ice9> leftyfb, so do you have any thoughts on that message?
[15:41] <leftyfb> ice9: then maybe try #linux (which you were also told to do in June when you had another issue with hibernation)
[15:44] <leftyfb> ice9: you have nvidia and intel graphics, honestly you should just take ogra's advice from back then and just disable suspend/hibernate and file a bug against the linux kernel
[15:48] <ice9> leftyfb, i believe by default they not activated
[15:53] <tomreyn> ice9: this would probably be a firmware or hardware issue. is this the only relevant line that's logged? do you want to post a full log of the system booting?
[15:54] <ice9> tomreyn, it throw many kernel modules along with it
[15:54] <tomreyn> ice9: please be specific about your customozations when seeking support.
[15:56] <ioria> ice9, what's your cpu ?
[16:08] <duuude> does anyone know the answer to my keyboard backlight question?
[16:09] <Maik> duuude: probably not at this point
[16:13] <jjakob> duuude: what module does it use and what is the lsusb, then maybe go search on the net
[16:43] <ice9> in 20.10 the nvidia's prop dri ver is used on wayland however the primary dev is intel
[16:43] <ice9> how to make nvidia is the primary one
[16:43] <lotuspsychje> ice9: 20.10 is eol
[16:44] <lotuspsychje> ice9: clean install a supported version from the topic if you like
[16:44] <ice9> i mean 21.10
[16:44] <Maik> nvidia doesn't work with wayland
[16:45] <lotuspsychje> think latest nvidia driver got better support Maik
[16:45] <Maik> if you want nVidia you need to switch to X11
[16:45] <lotuspsychje> didnt test myself though
[16:45] <Maik> still not fully supported afaik lotuspsychje
[16:46] <lotuspsychje> kk
[16:46] <Maik> also wayland still isn't 100% ready
[16:47] <lotuspsychje> agree
[17:32] <enyc> george_orwl84: welcome to correct irc network
[17:32] <george_orwl84> hi enyc
[17:32] <george_orwl84> thanks, didnt realize something changed
[17:33] <enyc> george_orwl84: oh yes...!  https://netsplit.de/networks/top10.php  Tells a story visually =)
[18:14] <pseudonymous> Anyone setup a wireguard server on a ubuntu box behind a router ? If so, what router rules did you need for clients to connect from the outside ?
[18:16] <tomreyn> what are "router rules"?
[18:20] <tomreyn> maybe you're referring to a firewall?
[18:20] <tomreyn> or static routes? or BGP?
[18:22] <jhutchins> ipmasq?
[18:22] <jhutchins> Port forwarding?
[18:22] <JackFrost> I'd think just forward the predefined UDP ports and be done?
[18:25] <pseudonymous> Well, wireguard (sadly) isn't really super informative, but I don't ever seem to get any handshake when the client attempts to connect to the Ubuntu (wireguard) server sitting behind an OpenWRT router. I configured a similar Ubuntu server on a cloud provider and it works. So I'm guessing I am missing some router/firewall rules..
[18:43] <otromas[m]> hi all
[18:43] <reza> hi
[18:44] <reza> how are you ?
[18:44] <tomreyn> pseudonymous: I think your question is: "On OpenWRT, how do i forward UDP traffic to a LAN host, and how can I test that this configuration succeeded?". and this should be asked in an openwrt related channel. To add to the latter part, though: you can use netcat on Ubuntu to listen to traffic on (for example) UDP port 1234 using   nc -vvulp 1234   and try 'connecting' (UDP is connection-less) to this using netcat on another computer on the other
[18:44] <tomreyn> side of the router    nc -vvup 1234 IPADDRESS
[18:44] <reza> what 😐
[18:44] <otromas[m]> can you help me with something? I want to remap the "º" key to "/".
[18:44] <tomreyn> pseudonymous: you won't know that it actually works until you type some letters, and see those end up on the other netcat.
[18:45] <reza> where are you from ?
[18:45] <JackFrost> Just running `wg` as root will show you what port it's listening on too.
[18:46] <tomreyn> pseudonymous: this scenario would require that your openwrt firewall + port forwarding are configured to pass through WAN UDP port 1234 to LAN UDP port 1234, on the Ubuntu system on your LAN.
[18:46] <jhutchins> reza: This is a tech support channel, not for general chat.  If you have a Ubuntu support question, just ask.
[18:46] <jhutchins> reza: for general chat, /join moocows
[18:47] <tomreyn> otromas[m]: if you want this to work graphically, xmodmap might help there.
[18:47] <JackFrost> jhutchins: Wrong network. :>
[18:47] <JackFrost> ##chat here.
[18:47] <tomreyn> otromas[m]: that's if you're running xorg (not xwayland)
[18:49] <jhutchins> JackFrost: Is moocows on OFTC?
[18:49] <otromas[m]> tomreyn: thanks, I will try with xorg
[18:49] <jhutchins> Ah, so it is, confused by the move.
[18:50] <jhutchins> One nice thing about IRC is you can always expect someone to correct you (whether or not you're wrong).
[18:51] <Maik> !ot
[18:51] <pseudonymous> tomreyn: `nv -vvup 1234 <IP>` fails, I get a "usage" message
[18:51] <tomreyn> pseudonymous: nc, not nv
[18:51] <otromas[m]> tomreyn: thanks, I changed to xorg, now is working fine
[18:52] <tomreyn> pseudonymous: and i got the options wrong, too, a second
[18:53] <tomreyn> pseudonymous: nc -vvu <IP_ADDRESS> 1234
[18:53] <otromas[m]> what are the advantages of using xwayland instead of xorg?
[18:53] <george_orwl84> does anyone know a support channel for linux in general?
[18:53] <Maik> george_orwl84: #linux
[18:53] <george_orwl84> Maik: with actual support
[18:54] <tomreyn> pseudonymous: you can also try this with both netcat commands running on the same computer, and connecting the client to <IP_ADDRESS>
[18:54] <Maik> george_orwl84: that's it, deal with it :)
[18:54] <reza> oh nice
[18:54] <george_orwl84> Maik ^^
[18:54] <george_orwl84> what does one do if there is no help?
[18:55] <Maik> george_orwl84: you have any ubuntu support question?
[18:55] <Maik> if not, then please move over to #ubuntu-offtopic
[18:55] <tomreyn> !alis | george_orwl84: maybe try alis, too
[18:56] <tomreyn> but indeed, *this* chanel is just about ubuntu
[19:01] <pseudonymous> tomreyn: fwiw, connecting from the outside using netcat works so long as there seem to be a port forwarding rule for that port in the router, regardless of whether any program listens on the other side or not.
[19:01] <jhutchins> pseudonymous: Doesn't "connecting" presume some sort of response?
[19:01] <reza> can you speack persian ?
[19:06] <tomreyn> pseudonymous: the client may seem to connect, but you're transferring your data to the void unless there is also something that receives it on the other end. that's how UDP works. But this support case is not an Ubuntu one, please move on to openwrt / general networking support, unless you have ubuntu specific questions (netcat / nc on ubuntu would be that).
[19:09] <pseudonymous> well, one would be, how do I determine whether ANYTHING of the handshake reaches the ubuntu server ? Basically, can I log all requests hitting ufw/iptables, can I see what is dropped, can I see the received packets on ports ?
[19:09] <tomreyn> there is no handshake
[19:10] <tomreyn> you type characters on your keyboard to test whether data moves from client to server
[19:10] <tomreyn> and the other way around
[19:11] <pseudonymous> Not with UDP, no, but the wireguard protocol on top terms the initial exchange of messages a handshake. Don't know how to express this, but wireguard, the protocol is not connection-less. What I am referring to are the UDP packets sent back and forth as a client attempts to connect to the wireguard server
[19:11] <tomreyn> if you have an iptables firewall configured on ubuntu (such as by using ufw), dropped packets can be logged to the system log (depending on how it's configured)
[19:12] <tomreyn> you can capture network traffic using the software "tcpdump" no both ends of the connection, and compare what was captured.
[19:13] <tomreyn> but i'd just start with the simple test using a different port than the oe used by wireshark, with netcat, and corresponding ip forwarding / firewall rules. that's just a suggestion, though.
[19:59] <WickedDekciw> Hello. I'm getting an error of a "read only FS" in a live-usb install, anyway I can fix it?
[20:07] <FESTIVUS-MAXIMUS> the flashdrive is read only
[20:07] <FESTIVUS-MAXIMUS> WickedDekciw ^
[20:08] <WickedDekciw> FESTIVUS-MAXIMUS Nope, it isn't set to that.
[20:15] <relipse> how can i get php 8.1 but have a tool to switch between 7.4 and 8.1 ?
[21:35] <h1pot> i'm getting an error building a snap package of this python source: too many values to unpack (expected 2)
[21:36] <h1pot> how can i troubleshoot this?
[21:37] <Festivus-Maximus> h1pot what command are you running
[21:37] <h1pot> snapcraft
[21:39] <jhutchins> h1pot: Where did you get the snap package?
[21:39] <h1pot> i'm trying to build the snap for the first time, source is https://github.com/DanielSchuette/curseradio-improved
[21:41] <h1pot> i was able to get the binary for the first time i tried, but when i stated the dependencies in the yaml file, i'm getting aforementioned error
[21:49] <MacGuges> Merry Christmas, I'm using Ubuntu 21.10 and need to know the keyboard shortcut to return to the desktop from console mode.  I recall you used to be able to return to X using something like Ctrl-Alt-F8 but nothing like that's worked.
[21:51] <Jeremy31> It might be CTRL + ALT + F1
[21:51] <MacGuges> Sorry no, that's doing nothing. :/
[21:52] <Bashing-om> MacGuges: Think ya might find that the GUI runs in TTY7 - Xorg.0.log fike will day.
[21:53] <Bashing-om> file*
[21:54] <yukiup> Jeremy31 , try ctrl+alt+all the fkeys
[21:54] <Jeremy31> yukiup: That was probably tried
[21:54] <MacGuges> I just decided to reboot. Yeah, I'd already done all the F# keys with Ctrl Alt. It's odd
[21:56] <MacGuges> Pressing Ctrl Alt F11 output a long error message, and Ctrl Alt F2 output the ~ character.
[21:57] <MacGuges> I'd been investigating a repeat system hang situation with this new Dell laptop. I would like to identify some relevant logging.
[22:00] <MacGuges> I think it's happened again, this desktop has frozen up again. The clock's stopped updating sand the mouse doesn't move.
[22:01] <Bashing-om> MacGuges: ' journalctl -b -0 ' shows messages from the current boot, ' journalctl -b -1 ' from the previous boot.
[22:02] <MacGuges> Bashing-om: thanks. I suspect my father's introduced some old USB hardware.
[22:03] <MacGuges> When I'd set up this new laptop last month, Ubuntu had not been freezing up like this so often
[22:05] <Bashing-om> MacGuges: Understand that - system should never ever freeze - when it does can be a real pain to find out the why.
[22:07] <MacGuges> Yeah, I've unplugged those devices. I don't expect Linux to just crash either, but I've seen it happen three, four times on this machine since he unwrapped it yesterday
[22:07] <Bashing-om> MacGuges: As a matter of practice I run ' journalctl -f ' on the desktop in use - in it's own terminal window - to follow what the systems is doing.
[22:08] <MacGuges> Good idea
[22:12] <MacGuges> At least this fault had been happening consistently. I've run journalctl -b -1 and found a ton of repeat messages for a "pci bus timeout, check dma status" for a "rtw_8821ce" device.
[22:13] <Bashing-om> MacGuges: checking to see what that device is .
[22:15] <Bashing-om> MacGuges: ^ Wireless card - see lots of hits for issues - I see what our bug reports list.
[22:16] <MacGuges> One of the devices I removed was a USB fob for a wireless trackball he likes to use.
[22:17] <MacGuges> I haven't seen the flood of pci bus timeout messages in the journalctl -f window, btw
[22:19] <MacGuges> Anyway, I'll go ahead with reconnecting his Firefox acct for now, while the machine is stable.
[22:26] <Bashing-om> MacGuges: Was some bug reports on that device in Launchpad - fix released some time back.
[22:55] <troozers> Howdo all, why won't GDM show users on the login screen if I have the default shell for that user set to fish?
[22:55] <troozers> ..and is there a way to change it?


[07:57] <tsdgeos> damnit
[07:58] <tsdgeos> am i the only one with the spam folder full of bugreports/merge reviews?
[07:58] <Saviq> tsdgeos, I didn't switch to GMail, so... ;)
[07:59] <Saviq> brb
[08:33] <Saviq> didrocks, hey, if mir broke ABI, but unity-mir doesn't care (i.e. just needs a no-change rebuild) - how do we tackle such?
[08:37] <xnox> Saviq: you need to add versioned depends, because people can upgrade unity-mir / mir out of order.
[08:38] <xnox> Saviq: and thus bump packaging/version of unity-mir.
[08:40] <Saviq> xnox, right, so when mir is released with the new version, we need to bump our >= regardless of the fact that we don't really depend on it :/
[08:41] <xnox> Saviq: "don't really depend on it" you don't link against it? just reuse it's e.g. c++ templates?
[08:41] <Saviq> xnox, no no, we link
[08:41] <Saviq> xnox, but don't really care about the new version
[08:41] <Saviq> xnox, but I understand we can't rebuild a same-version unity-mir just to go with the new ABI
[08:42] <xnox> Saviq: oh, then you do depend on it =) and broken ABI can give you horrible & confusing crash-reports =)
[08:42] <Saviq> xnox, although... they're bumping SONAME, too
[08:42] <Saviq> xnox, i.e. I don't think there was a *release* of mir with broken ABI
[08:42] <xnox> Saviq: right, one cannot have same version number for two different packags =)
[08:43] <xnox> (in official archive, in PPAs one can delete/reupload)
[08:43] <Saviq> xnox, so since unity-mir gets a shlib depend on libmirserver7, and the new one will be libmirserver8
[08:43] <xnox> oh, that's good =) then you simply need a no change rebuild.
[08:43] <xnox> $ dch --rebuild 'No change rebuild against libmirserver8'
[08:44] <Saviq> xnox, right, exactly
[08:44] <xnox> bzr commit / merge / push, whatever needed to get that uploaded via ci stuff.
[08:44] <xnox> (we just did ~400 uploads like this to pick up libperl5.18, and another ~100 uploads comming to pick up boost1.54)
[08:44] <Saviq> xnox, didn't know --rebuild, that helps :)
[08:44] <Saviq> :)
[08:46] <xnox> Saviq: yeah, so --rebuild uses "build1" suffix, if "ubuntuX" was not yet used. And then auto-sync from debian ignores/overrides "buildX" packages, so they stay in-sync with Debian. Not that it matters for mir/packages not in debian =)
[08:47] <Saviq> :)
[08:47] <Saviq> xnox, thanks!
[08:55] <didrocks> Saviq: just do a version bump in mir and bump the build-dep in unity-mir
[08:55] <didrocks> to ensure it'll pick the right version
[08:56] <Saviq> didrocks, ok then https://code.launchpad.net/~kgunn72/unity-mir/bump-mir-dep16/+merge/191551 is correct
[08:56] <Saviq> didrocks, feels wrong as we don't *really* require it ;)
[08:56] <didrocks> Saviq: yeah, but it's possible to do for random transitions (but not frequent), not possible when the transition happens every week
[08:57] <Saviq> didrocks, understood
[08:57] <Saviq> didrocks, do we have a mechanism for no-change rebuilds in cu2d?
[08:58] <didrocks> Saviq: there is one, but I think it's good for upstream to feel the pain first (as we have to dput anyway)
[08:58] <didrocks> so that they think about ABI stability
[08:58] <didrocks> (also, it's only valid until next cu2d run)
[08:59] <Saviq> didrocks, :D
[08:59] <didrocks> so if we don't release right away, it won't get rebuild
[08:59] <didrocks> and won't be releasable
[08:59] <Saviq> mhm
[09:00] <Saviq> didrocks, btw, did we talk about reshuffling the stacks so that mir, unity-mir and unity8 are in one stack?
[09:00] <didrocks> Saviq: not sure what that will bring you
[09:00] <Saviq> didrocks, we'll be able to not wait for mir releases in unity-mir
[09:00] <Saviq> didrocks, and just merge and release the whole stack in concert
[09:01] <didrocks> Saviq: but if mir FTBFS, it will mean we can't release unity8
[09:01] <Saviq> didrocks, now we need to wait for mir to release - only then we can merge stuff into unity-mir
[09:01] <Saviq> didrocks, well, ok - mir and unity-mir, then?
[09:01] <didrocks> Saviq: that sounds more logical
[09:01] <didrocks> sil2100: as you are redeploying the stack, mind handling that? ^
[09:01] <Saviq> the dep between unity8 and unity-mir is more relaxed than between mir and unity-mir
[09:02] <sil2100> didrocks: Mirv is dealing with head, and I guess it's a head thing
[09:02] <didrocks> Mirv: then ^ ;)
[09:04] <Cimi> Saviq, I'm fixing https://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/191247
[09:04] <Cimi> Saviq, not sure which ubuntuanimation shall I use
[09:04] <Cimi> what's the anlog of 250ms
[09:04]  * Mirv deploys the redeploy of redeploy
[09:05] <Cimi> brisk is the closer
[09:05] <Mirv> but ok, so a wish of moving unity-mir to mir stack? check.
[09:05] <Saviq> Cimi, I'd probably put SnapDuration there
[09:06] <Cimi> Saviq, but it's not using linear I believe
[09:06] <Saviq> Cimi, Duration has nothing to do with easing
[09:06] <Saviq> Cimi, you just need NumberAnimation { ... easing.type: Easing.Linear }
[09:06] <Cimi> Saviq, I know, but standard easing here is qeasingcurve
[09:07] <Cimi> Saviq, snap is 100, not 250
[09:07] <Saviq> Cimi, yes, but for opacity we're not using the standard easing
[09:07] <Saviq> Cimi, 165
[09:07] <Cimi> Saviq, it's 100 on the docs, ok
[09:07] <Saviq> Cimi, I meant Fast, sorry
[09:07] <Cimi> ok
[09:07] <Saviq> Cimi, yeah, Snap probably too quick
[09:07] <Saviq> Cimi, so Fast or Brisk
[09:08] <Saviq> Cimi, if Fast, you can also go UbuntuNumberAnimation { easing.type: Easing.Linear }
[09:08] <Saviq> as Fast is default
[09:08] <Cimi> Saviq, obviously ,don't worry for that
[09:12] <Cimi> is this going to be merged? https://code.launchpad.net/~unity-team/unity8/carousel-loader/+merge/190406
[09:12] <Cimi> because I'll have to merge this in the music video carousel in case
[09:14] <Saviq> Cimi, it is, but not today probably
[09:14] <Saviq> Cimi, just make it a prerequisite of the new branch
[09:14] <Cimi> ok
[09:20] <Saviq> Cimi, btw, can you please actively follow up with the sdk folk about the InverseMouseArea? so that they have it on their radar?
[09:21] <Cimi> I asked again 2 times no answers, I'll chase with zoltan
[09:21] <Cimi> Saviq, ^
[09:21] <Saviq> Cimi, talk to zsombi directly - IMA's his creation
[09:31] <Saviq> Mirv, you're deploying cu2d, can you please make sure unity8-autolanding is disabled still?
[09:31] <Saviq> Mirv, we need https://code.launchpad.net/~thomas-voss/unity-mir/less-aggressive-scores/+merge/191440 to be released to be able to look at mediumtests-touch again
[09:35] <nic-doffay> Saviq, got time for a review?
[09:38] <Saviq> nic-doffay, which one?
[09:39] <Mirv> Saviq: everything for trusty is in manual publishing mode
[09:40] <Cimi> Saviq, I updated the branch
[09:41] <Cimi> Saviq, no updated assets yet, we can update them later on
[09:41] <Cimi> jouni is not online
[09:41] <Saviq> Mirv, ah, cu2d != upstream merger, sorry ;)
[09:41] <Saviq> Mirv, so that should remain unaffected
[09:42] <nic-doffay> Saviq, the filters. The reliant branch finally got landed last week.
[09:42] <nic-doffay> https://code.launchpad.net/~nicolas-doffay/unity8/filter-selector/+merge/191145
[09:42] <Saviq> nic-doffay, landed, not released yet, so still tricky to test on the phone :/
[09:42] <Mirv> Saviq: :) yes, although for merger stuff it's best to check with francis
[09:42] <Saviq> nic-doffay, either way, I saw that on desktop the first item was selected - and it was not "All"
[09:42] <Saviq> nic-doffay, that expected?
[09:50] <nic-doffay> Saviq, that data is pulled from the backend pstolowski ^ ?
[09:55] <pstolowski> nic-doffay, Saviq : that's definately not expected
[09:56] <Saviq> pstolowski, there should be an "All" entry on both mobile and desktop, right?
[09:57] <Saviq> mhr3, think we should throttle refreshes? putting music on the device while looking at the music scope is scary ;)
[09:58] <Saviq> mhr3, and btw I made unity crash while swiping the carousel when it got refreshed
[09:59] <mhr3> Saviq, yep, throttling would be nice, but it should be deeper in mediascanner imo
[09:59] <Saviq> mhr3, yeah, probably
[09:59] <mhr3> then again, mediascanner might not be the only one that will need throttling
[09:59] <pstolowski> Saviq, yes, both, but it's up to the scope to enable 'all' button.
[09:59] <mhr3> so ideally both :)
[10:00] <mhr3> Saviq, and the crash sounds more like a ui-thing, no? :)
[10:00] <Saviq> mhr3, not necessarily, but didn't get a core out of it
[10:00] <mhr3> Saviq, sooo... get one? :)
[10:00] <Saviq> mhr3, I think it might've requested data from a result that disappeared
[10:01] <Saviq> should be easy :P
[10:02] <Saviq> ok, not ;P
[10:03] <Saviq> but yikes we need a better way for refreshing than redoing the whole model :/
[10:08] <pstolowski> Saviq, nic-doffay i'm trying unity8 trunk to see what is it about
[10:15] <Saviq> pstolowski, thanks
[10:16] <nic-doffay> pstolowski, cool just give me a shout if you need anything.
[10:32] <mzanetti> Saviq: how do I use translations in c++?
[10:32] <mzanetti> in unity8
[10:33] <mzanetti> I assume we're not using tr()
[10:33] <Saviq> mzanetti, gettext
[10:34] <Saviq> mzanetti, #include <libintl.h> and gettext / dgettext / ngettext etc.
[10:34] <mzanetti> Saviq: ack, thanks
[10:35] <Saviq> mzanetti, check out http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/modules/Ubuntu/Components/plugin/i18n.cpp
[10:37]  * tsdgeos votes for exposing that into a header
[10:37] <tsdgeos> so we don't have to do that ugly QString::fromUtf8(C::ngettext(singular.toUtf8(), plural.toUtf8(), n)); ourselves
[10:37] <tsdgeos> and can do the less ugly
[10:37] <tsdgeos> I18n::tr(singular, plural, n);
[10:38] <Saviq> tsdgeos, bug on SDK?
[10:38] <Saviq> tsdgeos, I completely agree, too
[10:38] <tsdgeos> ok, i'll file it
[10:41] <tsdgeos> Saviq: mzanetti: https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1243152
[10:41] <tsdgeos> mzanetti: if you do that gettext() thing you'll have to udapte the pot creation script i'd say
[10:42] <Saviq> yeah, possibly
[11:11] <mzanetti> 13 branches approved and ready to be merged
[11:28] <Cimi> dednick, was looking at https://code.launchpad.net/~nick-dedekind/unity8/indicator-segfault-lp1243146/+merge/192121
[11:28] <Cimi> dednick, usually when you bind properties you do onLoaded qt bind bla bla
[11:28] <Cimi> dednick, what was the binding originally done that other way?
[11:29] <Cimi> i'm curious to understand the difference
[12:11] <dednick> Cimi: yeah, i dont really understand why the binding is causing issue. Possibly the dynamic Qt.binding is not being destroyed when the qml "item" object is destroyed.
[12:12] <dednick> Cimi: i think that it's because od the "index" property inside the binding. It's being updated while the object is being destoyed or something.
[12:27] <mzanetti> Saviq: may I ask your opinion once again on this one? https://code.launchpad.net/~kalikiana/ubuntu-ui-toolkit/qsettingspath/+merge/191818
[12:27] <mzanetti> Saviq: the problem is, that if the SDK does not unset the organisationName it'll appear in QStandardPaths and break that.
[12:28] <mzanetti> unsetting it makes the QSettings experience a bit weird tho
[12:28] <mzanetti> so it's a tricky one
[12:28] <mzanetti> tsdgeos: you might have an opinion about that too ^
[12:29] <Saviq> mzanetti, so feels like a Qt bug? is it expected that orgname is cleared on setting appname?
[12:29] <mzanetti> Saviq: no, the SDK does that explicitly
[12:30] <Saviq> mzanetti, ah, why?
[12:30] <mzanetti> Saviq: Qt differs in a way that QStandardPath apparently doesn't add anything if organisationName is empty, while QSettings writes "Unknown Organisation"
[12:30] <mzanetti> Saviq: the remove it to make QStandardPath to point to only appname in order to make it work with apparmor
[12:30] <mzanetti> s/the/they/
[12:31] <Saviq> mzanetti, ah, 'cause if it's non-empty, QStandardPaths would have used the organization name in the
[12:31] <Saviq> -in the
[12:32] <mzanetti> yeah. that's how I understood kalikiana
[12:32] <Saviq> mzanetti, question is whether we'd want to allow different apps access to their organization
[12:32] <mzanetti> yeah, we probably don't want that
[12:32] <Saviq> mzanetti, i.e. cross-app data access within an organization
[12:33] <mzanetti> well, maybe
[12:33] <mzanetti> but it would allow very nasty attacks
[12:33] <Saviq> mzanetti, yeah, I think we might want to
[12:33] <mzanetti> i.e. compiling malware out of multiple apps at runtime
[12:33] <Saviq> mzanetti, you'd have to spoof orgName
[12:33] <Saviq> mzanetti, oh jeez
[12:33] <Saviq> mzanetti, it's closed source, deal with it ;P
[12:34] <Saviq> mzanetti, "we have root" ;P
[12:34] <mzanetti> just saying... I still think it's good practice to keep security in mind with everything we do
[12:34] <mzanetti> not sure what you mean with "we have root" in this context
[12:34] <Saviq> mzanetti, sure, allowing access between apps could be on a per-app basis
[12:35] <Saviq> mzanetti, the only other "fix" would be to make Qt consistent...
[12:35] <Saviq> mzanetti, which sounds scary
[12:35] <mzanetti> agreed
[12:35] <Saviq> mzanetti, or would at least involve migration
[12:36] <mzanetti> Saviq: what I meant before is that an app that doesn't have network capability but contacts could grab the addressbook and another app with only network could send it out if they have a shared data pool
[12:37] <mzanetti> not really related to closed vs open source
[12:37] <mzanetti> but more a bypass apparmor thing
[12:39] <Saviq> mzanetti, or, you'd just make an app that has access to both network and contacts ;)
[12:39] <mzanetti> Saviq: anyways... so I guess what kalikiana did in this merge is the closest we can get with reasonable efforts. Unless it would be possible to modify QStandardPath through the QPA
[12:39] <Saviq> mzanetti, but I *kind of* know what you mean
[12:39] <mzanetti> Saviq: well, you could also just turn off AppArmor. but that's not the point
[12:40] <Saviq> mzanetti, I mean that preventing cross-app access within the same orgname doesn't really buy us any security IMO
[12:40] <mzanetti> it certainly diggs a whole. as a user I might install some game which only has network and I feel secure that it doesn't spy on me. While I might install a plugin to the address book where I rely on AppArmor not allowing it to send anything through the network
[12:41] <mzanetti> s/whole/hole/
[12:43] <Saviq> mzanetti, as I said - it could be an additional permission
[12:43] <mzanetti> right. sure. anyways. that's rather offtopic
[12:44] <Saviq> yup
[13:04] <mzanetti> Saviq: do we actually plan to not use -mousetouch at some point?
[13:04] <mzanetti> Saviq: this option seems to be useless as it's required always
[13:08] <Saviq> mzanetti, not on the device it isn't
[13:08] <Saviq> mzanetti, but yeah, we'll drop it when Qt merges touch and pointer events ;)
[13:09] <mzanetti> Saviq: but using it on the phone shouldn't hurt either. and once we allow plugging in a real mouse through USB we'd need it there too, no?
[13:09] <mzanetti> Saviq: Qt merging touch and pointer events might be a loooong way down the road
[13:12] <Saviq> mzanetti, yeah I was always afraid of the "shouldn't hurt" part...
[13:12] <Saviq> mzanetti, I'd rather think of actually improving the DDA to understand mouse events as well as touch ones
[13:12] <dandrader> mzanetti, avoiding it on the phone gives you a 0.00001% performance boost. as you avoid the overhead of an event filter checking for mouse events :)
[13:13] <mzanetti> Saviq: ah ok. that's good enough as a reason for me
[13:13] <Saviq> dandrader, it shouldn't be difficult, should it? to make DDA understand mouse events, too?
[13:13] <mzanetti> dandrader: mhm... I see
[13:14] <mzanetti> I was just wondering as I type in -mousetouch every time I open a new branch in qtcreator...
[13:14] <mzanetti> not that it would be a real problem
[13:14] <dandrader> Saviq, no it's not difficult. but it's more work in any case
[13:14] <mzanetti> but yeah, in the long run we probably to fix this properly
[13:14] <mzanetti> +want
[13:15] <dandrader> Saviq, mzanetti another advantage I see in the mouse-to-touch translation is that you're able to have a code path on the desktop much closer to what you have on the device
[13:16] <mzanetti> dandrader: otoh it kills the mouse wheel
[13:16] <mzanetti> and probably other mouse specific stuff too
[13:16] <dandrader> mzanetti, yes, but you don't need it for a phone or tablet ui
[13:16] <mzanetti> dandrader: when running it on the desktop I do
[13:17] <mzanetti> dandrader: and that's not working as long as we require the -mousetouch
[13:19] <dandrader> mzanetti, I still don't see why you need the mouse wheel to play with a phone ui on the deskopt
[13:20] <seb128> mhr3, is the dash supposed to be useful/list local scopes if unity-scope-home is missing?
[13:21] <seb128> didrocks, ^
[13:22] <mhr3> seb128, if you just remove the pkg, nothing will work, you'd need to change a bunch of settings to get apps files etc
[13:22] <seb128> mhr3, should it be a depends of unity rather than a recommends then?
[13:22] <mzanetti> dandrader: I would use the mouse wheel to scroll to scopes for example?
[13:22] <mhr3> seb128, would make sense, yea
[13:22] <mzanetti> dandrader: through
[13:22] <seb128> mhr3, just got some french user who had recommends disabled and dash listing no app/file/... after updating to saucy
[13:22] <seb128> mhr3, k, I'm going to mp that then, thanks
[13:23] <mzanetti> dandrader: what I mean is unity8 is not a phone app. it's the same thing on the desktop, and the scrollwheel should work there
[13:26] <mzanetti> dandrader: so yeah... we should not make -mousetouch the default. I see that now. but instead make the DDA work with mouse somewhen in the future.
[13:27] <dandrader> mzanetti, I think that DDA makes no sense on the desktop-version of unity8
[13:27] <dandrader> mzanetti, you don't do gestures with the mouse. it's a whole different story
[13:28] <mzanetti> dandrader: right. I tend to agree...
[13:31] <greyback> Saviq: standup?
[13:32] <didrocks> thanks seb128 :)
[13:32] <seb128> didrocks, hey, yw!
[13:48] <kgunn> mterry: did you get a chance to talk to robert_ancell about socket sharing...and the "new" way of connecting
[13:51] <mterry> kgunn, yes...
[13:51] <mterry> kgunn, there is some bug with it, im trying to help
[13:52] <kgunn> mterry:  :) cool...so "we" think its complete...
[13:52] <mterry> kgunn, maybe?  :)
[13:53] <mterry> kgunn, it hasnt landed yet, bc of the bug
[13:53] <kgunn> mterry: oh...ok, exactly what i was wondering....if the mp's were done/merged
[13:54] <mterry> kgunn, some have
[13:54] <bregma> seb128, the missing unity-scope-home on upgrade is #1233029
[13:54] <kgunn> mterry: so complete in theory, minus the fact there's a bug that prevents it from operating? or is it failing ci ?
[13:55] <seb128> bregma, thanks
[13:56] <seb128> bregma, why is it marked as invalid for unity?
[13:56] <mterry> kgunn, yeah, a bug not a ci problem
[13:56] <seb128> bregma, mhr3 agrees that it should be a depends
[13:57] <bregma> seb128, just go ahead and reopen for Unity
[13:57] <seb128> bregma, k
[14:20] <pstolowski> Saviq, re filters it seems to me that UI assumes first filter option is selected when filter is created (be it 'All', or a real filter option). this is not correct. while this is kind of ok if scope provides 'all' filter option, it's not good if it doesn't (i.e. in Home, which doesn't have 'All' by design - BTW, does it make sense on the phone?). Currently backend doesn't mark 'All' as selected - it probably should, but that's a s
[14:20] <pstolowski> eparate issue. To sum it up, I think UI shouldn't make any assumptions about 1st option being selected, and just rely on the model
[14:22] <Saviq> pstolowski, ok thanks
[14:25] <pstolowski> Saviq, i'll discuss this with Nic when he is online
[14:26] <Saviq> pstolowski, thanks
[14:26] <pstolowski> Saviq, i'm a bit unsure about the lack of 'All' in Home; this was deliberately removed from home filters, but you can't unselect filter options in unity8 right? in that case 'All' makes sense?
[14:27] <Saviq> pstolowski, well, we could allow unselecting them, but then the UI doesn't really cope well with multiselection anyway
[14:27] <Saviq> pstolowski, i.e. you'll only see a single selected item anyway
[14:29] <pstolowski> Saviq, uh, and I just realized having 'All' in home would have more implications
[14:30] <Saviq> pstolowski, yeah
[14:31] <Cimi> mzanetti, I'm trying to run autopilot from tests/autopilot dir, I get this
[14:31] <Cimi> RuntimeError: Unable to instantiate any backends
[14:31] <Cimi> UInput: UInputError('"/dev/autopilot-uinput" cannot be opened for writing',)
[14:31] <Cimi> I have unity8-autopilot installed
[14:31] <mzanetti> Cimi: /dev/autopilot-uinput cannot be opened for writing :P
[14:32] <mzanetti> Cimi: what does "ls -l /dev/autopilot-uinput" say?
[14:32] <Cimi> mzanetti, yeah, what the hell is that
[14:32] <Cimi> mzanetti, root
[14:32] <Cimi> mzanetti, we need root access?
[14:32] <mzanetti> Cimi: root:root?
[14:32] <Cimi> y
[14:32] <Cimi> and loads of r/w permissions though
[14:33] <mzanetti> yeah... there is a udev rule which changes permissions afaik. but that only works once udev is restarted
[14:33] <mzanetti> rebooting should help
[14:33]  * Cimi reboots
[15:38] <Cimi> tsdgeos, I am trying to do the autopilot tests for the greeter backhround
[15:38] <tsdgeos> ok
[15:38] <Cimi> tsdgeos, but the y coordinates are not map on the window coordinates, are relative to their parent
[15:38] <tsdgeos> yep
[15:38] <Cimi> tsdgeos, so how do I get them relative to window?
[15:38] <tsdgeos> you need the mapTo/mapFrom thing
[15:39] <Cimi> tsdgeos, is it accessible from python?
[15:39] <tsdgeos> hmmm
[15:39] <tsdgeos> good question
[15:39] <tsdgeos> honestly i do not know
[15:39] <tsdgeos> the other thing is
[15:39] <mzanetti> no, it's not
[15:39] <tsdgeos> if as mzanetti correctly said, we're going to split the greeter to a different process
[15:40] <tsdgeos> this autopilot test won't make sense
[15:40] <tsdgeos> actually scratch that
[15:40] <Cimi> ok...
[15:40] <tsdgeos> it will still make sense, but will have to start the greeter
[15:40] <tsdgeos> or?
[15:40] <mzanetti> it will make a lot of sense once the split is done. but until then it's just here to break
[15:40] <Cimi> how do I get the relative coordintes then?
[15:41] <tsdgeos> Cimi: then you'll have to manually recurse parents and add the .y ?
[15:41] <mzanetti> ouch
[15:41] <Cimi> pls no
[15:41] <mzanetti> ah wait
[15:41] <mzanetti> no
[15:41] <tsdgeos> but autopilot had a globalx/globaly coords
[15:41] <tsdgeos> no?
[15:41] <mzanetti> autopilot always gives you "mapToGlobal"
[15:41] <Cimi> mmm ok
[15:41] <Cimi> mow to use it?
[15:41] <mzanetti> that is, all coords you get are mapped to 0,0 of the application (or even the screen)
[15:42] <mzanetti> so you could easily check if the background.y is panel.height down from Shell.y
[15:42] <mzanetti> if that's what you want
[15:44] <mzanetti> dandrader: you wrote the fake app manager, right?
[15:44] <dandrader> mzanetti, yes
[15:45] <mzanetti> dandrader: I can't really find why it still works for gallery-app and camera-app and everything else doesn't
[15:45] <mzanetti> dandrader: I'd need more of those fake apps
[15:45] <dandrader> mzanetti, If I recall correctly there's a hardcoded list of fake apps somewhere
[15:45] <mzanetti> I tried to adjust buildListOfAvailableApplications() but that doesn't seem to be enough
[15:46] <dandrader> mzanetti, also the fake apps have to have their fake screenshots and icons
[15:47] <mzanetti> dandrader: yeah, I just would need to have those fakes we had half a year ago.
[15:47] <mzanetti> but for some reason the startApplication() is not even called except for gallery and camera
[15:47] <mzanetti> even though the appId would match the one in buildListOfAvailableApplications()
[15:48] <dandrader> mzanetti, odd. last time I played with them (a while ago) I'm sure the fake facebook worked as well
[15:48] <mzanetti> dandrader: the webapps actually trigger kioclient here :D
[15:48] <dandrader> mzanetti, maybe there's a mismatch between the appIp in the fake ApplicationManager
[15:49] <mzanetti> dandrader: as in "unity8 asks KDE to launch them"
[15:49] <dandrader> mzanetti, and the appId in the icon used by the launcher?
[15:49] <Cimi> mzanetti, where is doc for mapToGlobal?
[15:49] <mzanetti> dandrader: for example trying with the dialer: it says: Unable to activate  "dialer-app.desktop"
[15:50] <mzanetti> Cimi: I think QWidget and QGraphicsItem have those
[15:50] <dandrader> mzanetti, the fake app manager has no dialer-app
[15:50] <Cimi> mzanetti, but how to use them?
[15:50] <mzanetti> dandrader: I already updated the fakeapplicationmanager to have dialer-app.desktop instead of the old "phone-app"
[15:50] <dandrader> mzanetti, it has a phone-app
[15:50] <Cimi> mzanetti, this is python
[15:50] <dandrader> :D
[15:50] <mzanetti> dandrader: yeah, I did that... still nothing. the startApplication() doesn't get called for it
[15:51] <mzanetti> Cimi: the mapToGlobal() happens inside autopilot-qt
[15:51] <mzanetti> Cimi: all the x and y you get are already mapped to global
[15:51] <Cimi> mzanetti, don't think so
[15:51] <Cimi> mzanetti, I have -29.0
[15:51] <mzanetti> Cimi: oh, right. I remember... ever item should have a .globalRect
[15:51] <dandrader> mzanetti, you mean the startApplication from the cpp side? (in tests/mocks/Unity/Application/ApplicationManager.cpp)
[15:51] <dandrader> is not called at all?
[15:52] <mzanetti> Cimi: which is a array of length 4
[15:52] <Cimi> mzanetti, let me try
[15:52] <mzanetti> dandrader: yes
[15:52] <dandrader> mzanetti, then the application manager wrapper must be doing something...
[15:52] <dandrader> mzanetti, from the qml side
[15:52] <mzanetti> dandrader: I'm afraid it's even earlier, in the scopes somewhere
[15:52] <mzanetti> dandrader: I just hoped you would know what. But I'll figure it if you don't
[15:53] <dandrader> mzanetti, I would have to dig into it. many things changed since I last did heavy development on that side
[15:53] <mzanetti> dandrader: sure. no problem... I thought it's still worth a try
[15:58] <Cimi> mzanetti, easily compare the globarect, cool
[16:00] <mzanetti> Cimi: nice
[16:01] <kgunn> Saviq: under the list of stuff for indicators...any idea what this one means "Porting of app-menu"
[16:01] <kgunn> like 3rd party indicator support?
[16:01] <Saviq> kgunn, yup
[16:02] <Saviq> kgunn, although AFAICS that's desktop-only
[16:02] <Saviq> kgunn, design doesn't cater for 3rd party indicators on phoe
[16:02] <Saviq> phone
[16:02] <kgunn> sure....
[16:02] <kgunn> planning is going to go until convergence
[16:02]  * tsdgeos has hacked TabBar not to need a Tabs/MainView
[16:02] <kgunn> or that's the plan
[16:02] <Saviq> tsdgeos, \o/
[16:02] <tsdgeos> Saviq: http://paste.ubuntu.com/6283736/
[16:02] <Cimi> mzanetti, setting a property for the panel size isn't that nice, instead just using panel.height
[16:03] <Cimi> mzanetti, I mean in the greetercontent
[16:03] <tsdgeos> Saviq: it's a bit ugly and depends on the SDK guys not changing the names of the stuff they expect
[16:03] <Saviq> kgunn, yeah, right - what I mean is that we need to re-sync with design on that
[16:03] <Cimi> mzanetti, implies adding a binding to the Loader inside Greeter.qml
[16:03] <kgunn> Saviq: got it...like we might actually want to add to phone form factor as well
[16:03] <tsdgeos> Saviq: i guess i could suggest a TabsBase thing in the SDK we could both "inherit" so they don't change it in the future
[16:03] <tsdgeos> Saviq: whatcha think?
[16:03] <mzanetti> Cimi: yeah... but it doesn't break in 3 weeks ;)
[16:03] <Saviq> tsdgeos, +1
[16:04] <Saviq> tsdgeos, we should just try and propose changes in the sdk that we need
[16:04] <tsdgeos> sure
[16:04] <tsdgeos> this was more of a "let's see if i can make it work" thing
[16:04] <tsdgeos> since having a mainview was a bit of a pain
[16:04] <Saviq> kgunn, yeah, I think question is really *why* do we not support 3rd party indicators on phone - if it's only about screen real estate - should they be enabled on tablet?
[16:07] <Saviq> tsdgeos, you should look at the indicators - dednick already managed to get it to work in there
[16:07] <tsdgeos> Saviq: i did
[16:07] <Saviq> tsdgeos, so maybe some ideas there
[16:07] <tsdgeos> didn't like it :D
[16:07] <Saviq> tsdgeos, ah ok
[16:08] <Saviq> lol
[16:08] <dednick> eh?
[16:08] <tsdgeos> dednick: re-tabs and MainView
[16:08] <dednick> tsdgeos: yeah, it's shit. asked sdk for a non-MainView page like 3 months ago.
[16:08] <tsdgeos> i know, seen the bug
[16:09] <tsdgeos> dednick: i hacked a thing together today http://paste.ubuntu.com/6283736/
[16:09] <tsdgeos> needs 1 line modif in the SDK
[16:09] <tsdgeos> and tomorrow i'll try to get something less hacky to a merge request for the SDK
[16:10] <dednick> yikes
[16:10] <tsdgeos> dednick: what?
[16:10] <tsdgeos> it's not that bad :D
[16:10] <dednick> hehe
[16:10] <dednick> ok
[16:10] <tsdgeos> and that said, EOD time
[16:11]  * tsdgeos waves
[16:13] <Cimi> https://code.launchpad.net/~cimi/unity8/fix-1231731/+merge/191414
[16:13] <Cimi> mzanetti,  ^
[16:21] <Cimi> Saviq, asset updated https://code.launchpad.net/~cimi/unity8/carousel-music-video/+merge/192118
[16:40] <mzanetti> dandrader|lunch: duude... that DDA crash fix grew a little :D


[07:56] <zaki> wb shajalal
[07:56] <zaki> how are u doing?
[09:46] <zaki> shajalal: wb
[10:48] <pavlushka> Hello everyone :)
[10:48] <pavlushka> and Kilos and NahidSultan
[10:49] <Kilos> hi pavlushka
[10:49] <Kilos> im busy trying to repair a filter coffee machine
[10:49] <Kilos> need coffee bad
[10:50] <pavlushka> Kilos: good luck :)
[10:50] <Kilos> ty hehe
[10:50] <Kilos> otherwise ill boil it in a pot and just strain it once done
[10:50] <Kilos> haha
[10:51] <pavlushka> Kilos: So that's plan B, he he
[11:12] <Kilos> yay it works, musta been a bad connection somewhere
[12:17] <Kilos> pavlushka game works on desktop dual core 3g with 4g ram
[12:18] <Kilos> need to install adobe flash and chromium codecs
[12:18] <Kilos> ffmpeg
[12:34] <pavlushka> Kilos: \o/
[13:00] <Kilos> haha only it would be better with a wide screen like a lappy
[17:02] <pavlushka> welcome zaki :)
[19:39] <zaki> hi pavlushka
[19:55] <pavlushka> zaki: how is it going?
[19:57] <zaki> not lekker. :3
[19:57] <zaki> will sleep now.
[19:57] <zaki> how ae u doing?
[20:00] <pavlushka> zaki: I wish to sleep asap
[20:01] <zaki> what are u doing?
[20:03] <pavlushka> zaki: cant concentrate on anything, বসন্ত এলো বলে :পি
[20:04] <zaki> lol
[20:07] <zaki> good night pavlushka :) have a sweet dream :p


[08:19] <oSoMoN> good morning
[08:48] <MacSlow> greetings folks
[08:59] <peterm-ubuntu> morning
[12:57] <cjohnston> sabdfl: greetings!
[13:04] <doctormo-other> Hey cjohnston and of course everyone!
[13:04] <cjohnston> mornin doctormo-other
[13:06] <doctormo-other> cjohnston, mhall119: I've estimated that it'll take about 2 months work to make the svg-editor <-> etherpad graft. Workable, but etherpad's complexity does get in the way a bit.
[13:06] <doctormo-other> Getting hold of a javascript rockstar would take less time. So I'm going to put it to one side for now.
[13:07] <cjohnston> if you find one, let us know
[13:11] <doctormo-other> cjohnston: Pre-made is probably almost impossible, all the good ones have been bought, butchered or don't really work.
[13:11] <cjohnston> lol
[13:11] <cjohnston> then develop one?
[13:11] <doctormo-other> I certainly keep my eyes open for all kinds of miracles, I'll add this one to the list ;-)
[13:12] <doctormo-other> "then develop one?" > yes that's what the above is.
[13:21] <mhall119> daker: ^^ is that a project you'd be interested in>
[13:21] <mhall119> ?
[13:22] <daker> mhall119, what ?
[13:25] <mhall119> daker: putting a different front-end onto etherpad
[13:25] <mhall119> daker: doctormo-other wants to graft a simple graphics editor on top of etherpad's realtime edit syncing
[13:27] <doctormo-other> http://svg-edit.googlecode.com/svn/branches/2.5.1/editor/svg-editor.html
[13:29] <mhall119> doctormo-other: are you planning on using the lite version of etherpad for this?
[13:30] <daker> ah i see
[13:30] <doctormo-other> mhall119: I've only looked into the java version, but if it's using the ace2 editor thent he lite version will be exactly the same.
[13:31] <doctormo-other> The actual requirements are smaller than the entire functionality of svg-editor. But the core is the hard part.
[16:21] <Kaleo> hi
[16:22] <doctormo-other> Hey Kaleo
[16:23] <MacSlow> salut Kaleo
[16:23] <Kaleo> hi doctormo-other!
[16:23] <Kaleo> salut MacSlow
[16:24] <doctormo-other> Kaleo: How's your design?
[16:28] <Kaleo> doctormo-other: I don't design much; mostly implement designs :)
[16:29] <doctormo-other> Kaleo: Ah cool, are you interested in our game design challenge?
[16:41] <Kaleo> doctormo-other: not at the moment I am afraid
[16:41] <Kaleo> doctormo-other: very busy times for me
[16:42] <doctormo-other> Kaleo: No problem, tell your friends! :-D
[18:33] <daker> hello Kaleo
[18:36] <Kaleo> hi daker!


[09:44] <Guest27924> how well does Edubuntu work on Raspbery Pi's can a Pi use the software as a standalone unit?
[10:18] <highvoltage> Ubuntu can run on raspberry pis but there has never been an edubuntu release for those boards
[10:21] <Guest27924> Thanks - is there an app pack of Edubuntu apps that can overlay on to the Ubuntu operating system?
[10:23] <highvoltage> yep, you can find all the packages in software center from an ubuntu installation
[10:31] <Guest27924> Many thanks