Thursday, 2017-09-28

*** rama_y has quit IRC00:00
*** baoli_ has quit IRC00:05
*** srobert has quit IRC00:11
*** yangyapeng has quit IRC00:13
*** yangyapeng has joined #openstack-ironic00:14
*** CharlesXavier has quit IRC00:17
*** CharlesXavier has joined #openstack-ironic00:18
*** yangyapeng has quit IRC00:18
openstackgerritJohn L. Villalovos proposed openstack/ironic master: Reduce complexity of node_power_action() function  https://review.openstack.org/50766800:19
openstackgerritJohn L. Villalovos proposed openstack/ironic master: ipmitool: reboot: Don't power off node if already off  https://review.openstack.org/50729700:19
*** baoli has joined #openstack-ironic00:20
*** srobert has joined #openstack-ironic00:22
*** chas has joined #openstack-ironic00:29
*** CharlesXavier has quit IRC00:29
*** causten has joined #openstack-ironic00:30
*** chas has quit IRC00:34
*** yee37927 has quit IRC00:39
*** yee379 has joined #openstack-ironic00:39
*** litao__ has joined #openstack-ironic00:49
*** kzaitsev1pi has quit IRC00:52
*** kzaitsev_pi has joined #openstack-ironic00:54
*** CharlesXavier has joined #openstack-ironic00:58
openstackgerritJohn L. Villalovos proposed openstack/ironic-python-agent master: Build tinyipa with python3  https://review.openstack.org/49538500:58
*** rbudden has quit IRC01:00
*** phuongnh has joined #openstack-ironic01:02
*** lennyb has quit IRC01:11
*** lennyb has joined #openstack-ironic01:11
*** causten has quit IRC01:12
*** causten has joined #openstack-ironic01:15
*** yangyapeng has joined #openstack-ironic01:20
*** mikal_ has joined #openstack-ironic01:22
*** yangyape_ has joined #openstack-ironic01:25
*** yangyapeng has quit IRC01:25
*** mikal has quit IRC01:25
*** mikal_ has quit IRC01:28
*** hw_wutianwei1 has joined #openstack-ironic01:29
*** gcb has joined #openstack-ironic01:31
*** bnemec has quit IRC01:34
openstackgerritJohn L. Villalovos proposed openstack/ironic-python-agent master: Build tinyipa with python3  https://review.openstack.org/49538501:38
*** bnemec has joined #openstack-ironic01:39
*** mikal has joined #openstack-ironic01:56
*** cdearborn has quit IRC02:11
*** rbudden has joined #openstack-ironic02:13
*** rbudden has quit IRC02:17
*** krtaylor has joined #openstack-ironic02:20
*** baoli has quit IRC02:24
*** chas has joined #openstack-ironic02:30
*** namnh has joined #openstack-ironic02:31
*** baoli has joined #openstack-ironic02:34
*** chas has quit IRC02:34
*** baoli has quit IRC02:42
*** baoli has joined #openstack-ironic02:44
*** IgorYozhikov has joined #openstack-ironic02:54
*** srobert has quit IRC02:55
*** Sukhdev has quit IRC03:15
*** baoli has quit IRC03:21
*** baoli has joined #openstack-ironic03:22
*** Sukhdev has joined #openstack-ironic03:24
*** bnemec has quit IRC03:26
*** crushil has joined #openstack-ironic03:26
*** causten has quit IRC03:30
*** causten has joined #openstack-ironic03:31
*** Tengu has quit IRC03:33
*** baoli has quit IRC03:34
*** Tengu has joined #openstack-ironic03:39
*** udesale has joined #openstack-ironic03:42
*** links has joined #openstack-ironic03:44
*** vmud213 has joined #openstack-ironic03:47
*** dpawar has joined #openstack-ironic04:00
*** crushil_ has joined #openstack-ironic04:10
*** aparnav has joined #openstack-ironic04:21
*** yangyape_ has quit IRC04:22
*** yangyapeng has joined #openstack-ironic04:23
openstackgerritJohn L. Villalovos proposed openstack/ironic-python-agent master: Build tinyipa with python3  https://review.openstack.org/49538504:47
*** exodusftw has quit IRC05:06
*** exodusftw has joined #openstack-ironic05:16
*** jaianshu has joined #openstack-ironic05:23
*** Sukhdev has quit IRC05:29
*** yangyape_ has joined #openstack-ironic05:29
*** yangyapeng has quit IRC05:29
*** yangyape_ has quit IRC05:31
*** yangyapeng has joined #openstack-ironic05:32
openstackgerritJohn L. Villalovos proposed openstack/ironic-python-agent master: Build tinyipa with python3  https://review.openstack.org/49538505:35
*** marios has joined #openstack-ironic05:42
*** yangyapeng has quit IRC05:50
*** yangyape_ has joined #openstack-ironic05:50
*** ChubYann has quit IRC05:51
*** vsaienk0 has joined #openstack-ironic05:55
*** noam_ has joined #openstack-ironic06:00
openstackgerritShivanand Tendulker proposed openstack/ironic-python-agent master: Rescue extension for CoreOS with DHCP tenant networks  https://review.openstack.org/42352106:00
*** jaganathan has joined #openstack-ironic06:02
*** jaganathan has quit IRC06:02
*** crushil_ has quit IRC06:10
*** crushil has quit IRC06:11
*** mjura has joined #openstack-ironic06:15
*** yangyape_ has quit IRC06:18
*** yangyapeng has joined #openstack-ironic06:19
*** rbartal has joined #openstack-ironic06:19
*** pcaruana has joined #openstack-ironic06:19
*** yangyapeng has quit IRC06:23
*** yangyapeng has joined #openstack-ironic06:29
openstackgerritTuan Luong-Anh proposed openstack/ironic master: Update after recent removal of cred manager aliases  https://review.openstack.org/50698306:32
*** yangyapeng has quit IRC06:34
*** dpawar has quit IRC06:35
*** makowals has joined #openstack-ironic06:53
*** rcernin has joined #openstack-ironic07:00
*** yangyapeng has joined #openstack-ironic07:03
*** andymccr has quit IRC07:07
*** yangyapeng has quit IRC07:07
*** asettle has quit IRC07:08
*** amarao has quit IRC07:09
*** amarao1 has joined #openstack-ironic07:09
*** andymccr has joined #openstack-ironic07:09
*** asettle has joined #openstack-ironic07:10
*** hjensas has joined #openstack-ironic07:10
*** hjensas has quit IRC07:10
*** hjensas has joined #openstack-ironic07:10
*** asettle is now known as Guest382807:10
*** yangyapeng has joined #openstack-ironic07:17
*** amarao1 has quit IRC07:17
*** yangyapeng has quit IRC07:18
*** yangyapeng has joined #openstack-ironic07:18
*** ralonsoh has joined #openstack-ironic07:19
vdrokmorning ironic!07:20
noam_Hi, can someone elaborate on the difference between local boot and netboot?07:24
*** yangyapeng has quit IRC07:29
*** yangyape_ has joined #openstack-ironic07:29
*** yangyape_ has quit IRC07:30
*** yangyapeng has joined #openstack-ironic07:30
*** dpawar has joined #openstack-ironic07:36
pas-hamorning ironic :)07:40
pas-hanoam_: netboot means that the kernel and ramdisk of the user image will be booted over (i)PXE (network boot)07:41
pas-hawhile for localboot ironic will edit the image written to disk a bit to init the bootloader so the node is booted from local storage (disk)07:41
pas-haalso, re multi-tenancy support for instances running on ironic nodes, netboot is not supported currently07:43
*** ccamacho has quit IRC07:45
*** ccamacho has joined #openstack-ironic07:45
noam_So in case of netboot changes not saved after reboot?07:49
*** amarao has joined #openstack-ironic07:54
pas-hanoam_: depends on what changes - the root partition is still on the disk, so files etc will stay there after reboot, but if you for example update the kernel  - it won't have any effect, the node will boot over network from the same kernel as before07:57
pas-hanetboot != ramdisk07:58
pas-haonly kernel and initramfs are supplied over network, the root file system is on local disk still07:58
noam_ok i understand better now08:02
noam_thanks08:02
*** hjensas has quit IRC08:06
*** hjensas has joined #openstack-ironic08:08
*** amarao1 has joined #openstack-ironic08:17
*** derekh has joined #openstack-ironic08:26
*** chas has joined #openstack-ironic08:35
*** vsaienk0 has quit IRC08:36
IgorYozhikovpas-ha08:37
*** Guest3828 is now known as asettle08:39
*** e0ne has joined #openstack-ironic08:42
*** vsaienk0 has joined #openstack-ironic08:48
openstackgerritShivanand Tendulker proposed openstack/ironic master: Rescue implementation for iLO Virtual Media drivers  https://review.openstack.org/45301208:54
*** ralonsoh_ has joined #openstack-ironic09:00
*** ralonsoh has quit IRC09:03
*** yangyapeng has quit IRC09:04
*** yangyapeng has joined #openstack-ironic09:08
pas-haIgorYozhikov: hi! :)09:08
*** mrch has joined #openstack-ironic09:10
*** stendulker has joined #openstack-ironic09:11
*** marios has quit IRC09:21
*** sambetts|afk is now known as sambetts09:24
*** amarao has quit IRC09:24
*** amarao has joined #openstack-ironic09:24
sambettsMorning all09:25
stendulkerGood morning sambetts :)09:26
*** alex__ has joined #openstack-ironic09:30
alex__pas-ha: hello09:31
IgorYozhikovpas-ha, colleagues. alex__ and I have question about scaling of ironic services to handle big deployments09:33
alex__pas-ha: pa-ha, we have a project which need us to use ironic to deploy baremetal server. The scale is about 1000/week.09:36
openstackgerritvinay kumar muddu proposed openstack/ironic master: Update proliantutils version for master to "2.4.1"  https://review.openstack.org/50550609:37
IgorYozhikovalex__, as far as I know it  is also important to know version of OpenStack09:37
alex__Fuel 9.2 openstack09:37
IgorYozhikovSo, it is Mitaka09:38
alex__but we use the ironic version with ocata.09:38
alex__because customer wants to use ironic to support tenants network.09:39
pas-haalex__: do you use nova to drive ironic?09:39
pas-haand also, is it going to be a mixed baremetal+vm instances in nova, or baremetal only?09:42
alex__pas-ha: yeah, this is a mixed in nova09:44
*** etingof has quit IRC09:44
alex__[ironic] api_endpoint = http://10.131.0.98:6385 admin_username = ironic admin_password = ironic admin_url = http://10.131.0.137:5000/v2.0 admin_tenant_name = services09:44
alex__pas-ha: these are configuration in nova.conf.09:45
*** hw_wutianwei1 has quit IRC09:46
vsaienk0IgorYozhikov: in Mitaka if I remember correctly we were able to deploy nova-compute in active/backup mode only09:46
*** ijw has quit IRC09:47
vsaienk0nova compute will not be scalable horizontally09:47
pas-hayep, in mitaka nova + ironic has lots of issues, especially for mixed hypervisor case09:47
alex__pas-ha: Do u have the suggestion about how to deploy baremetal servers via multiple conductors?09:48
pas-haironic-conductors are perfectly scalable horizontally, it is nova-compute with ironic virt-driver that can be only a single instance in Mitaka09:48
pas-haon Fuel 8 we had a test lab where 3 (beefy) physical nodes with ironic-conductors were managing 4k nodes, but we were able to provision them via nova only in batches of like 10009:50
*** aparnav has quit IRC09:51
pas-haalex__: so again, the main 'scaling' question is - do you need that many nodes simply managed or they have to be frequently deployed/redeployed via nova?09:51
pas-hathis 1k nodes/week - is it enroll and deploy once? they will be redeployed frequently enough?09:52
alex__pas-ha: No, they don't need to redeploy frequently.09:52
alex__But we want to have the ability to redeploy as required.09:54
alex__but not frequently09:54
pas-hawith ironic-conductors on of the biggest limiting factors of average churn is power state sync. If you have it enabled, I'd suggest to test the HW/network first, and then decide on how many nodes your single ironic-conductor can handle09:54
*** jaianshu has quit IRC09:55
pas-ha(as each power sync task consumes/blocks one thread from ironic-conductor pool of threads, though pool size is configurable)09:55
alex__ok,09:56
pas-hawith redeploy, your main limiting factor would be concurrent deploys via nova, as there most probably will be scheduling collisions09:56
pas-hafor ironic nodes09:56
alex__pas-ha: so I can improve the pool size, can i improve the performance?09:57
pas-habut what we have seen, as long as your "concurrency" (how many boot requests for ironic nodes are processed by nova in parallel) is substantially smaller than the number of currently 'available' ironic nodes, scheduling succeeds more often09:58
pas-haperformance in the sense of how many nodes to manage by single ironic-conductor service - yes, but you might need a beefier host for that as well..09:59
*** marios has joined #openstack-ironic09:59
alex__pas-ha: yeah, I have a physical server as conductor with 4 10G network Nics and ssd.10:00
pas-haalso note that all these scheduling problems should be almost gone in Pike release of nova and ironic due to a completely new scheduling mechanism in nova (placement API and resource classes)10:01
openstackgerritShivanand Tendulker proposed openstack/ironic master: Implements `rescue` interface for 'ilo' hardware type  https://review.openstack.org/45301210:01
*** etingof has joined #openstack-ironic10:01
*** chas has quit IRC10:02
*** chas has joined #openstack-ironic10:02
*** yangyapeng has quit IRC10:02
*** ralonsoh__ has joined #openstack-ironic10:03
*** yangyapeng has joined #openstack-ironic10:03
alex__pas-ha: we are not able to update the ironic from ocata to pike,since we have deployed about 300 nodes.10:03
*** yangyapeng has quit IRC10:04
pas-hato have full potential you'd have to deploy Pike nova as well..10:05
*** ralonsoh_ has quit IRC10:06
*** masber has quit IRC10:06
*** masber has joined #openstack-ironic10:07
*** chas has quit IRC10:07
IgorYozhikovnova placement was introduced in ocata or newton, no?10:07
alex__pas-ha: And customer wants us to provide a design about how to improve the performance, since hardwares are not the question.10:08
sambettsIronic virt driver wasn't updated to use it until the last release10:08
*** etingof has quit IRC10:10
*** marios has quit IRC10:12
alex__pas-ha: what is simply managed by ironic?10:16
pas-haby this I mean just a background churn ironic performs on 'available' or 'active' nodes, w/o many nodes being deployed/cleaned, with occasional API commands to execute against the nodes (like power on/off etc)10:18
pas-hawhen many nodes are being provisioned/cleaned at the same time, requirements might be different10:19
pas-hafor example  many nodes trying to access TFTP on ironic-conductor produces quite noticable CPU spikes, so your conductor host has to be able to deal with it10:20
pas-hafor some example figures see http://pshchelo.github.io/ansible-deploy-perf.html (the purpose of this post was a bit different, but it has some CPU graphs for ironic-conductor provisioning 100 nodes at once)10:22
*** ralonsoh__ is now known as ralonsoh10:24
pas-habwt it ^ uses ironic as of Ocata10:24
*** etingof has joined #openstack-ironic10:25
*** etingof has quit IRC10:27
openstackgerritVladyslav Drok proposed openstack/python-ironicclient master: Switch to none auth for standalone mode  https://review.openstack.org/35906110:29
*** jkilpatr has quit IRC10:35
*** udesale has quit IRC10:39
*** phuongnh has quit IRC10:40
*** chas has joined #openstack-ironic10:47
*** ijw has joined #openstack-ironic10:47
*** stendulker_ has joined #openstack-ironic10:47
*** stendulker has quit IRC10:50
*** gcb has quit IRC10:50
*** jkilpatr has joined #openstack-ironic10:52
*** stendulker_ has quit IRC10:52
*** ijw has quit IRC10:52
*** alex__ has quit IRC10:53
*** yolanda has quit IRC10:54
*** vmud213 has quit IRC11:03
*** marios has joined #openstack-ironic11:05
*** gcb has joined #openstack-ironic11:07
*** yolanda has joined #openstack-ironic11:08
openstackgerrityolanda.robla proposed openstack/bifrost master: Fix bug in setting dns servers  https://review.openstack.org/50811311:14
*** ricardoas has quit IRC11:19
*** mrtenio has quit IRC11:19
*** CharlesXavier has quit IRC11:19
*** mrtenio has joined #openstack-ironic11:21
*** ricardoas has joined #openstack-ironic11:21
*** CharlesXavier has joined #openstack-ironic11:22
robcresswello/ Hey all; what does "the example template" in https://docs.openstack.org/bifrost/latest/user/virsh.html refer too?11:25
robcresswellAh wait, maybe this isn't what I want.11:26
robcresswellBasically, trying to figure out how I can chuck bifrost on a NUC and manage a couple of "virtual" baremetals for testing Ironic APIs.11:26
robcresswellCurrently trying to adapt the gate test script, but that has both more than I need and also makes assumptions about the env I think, as the upstream stuff likely has extra packages built into the image.11:27
openstackgerritPavlo Shchelokovskyy proposed openstack/ironic-inspector master: Use ostestr unit test runner  https://review.openstack.org/50812211:33
*** jlabarre has joined #openstack-ironic11:41
*** jaganathan has joined #openstack-ironic11:41
yolandahi dtantsur|afk or other cores, can i get reviews on https://review.openstack.org/505146 and https://review.openstack.org/505315 ? just missing the final +211:43
patchbotpatch 505146 - bifrost - Install the latest version of setuptools11:43
patchbotpatch 505315 - bifrost - Different pip install with/without venv11:43
*** bfournie has quit IRC11:45
*** bfournie has joined #openstack-ironic11:45
*** bfournie has quit IRC11:49
*** dpawar has quit IRC11:54
*** trown has joined #openstack-ironic11:55
openstackgerritPavlo Shchelokovskyy proposed openstack/ironic-inspector master: Use ostestr unit test runner  https://review.openstack.org/50812211:57
*** chas has quit IRC12:02
*** fellypefca has joined #openstack-ironic12:04
fellypefcaHi and good morning, Ironic :)12:05
*** francoblanco has quit IRC12:05
*** dpawar has joined #openstack-ironic12:07
*** cdearborn has joined #openstack-ironic12:11
*** gcb has quit IRC12:12
*** gcb has joined #openstack-ironic12:12
*** rbudden has joined #openstack-ironic12:14
*** srobert has joined #openstack-ironic12:17
*** bfournie has joined #openstack-ironic12:19
*** dsneddon has quit IRC12:19
*** bfournie has quit IRC12:19
*** trown has quit IRC12:21
*** dpawar has quit IRC12:23
*** litao__ has quit IRC12:26
*** dprince has joined #openstack-ironic12:29
*** srobert has quit IRC12:30
*** srobert has joined #openstack-ironic12:30
*** pcaruana has quit IRC12:31
*** cdearborn has quit IRC12:31
openstackgerrityolanda.robla proposed openstack/bifrost master: Fix bug in setting dns servers  https://review.openstack.org/50811312:44
*** jaypipes has joined #openstack-ironic12:45
*** trown has joined #openstack-ironic12:45
*** rloo has joined #openstack-ironic12:47
*** chas has joined #openstack-ironic12:53
*** chas has quit IRC12:54
*** chas has joined #openstack-ironic12:54
*** Goneri has joined #openstack-ironic12:55
*** gcb has quit IRC12:58
*** pcaruana has joined #openstack-ironic13:00
*** dpawar has joined #openstack-ironic13:01
*** mat128 has joined #openstack-ironic13:02
*** gcb has joined #openstack-ironic13:02
*** bfournie has joined #openstack-ironic13:03
*** cdearborn has joined #openstack-ironic13:04
*** ianychoi_ is now known as ianychoi13:06
*** jcoufal has joined #openstack-ironic13:07
*** ijw has joined #openstack-ironic13:12
*** trown has quit IRC13:13
*** chlong has quit IRC13:14
*** trown has joined #openstack-ironic13:14
*** yangyapeng has joined #openstack-ironic13:15
*** catintheroof has joined #openstack-ironic13:15
*** baoli has joined #openstack-ironic13:16
*** ijw has quit IRC13:18
*** parlos has joined #openstack-ironic13:19
TheJuliagood morning13:26
TheJuliarobcresswell: the test playbook might serve as an example, it spawns a configurable number of virtual baremetal machines, at the end of testing, it removes them...13:28
TheJuliaNobodyCam: When your up, please take a look at https://review.openstack.org/50531513:30
patchbotpatch 505315 - bifrost - Different pip install with/without venv13:30
*** bfournie1 has joined #openstack-ironic13:31
*** jrist has quit IRC13:31
*** bfournie has quit IRC13:32
*** jrist has joined #openstack-ironic13:35
*** trown|brb has joined #openstack-ironic13:37
*** trown has quit IRC13:37
*** trown|brb is now known as trown13:38
*** livelace2 has joined #openstack-ironic13:42
robcresswellTheJulia: Yeah, thats what I had been looking at :)13:43
openstackgerritMerged openstack/bifrost master: Install the latest version of setuptools  https://review.openstack.org/50514613:45
TheJuliarobcresswell: feel free to post a playbook ;)13:47
robcresswellTheJulia: Will do when I figure out how to Ansible13:47
robcresswellTheJulia: Or manage to bully sambetts into Ansible-ing for me. Whichever happens first.13:47
TheJuliaheh13:47
* TheJulia pull sopen the file13:48
TheJuliarobcresswell: delete https://github.com/openstack/bifrost/blob/master/playbooks/test-bifrost.yaml#L14013:48
robcresswellYup, was gonna cut it down so I get rid of the Zuul specific bits too. Need to go and nuke my h/w first though cause its got some old deployment packages that seems to be confusing things.13:50
TheJuliaahh, yeah13:50
TheJuliamake sure virsh list is clean, and if you have pre-existing databases locally, you will likely want to drop them13:51
TheJuliaor, rename them13:51
robcresswellYeah13:52
*** bnemec has joined #openstack-ironic13:53
*** alex_xu has quit IRC13:54
*** gcb has quit IRC13:54
*** alex_xu has joined #openstack-ironic13:54
*** alex_xu has quit IRC14:02
*** links has quit IRC14:02
*** gcb has joined #openstack-ironic14:02
*** ijw has joined #openstack-ironic14:03
*** yolanda has quit IRC14:08
*** ijw has quit IRC14:08
*** yolanda has joined #openstack-ironic14:08
*** crushil has joined #openstack-ironic14:09
jlvillalGood morning Ironic14:11
jlvillalDoes anyone have ideas on the random unit test failures? I updated the whiteboard about them.14:11
sambettsjlvillal: just looking now14:15
jlvillalsambetts, Thanks14:16
*** jrist has quit IRC14:17
*** dpawar has quit IRC14:24
*** rbartal has quit IRC14:25
*** amarao has quit IRC14:25
*** amarao has joined #openstack-ironic14:26
*** srobert has quit IRC14:32
*** mrch has quit IRC14:34
*** ijw has joined #openstack-ironic14:36
*** chlong has joined #openstack-ironic14:39
*** ijw has quit IRC14:42
-openstackstatus- NOTICE: The infra team is now taking Zuul v2 offline and bringing Zuul v3 online. Please see https://docs.openstack.org/infra/manual/zuulv3.html for more information, and ask us in #openstack-infra if you have any questions.14:42
*** SpamapS is now known as Zuulv214:43
*** Zuulv2 is now known as SpamapS14:43
*** makowals has quit IRC14:49
rloohi and good morning all, jlvillal, sambetts, TheJulia, robcresswell14:54
sambettso/ rloo14:54
rloocores -- are you good with approving https://bugs.launchpad.net/ironic-inspector/+bug/1666232?14:54
openstackLaunchpad bug 1666232 in Ironic Inspector "[RFE] replace testrepository with stestr" [Wishlist,In progress] - Assigned to Pavlo Shchelokovskyy (pshchelo)14:54
sambettsrloo: LGTM14:56
rloothx sambetts, I've approved it :)14:57
*** srobert has joined #openstack-ironic14:58
*** jrist has joined #openstack-ironic14:59
TheJuliagood morning rloo15:01
rlooTheJulia: :)15:01
NobodyCamGood Morning Ironic'ers :)15:04
NobodyCamTheJulia: looking15:04
*** vsaienk0 has quit IRC15:04
*** jaganathan has quit IRC15:05
*** rpioso has joined #openstack-ironic15:07
TheJuliaNobodyCam: thanks!15:10
NobodyCamso omit is setting var = None va var = <undefined>15:11
NobodyCamva = vs15:11
TheJuliabasically what it is doing now :\15:12
TheJuliaNobodyCam: also, https://review.openstack.org/#/c/508113/15:12
patchbotpatch 508113 - bifrost - Fix bug in setting dns servers15:12
*** parlos has quit IRC15:13
NobodyCamoh wow. That's def a bug. Awesome catch yolanda15:14
NobodyCam+a15:15
yolandaNobodyCam, i guess i wrote that bits, so my fault to have that bug...15:15
NobodyCam:)15:16
NobodyCamno fault. bugs happen15:17
*** jaganathan has joined #openstack-ironic15:18
TheJuliaNobodyCam: So true :)15:19
*** penick has joined #openstack-ironic15:25
*** penick has quit IRC15:29
*** penick has joined #openstack-ironic15:29
*** jaganathan has quit IRC15:31
*** jkilpatr has quit IRC15:34
*** crushil has quit IRC15:34
*** marios has quit IRC15:35
*** crushil has joined #openstack-ironic15:35
*** e0ne has quit IRC15:36
*** jrist has quit IRC15:36
*** parlos has joined #openstack-ironic15:45
*** rcernin has quit IRC15:46
*** zhangfei has joined #openstack-ironic15:46
*** parlos_ has joined #openstack-ironic15:47
*** crushil has quit IRC15:47
*** parlos has quit IRC15:49
*** parlos has joined #openstack-ironic15:50
*** parlos_ has quit IRC15:51
*** chas has quit IRC15:57
*** chas has joined #openstack-ironic15:58
*** cdearborn_ has joined #openstack-ironic16:00
*** cdearborn__ has joined #openstack-ironic16:01
*** chas has quit IRC16:02
*** zhangfei has quit IRC16:02
*** cdearborn has quit IRC16:04
*** cdearborn_ is now known as cdearborn16:04
sambettsjlvillal: I've worked out whats causing the extra os.stat call... and I'm not sure how to avoid it...16:09
TheJuliasambetts: where?16:10
*** jrist has joined #openstack-ironic16:10
sambettsbasically there is a deprecation warning being thrown by oslo_serialiszation /home/sam/Work/ironic/.tox/py27/local/lib/python2.7/site-packages/oslo_serialization/jsonutils.py:176: UserWarning: Cannot convert OSError() to primitive, will raise ValueError instead of warning in version 3.016:10
sambetts  "instead of warning in version 3.0" % (value,))16:10
sambettsand in order to get the file path part for the deprecation warning it uses os.stat16:11
sambettstbh I feel like that UT code is extremely delicate mocking os.stat because os.stat is used in a lot of places in the standard.lib too16:12
*** mjura has quit IRC16:12
sambettsadded by this commit: https://github.com/openstack/oslo.serialization/commit/fecad3c31fff10c8c88be64c3c845b840270d00d16:14
*** noam_ has quit IRC16:17
openstackgerritRuby Loo proposed openstack/python-ironicclient master: Deprecate the ironic CLI  https://review.openstack.org/50821816:17
jlvillalsambetts: Awesome!16:18
jlvillalsambetts: That you figured it out16:19
sambettsyeah :/ I think I have an idea for a solution, not sure if its the right one but :/16:25
*** causten has quit IRC16:27
*** jaganathan has joined #openstack-ironic16:27
jlvillalsambetts: I'm poking away in parallel16:31
openstackgerritSam Betts proposed openstack/ironic master: Stop passing raw Exceptions as the reasons for ironic Image exceptions  https://review.openstack.org/50822516:33
*** ralonsoh has quit IRC16:33
sambettsjlvillal:  ^^16:33
sambettsthats my initial solution16:34
jlvillalsambetts: Thanks16:34
sambettsthe only alternative I could think of was to edit the test so that it used mocks has_calls() function instead of checking the call count, but then I thought we'd have to modify every test instead of solving it in one place16:35
jlvillalsambetts: Where does it use os.stat() for the third time? Is that in oslo.serialization?16:36
jlvillalsambetts: Ah, I see in ironic/commons/exceptions.py it serializes stuff16:36
sambettsjlvillal: https://github.com/openstack/oslo.serialization/blob/fecad3c31fff10c8c88be64c3c845b840270d00d/oslo_serialization/jsonutils.py#L172 this line16:37
sambettsjlvillal: uses the warnings standard lib16:37
sambettsjlvillal: which under the covers uses os.stat16:37
jlvillalsambetts: Oh wonky :)16:37
*** zhangfei has joined #openstack-ironic16:38
*** rpioso__ has joined #openstack-ironic16:38
sambettsits why I'm kind of concerned with us touching/mocking something like os.stat because it such a low level python library function its used by literally everything16:38
sambettsit feels very fragile16:39
*** rpioso has quit IRC16:39
jlvillalsambetts: s/literally/virtually/ ;)16:39
sambettslooking through the python source code it feels like literally ;)16:40
jlvillalheh16:40
*** penick has quit IRC16:44
*** karts has joined #openstack-ironic16:44
*** rama_y has joined #openstack-ironic16:45
*** trown is now known as trown|lunch16:46
*** karthiks has quit IRC16:47
*** rwsu has joined #openstack-ironic16:47
*** penick has joined #openstack-ironic16:48
*** jaganathan has quit IRC16:55
*** derekh has quit IRC16:56
jlvillalsambetts: Tested locally. Fixes it for me. Thanks! Not sure why I don't see it in the zuul status queue though.16:56
*** crushil has joined #openstack-ironic16:56
jlvillalMaybe the Zuul v3 change-over has something to do with it16:56
NobodyCamrloo: is it wrong that your patch makes me :(16:56
sambettsjlvillal: that would be my guess16:57
rlooNobodyCam: the ironic cli deprecation one? No, it isn't wrong.16:57
NobodyCam:) yea :(16:57
rlooNobodyCam: come sit down and tell me why you feel :-(16:57
*** rpioso has joined #openstack-ironic16:58
NobodyCam:)16:58
rlooNobodyCam: is it for nostalgic reasons or ??16:58
NobodyCamlittle of both. I am sad to see it go.. I'm also kinda sad that I will have to install os_client for my standalone ironic16:59
*** baoli has quit IRC17:00
rlooNobodyCam: wrt os_client. The plan is for a lightweight osc command that doesn't pull in all the other project commands17:00
rlooNobodyCam: but that osc command won't be avail in the near future. Not sure when.17:01
*** baoli has joined #openstack-ironic17:01
sambetts+1000 to wanting this ^ it'll make using osc standalone a much easier pill to swallow17:01
NobodyCam:) yea17:01
sambettsI wonder if we can get involved in any way to help push it through17:01
* NobodyCam ready's alias ironic=`OSC baremetal $1 $2`17:03
rloosambetts: are you volunteering? I can connect you to the osc folks. I mentioned to them that I'd like it in Rocky.17:04
rlooNobodyCam: heh17:04
NobodyCam:)17:04
sambettsI'd be interested to see how far they've got with it, (I would have thought it would be a straight forklift of the plugin loading code but you never know)17:05
NobodyCamjust asking (because I haven't looked) is there a matrix of old ironic cmd to new osc cmd?17:05
rloosambetts: i think it involves a bit more than that, and OSC 4.0 (in the works) will make it easier, so I was fine waiting17:05
rlooNobodyCam: nope. Would it be useful?17:06
NobodyCamyes!17:06
rlooNobodyCam: i guess it would or you wouldn't ask...17:06
NobodyCam:)17:06
rlooNobodyCam: would it be useful to see the equivalent when issueing an ironic command, or are you good with documentation only?17:06
rlooNobodyCam: and thanks for making me do more work :)17:07
NobodyCam:(17:07
rlooNobodyCam: anything to help folks migrate...17:07
NobodyCamI was thinking of a simple pivot table type thing17:07
rlooNobodyCam: what is a 'pivot table'?17:08
jlvillalsambetts: +2 and thanks again :)17:08
*** jaganathan has joined #openstack-ironic17:08
sambettsnp17:08
sambetts:)17:08
jlvillalhttp://zuulv3.openstack.org/ is the new status page for Zuul v317:08
jlvillalsambetts: Strange that when I only test the one unit test, it always fails.17:08
jlvillalsambetts: But when I do all unit tests it doesn't fail. Weird.17:09
jlvillalSo this would always fails: tox -vvv -e py27 -- -r ironic.tests.unit.common.test_image_service.FileImageServiceTestCase.test_download_hard_link_fail17:09
jlvillalBut just: tox17:09
jlvillalWould always work locally17:09
sambettsjlvillal: it because the warnings library internally handles the only display the deprecation warning once thing, so another test that doesn't care as probably already triggered the warning17:10
*** dpawar has joined #openstack-ironic17:10
sambettsjlvillal: which is why its racey in the CI, because it depends on the random order the tests are run in17:11
jlvillalsambetts: Ah!17:11
sambettsNobodyCam: if you hadn't arlready found it: https://docs.openstack.org/python-ironicclient/latest/cli/osc_plugin_cli.html#command-reference17:12
sambettsNobodyCam: the OSC commands are more self explanitary than the old ironic cli ones17:12
rloosambetts, NobodyCam: do you think it might be useful to print out the equiv osc command, when a user issues an ironic command? right not, it just sez use osc: https://review.openstack.org/#/c/508218/17:14
patchbotpatch 508218 - python-ironicclient - Deprecate the ironic CLI17:14
rloosambetts, NobodyCam: I could change it, so for each ironic command, it prints out the equiv. more work but if it would be useful..?17:14
rloomore to review too :)17:15
NobodyCamI think command-reference is good. I had not seen it.17:15
*** baoli has quit IRC17:16
* sambetts ---> calling it a day and getting some dinner 17:16
sambettscya'll tomorrow17:16
NobodyCamhave a good night sambetts .. and TY17:16
sambettsno problem :D17:17
NobodyCamrloo:  I think that would be too much work17:17
*** sambetts is now known as sambetts|afk17:17
rloogood night sambetts|afk17:17
rlooNobodyCam: ok. So you're good with the OSC docs?17:17
NobodyCamyea, :)17:17
rlooNobodyCam: great!17:18
*** dsneddon has joined #openstack-ironic17:18
*** dsneddon has quit IRC17:18
*** dsneddon has joined #openstack-ironic17:18
openstackgerritRuby Loo proposed openstack/ironic master: Rolling upgrades related dev documentation  https://review.openstack.org/41943917:21
*** baoli has joined #openstack-ironic17:24
*** karts has quit IRC17:25
*** zhangfei has quit IRC17:27
*** retr0h has quit IRC17:28
*** retr0h has joined #openstack-ironic17:28
*** baoli has quit IRC17:32
*** baoli has joined #openstack-ironic17:32
*** karts has joined #openstack-ironic17:38
openstackgerritRuby Loo proposed openstack/python-ironicclient master: Update documentation  https://review.openstack.org/50792717:55
*** livelace2 has quit IRC17:55
openstackgerritRuby Loo proposed openstack/python-ironicclient master: Deprecate the ironic CLI  https://review.openstack.org/50821817:56
*** baoli has quit IRC17:56
*** baoli has joined #openstack-ironic17:57
*** amarao2 has joined #openstack-ironic17:59
*** amarao has quit IRC17:59
*** amarao1 has quit IRC18:01
*** amarao2 has quit IRC18:04
*** parlos has quit IRC18:04
*** dprince has quit IRC18:05
jlvillalJust an FYI. The Zuul v3 changeover is going on now. So don't expect any of your patches to build for awhile.18:07
*** baoli has quit IRC18:07
*** dprince has joined #openstack-ironic18:07
jlvillalAnd any jobs that were building in Zuul v2, are no longer building, even if they are showing up on the old zuul status page.18:08
*** cdearborn has quit IRC18:10
*** baoli has joined #openstack-ironic18:10
rloojlvillal: thx. wish they had waited to friday but anyway...18:10
jlvillalrloo: I wish they had waited till Saturday ;)18:11
rloojlvillal: heh, yeah, but i don't expect them to work weekends ;)18:11
*** rpioso has quit IRC18:11
*** dprince has quit IRC18:13
*** trown|lunch is now known as trown18:13
*** dprince has joined #openstack-ironic18:14
*** jkilpatr has joined #openstack-ironic18:14
jlvillalrloo: TheJulia: FYI: Fix for the random unit test failures we have been seeing in the gate: https://review.openstack.org/50822518:16
patchbotpatch 508225 - ironic - Stop passing raw Exceptions as the reasons for iro...18:16
rloojlvillal: thx for heads up, will look in a few...18:17
*** amarao has joined #openstack-ironic18:20
*** rpioso has joined #openstack-ironic18:25
openstackgerritRuby Loo proposed openstack/python-ironicclient master: Deprecate the ironic CLI  https://review.openstack.org/50821818:28
*** baoli has quit IRC18:30
*** dprince has quit IRC18:31
*** ChubYann has joined #openstack-ironic18:34
*** baoli has joined #openstack-ironic18:34
*** srobert_ has joined #openstack-ironic18:35
*** dpawar has quit IRC18:35
*** srobert has quit IRC18:38
*** crushil_ has joined #openstack-ironic18:42
*** MattMan has quit IRC19:00
*** MattMan has joined #openstack-ironic19:00
*** dprince has joined #openstack-ironic19:01
*** bnemec has quit IRC19:07
*** causten has joined #openstack-ironic19:11
*** bnemec has joined #openstack-ironic19:13
*** bnemec has quit IRC19:16
*** rpioso__ has quit IRC19:17
*** e0ne has joined #openstack-ironic19:17
*** Sukhdev has joined #openstack-ironic19:21
*** crushil_ has quit IRC19:23
*** jaganathan has quit IRC19:28
*** penick_ has joined #openstack-ironic19:31
*** pcaruana has quit IRC19:31
*** srobert_ has quit IRC19:32
*** penick has quit IRC19:33
*** srobert has joined #openstack-ironic19:33
*** bnemec has joined #openstack-ironic19:35
*** etingof has joined #openstack-ironic19:39
*** e0ne has quit IRC19:40
*** e0ne has joined #openstack-ironic19:44
*** causten has quit IRC19:48
*** srobert has quit IRC19:53
*** srobert has joined #openstack-ironic19:54
*** inc0 has joined #openstack-ironic19:58
*** ccamacho has quit IRC19:59
inc0hey:) I need an opinion regarding dev based on Kolla-Ansible (devstack alternative)19:59
inc0(we had session in PTG about that)19:59
inc0so currently I'm workflow I'm experimenting with looks like that:20:00
inc01. deploy kolla-ansible with ironic devmode20:00
inc0that will create /opt/stack/src/ironic, checkout code from git there20:00
inc0also create virtual env in  /opt/stack/venvs/ironic20:01
*** ijw has joined #openstack-ironic20:01
inc0install code in venv20:01
inc0so when kolla starts container, it will mount this venv and do it's magic to make it work inside container20:01
*** fellypefca has quit IRC20:02
inc0this scenario comes with one cost - it will require some binary stuff installed on host, like libcrypto for cryptography20:02
inc0that means cleanup from kolla will leave some leftovers (these few binary libs)20:02
inc0but all IDE's that supports venv will work fine with autocompletions and stuff20:03
*** chlong has quit IRC20:03
*** e0ne has quit IRC20:03
inc0alternative is to have code on host20:03
inc0but not installed20:03
inc0and run pip install whenever you restart container20:03
inc0then cleanups will be full, but IDEs might not work well and you won't have option to easily run your service on host (regular terminal) instead of container20:04
inc0which can be useful for debugging and such20:04
inc0sooo...opinions?20:04
rlooinc0: ironic isn't the only project that requires binary stuff installed on host, right?20:07
inc0rloo: no, also you won't need to worry about stuff like tgtd or whatever20:07
rlooinc0: is it 'just' when using devmode, that you are trying to figure out where/how to handle these binaries?20:07
inc0only host-installed things we need are things that will be required to run pip install ironic20:08
inc0rloo: yeah, it's just about what lands inside container and what lands on host20:08
inc0any non-devmode services (keystone and such) will have all it's deps in container20:08
inc0binary or otherwise20:08
rlooinc0: is it only possible to have one service be in dev mode?20:09
inc0yes20:09
rlooinc0: at most one service in devmode20:09
*** catintheroof has quit IRC20:09
rlooinc0: ah, ok20:09
inc0well, you can have as much as you want20:09
rlooinc0: well, if you have as many as you want, and they need similar stuff on host, but diff versions?20:09
inc0but I assume most of people will only care about their active project in devmode20:09
inc0that's unlikely because openstack wouldn't install;)20:10
inc0this dep separation thing is feature of containers, devstack share everything20:10
rlooinc0: oh, i thought maybe your stuff solved everything ;)20:10
inc0devstack, fuel, tripleo-pre-container...20:10
*** weshay has quit IRC20:10
inc0well in regular deployments (non-dev) everything is separated20:11
*** weshay has joined #openstack-ironic20:11
inc0so technically this requirement isn't needed20:11
rlooinc0: so, i don't know the answer to your question. there are pros/cons to each20:11
inc0right, that's why I'm asking for opinions;)20:11
rlooinc0: i'm hesitant to ask for a flag/switch.20:11
rlooinc0: personally, if i am debuggin, i just want to debug. so i'd want the binaries on the host20:12
inc0bad idea, it would be different logic each20:12
inc0well, again, by "binaries" I mean things like python-devc20:12
inc0or libcrypto, libxml20:12
inc0so not running things20:12
inc0other than that you just have your trusty venv mechanics20:13
rlooinc0: what's wrong with having those on the host? can anyone assume that after testing etc, their host is 'clean'?20:13
inc0source /opt/stack/venvs/ironic/bin/activate20:13
inc0well, with kolla it will be pretty damn clean after testing20:13
rlooinc0: sambetts|afk is not around now, he is always opinionated, would be good to ask him20:13
inc0that's one of values vs devstack20:14
inc0you remove containers, your host is pristine20:14
inc0minus these few libs20:14
rlooinc0: I'd go with ^^. but I don't know if I'll use your stuff, so I don't know if I count :)20:15
inc0well I don't expect everyone to jump on bandwagon, but I'd love to know why not use our stuff so we can improve (later)20:15
inc0right now I'm jsut gathering ideas for initial thing20:16
rlooinc0: ok. there are usually more folks around earlier in the day, if you want to try to gather more opinions20:17
*** jcoufal has quit IRC20:24
*** rcernin has joined #openstack-ironic20:42
rloohey jlvillal, how many tests do you want for https://review.openstack.org/#/c/505837/4/ironic/tests/unit/api/controllers/v1/test_types.py?20:54
patchbotpatch 505837 - ironic - ListType preserves the order of the input20:54
rloojlvillal: want to make sure i understand so i don't have to revise more than once20:54
jlvillalrloo: Well the two I mentioned. I just wanted to be clear that the order changes.20:54
rloojlvillal: do you mean to just add those two lines?20:54
jlvillalrloo: Maybe I'm being foolish20:54
rloojlvillal: no comment20:55
rloojlvillal: really, only the first one you suggested is needed. not sure why the 2nd one is needed20:55
jlvillalrloo: Okay, I'm good with the one then.20:56
rloojlvillal:  ok, thx20:56
jlvillalrloo: Might be able to be talked into zero.20:56
rloojlvillal: after spending this much time on it, might as well go all the way :)20:56
jlvillalI just thought since showing ordering is preserved. So why I suggested it20:56
rloojlvillal: it's really an indication that the original tests were incomplete20:57
jlvillalHeresy! ;)20:57
rloojlvillal: always blame the long departed ;)20:59
jlvillalheh20:59
rloojlvillal: although who knows, it could have been me!20:59
* rloo wonders if there is something wrong when running unit tests seems faster than generating the docs21:00
*** trown is now known as trown|outtypewww21:01
openstackgerritRuby Loo proposed openstack/ironic master: ListType preserves the order of the input  https://review.openstack.org/50583721:01
openstackgerritRuby Loo proposed openstack/ironic master: Remove 'next' for GET /nodes?limit=1&instance_uuid=  https://review.openstack.org/50620521:02
openstackgerritRuby Loo proposed openstack/ironic master: Add missing query parameters to 'next' link for GET /nodes?...  https://review.openstack.org/50628021:02
openstackgerritRuby Loo proposed openstack/ironic master: Add missing query parameters to 'next' link for GET /nodes?...  https://review.openstack.org/50628021:17
*** Goneri has quit IRC21:29
*** bfournie1 has quit IRC21:31
rloojlvillal: btw, please backport https://review.openstack.org/#/c/507297/21:36
patchbotpatch 507297 - ironic - ipmitool: reboot: Don't power off node if already off21:36
jlvillalrloo: That's the plan. I just want to wait until the master branch patches merge.21:37
rloojlvillal: they are approved.21:37
*** causten has joined #openstack-ironic21:37
jlvillalrloo: Once that happens I will backport and propose the two patches to stable/pike21:37
rloojlvillal: if you wait, it'll take that much longer. on the other hand, it is thursday. so it won't get approved before monday anyway.21:38
jlvillalrloo: Okay. Good point. I'll work on back-porting them now21:38
rloocuz only julia will be around tomorrow21:38
*** rama_y has quit IRC21:40
*** chlong has joined #openstack-ironic21:41
*** rama_y has joined #openstack-ironic21:42
openstackgerritJohn L. Villalovos proposed openstack/ironic stable/pike: Reduce complexity of node_power_action() function  https://review.openstack.org/50832121:48
openstackgerritJohn L. Villalovos proposed openstack/ironic stable/pike: ipmitool: reboot: Don't power off node if already off  https://review.openstack.org/50832221:48
*** causten has quit IRC21:49
jlvillalrloo: ^^^^21:49
rloothx jlvillal21:49
*** causten has joined #openstack-ironic21:51
*** cdearborn__ has quit IRC21:57
*** bnemec has quit IRC22:05
*** baoli has quit IRC22:06
*** causten has quit IRC22:07
*** srobert_ has joined #openstack-ironic22:08
openstackgerritVladyslav Drok proposed openstack/python-ironicclient master: WIP allow to use none auth in functional tests  https://review.openstack.org/50833022:09
* jlvillal checks what the time is in Kharkiv22:11
* jlvillal discovers it is 1:11AM22:11
* jlvillal realizes vdrok is working way too late...22:11
*** srobert has quit IRC22:12
*** srobert_ has quit IRC22:13
JayFWIP = Working Inebriated, please ignore?22:13
JayFcode commits at 1am only mean one thing: chasing a ballmer peak :P22:13
JayF(citation: http://www.xkcd.com/323/)22:14
*** r-daneel has joined #openstack-ironic22:18
*** bfournie has joined #openstack-ironic22:21
*** catintheroof has joined #openstack-ironic22:24
*** r-daneel has quit IRC22:29
vdrokjlvillal: JayF :D what can be better than writing some test patches before going to bed22:35
jlvillalJayF: heh, just now read it :)22:35
jlvillalvdrok: Go to sleep! ;)22:35
*** penick_ has quit IRC22:36
* vdrok is vacationing in Croatia since today22:37
vdrokSo it's not that late yet :)22:37
*** penick has joined #openstack-ironic22:38
JayFmaybe not late, but doesn't sound like much of a vacation22:39
JayFif you're pushing up code22:39
JayFhaha22:39
vdrok:)22:40
*** bfournie has quit IRC22:48
*** bfournie has joined #openstack-ironic22:49
*** mat128 has quit IRC22:58
*** masber has quit IRC23:02
*** Goneri has joined #openstack-ironic23:04
*** causten has joined #openstack-ironic23:10
*** crushil has quit IRC23:13
*** causten_ has joined #openstack-ironic23:14
*** MattMan has quit IRC23:17
*** causten has quit IRC23:18
*** rloo has quit IRC23:20
*** rpioso has quit IRC23:23
*** Goneri has quit IRC23:31
*** jaypipes has quit IRC23:42
*** Goneri has joined #openstack-ironic23:52
*** causten_ has quit IRC23:53
*** rpioso has joined #openstack-ironic23:58
*** baoli has joined #openstack-ironic23:59
*** Goneri has quit IRC23:59
*** rpioso has quit IRC23:59

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