--- Log opened di jan 07 00:00:49 2014 00:11 -!- abaron: has quit [Ping timeout: 276 seconds] 00:17 -!- rmatinata (Ricardo Marin Matinata): has joined #vdsm 01:02 -!- Netsplit *.net <-> *.split quits: rmatinata 01:03 -!- Netsplit over, joins: rmatinata 01:06 -!- nsoffer: has quit [Ping timeout: 264 seconds] 01:40 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 02:30 -!- shaohef (shaohef): has joined #vdsm 03:05 -!- mliu (purple): has joined #vdsm 03:09 -!- mliu: has left #vdsm [] 03:16 -!- ming (New Now Know How): has joined #vdsm 03:34 -!- shaohef: has quit [Ping timeout: 240 seconds] 03:40 -!- shaohef (shaohef): has joined #vdsm 03:40 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 03:57 -!- fabiand_ (Fabian Deutsch): has joined #vdsm 04:01 -!- fabiand: has quit [Ping timeout: 276 seconds] 04:27 -!- shaohef: has quit [Ping timeout: 260 seconds] 04:41 -!- shaohef (shaohef): has joined #vdsm 05:05 -!- dougsland: has quit [Changing host] 05:05 -!- dougsland (Douglas): has joined #vdsm 05:05 -!- dougsland (Douglas): has joined #vdsm 05:06 -!- bala (purple): has joined #vdsm 05:41 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 05:42 -!- bala: has quit [Quit: Leaving.] 05:52 -!- vered (Vered Volansky): has joined #vdsm 05:59 -!- mohankumar (M. Mohan Kumar): has joined #vdsm 06:03 -!- zhshzhou (Zhou Zheng Sheng): has joined #vdsm 06:11 -!- mliu (purple): has joined #vdsm 06:11 -!- mliu: has left #vdsm [] 06:29 -!- mohankumar: has quit [Write error: Broken pipe] 06:29 -!- mohankumar (M. Mohan Kumar): has joined #vdsm 06:36 -!- Netsplit *.net <-> *.split quits: ybronhei 06:36 -!- aravindavk (Aravinda): has joined #vdsm 06:37 -!- Netsplit over, joins: ybronhei 06:52 -!- Netsplit *.net <-> *.split quits: fabiand_, dougsland 06:54 -!- dougsland (Douglas): has joined #vdsm 06:54 -!- dougsland: has quit [Changing host] 06:54 -!- dougsland (Douglas): has joined #vdsm 06:57 -!- fabiand_ (Fabian Deutsch): has joined #vdsm 07:02 -!- zhshzhou: has quit [Quit: Leaving.] 07:09 -!- bala (purple): has joined #vdsm 07:42 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 07:45 -!- bala: has quit [Quit: Leaving.] 07:53 -!- sbonazzo (purple): has joined #vdsm 08:03 -!- nsoffer (Nir Soffer): has joined #vdsm 08:30 -!- fromani (Francesco Romani): has joined #vdsm 08:31 -!- pkliczew (Piotr Kliczewski): has joined #vdsm 08:39 -!- shaohef: has quit [Ping timeout: 264 seconds] 08:48 -!- zhshzhou (Zhou Zheng Sheng): has joined #vdsm 09:00 -!- abaron: has quit [Ping timeout: 264 seconds] 09:02 -!- shaohef (shaohef): has joined #vdsm 09:13 -!- amuller (Assaf Muller): has joined #vdsm 09:17 -!- fsimonce (Federico): has joined #vdsm 09:17 -!- ybronhei: has quit [Quit: Leaving.] 09:20 -!- bala (purple): has joined #vdsm 09:24 -!- saggi (purple): has joined #vdsm 09:36 -!- moolit (purple): has joined #vdsm 09:43 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 09:44 -!- acanan (Aharon Canan): has joined #vdsm 09:51 -!- zhshzhou: has quit [Quit: Leaving.] 09:56 -!- ykaplan (Yeela Kaplan): has joined #vdsm 09:59 -!- shaohef: has quit [Ping timeout: 265 seconds] 09:59 -!- acanan: has quit [Ping timeout: 276 seconds] 10:00 -!- nsoffer: has quit [Ping timeout: 263 seconds] 10:08 -!- mode/#vdsm: by ChanServ 10:08 -!- danken (purple): has joined #vdsm 10:13 -!- shaohef (shaohef): has joined #vdsm 10:42 -!- #vdsm osier: has quit [Read error: Connection reset by peer] 10:43 -!- mpolednik (Martin Polednik): has joined #vdsm 10:53 -!- osier (osier): has joined #vdsm 10:57 -!- nsoffer (Nir Soffer): has joined #vdsm 11:00 -!- shaohef: has quit [Ping timeout: 276 seconds] 11:00 -!- osvoboda (Ondřej Svoboda): has joined #vdsm 11:44 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 11:56 -!- osvoboda: has quit [Ping timeout: 272 seconds] 11:58 -!- osvoboda (Ondřej Svoboda): has joined #vdsm 11:58 -!- osvoboda: has quit [Client Quit] 11:58 -!- osvoboda (Ondřej Svoboda): has joined #vdsm 12:01 -!- vered: has quit [Ping timeout: 264 seconds] 12:01 -!- osvoboda: has quit [Client Quit] 12:02 -!- osvoboda (Ondřej Svoboda): has joined #vdsm 12:03 -!- osvoboda: has left #vdsm [] 12:03 -!- osvoboda (Ondřej Svoboda): has joined #vdsm 12:03 -!- vered (Vered Volansky): has joined #vdsm 12:32 -!- mohankumar: has quit [Ping timeout: 276 seconds] 12:47 -!- moolit1 (purple): has joined #vdsm 12:49 -!- moolit: has quit [Ping timeout: 248 seconds] 12:49 -!- shaohef (shaohef): has joined #vdsm 12:50 -!- bazulay (purple): has joined #vdsm 12:52 -!- moolit1: has quit [Quit: Leaving.] 12:52 -!- moolit (purple): has joined #vdsm 13:07 -!- fromani: has quit [Remote host closed the connection] 13:10 -!- fromani (Francesco Romani): has joined #vdsm 13:24 -!- rmatinata: has quit [Ping timeout: 248 seconds] 13:32 -!- moolit: has quit [Ping timeout: 264 seconds] 13:36 -!- mpolednik: has quit [Ping timeout: 248 seconds] 13:38 -!- mpolednik (Martin Polednik): has joined #vdsm 13:44 -!- bazulay: has left #vdsm [] 13:45 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 13:47 -!- moolit (purple): has joined #vdsm 13:48 -!- fromani: has quit [Ping timeout: 276 seconds] 13:49 -!- aravindavk: has quit [Quit: Leaving] 13:50 -!- mojaves (Francesco Romani): has joined #vdsm 13:52 -!- fromani_: has quit [Ping timeout: 248 seconds] 13:57 -!- mojaves: has quit [Ping timeout: 272 seconds] 14:03 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 14:05 -!- mpolednik: has quit [Ping timeout: 260 seconds] 14:13 -!- fromani_: has quit [Quit: Leaving] 14:13 -!- fromani (Francesco Romani): has joined #vdsm 14:13 -!- fromani: has quit [Client Quit] 14:14 -!- fromani (Francesco Romani): has joined #vdsm 14:18 -!- mliu (purple): has joined #vdsm 14:18 -!- mliu: has left #vdsm [] 14:25 -!- ewarszaw: has quit [Ping timeout: 245 seconds] 14:33 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 14:36 -!- bazulay (purple): has joined #vdsm 14:36 -!- ewarszaw (Eduardo Warszawski): has joined #vdsm 14:37 -!- moolit: has quit [Ping timeout: 264 seconds] 14:37 -!- ybronhei: has quit [Ping timeout: 276 seconds] 14:46 -!- tjikkun_work (Sander Hoentjen): has joined #vdsm 14:54 -!- moolit (purple): has joined #vdsm 14:58 -!- tjikkun_work (Sander Hoentjen): has joined #vdsm 15:00 -!- bala: has quit [Ping timeout: 248 seconds] 15:16 -!- mpolednik (Martin Polednik): has joined #vdsm 15:36 -!- moolit: has quit [Ping timeout: 272 seconds] 15:37 -!- ybronhei: has quit [Ping timeout: 248 seconds] 15:47 -!- pkliczew: has quit [Ping timeout: 248 seconds] 15:47 -!- pkliczew (Piotr Kliczewski): has joined #vdsm 15:50 -!- moolit (purple): has joined #vdsm 16:02 < osvoboda> amuller, danken: I am adding getBootProtocolDynamic to lib/vdsm/netinfo.py 16:02 < osvoboda> It will be able to report 'dhcp' or 'none' depending on dhclient/dhcpcd running for a respective interface. 16:03 -!- rmatinata (Ricardo Marin Matinata): has joined #vdsm 16:03 < amuller> osvoboda: It looks for a running dhclient process? 16:03 < amuller> osvoboda: Why do you need this btw? 16:04 < osvoboda> Bug #987813. 16:04 < osvoboda> VDSM should do without ifcfg files. 16:04 < osvoboda> The "original" getBootProtocol relies on ifcfg files (parsed into JSON if using "unified" persistence). 16:06 < amuller> osvoboda: That bug is on me right now, if you're going to handle it then you should take the assignment 16:06 < amuller> osvoboda: In which case I will be very grateful :) 16:08 < osvoboda> Dan advised me how to solve BOOTPROTO, I was not pondering BONDING_OPTS yet. But yes, I will be on it. 16:14 < osvoboda> amuller, danken: I think we don't need to fallback to ifcfg. But we are losing the knowledge of bootproto=bootp -- I guess this is really a boot-time operation and there is no daemon around. 16:14 < amuller> We don't support bootp 16:15 < osvoboda> Then I guess I can in fact replace the original function? 16:15 < amuller> Yeah that's the idea 16:15 < osvoboda> Great :-) 16:16 < amuller> Ideally netinfo shouldn't report anything from ifcfg or unified persistence 16:16 < amuller> Because reporting from the persistence module is basically reporting to the engine back what it configured itself 16:16 < amuller> netinfo should be reporting from the host state itself 16:16 < osvoboda> Right, I assume this is why iproute2 is in the making? 16:16 < amuller> Well, iproute2 is for configuring stuff 16:16 < amuller> netinfo is for show stuff 16:16 < osvoboda> OK. 16:17 < osvoboda> Thanks a lot :-) 16:17 < amuller> iproute2 is being created because ifcfg files are being deprecated (As they're not only used for persistency, but for ifup/down scripts as well) 16:18 <@danken> osvoboda: amuller: I thought there was an issue about getting dhcp for an interface that is down 16:19 <@danken> but we should probably not care much about it - it has not static address 16:19 <@danken> so it may well have not bootproto. 16:20 <@danken> amuller: btw, thanks for the quick fix, but how about putthing updateTimestamp on the module level? 16:20 <@danken> it has nothing to doo with XMLRPC. 16:20 <@danken> so it is on its way out 16:22 < amuller> I think the dhclient process won't be up for a nic which is down... Originally we though to check for historic leases 16:23 < amuller> But if it's acceptable for the engine to report no boot proto on a nic that is down... That's fine by me 16:23 < amuller> So now we have static, dhcp, and null? 16:24 <@danken> amuller: no. only dhcp and "none" 16:24 <@danken> the latter meaning "static". 16:24 < amuller> well 16:24 < amuller> it can be wrong if the nic is down then 16:25 < amuller> I mean the user won't be able to differentiate if a nic is down 16:25 <@danken> I wonder if that matters, somehow. for down interface we report no ipaddr anyway. 16:26 <@danken> oh, I see what you mean, amuller: just as much, it should report no bootproto. 16:31 < amuller> osvoboda: For the bonding stuff, check out: /sys/class/net/bond0/bonding 16:31 < amuller> osvoboda: That dir has all the bond options (mode, miimon included) 16:32 < osvoboda> Awesome, I was hoping for this directory :-) 16:32 < amuller> osvoboda: There's still the issue of what to report though 16:32 < osvoboda> You mean only non-default values? 16:32 < amuller> osvoboda: You don't know what the user explicitly set (The GUI and REST clients allow to define arbitrary options) 16:33 < amuller> osvoboda: I mean the client could have set every single option. I guess one approach would be to know what is the default value for every option and reporting the diff from that 16:33 < amuller> osvoboda: Or we report the entire directory and let the engine handle it 16:33 < amuller> osvoboda: Or we only report miimon and mode and remove support for other options from the clients 16:33 < amuller> osvoboda: I guess that about covers the different options =D 16:34 < osvoboda> We could create a new bond and do a diff? 16:34 < amuller> osvoboda: We could do that yes 16:34 < amuller> osvoboda: We could keep an extra bond around 16:34 < amuller> osvoboda: Or only create it everytime VDSM boots up 16:36 -!- ming: has quit [Remote host closed the connection] 16:38 < osvoboda> This is clean as it handles less used options. But I think we could clean up the extra bond right away. 16:39 < osvoboda> And just remember the defaults in possible. 16:39 < osvoboda> *if 16:39 < amuller> We can't create and destroy a bond every call to getVdsCaps 16:40 <@danken> osvoboda: yeah, it's a nice idea. and again, we may consider to fall back to the explicit value sent by Engine and persisted to disk. 16:41 <@danken> (but we can do it on startup and memoize the result) 16:41 <@danken> Linux won't change its defualts on the fly. 16:41 < osvoboda> Can we do this only once? 16:44 < amuller> Once per VDSM run should do it 16:44 < amuller> We can also create a new service that runs once when the host boots up, instead of every time VDSM boots up 16:44 < amuller> But that feels a little overkill 16:47 < osvoboda> Maybe it is enough to read the defaults on VDSM startup if it stays around as is able to report them? 16:49 < osvoboda> danken: Can the explicit bonding options be set independently of ifcfg/JSON files? I am wondering if we need to fall back at all. 16:49 -!- acathrow: has left #vdsm [] 16:51 -!- vered: has quit [Read error: Operation timed out] 16:56 <@danken> osvoboda: I did not understand your first question. regrading the second: a fallback may be unneeded... it's for an edge case: a user as set miimon explicitly to 100. now since that's the default (say), vdsm does not report it back. so it could be confusing. 16:56 <@danken> but no biggy 16:56 <@danken> and can be considered on a later iteration. 17:02 -!- vered (Vered Volansky): has joined #vdsm 17:06 < amuller> danken: osvoboda: I'm out, see you tomorrow 17:06 -!- amuller: has quit [Quit: Konversation terminated!] 17:08 -!- mpolednik: has quit [Ping timeout: 265 seconds] 17:14 -!- bala (purple): has joined #vdsm 17:16 < osvoboda> danken: A have a very primitive getBootProtocol implementation here, returning 'dhcp' if dhclient/dhcpcd is running for the interface and 'none' otherwise. 17:19 < osvoboda> I will find out how to report the value now (depending on an interface's up/down state). 17:20 <@danken> osvoboda: cool! waiting to see ya 17:20 -!- dougsland (Douglas): has joined #vdsm 17:20 -!- dougsland (Douglas): has joined #vdsm 17:26 < osvoboda> Unfortunately I have no guest here yet so I have a hard time figuring out any implications. bootproto is still mentioned along with ifcfg in many places, e.g. networkTests.testAddVlanedBridgeless assumes that 'bootproto' relies in 'cfg' (= was gathered from ifcfg). 17:26 -!- ykaplan: has quit [Ping timeout: 264 seconds] 17:28 -!- abaron: has quit [Read error: Operation timed out] 17:33 -!- pkliczew: has quit [Ping timeout: 248 seconds] 17:46 -!- sbonazzo: has left #vdsm [] 17:50 -!- aravindavk (Aravinda): has joined #vdsm 17:55 -!- saggi: has quit [Ping timeout: 273 seconds] 18:06 -!- aravindavk: has quit [Ping timeout: 246 seconds] 18:11 -!- saggi (purple): has joined #vdsm 18:31 -!- osvoboda: has quit [Ping timeout: 260 seconds] 18:31 -!- ybronhei: has quit [Ping timeout: 248 seconds] 18:44 -!- edu (Eduardo): has joined #vdsm 18:46 -!- bala: has quit [Ping timeout: 252 seconds] 18:50 -!- vered: has quit [Ping timeout: 240 seconds] 18:53 -!- vered (Vered Volansky): has joined #vdsm 18:53 -!- nsoffer: has quit [Read error: Operation timed out] 19:19 -!- vered: has quit [Ping timeout: 246 seconds] 19:19 -!- moolit: has quit [Read error: Operation timed out] 19:46 -!- fromani: has quit [Quit: Leaving] 19:47 -!- Netsplit *.net <-> *.split quits: wgao__ 19:48 -!- Netsplit over, joins: wgao__ 19:48 -!- saggi: has quit [Ping timeout: 252 seconds] 19:51 -!- AlbertoSilva (AlbertoSilva): has joined #vdsm 20:41 -!- bazulay: has quit [Quit: Leaving.] 20:45 -!- ybronhei: has quit [Quit: Leaving.] 21:01 -!- nsoffer (Nir Soffer): has joined #vdsm 21:37 -!- edu: has quit [Quit: edu] 21:42 -!- rmatinata: has quit [Ping timeout: 272 seconds] 22:05 -!- moolit (purple): has joined #vdsm 22:46 -!- fabiand_: has quit [Quit: Verlassend] 23:04 -!- saggi (purple): has joined #vdsm 23:05 -!- dougsland: has quit [Changing host] 23:05 -!- dougsland (Douglas): has joined #vdsm 23:05 -!- dougsland (Douglas): has joined #vdsm 23:08 -!- rmatinata (Ricardo Marin Matinata): has joined #vdsm 23:41 -!- danken: has quit [Ping timeout: 272 seconds] 23:59 -!- #vdsm fsimonce: has quit [Quit: Coyote finally caught me] --- Log closed wo jan 08 00:00:50 2014