Thursday, 2016-06-16

*** openstack has joined #openstack-ironic05:59
*** mbound has quit IRC05:59
*** z- has joined #openstack-ironic06:01
*** lintan has quit IRC06:03
*** alex_xu has quit IRC06:03
*** lintan has joined #openstack-ironic06:03
*** alex_xu has joined #openstack-ironic06:06
*** bcornec2 has quit IRC06:15
*** yolanda has joined #openstack-ironic06:18
*** yolanda has quit IRC06:21
*** yolanda has joined #openstack-ironic06:24
*** rcernin has joined #openstack-ironic06:24
openstackgerritYuiko Takada Mori proposed openstack/ironic: IPMINative: add NativeIPMISocatConsole class  https://review.openstack.org/29387406:27
*** jcoufal has quit IRC06:36
*** rama_y has joined #openstack-ironic06:38
*** moshele has joined #openstack-ironic06:43
*** _vsaienko has joined #openstack-ironic06:45
*** bcornec1 has joined #openstack-ironic06:47
*** jaybeale has joined #openstack-ironic06:48
*** Sukhdev has quit IRC06:51
*** hoangcx has quit IRC06:51
*** jaybeale has quit IRC06:53
*** hoangcx has joined #openstack-ironic06:54
*** bcornec1 has quit IRC06:56
*** bcornec1 has joined #openstack-ironic07:01
*** tesseract has joined #openstack-ironic07:09
*** bharathk has quit IRC07:16
*** klindgren has quit IRC07:17
*** bharathk has joined #openstack-ironic07:17
*** pcaruana has joined #openstack-ironic07:17
*** klindgren has joined #openstack-ironic07:17
*** ifarkas has joined #openstack-ironic07:19
*** rama_y has quit IRC07:22
*** bcornec1 has quit IRC07:32
*** ohamada has joined #openstack-ironic07:33
*** ccamacho has joined #openstack-ironic07:35
*** bcornec1 has joined #openstack-ironic07:36
*** praneshp has quit IRC07:39
*** bcornec1 has quit IRC07:48
*** dtantsur|afk is now known as dtantsur07:50
dtantsurMorning Ironic07:50
*** yuriyz|2 has joined #openstack-ironic07:51
openstackgerritYuiko Takada Mori proposed openstack/ironic: IPMITool: add IPMISocatConsole class  https://review.openstack.org/29387307:52
*** hoangcx_ has joined #openstack-ironic07:54
*** hoangcx has quit IRC07:55
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-ironic08:00
*** hoangcx_ is now known as hoangcx08:04
*** athomas has joined #openstack-ironic08:07
openstackgerritYuiko Takada Mori proposed openstack/ironic: IPMITool: add IPMISocatConsole class  https://review.openstack.org/29387308:09
openstackgerritDavanum Srinivas (dims) proposed openstack/ironic: [WIP] Testing latest u-c  https://review.openstack.org/31844008:10
openstackgerritDavanum Srinivas (dims) proposed openstack/ironic: [WIP] Testing latest u-c  https://review.openstack.org/31844008:10
*** e0ne has joined #openstack-ironic08:13
*** Nisha_away has joined #openstack-ironic08:20
*** lucas-afk is now known as lucasagomes08:28
lucasagomesmorning all :-)08:28
openstackgerritMilan Kováčik proposed openstack/ironic-inspector: [WIP]Introducing Inspector Grenade testing  https://review.openstack.org/32766708:32
milanmorning dtantsur lucasagomes  and all :)08:33
lucasagomes:D08:33
dtantsurmorning lucasagomes, welcome back08:37
Nisha_awaymorning lucasagomes dtantsur and all!!!08:40
lucasagomeso/08:41
dtantsurhey Nisha_away08:43
Nisha_awaydtantsur, i had some queries regarding this spec08:45
Nisha_awayhttps://github.com/openstack/ironic-inspector-specs/blob/master/specs/generic-pci-resource.rst08:45
dtantsurNisha_away, sure (though it might be better to address the to the author - xek)08:45
Nisha_awayhwo is it supposed to work through ironic? ironic and nova-ironic-virt-driver understands only capabilities as extra_spec. How will pci_passthrough filter work for ironic nodes08:46
*** derekh has joined #openstack-ironic08:47
Nisha_awayas per spec it populates it as list08:47
Nisha_awaywhile capabilities in ironic are populated as string08:47
*** jaybeale has joined #openstack-ironic08:48
Nisha_awaythat spec is already merged....so i dont know where to ask or comment08:48
dtantsurNisha_away, "How will pci_passthrough filter work for ironic nodes" it won't; "as per spec it populates it as list" no quite so08:50
dtantsurNisha_away, the spec talks about usual capabilities like pci_cpu:4, what's the problem with it08:50
Nisha_awayhw_info['pci_devices'] = [{'vendor_id': '8086', 'product_id': '0412'},08:51
Nisha_away                          {'vendor_id': '8086', 'product_id': '2955'}]08:51
Nisha_awaythis is a list, correct08:51
*** jaybeale has quit IRC08:52
dtantsurNisha_away, yes, but how is it related to ironic, nova or anything around inspector?08:53
Nisha_awayinspector isnt going to populate in ironic as this?08:54
Nisha_awayor there is one more spec in ironic for this?08:54
dtantsurNisha_away, 1. no, 2. no08:54
dtantsuriirc (clarify with xek) if you set in inspector.conf: pci_alias={"vendor_id":"8086", "product_id":"1520", "name":"pci_gpu"}08:55
dtantsurthen inspector will set this pci_gpu to a number08:55
dtantsurNisha_away, ^^^08:55
Nisha_awaydtantsur, do u know what timezone is xek available?08:56
Nisha_awayand his IRC name08:56
Nisha_awaydtantsur, i dont get the details from the spec that how is it suppose to be working, or what inspector is going to populate.08:57
dtantsurNisha_away, xek is an irc name, I think he'll be around soon08:57
Nisha_awaydtantsur, ok, thanks.08:57
Nisha_awaydtantsur, could you review https://review.openstack.org/20190408:57
dtantsurwill take a look once I get back (need to relocate to the office)08:58
Nisha_awaydtantsur, thanks08:58
*** mgould|afk is now known as mgould08:59
Nisha_awaylucasagomes, sambetts|afk and others could you also review https://review.openstack.org/20190408:59
*** dtantsur is now known as dtantsur|brb09:00
*** amotoki has quit IRC09:01
*** Nisha_brb has joined #openstack-ironic09:02
*** dmk0202 has joined #openstack-ironic09:02
lucasagomesNisha_away, added to the list, i just came back from holidays so I have a lot to catch up :-/09:04
openstackgerritlokesh s proposed openstack/ironic: Add support for the audit middleware  https://review.openstack.org/27265809:04
*** Nisha_away has quit IRC09:05
*** ifarkas has quit IRC09:06
xekNisha_brb, Hi09:14
xekNisha_brb, it will work very similar to the capabilities in the iLO driver, but the name will be configurable09:15
xekNisha_brb, see here http://docs.openstack.org/developer/ironic/deploy/inspection.html#capabilities-discovery09:15
xekNisha_brb, it will work like the "pci_gpu_devices" capability from the docs09:16
*** milan has quit IRC09:20
*** electrofelix has joined #openstack-ironic09:27
Nisha_brbxek, hi09:30
*** tloeb has joined #openstack-ironic09:34
openstackgerritBharath kumar proposed openstack/ironic: adding back the inspect_ports as an optional parameter  https://review.openstack.org/32523009:43
Nisha_brbxek, hello09:53
smoriyamorning ironic09:55
smoriyaI have a question about ports REST API - 'GET /v1/ports'09:56
*** mbound has joined #openstack-ironic09:56
*** ifarkas has joined #openstack-ironic09:57
smoriyawhy it take both node and node_uuid parameter? we can pass node=<node_uuid>09:58
*** milan has joined #openstack-ironic10:00
lucasagomessmoriya, hi there, for historical reasons10:04
lucasagomessmoriya, the node parameter came when the support for naming a node was added10:04
lucasagomesprior to that, nodes only used UUID, therefore the parameter was called node_uuid10:05
lucasagomessince it's in the API we can't remove the support for that parameters, so it's a bit duplicated10:05
smoriyalucasgomes, I got it. Thanks!10:05
lucasagomesnode accepts UUID or name, and node_uuid only UUID10:05
lucasagomessmoriya, np :-)10:05
*** Nisha_brb is now known as Nisha110:07
*** mgoddard_ has joined #openstack-ironic10:08
vdrokmorning ironic, dtantsur|brb and lucasagomes !10:08
lucasagomesvdrok, hey there10:08
sambetts|afkMorning all10:09
*** sambetts|afk is now known as sambetts10:09
*** mgoddard has quit IRC10:11
*** dtantsur|brb is now known as dtantsur10:13
vdrokmorning sambetts10:14
dtantsurmorning sambetts, vdrok10:18
*** sirushti has quit IRC10:26
*** jtomasek_ has joined #openstack-ironic10:30
*** sirushti has joined #openstack-ironic10:33
sambettso/ vdrok, dtantsur, lucasagomes10:34
*** hoangcx has quit IRC10:36
*** sdake has joined #openstack-ironic10:40
*** e0ne has quit IRC10:41
*** e0ne has joined #openstack-ironic10:41
*** wagiel has joined #openstack-ironic10:42
*** sdake_ has joined #openstack-ironic10:42
openstackgerritedan david proposed openstack/ironic-python-agent: Tests should use:   self.assertIn(value, list)   self.assertNotIn(value, list)  https://review.openstack.org/33045110:43
*** sdake has quit IRC10:45
*** Nisha1 has quit IRC10:48
openstackgerritVladyslav Drok proposed openstack/ironic: Properly set ephemeral size in agent drivers  https://review.openstack.org/33008910:48
*** livelace has joined #openstack-ironic10:50
*** sborkows has joined #openstack-ironic10:51
livelaceHello. What is mean "ironic node-update $NODE_UUID" ?10:52
openstackgerritVladyslav Drok proposed openstack/ironic: Change the logic of selecting image for tests  https://review.openstack.org/32962510:52
livelaceWhich of nodes ?10:52
openstackgerritedan david proposed openstack/ironic-python-agent: Tests should use:   self.assertIn(value, list)   self.assertNotIn(value, list)  https://review.openstack.org/33045110:53
lucasagomeslivelace, $NODE_UUID is the variable holding the UUID of the node10:53
lucasagomese.g ironic node-update 6f68d2bd-513c-4a58-92a0-a978f0a80d0410:53
livelacelucasagomes, Which node ? I have nova node too :)10:53
lucasagomeslivelace, that's just to make scripting easy (not hardcoded)10:54
lucasagomeslivelace, node in ironic10:54
livelacelucasagomes, I have to create this node ?10:54
lucasagomeslivelace, yes, you have to have your baremetal nodes registered in the ironic database in order to deploy them via Ironic10:55
livelacelucasagomes, Nova node with [ironic] section with settings, right ?10:56
*** ccamacho is now known as ccamacho|lunch10:56
lucasagomeslivelace, not sure if I follow... I assume you're trying to configure nova to use Ironic for baremetal deployments, if so, take a look at http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configure-compute-to-use-the-bare-metal-service10:58
*** jtomasek_ has quit IRC10:59
livelacelucasagomes, I did that10:59
livelaceAfter this I should get a baremetal node ?11:00
lucasagomeslivelace, right, so I didn't understand your last question. Mind elaborating it?11:00
lucasagomeslivelace, after that you should be able to enroll ur baremetal nodes in Ironic11:01
lucasagomesand deploy them via nova11:01
lucasagomes(see http://docs.openstack.org/developer/ironic/deploy/install-guide.html#enrollment)11:01
* lucasagomes assumes all other services are also setup correctly11:02
livelacelucasagomes, After I added [ironic] section to nova node - I should see node in list of "ironic node-list" ?11:03
lucasagomeslivelace, no, you've only configured nova to be able talk to the ironic services11:04
lucasagomesI think you are confusing the concept of "node"11:04
lucasagomes"node" in ironic is an abstraction for a baremetal machine11:04
hkominoshello openstackers. quick question. If i run ironic node-show XXX and the state is available does that mean that, that machine is ready for reployment ? because node-validate fails11:04
lucasagomeslivelace, you have to register your baremetal machines in Ironic via "ironic node-create" (see the last link I've sent to you)11:05
lucasagomeshkominos, available means the node can be picked for deployment. Some information will be populated at deploy time and that may be the reason why node-validate is failing11:06
lucasagomeshkominos, can you paste the output of node-validate please?11:06
lucasagomescorrecting... will be populated by nova at deploy time*11:06
livelacelucasagomes, Thanks, but there aren't any words about "ironic node-create" in the documentation.11:07
lucasagomeslivelace, http://docs.openstack.org/developer/ironic/deploy/install-guide.html#enrollment11:07
*** moshele has quit IRC11:07
*** moshele has joined #openstack-ironic11:08
hkominoslucasagomes: http://paste.openstack.org/show/516548/11:09
*** sdake_ has quit IRC11:10
lucasagomeshkominos, oh right, so it's missing the deploy_ramdisk information, this needs to be populated prior to deploying the node11:10
lucasagomeshkominos, see the same link for enrollment http://docs.openstack.org/developer/ironic/deploy/install-guide.html#enrollment11:10
livelacelucasagomes, I see, it is very strange. First NODE_UUID mentioned in http://docs.openstack.org/developer/ironic/deploy/install-guide.html#flavor-creation, but node creation process below in the page.11:11
hkominosI will look at it again. however i had run root@Controller:~# ironic node-create \ > -d fuel_ipmitool \ > -i deploy_kernel=$(nova image-list |grep ironic-deploy-linux|awk '{print $2}') \ > -i deploy_ramdisk=$(nova image-list |grep ironic-deploy-initramsfs|awk '{print $2}') \ > -i deploy_squashfs=$(nova image-list |grep ironic-deploy-squashfs|awk '{print $2}') \11:11
hkominosas given in a FUel video and i can see a ramdisk command11:12
hkominos(not sure what these three commnds do though)11:12
lucasagomeslivelace, right yeah :-/ the install-guide is not necessarily organized by a set of sequential topics11:12
hkominosbtw i just saw that the command is misstyped!11:13
hkominosso lets try again :P11:13
lucasagomesthey are usually random because there are many ways to setup an enviromnent and each topic covers a different subject11:13
livelacelucasagomes, Thanks, I will try to understand this.11:13
lucasagomeshkominos, right it may be something to do with the fuel_ipmitool driver then (e.g deloy_squashfs vs deploy_ramdisk seems to be something specific for that driver)11:14
lucasagomesvdrok, yuriyz vsaienko ^ may be able to help you11:14
lucasagomeslivelace, cool11:14
vdrokhkominos: right, fuel_ipmitool have 3 required images instead of 2 - kernel, ramdisk and squashfs11:17
vdrokthis command adds these images' uuids to a node's driver_info dictionary during creation11:18
hkominosso now in the validate i have Missing 'ipmi_terminal_port' parameter in node's driver_info.11:19
hkominosis that expected?11:19
vdrokhkominos: you need it only if you want console access from ironic11:20
*** thrash|g0ne is now known as thrash11:20
vdrokmeaning, deployment will be fine without it :)11:21
hkominosok then. I have a couple more questions though if you dont mind me asking :)11:22
vdrokyeah sure, if i'm able to answer :)11:23
openstackgerritedan david proposed openstack/ironic: Use assertIn and assertNotIn  https://review.openstack.org/33047411:23
sborkowsHi, I have a question about deploying ramdisk of modified source code of ironic-python-agent. Is it possible and how to do it? I have read about using diskimage-builder, but as I understand, it will build a non-modified image.11:23
vdroksborkows: it's described here - https://github.com/openstack/ironic-python-agent/tree/master/imagebuild11:24
*** hoangcx has joined #openstack-ironic11:24
vdrokalso I think it's possible to include modified ipa in dib, I'm just not sure how to do it, lucasagomes ^^11:25
*** bcornec1 has joined #openstack-ironic11:26
sborkowsvdrok: thanks, I will check it out11:28
*** tobias_fiberdata has joined #openstack-ironic11:28
lucasagomesvdrok, sborkows not sure if I do it "dib-way" but I usually build it from source and them modify the ramdisk11:28
lucasagomesmodify it manually by unpacking, changing the code and packing again11:28
vdroksborkows: I see this file in ironic-agent element - https://github.com/openstack/diskimage-builder/blob/master/elements/ironic-agent/source-repository-ironic-agent11:28
vdrokpossibly you can change the path to the repo to your local one11:29
lucasagomessborkows, http://docs.openstack.org/developer/ironic/deploy/troubleshooting.html#patching-the-deploy-ramdisk11:29
lucasagomesvdrok, way is better yeah :-)11:29
hkominosOpenstack (and FUEL) has more than one Virtual NEtworks (Baremetal,Public,Management etc) all these are isolated and possibly in different nics with different Vlans. I have assumed that an ironic slave will only need the baremetal network. Is that correct?11:30
* lucasagomes brb, lunch11:31
*** lucasagomes is now known as lucas-hungry11:31
hkominoshahahahha11:31
vsaienkohkominos: ironic slave need baremetal and management networks11:32
vsaienkos/need/needs/11:32
hkominosomg11:32
hkominosjust to clarify we are talking about the bare metal machine not the conductor.11:32
vsaienkoah.. yeah baremetal slave needs only baremetal network11:33
hkominosfiouuuuuuuuu11:33
hkominosdude i had like 10 heartattacks11:33
vdrok:D11:33
hkominos(btw that is not clear in the "manual" maybe it should be added")11:34
*** e0ne has quit IRC11:35
hkominos2)I can also see that when creating a BM flavor one must specify certain metadata. Is that correct?11:35
vdrokhkominos: correct, it will be used for partitioning11:36
vsaienkohkominos: you mean cpu_arch flavor attribute?11:37
hkominosyes11:37
vsaienkoit is optional11:37
hkominosi also mean fuel_disk_info, hypervisor_type etc11:37
hkominos(probably that is fuel specific)11:37
hkominosbut i cannot find the variable names anywhere11:37
vsaienkoright, that attributes are fuel specific11:37
hkominosso what will happen if i dont put metadata?11:38
vdrokhkominos: https://github.com/openstack/fuel-agent/tree/master/contrib/ironic/ironic-fa-deploy11:38
vdrokI think only fuel_disk_info is required apart from the usual vcpu, memory etc11:38
vsaienkoif you use fuel_ipmitool driver, fuel_disk_info is required11:38
*** hoangcx has quit IRC11:39
*** hoangcx has joined #openstack-ironic11:40
*** yuriyz|2 has quit IRC11:40
vdrokhkominos: btw, fuel_disk_info should be in image metadata, not flavor. flavor does not contain anything special11:41
hkominosyeah thats what i meant. My problem is that the FUel "manual" has zero information about ironic and i have been struggling for some time for no reason11:42
*** tobias_fiberdata has quit IRC11:43
vdrokyup, I think there should be some links to upstream docs, I'll poke people wrt that :)11:43
*** moshele has quit IRC11:45
hkominosSo if a machine has 2 cpus (4cores per cpus) what should i specify in the flavor11:45
hkominos8Vcpus?11:45
vdrokhkominos: it should be whatever you specify in ironic node properties11:46
hkominos!! ok11:46
openstackhkominos: Error: "!" is not a valid command.11:46
vdrokhkominos: http://docs.openstack.org/developer/ironic/deploy/install-guide.html#enrollment11:47
vdrokpoint 311:47
hkominosdamn11:51
hkominosits really really easy to miss small details in the manual11:51
*** dprince has joined #openstack-ironic11:54
*** yuriyz|2 has joined #openstack-ironic11:55
* TheJulia_ stumbles through the room as a zombie11:56
*** TheJulia_ is now known as TheJulia11:56
vdrokmorning TheJulia :)11:57
TheJuliagood morning vdrok11:58
mgouldmorning TheJulia11:59
*** hoangcx has quit IRC11:59
vdrokmorning mgould11:59
*** hoangcx has joined #openstack-ironic11:59
*** bharathk has quit IRC12:00
mgouldmorning vdrok12:00
hkominosgood morning TheJulia12:00
hkominosAlthough i asked yesterday , can i use the ubuntu cloud images as my images for a Bare metal node ?12:02
*** wajdi has joined #openstack-ironic12:02
hkominos(RAW format)12:02
*** sdake has joined #openstack-ironic12:05
vdrokhkominos: I think so, yes12:05
vdrokraw image containing only a root partition12:06
hkominoswell i think i have added all the variables correctly now. Ironic dployment try #25 in 312:06
hkominos212:06
hkominos112:06
vdrok:)12:06
dtantsurmorning mgould, TheJulia12:06
*** wajdi has quit IRC12:07
hkominosstill has not crashed12:07
hkominosis says spawing12:08
hkominosthe fans are cheering12:08
hkominosthey are on their seats12:08
hkominosthey will stay there cause these HP servers take ages to start12:08
hkominosI hope there is no timeout in the nova12:09
hkominoscause it takes 5 minutes ++ to boot12:09
vdrokhkominos: I think ironic timeout is 30 minutes by default, so you should be fine12:09
*** hoangcx has quit IRC12:10
openstackgerritJulia Kreger proposed openstack/bifrost: Do Not Merge: Canery test for ironic networking changes  https://review.openstack.org/33013812:12
*** hoangcx has joined #openstack-ironic12:13
hkominosvdrok:I must enable PXE boot from the bios for that interface right?12:15
TheJuliahkominos: The cloud image is what diskimage-builder uses to create a functional bootable disk image12:15
vdrokhkominos: umm, I think deploy driver should do that by itself12:15
*** slagle_ is now known as slagle12:16
hkominosTheJulia. It appears that i have made a mistake  then. When i specify the image in horizon ,the one that i use is the one that i get from Ubuntu.cloud12:16
hkominosSO you are saying that what i have done is wrong12:16
vdrokhkominos: I think the image should be ok in case of fuel_ipmitool, there are only 2 requirements for it - raw, containing only root partition (also containing grub binary)12:18
vdrokyou can create it with dib, or you can use one of them right away, there is an image in ubuntu cloud archive exactly as required for this driver12:19
*** hoangcx has quit IRC12:19
*** lucas-hungry is now known as lucasagomes12:22
*** hoangcx has joined #openstack-ironic12:23
*** rcernin has quit IRC12:24
hkominostrusty-server-cloudimg-amd64-disk1.img12:24
hkominosthats the one that i have12:24
hkominosI think there is something wrong with my image. maybe i should try the dib tool12:26
hkominosI will update on the progress12:26
*** ccamacho|lunch is now known as ccamacho12:26
TheJuliahkominos: have you looked at diskimage-builder?12:27
hkominosI am now12:27
TheJuliaok12:27
vdrokhkominos: that is the whole disk image, the root partition image is this one I think https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.xz12:28
*** trown|outtypewww is now known as trown12:30
*** thiagop has joined #openstack-ironic12:30
*** tobias_fiberdata has joined #openstack-ironic12:30
hkominosI am confused again. According to the manual the Baremetal services requres two types of images to function.12:30
jrollmorning y'all12:31
vdrokmorning jroll12:31
hkominosthe deploy images and the user images12:31
hkominosI thought that the deploy images are the ones callled ironic-deploy-squashfs etc...12:31
hkominosam i wrong?12:31
vdrokhkominos: correct, deploy images that you specify in driver info - deploy kernel, ramdisk, squashfs, and user image that will be booted after deploy12:31
vdrokdeploy images only do the deploy :)12:32
hkominosso they are prebuild and i dont need to worry about them. my only consern is to make-use a user image12:32
*** rbudden has joined #openstack-ironic12:32
vdrokcorrect12:33
dtantsurour gate is half-broken due to this apache issue...12:33
vdrokthis one should be the fix https://review.openstack.org/#/c/329908/12:34
*** jcoufal has joined #openstack-ironic12:34
*** wagiel has quit IRC12:35
hkominos(btw i am about to itme out. The machine never got to the PXE boot menu it just loaded the previous OS which had in the Hard disk )12:35
hkominos(priorities are ok i think)12:35
dtantsurvdrok, oh, cool12:35
hkominosHowever I am sending taged traffic to that machine. Must the traffic be untaged in order to be PXE?12:35
hkominoscause i think there must be native untaged traffic for a pxe boot12:36
hkominoslet me check12:36
*** moshele has joined #openstack-ironic12:37
thiagopGood morning, Ironicers12:37
vsaienkohkominos: pxe doesn't work with tagget traffic12:37
vdrokhkominos: btw the previous image link was incorrect, if you still want to try without dib, this is the one - https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64.tar.gz12:37
vdrokthere is trusty-server-cloudimg-amd64.img inside12:38
vdrokmorning thiagop12:38
*** rcernin has joined #openstack-ironic12:39
hkominosOK i think that is the problem then. IT never receaves a PXE boot request because its taged12:39
hkominosso that is why the node is not provisioned12:39
hkominosHowever in the fuel "tutorial" it is said that the bare metalnetwork can be VlanTaged12:40
hkominoshow is that possible12:40
*** e0ne has joined #openstack-ironic12:40
*** athomas has quit IRC12:40
hkominosthx for the new image i will try that as well12:43
vsaienkohkminos: yes baremetal network may be tagged. It means that ironic-conductor machine sends tagged packets to network. While ironic slaves - should receive packets as untagged12:46
jrollhuh, samsung bought joyent: https://news.samsung.com/global/samsung-to-acquire-joyent-a-leading-public-and-private-cloud-provider12:46
hkominosok thx. That makes a big difference (also not visible in the manual)12:46
*** rbartal has quit IRC12:46
*** athomas has joined #openstack-ironic12:46
*** baoli has joined #openstack-ironic12:47
hkominosvdrok:in the image you sent me also has some extra files (floppy ,loader,vmzlinuz generic) do i need them?12:47
vdrokhkominos: nope12:48
hkominosvsainko :thx for the help. If you are still at mirantis please tell them to upload a manual :P12:50
*** baoli_ has joined #openstack-ironic12:53
*** rloo has joined #openstack-ironic12:53
*** rcernin has quit IRC12:54
vsaienkohkominos: will do :)12:54
*** baoli has quit IRC12:55
moshelesambetts: hi12:57
*** Goneri has joined #openstack-ironic12:57
sambettso/ moshele12:58
moshelesambetts: thanks for review my infiniband spec, can you review my respond https://review.openstack.org/#/c/265635/12:59
thiagophkominos: If you find the manual missing steps, please patch it ;)12:59
moshelesambetts: basically I ok with putting the "infiniband " mac as address, and I also want to add dhcp option support to the ironic port what do you think13:00
thiagophkominos: We don't always get the missing points because we're so used to deploy this stuff that the steps seem kinda natural13:00
vdrokthiagop: he's talking about fuel docs :)13:00
*** cdearborn has joined #openstack-ironic13:00
thiagopvdrok: aw, right. Then sorry, hkominos13:01
hkominosI am13:01
hkominosHowever!13:01
hkominosI get the feeling sometimes that the manual is inteded at the wrong crowd. Maybe a tutorial should be build as a seperate entity. If you are a new user its not possible to even come close to using the manual to do even the simplest tasks.I mean that if I am a new user and i want to learn how to do something in Openstack(fE deploy ironic) the manual is worthless13:03
hkominosthere no explanation regarding anything. It is used by people who already know as a reference.13:03
hkominosSo i feel something is missing13:03
hkominosthat is my view13:03
*** jvgrant_ has joined #openstack-ironic13:06
*** rcernin has joined #openstack-ironic13:07
jrollmoshele: I'm not sambetts but I added some comments there13:07
jrollsambetts: great ideas in there, thanks for that :D13:07
sambettsmoshele: jroll basically took all the words out of my mouth13:08
moshelejroll: I wanted it to be more generic, if someone need to add more dhcp option, but your understand the direction13:09
*** e0ne has quit IRC13:09
jrollmoshele: yeah, I get that, but I don't think I've heard any other requests for that so I'm hesitant to add it13:10
moshelejroll, sambetts: thanks I will update the spec as suggested. it seem that the code change to ironic will be very minimal13:10
jrollmoshele: indeed :)13:10
sambettsand hopfully nothing in Nova :)13:11
*** e0ne has joined #openstack-ironic13:12
openstackgerritedan david proposed openstack/ironic-python-agent: Use assertIn and assertNotIn  https://review.openstack.org/33045113:18
*** bharath has joined #openstack-ironic13:22
*** jcoufal has quit IRC13:23
livelacelucasagomes, Hello again :) Is workflow (pxe_ssh): node up -> pxe booting -> load deploy image -> start ssh inside  ?13:26
openstackgerritgaryk proposed openstack/ironic: Fix typo in agent driver  https://review.openstack.org/33054913:27
openstackgerritedan david proposed openstack/ironic: Use assertIn and assertNotIn  https://review.openstack.org/33047413:27
dtantsurlivelace, ssh is working with your hypervisor, not the the node13:27
dtantsurlivelace, (i.e. you don't use this driver with real bare metals)13:27
lucasagomeslivelace, not really, pxe_ssh is a "way around" for using VMs for testing baremetal. The SSH part is about Ironic ssh'ing into the host machine and issuing commands like virsh start/stop to simulate some sorta of power management (like you would do with IPMI)13:28
livelace:(13:28
livelaceHow can I provision VMs for testing purpose ?13:29
sambettslivelace: are you using devstack?13:29
lucasagomeslivelace, heh I know, that was the only way at the time that we found to be able to have tests in gate13:29
livelaceNo, its custom13:29
lucasagomeslivelace, well, pxe_ssh is a way, another way is using the _ipmitool drivers (or ipminative) + VirtualBMC13:29
*** frontrunner has joined #openstack-ironic13:30
lucasagomeslivelace, https://github.com/openstack/virtualbmc (for lack of docs, see the demo gif: https://github.com/umago/virtualbmc/blob/master/images/demo.gif)13:30
*** smoriya has quit IRC13:32
livelacelucasagomes, I have stack inside ovirt and I want to start "baremetal" nodes inside Ovirt, provision them and deploy use images inside these VMs13:32
livelace*user images13:32
lucasagomeslivelace, oh, ok that's another can of worms I think because, AFAIK, ovirt do not "pre-create" the VMs13:33
lucasagomesright?13:33
livelaceHm13:33
livelaceI can "pre-create" VMs13:33
lucasagomesmeaning that, you can't just register them in Ironic because it may be registered in OVirt but the actual VM wasn't yet created13:34
livelaceAll of VMs are working now13:34
lucasagomeslivelace, right13:34
* lucasagomes thinks13:34
lucasagomesI feel I don't have much knowledge as well to actually advise you how to do what you want13:34
lucasagomesbut I suspect that you would be better off having Ironic to talk to OVirt CLI/API idk13:35
lucasagomesand managing things that way, but this will required another driver or a translation layer (such as VirtualBMC)13:35
*** mtanino has joined #openstack-ironic13:35
jrolldtantsur: reviewed your lookup/heartbeat spec, it's very close :)13:35
*** hoangcx has quit IRC13:35
lucasagomesthat would be a better integration than having 2 systems (OVirt + Ironic/Nova) managing the same VMs13:35
lucasagomesjroll, morning, if you have time https://review.openstack.org/#/c/168799/ :-)13:36
lucasagomesno rush13:36
jrolloooo this looks old13:36
* jroll looks13:36
jrollaha13:36
lucasagomesoh13:36
lucasagomeswrong link13:36
jrolllol13:36
*** rloo has quit IRC13:36
jrollI was just going to say that13:36
lucasagomesjroll, there you go https://review.openstack.org/#/c/323511/13:37
lucasagomessorry for that heh13:37
jrollnp13:37
openstackgerritgaryk proposed openstack/ironic: No need for 'default=None' in config variable  https://review.openstack.org/33055713:37
dtantsurjroll, re ING states: I was thinking about e.g. if IPA needs rebooting/reboots for any reason during e.g. cleaning13:37
*** rloo has joined #openstack-ironic13:37
dtantsurjroll, the state will be CLEANING and lookup will fail13:37
dtantsurso as a precaution I've included ING states. does it make sense?13:37
jrolldtantsur: no, if a reboot is requested it goes back to CLEANWAIT13:37
* jroll finds the code13:37
mat128yes clean wait since liberty13:38
lucasagomes+1 on go back to CLEANWAIT13:38
jrollwait, does it? :|13:38
dtantsuralso ++ on not requiring exclusive lock right away13:38
lucasagomesthat's better because it could be aborted as well (since no system is actually operating on it)13:38
jrollhttps://github.com/openstack/ironic/blob/master/ironic/drivers/modules/agent_base_vendor.py#L39913:38
dtantsurjroll, could you point me please where it sets back CLEAN WAIT?13:39
dtantsurI can't find it13:39
livelacelucasagomes, http://screenshot.net/xgpyea713:39
jrolldtantsur: I can't either :(13:39
jrolldtantsur: that's a bug imo though13:40
dtantsurjroll, another case would be IPA crashing, but that's probably not that important13:40
jrolldtantsur: maybe it's fine then13:41
livelacelucasagomes, Can I provision baremetal nodes without Ovirt, only by pxe and ssh ?13:41
lucasagomesif by baremetal nodes you mean "VMs" pretending to be baremetal, then yes13:41
dtantsurjroll, so should I leave a comment that we'll apply more restrictions when we ensure that lookup is not needed in ING states?13:42
NobodyCamGood Morning Ironicers13:42
dtantsurmorning NobodyCam13:42
livelacelucasagomes, :) with pxe_ssh ?13:42
jrolldtantsur: that, or we can leave ING just in case13:42
mgouldmorning NobodyCam13:42
lucasagomesbut the VMs needs to be pre-created, since Ironic is about hardware13:42
lucasagomeslivelace, yeah13:42
NobodyCammorning dtantsur, mgould13:42
NobodyCammorning lucasagomes :)13:42
lucasagomesNobodyCam, hey there :-)13:43
livelacelucasagomes, Ok, and "baremetals" should automatically take ip/pxe images and start ssh ?13:43
NobodyCam:)13:43
*** hoangcx has joined #openstack-ironic13:43
livelacelucasagomes, I mean coreos deploy images13:43
dtantsurjroll, yuriyz, why does restrict_lookup need to be false for 3rd party drivers? I don't quite get the comment at line 24813:44
jrolldtantsur: I believe he means "document if the driver requires it to be false"13:44
lucasagomeslivelace, yes-ish... I mean, the network bits (IPs/DHCP) comes from Neutron, which is integrated with Ironic/Nova13:44
dtantsurack13:44
NobodyCammorning jroll :)13:45
livelacelucasagomes, Ok, thanks for your time!13:45
lucasagomeslivelace, the pxe_ssh drivers does things like setting up the PXE environment to be able to boot the image and ssh'ing into the host machine to power the VM on or off13:45
lucasagomesnow, there are other stuff that also needs to be configured to achieving what you want (neutron, glance, nova, etc...)13:46
lucasagomeslivelace, np13:46
lucasagomeslivelace, I know OpenStack is a beast to understand/work with13:46
dtantsurjroll, oh, do you think we need a separate node field for heartbeat timestamp?13:47
dtantsurnow that it's core API13:47
*** n|cotine_ has quit IRC13:47
NobodyCamgots to reboot. brb13:48
jrolldtantsur: hrm, dunno, maybe let's wait to do that when we do long-running agents?13:48
dtantsurjroll, we already have this timestamp, and iirc it's stored in driver_something which is not really correct for a generic API13:48
dtantsurdriver_internal_info['agent_last_heartbeat']13:49
jrolldtantsur: right, but it isn't super useful other than checking timeouts13:49
jrollbut13:49
jrollI'm not super opposed to moving it13:49
dtantsurdo we use it at all?13:49
jrolloh guess not13:50
jrollwe do use it downstream13:50
jrollbut not in ironic, just related apps13:50
jrollmonitoring and such13:50
jroll(because long-running agents)13:50
dtantsurjroll, so we should keep compatibility, right?13:50
dtantsurwell ok, we can think about it later, and for now just have the agent driver record it as before13:51
jrolldtantsur: meh, it's a json field13:51
jrollyeah, agree13:51
vdrokmorning NobodyCam13:52
*** jcoufal has joined #openstack-ironic13:52
*** joprovost has joined #openstack-ironic13:53
*** Larion has joined #openstack-ironic13:53
openstackgerritDmitry Tantsur proposed openstack/ironic-specs: Promote agent vendor passthru to core API  https://review.openstack.org/30641813:54
dtantsurjroll, yuriyz, NobodyCam ^^^13:54
jrolldtantsur: thanks13:54
NobodyCam:)13:54
NobodyCammorning vdrok13:55
*** tobias_fiberdata has quit IRC13:56
jrolllucasagomes: some comments on that spec13:58
lucasagomesjroll, gracias! Will take a look13:59
jrolldtantsur: +2 for you, onto the driver comp13:59
* jroll fills coffee13:59
*** joprovost1 has joined #openstack-ironic14:00
*** rama_y has joined #openstack-ironic14:01
dtantsuroh, this is gonna be enjoyable reading14:01
*** joprovost has quit IRC14:01
*** joprovost1 is now known as joprovost14:01
*** nicodemos has joined #openstack-ironic14:02
livelacelucasagomes, Last question, I hope :)  /tftpboot directory should change when I change settings for node ?14:02
jrolldtantsur: http://i.imgur.com/ZtMY2my.png14:03
dtantsurLOL14:03
lucasagomeslivelace, no worries... The content will be added when a node is being deployed/terminated14:03
lucasagomesIronic should create/remove the PXE configuration files into that directory14:03
lucasagomesand update the DHCP (neutron) to point to it14:04
livelacelucasagomes, after ironic node-update, for example ?14:04
lucasagomeslivelace, no, in that case it won't trigger any update in that directory14:05
livelacelucasagomes, Ok, thanks again14:05
lucasagomesnp14:05
*** PollyZ has joined #openstack-ironic14:07
*** sacharya has joined #openstack-ironic14:08
*** tobias_fiberdata has joined #openstack-ironic14:14
openstackgerritThiago Paiva Brito proposed openstack/ironic: [WIP] Using Oneview drivers w/ IRONIC_IS_HARDWARE  https://review.openstack.org/32845114:15
openstackgerritThiago Paiva Brito proposed openstack/ironic: Using Oneview drivers w/ IRONIC_IS_HARDWARE  https://review.openstack.org/32845114:16
openstackgerritJulia Kreger proposed openstack/bifrost: Do Not Merge: another test for ironic networking  https://review.openstack.org/33021014:17
NobodyCamdtantsur: just look at the spec, no need to send current_clean_step if it not empty14:17
*** Larion has quit IRC14:17
dtantsurNobodyCam, sorry, I've switched my context already. What spec are we talking about right now? the agent API one?14:18
openstackgerritBrad P. Crochet proposed openstack/python-ironicclient: Implementation of baremetal power state commands  https://review.openstack.org/17251714:18
openstackgerritBrad P. Crochet proposed openstack/python-ironicclient: Add maintenance mode commands  https://review.openstack.org/21672714:18
openstackgerritBrad P. Crochet proposed openstack/python-ironicclient: Implementation of baremetal port create  https://review.openstack.org/17246114:18
openstackgerritBrad P. Crochet proposed openstack/python-ironicclient: Add provision state commands  https://review.openstack.org/20611914:18
*** sacharya_ has joined #openstack-ironic14:18
NobodyCamhttps://review.openstack.org/#/c/306418/12/specs/approved/agent-api.rst@7814:18
openstackgerritVladyslav Drok proposed openstack/python-ironicclient: Add create command to ironic client  https://review.openstack.org/32895514:18
NobodyCamits approved so its just a question from me14:19
openstackgerritDmitry Tantsur proposed openstack/ironic-inspector: Add manage_boot parameter to introspection API  https://review.openstack.org/31680114:19
NobodyCamhaha14:19
NobodyCamnot +a'd yet14:19
*** daemontool has joined #openstack-ironic14:19
dtantsurNobodyCam, not sure still.. do we send this current_clean_step now14:19
dtantsur?14:19
*** joprovost1 has joined #openstack-ironic14:20
*** joprovost has quit IRC14:20
*** joprovost1 is now known as joprovost14:20
dtantsurNobodyCam, I don't see it in https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/agent_base_vendor.py#L445 thus I didn't add it, but maybe I'm missing something14:21
sambetts\o/ for promote and standardise agent API :D14:21
*** sacharya has quit IRC14:21
*** bharath has quit IRC14:21
*** UForgotten_ has quit IRC14:21
*** UForgotten_ has joined #openstack-ironic14:21
*** UForgotten_ is now known as UForgotten14:22
jrolldtantsur: NobodyCam: the agent knows it's current step, no need to send it I think14:25
openstackgerritLucas Alvares Gomes proposed openstack/ironic-specs: Collect system logs from IPA  https://review.openstack.org/32351114:27
lucasagomesupdated ^ thanks all for the comments :-)14:27
*** jistr is now known as jistr|mtg14:28
*** ifarkas has quit IRC14:28
*** amotoki has joined #openstack-ironic14:29
*** sacharya_ has quit IRC14:32
*** sacharya has joined #openstack-ironic14:33
*** bcornec1 has quit IRC14:33
*** ChrisAusten has joined #openstack-ironic14:34
*** xhku has joined #openstack-ironic14:34
*** rama_y has quit IRC14:35
NobodyCamahh : https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/agent_base_vendor.py#L57414:35
livelaceDoes anybody have time for stupid questions ? :)14:36
jrolllivelace: always feel free to ask, someone will answer if they know and have time :)14:36
TheJuliaPlus, no question is a stupid question14:36
livelaceOk. First step. I create node and add port to it.14:37
NobodyCamthe only stupid question is the one NOT asked14:37
livelaceSecond step. I start "baremetal" vm in PXE mode14:37
livelace3. I see in logs: DHCPDISCOVER(tap70ba5d66-4e) 00:1a:4a:48:1b:9f no address available14:38
NobodyCamlivelace: Ironic should be controlling the power of the node14:38
TheJuliaare you powering on the VM or is ironic powering up the VM?14:38
livelaceI start vm by hand14:38
livelaceIt's wrong ?14:38
*** wagiel has joined #openstack-ironic14:39
livelaceBecause ironic doesn't can start it, it's vm14:39
NobodyCamlivelace: Ironic should be cntroling the power state of the node14:39
*** tloeb has quit IRC14:40
dtantsurlivelace, there is some confusion here, lets try to clarify :)14:40
dtantsurlivelace, ironic usually work with bare metals, but we have a special test driver called pxe_ssh which can work with vms14:40
openstackgerritedan david proposed openstack/ironic: Replace dict.get(key) with dict[key] in unit tests  https://review.openstack.org/33061714:40
rloohi and goooooood Thursday morning everyone, NobodyCam, livelace, TheJulia, jroll, dtantsur, lucasagomes, sambetts, thiagop, vdrok, and everyone else14:40
TheJuliagood morning rloo14:41
NobodyCammorning rloo :)14:41
dtantsurlivelace, it works by SSH-ing into your hypervisor and using virsh command (or similar)14:41
thiagopgood morning, rloo14:41
lucasagomesrloo, hello there :-)14:41
vdrokmorning rloo :)14:41
dtantsurlivelace, if you want to play with vms you should be using this driver. booting vms manually will never work, as our networking service won't recognize them14:41
*** pcaruana has quit IRC14:41
dtantsurmorning rloo, thiagop14:41
livelacedtantsur, I can't provision VM with any plugin ?14:41
rloofolks, there are two +2 for active node creation. I'm going to +A unless people want to review it today: https://review.openstack.org/#/c/275766/14:41
wagielHi openstackers, need some guidence here, I have devstack ironic on real hardware, instance is spawning, but dont get the ip addr from dhcp, i see dhcp requests coming with tcpdump and dnsmasq process running14:42
dtantsurlivelace, pxe_ssh is a way to go. but note that it does not ssh into the vm itself, it sshes into its hypervisor14:42
wagielbut dont see anything listening on port 5314:42
livelacedtantsur, agent_ssh ?14:42
dtantsurlivelace, pxe_ssh or agent_ssh would work. they slightly differ in how exactly they flash the image14:42
*** tloeb has joined #openstack-ironic14:43
dtantsurlivelace, maybe somebody already asked, but why aren't you using devstack?14:43
jrolldtantsur: reviewed driver comp, this is awesome :D14:43
jrolldtantsur: if you finish the TODOs I'm +214:43
jrollrloo: morning :)14:43
livelacedtantsur, But why Ironic can't wait for baremetal nodes and provision their by their availability ?14:43
dtantsurjroll, cool! will try to finish it tomorrow14:44
livelacedtantsur, For some reasons14:44
*** wajdi has joined #openstack-ironic14:44
dtantsurlivelace, it does not have all required information to provision them14:44
*** trown is now known as trown|brb14:44
lucasagomeswagiel, the port (mac address) registered in Ironic is the same mac address in the DHCP request?14:44
dtantsurit is possible to implement, it's just not how ironic works14:45
livelacedtantsur, Very strange, I set port with mac address. It isn't enough ? All thinstation/vdi works similar14:45
livelacelucasagomes, Yes14:46
lucasagomeslivelace, that answer was to another question14:46
dtantsurlivelace, well, our primary use case is to respond to requests like "please provision this machine". we haven't previously seen a use case for provisioning everything that shows up on network with a valid MAC14:47
wagiellucasagomes, shoud I see dhcp listening on 53 for incoming reqs?14:47
lucasagomeslivelace, but no, registering the mac address in Ironic shouldn't and is not enough. Unless Ironic have total control over the network bits (which its doesn't because we delegate it to Neutron)14:47
dtantsuralso while it would work smoothly with vms, for bare metals it would require several manual and vendor-specific actions14:47
lucasagomeswagiel, yup, I thought you said you've seem the requests already coming via tcpdump14:48
livelacedtantsur, More useful will be, if: 1. Provision bunch of nodes by MAC mask/list 2. Provision bunch of nodes by hardware template14:49
dtantsurlivelace, there seem to be a valid use case, but on the other hand I'm not sure how it's going to play with e.g. nova scheduler (essentially any scheduler)14:50
sambettslivelace: Ironic is designed to be a baremetal hypervisor under Nova, we respond to a nova boot my an instance, we aren't dictated my new hardware just appearing14:50
sambettss/my/by14:50
sambettslivelace: are you using Ironic with OpenStack or standalone?14:51
livelaceFor example, in Openshift we label hosts with some labels (like: ssd, hpc etc.) It's very useful.14:51
livelacesambetts, Openstack14:51
*** trown|brb is now known as trown14:52
dtantsurI've seen such approach with SpinalStack btw14:52
sambettslivelace: then once a baremetal node is registered in Ironic you should be booting instances through nova14:52
dtantsurlivelace, similarly, you can label ironic nodes (and we do it in tripleo) with a so called capability, for example profile:ssd14:53
dtantsurlivelace, then you can create a nova flavor specifying the same capability. then when a user requests a node of this flavor, a node with profile:ssd will get chosen14:53
mgouldlivelace: it sounds like you're trying to use Ironic for something it wasn't designed for14:53
mgouldwhat ultimate problem are you trying to solve?14:53
*** sdake has quit IRC14:54
livelacemgould, I'm trying to test Ironic :) But use case is - provision some types of linux into baremetal nodes with testing purpose14:54
mgouldOK14:55
mgouldso each test run starts with "give me a bunch of clean Linux installs on bare-metal nodes so I can run my test scripts on them"?14:56
livelaceDeploy bunch of version, then start testing on these nodes14:56
livelacemgould, Yes14:56
mgouldright, good14:56
mgouldthis is indeed the problem that Ironic solves :-)14:56
livelaceCool. But I can't work with it on my testing server :)14:56
*** amotoki_ has joined #openstack-ironic14:57
dtantsurfolks, I have to disappear for a couple of hours, will continue in the evening14:58
lucasagomesdtantsur, see ya14:58
*** dtantsur is now known as dtantsur|bbl14:58
NobodyCamhave a good day dtantsur|bbl14:59
*** tloeb_ has joined #openstack-ironic14:59
*** sdake has joined #openstack-ironic14:59
vdrokrloo: I'd take a look in an hour or so14:59
*** amotoki has quit IRC15:00
rloovdrok: a look at what?15:00
vdrokat active node creation15:00
*** tloeb__ has joined #openstack-ironic15:00
rloovdrok: oh yeah. forgot i had asked. (my head is in driver composition reformation. ha ha.) thx!15:00
*** tloeb has quit IRC15:00
*** tloeb_ has quit IRC15:00
*** wagiel has quit IRC15:02
dtantsur|bblrloo, I feel sorry for you :)15:02
rloodtantsur|bbl: i think i feel sorry-er? for the people that are going to review the code :)15:02
dtantsur|bbland what about someone who is going to write this code?15:03
* dtantsur|bbl now goes for real15:03
*** tloeb__ has quit IRC15:04
*** amotoki_ has quit IRC15:06
JayFI'm going through some of the IPA bugs right now, updating status15:09
*** edand has joined #openstack-ironic15:14
JayFAny objection to me marking https://bugs.launchpad.net/ironic-python-agent/+bug/1367915 (IPA is missing developer documentation) as resolved? When this was filed there were no docs, now almost all of IPA has docstrings and is reasonably well documented15:14
openstackLaunchpad bug 1367915 in ironic-python-agent "ironic-python-agent is missing developer documentation" [Medium,In progress] - Assigned to Clif Houck (f-te-u)15:14
jroll+115:15
*** piet has joined #openstack-ironic15:16
*** jistr|mtg is now known as jistr15:19
JayFsambetts: didn't you fix https://bugs.launchpad.net/ironic-python-agent/+bug/158093215:19
openstackLaunchpad bug 1580932 in ironic-python-agent "The 'logs' inspection collector does not work with TinyIPA" [Low,Triaged]15:19
JayFsambetts: also congrats15:19
sambettsjroll: wow thanks!15:21
jroll:D15:21
sambettsJayF: you spotted the email before I did :-P15:21
jrollJayF used to work on email systems, he's addicted to reading email15:22
* jroll ducks15:22
sambettshaha15:22
NobodyCamlol15:22
jrollNobodyCam: btw, great success on the cruze with hammering the socket on :P15:23
jrollalso fixed the exhaust leak I had left on the audi15:23
jrollproductive night it was15:23
NobodyCamjroll: lol... I might have ground oil drain bolts in to squares with a grinder to get tem off before15:24
*** ifarkas has joined #openstack-ironic15:24
NobodyCam:) nice15:24
jrollNobodyCam: yeah, that was the backup plan, or an air chisel :P15:25
NobodyCamhehehehe15:25
lucasagomesJayF, sambetts I think the bug about the logs is not fixed yet the log collector still relies on journalctl15:25
* NobodyCam does like the "bigger" hammer methods thou :)15:25
lucasagomesthe collect logs for deploy indirectly fixes that problem15:26
lucasagomesJayF, sambetts and congrats for the nomination :-)15:26
openstackgerritedan david proposed openstack/ironic: Use assertIsNotNone instead of assertTrue  https://review.openstack.org/33064115:26
NobodyCam:) ++15:26
sambettsthanks livelace15:26
JayFlucasagomes: ah, the collect logs for deploy is what I was thinking of15:27
sambettsthankks lucasagomes15:27
sambettssorry for the noise livelace15:27
sambettsJayF, lucasagomes: there is work to make it pick up syslog etc too right?15:28
*** sacharya_ has joined #openstack-ironic15:28
lucasagomessambetts, right, waiting on the spec ( https://review.openstack.org/#/c/323511/ ) prior to submit the code15:28
lucasagomesshould be close/done15:28
livelacelucasagomes, virtualbmc isn't working for me, because vm doesn't exist in ovirt/libvirt. I can't start VM which doesn't exist in libvirt.15:28
sambettslucasagomes: awesome :)15:28
lucasagomeslivelace, exactly, told ya that :-)15:28
mgouldNobodyCam, jroll: it's always satisfying when a problem can be solved by hitting things with hammers15:29
sambettslivelace: what is your hypervisor?15:29
livelacesambetts, qemu/kvm15:29
jrollmgould: :D15:29
lucasagomeslivelace, if you want to use OVirt I would recommend having a driver in Ironic or an translation layer that talks to the OVirt CLI/API15:29
livelacesambetts, management - ovirt15:29
livelacelucasagomes, I understood that. I will try variants ...15:30
*** sacharya has quit IRC15:30
*** sacharya has joined #openstack-ironic15:30
livelaceMaybe I switch to my gentoo and build qemu with bmc support :)15:31
livelacehttps://www.youtube.com/watch?v=oUv2RZa9uM015:31
lucasagomeslivelace, fwiw https://review.openstack.org/#/c/301226/15:32
lucasagomessomeone already came up with some ovirt driver, I haven't tested it tho15:32
*** edand has quit IRC15:32
*** sacharya_ has quit IRC15:33
*** openstackgerrit has quit IRC15:34
*** openstackgerrit has joined #openstack-ironic15:34
livelacelucasagomes, Therefore, I like Open Source :)15:35
lucasagomes:-)15:35
*** milan has quit IRC15:37
*** bcornec1 has joined #openstack-ironic15:37
JayFvdrok: https://bugs.launchpad.net/ironic-python-agent/+bug/1590493 we def need to get that parition image job on IPA :(15:38
openstackLaunchpad bug 1590493 in ironic-python-agent "IPA fails to deploy partition image with CoreOS based ramdisk" [Undecided,New]15:38
vdrokJayF: morning, yep, I'll propose this to project config today15:38
NobodyCamjroll: I see you have +2 on 306418 (Agent pass thru promote spec) I don't see any thing about a api version bump. are we expectiong to bump the version?"15:44
jrollNobodyCam: oh, is there not? there should be, it's even in the POC code already15:44
jrolldtantsur|bbl: ^15:44
*** sacharya has quit IRC15:44
NobodyCamI'll add a note15:44
*** sacharya has joined #openstack-ironic15:45
thiagopFolks, I'm having a bit of trouble trying to find out why this happens -> http://logs.ironic-oneview-ci.lsd.ufcg.edu.br/51/328451/7/silent/dsvm-tempest-ironic-agent_pxe_oneview/159d302/logs/screen-ir-cond.txt.gz#_2016-06-16_13_12_20_15915:45
thiagopProbably because I don't know how the port creation workflow actually works (apparently, at some time, Ironic expects that Neutron has a port related to the port on Ironic)15:46
thiagopis there some docs that you can point me to understand how this works? Walking through code has proven ineffective...15:47
jrollthat's a 10. address, I can't reach that15:47
jlvillalCongrats JayF and sambetts (in order of who spoke last) on your nominations! :)15:47
JayFty15:47
sambettsthiagop: Nova creates a neutron port, and it does an ironic port update setting a field "port_vif_id" on the ironci port.extra, the dhcp provider in Ironic then looks at that field15:48
mgouldyes, congrats JayF and sambetts!15:48
mgouldI'd vote for you both if I could :-)15:48
* sambetts just realised he forgot to congratulate JayF ... feels bad :-p 15:48
thiagopMe too, congratz for the nomination JayF and sambetts15:49
sambettscongrats JayF :D15:49
thiagopsambetts: so, since the info isn't on the node, I should be looking an error on n-cpu, right?15:50
openstackgerritVladyslav Drok proposed openstack/python-ironicclient: Add create command to ironic client  https://review.openstack.org/32895515:51
*** tobias_fiberdata has quit IRC15:52
sambettsthiagop: 2016-06-16 13:12:18.893 16111 DEBUG nova.virt.ironic.driver [req-675a8e40-c0a5-4c02-bb28-907f9819e647 tempest-BaremetalBasicOps-688855481 tempest-BaremetalBasicOps-688855481] plug: instance_uuid=feaf146a-b961-4e2f-9a80-5f9377cdb32f vif=[] _plug_vifs /opt/stack/new/nova/nova/virt/ironic/driver.py:99915:52
sambettsthiagop: it appears plug vifs is being called without any vifs15:53
*** tobias_fiberdata has joined #openstack-ironic15:53
sambettsthiagop: 2016-06-16 13:12:17.130 16111 DEBUG nova.network.neutronv2.api [req-675a8e40-c0a5-4c02-bb28-907f9819e647 tempest-BaremetalBasicOps-688855481 tempest-BaremetalBasicOps-688855481] [instance: feaf146a-b961-4e2f-9a80-5f9377cdb32f] No network configured allocate_for_instance /opt/stack/new/nova/nova/network/neutronv2/api.py:54415:53
thiagopsambetts: which log is that?15:53
sambettsthiagop: n-cpu15:54
sambettsit appears that nova is not creating a port for your instance15:54
*** Larion has joined #openstack-ironic15:56
thiagopsambetts: I'll see if I missed some configuration...15:56
*** e0ne has quit IRC15:56
*** z- has quit IRC15:57
*** z- has joined #openstack-ironic15:57
*** sacharya_ has joined #openstack-ironic15:57
*** garthb has joined #openstack-ironic15:58
*** ipukha has left #openstack-ironic15:59
*** tobias_fiberdata has quit IRC15:59
sambettsthiagop: 13:12:52     2016-06-16 13:12:15,809 17489 INFO     [tempest.lib.common.rest_client] Request (BaremetalBasicOps:test_baremetal_server_ops): 202 POST http://127.0.0.1:8774/v2.1/servers 0.636s15:59
sambetts13:12:52     2016-06-16 13:12:15,810 17489 DEBUG    [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}15:59
sambetts13:12:52             Body: {"server": {"imageRef": "9bd87a36-af1e-42f6-bf8f-d3dd90cfadee", "flavorRef": "94edacbd-d0fd-4ac8-a474-7d9dd611ad59", "name": "tempest.common.compute-instance-1828306964", "key_name": "tempest-BaremetalBasicOps-758411598"}}15:59
sambettsI don't see any network info being passed as part of the instance boot15:59
sambettsI do see this: 13:12:52     2016-06-16 13:12:15,171 17489 WARNING  [tempest.common.fixed_network] Network with name: private not found16:00
thiagopsambetts: I thought it was automagic16:00
*** sacharya has quit IRC16:00
thiagopThis last line seems very strange16:00
*** tesseract has quit IRC16:00
thiagopdevstack always creates this 'private' network, wth?16:00
sambettsyour BM network in neutron needs to be called 'private' for the Ironic devstack script and the tempest to pick it up16:00
sambettsthiagop: are you running flat provider networking>16:01
sambetts?16:01
*** dprince has quit IRC16:01
*** dprince has joined #openstack-ironic16:02
thiagopsambetts: on the CI cloud, yes. On devstack, don't know. Not by manual configuration though.16:02
sambettsthiagop: if you are running flat networking for your CI via devstack, e.g. Q_USE_PROVIDER_NETWORKING=True and PROVIDER_NETWORK_TYPE="flat", then the network created is called "public" by default, and you need to add PHYSICAL_NETWORK=private to make it be called "private" so that Ironic devstack/tempest can use it16:03
*** jaybeale has joined #openstack-ironic16:04
*** Larion has quit IRC16:04
openstackgerritLucas Alvares Gomes proposed openstack/ironic-specs: Collect system logs from IPA  https://review.openstack.org/32351116:04
lucasagomesfolks I'm calling it a day16:05
*** jvgrant_ has quit IRC16:05
lucasagomeshave a great evening all, talk to you all tomorrow16:06
thiagopsambetts: OK, that makes sense16:06
sambettscya lucasagomes16:06
* lucasagomes gotta run to catch his train back home16:06
lucasagomessee ya16:06
thiagopgood night lucasagomes16:06
*** lucasagomes is now known as lucas-afk16:06
NobodyCamnight lucas16:06
*** milan has joined #openstack-ironic16:06
* thiagop doesn't handle neutron very well16:07
*** nicodemos has quit IRC16:07
sambettsthiagop: ;) its a difficult dance to learn16:07
*** sacharya has joined #openstack-ironic16:07
*** nicodemos has joined #openstack-ironic16:07
rlooTheJulia, NobodyCam: what do you think about Satoru's comment about the volume target info being associated with the node and the potential security risk, line 261: https://review.openstack.org/#/c/200496/38/specs/approved/volume-connection-information.rst16:09
*** sacharya_ has quit IRC16:10
TheJuliarloo: let me get some coffee and I'll take a look16:10
NobodyCamrloo: looking at ANC now will look in couple minutes16:10
rloothx TheJulia, NobodyCam.16:10
*** mgoddard_ has quit IRC16:11
*** sabeen has joined #openstack-ironic16:11
rlooso, for folks that want a little break, this is interesting. removing osc from requirements: https://review.openstack.org/#/c/297730/16:15
jlvillalrloo: I thought we were going the other way (says that without looking at the patch)16:15
rloopavlo is right, osc isn't needed to run the ironic CLI part. but it is needed to run openstack baremetal.16:15
rloojlvillal: our client has an osc plugin. but it won't work w/o osc.16:15
rlooi'm not sure what the right answer is.16:16
jlvillalrloo: Ah, now reading the patch makes more sense.16:16
rlooif we remove it we should at least document that osc needs to be installed.16:16
rloobut if we deprecate/remove ironic CLI in the future, wouldn't osc be needed, or would we still leave it as is, w/o osc being installed.16:17
rlooi wonder what the other osc plugins do.16:17
*** sborkows has quit IRC16:18
*** mgoddard has joined #openstack-ironic16:18
*** dprince has quit IRC16:20
*** sdake has quit IRC16:20
sambettsI guess it depends how you view drivers/plugins and dependencies, the fact that ironic client needs OSC is like Ironic needing nova, neutron, and glance etc but we don't make them dependecies16:21
*** dprince has joined #openstack-ironic16:21
rloosambetts: so ironic doesn't need nova. it can be standalone.16:22
sambettsrloo: the same as ironic client can run standalone without OSC16:22
rloosambetts: and right now, the client has both CLI and OSC plugin. So I can see removing osc. but we WILL (heh) remove the CLI at some point.16:22
rloosambetts: so we remove osc now, after we remove CLI, we add osc back. or maybe by then, things will have changed wrt osc/plugins, dunno.16:23
rloosambetts: i think the reason i don't want to remove osc, is because i want to encourage folks to use osc instead of cli, cuz we're going to deprecate that sooner rather than later I hope.16:24
rloosambetts: but yeah, it is an osc plugin. so I'm back to 'i don't know what the best solution is'. so going to ignore it i guess.16:24
sambettsI don't even think we need to then, because its a plugin, if we don't import any code from it, technically another something like OSC might come along which is OSC plugin compatible16:24
sambettswhich could use our plugin, do we make ironicclient depend on that too16:25
rloosambetts: true. the thing is, we've implemented it as a plugin cuz of the way osc is done. but for a user, should they know htat it is a plugin and that it won't work if they don't also install osc?16:26
rloosambetts: i think the problem is that osc should have made some basic package w/o the actual commands from keystone/nova/etc. then we'd all be in an even playing field.16:27
sambettsrloo: ++, I think that was brought up in the OSC session at the summit16:27
rloosambetts: well, that may not be the problem. maybe the problem is that we should put the osc plugin in a separate package from python-ironicclient.16:27
*** vmud213 has joined #openstack-ironic16:27
*** moshele has quit IRC16:27
stevemarrloo: sambetts so we haven't publicly advertised it yet, but we have an osc-lib package that's almost ready for public consumption16:28
stevemarrloo: sambetts it'll contain all the base OSC bits without the keystone/nova/etc commands16:28
*** sdake has joined #openstack-ironic16:28
rloostevemar to the rescue! :)16:28
sambettsstevemar: whats your stance on OSC plugins importing OSC or not?16:29
stevemarrloo: sambetts so folks don't have to depend on python-openstackclient, but rather osc-lib (MUCH smaller) instead16:29
rloostevemar: when do you think the package will be avail?16:29
sambettsstevemar: even if we don't use code from osc-lib/16:29
sambetts?16:29
stevemar#link https://github.com/openstack/osc-lib16:29
TheJuliarloo: replied, hopefully that thought makes sense16:29
stevemarsambetts: so i think most folks didn't want it in requirements cause it brought in so many dependencies (especially if folks just wanted to use it as a python lib and not a CLI)16:30
stevemarsambetts: using osc-lib should clean that mess up16:30
sambettsstevemar: I guess my question is if we require on osc-lib will we still need to install main OSC to actually use the command client?16:31
stevemarsambetts: nope!16:31
sambettsstevemar: oh awesome, so main OSC repo basically becomes a repo that just hold plugins for the main projects?16:32
*** dtantsur|bbl is now known as dtantsur16:32
stevemarsambetts: at least... i hope not16:32
stevemarlet me double check16:32
stevemarsambetts: want to jump over to #openstack-sdks16:32
sambettssure16:32
stevemarsambetts: dtroyer isn't here16:32
dtantsurNobodyCam, could you please provide an example where I can NOT bump API version when introducing new API?16:33
*** bharath has joined #openstack-ironic16:34
dtantsurjroll, I didn't put the API version bumping to the spec for the same reason I didn't say that I'll be following i18n guidelines, writing proper unit tests and using creating release notes :) because it's a requirement for all API changes16:35
rloojlvillal: did you see david lyle's comment wrt the apache bug: https://bugs.launchpad.net/ironic/+bug/159013916:36
openstackLaunchpad bug 1590139 in Ironic "gate job fails when unable to start apache service during horizon setup" [Critical,Triaged]16:36
*** appu103_ has joined #openstack-ironic16:38
sambettsrloo: I've got a conversation going in #openstack-sdks about that patch16:38
jlvillalrloo: I did. It makes sense.16:38
rloosambetts: let me know what is decided :)16:38
rloojlvillal: sigh.16:38
jlvillalrloo: I am looking at logstash to figure out approximately when it started16:39
rloothx jlvillal16:39
jlvillalMy logstash kung fu is not very strong...16:39
*** jvgrant_ has joined #openstack-ironic16:40
sambettsrloo: will do :)16:41
sambettsrloo: left a comment on that patch about waiting until we hear back16:42
NobodyCamdtantsur: replied and vote changed you now have 2 +2's ... any one else what to look or I'm going to land it :)16:42
*** dmk0202 has quit IRC16:42
dtantsurNobodyCam, thanks16:43
NobodyCamno no thank you :)16:43
JayFclif_h: "done" is a relative thing. When that bug was filed there were 0 docs, now there are tons and tons. I got a +1 in here before closing it, but I don't think that means we can't keep working on it16:46
JayFclif_h: if you have an outstanding docs patch tho I'd love to review it, going to look for it now16:47
rloosambetts: so they don't know yet, when osc-lib will be avail?16:47
NobodyCamJayF: did you want to take a look at https://review.openstack.org/#/c/306418 you had a +2 before16:47
JayFalready open16:48
JayFin my tabs16:48
sambettsrloo: I hoping to find that out, and if osc-lib actually does what we think it does16:48
NobodyCam:)16:48
*** jaybeale has quit IRC16:49
rloosambetts: ok, thx.16:49
*** david-lyle has joined #openstack-ironic16:50
jlvillalrloo: Unfortunately the logstash data seems to have been dropped for anything before the 9th. And I filed the bug on the 7th.16:50
rloojlvillal: hmm. i wonder what changed on 6th or 7th.16:51
dtantsurTIL https://github.com/openstack/osc-lib thanks sambetts16:52
sambettsrloo, jlvillal: was that the day logs.openstack.org blew up and broke the gate for the day?16:52
jlvillalsambetts: I don't recall16:53
rloosambetts: i don't think so.16:53
vdroksambetts: but still I will be pulling this osc-lib even if I only need ironic commands?16:53
dtantsurwow, so many comments on the driver composition spec, thanks jroll, rloo, vdrok. I'll slowly start addressing them tomorrow :)16:53
vdrok:)16:53
*** jvgrant_ has quit IRC16:53
rloodtantsur: you asked and you received :)16:53
vdroksambetts: or if I only need python api16:54
dtantsurheh, true16:54
JayFdtantsur: re: agent api spec; is the intention to *ever* deprecate the passthru endpoints/16:54
rloodtantsur: i'm not done but wanted to make sure i understood it before i continued.16:54
*** mbound has quit IRC16:54
vdroksambetts: I'd expect that if someone wants to use openstack command, he would install openstack client :)16:54
dtantsurJayF, yes. and the whole AgentVendorPassthru16:54
*** bcornec1 has quit IRC16:55
dtantsurJayF, the reason is driver composition: I don't want to bring vendor mixins there16:55
JayFdtantsur: just making sure my assumption was good; it occurred to me something api-ish could be different16:55
*** rbrud has joined #openstack-ironic16:55
rloovdrok: sambetts and i had a discussion earlier in irc, did you see that?16:55
dtantsurrloo, I'll try to answer what's easily answerable right now then16:55
vdroklooking16:56
rloodtantsur: don't answer here. going into a meeting soon.16:56
sambettsvdrok: we plan to remove the ironic commands, and only have openstack client in the future, and we want to encrourage people to use the openstack client over the ironic ones16:56
vdrokyeah, but there is the case of only python api still. tho if it is small, maybe that's OK16:56
sambettsthere is an interesting case of CLI vs python language hook16:57
dtantsurrloo, yeah, on the spec ofc16:57
rloodtantsur: thx! (although not sure i have time to review it again today)16:57
rloovdrok: would it make sense to put our osc plugin in a separate package?16:58
dtantsurno worries16:58
dtantsurrloo, we don't do it now with our "ironic" command, right? though it would probably cut some dependencies16:58
sambettsthat package is called ironicclient so I expect it to be a client, maybe we need to split the language hook ]16:58
vdrokhm16:59
*** derekh has quit IRC16:59
vdrokthat would be a breakage for lots of people I think16:59
*** PollyZ_ has joined #openstack-ironic16:59
sambettsso would removing the current requirement, if people are only installing python-ironiclient and then using the openstack... commands17:00
vdrokyeah, maybe you're right. but I personally would not expect openstackclient being installed when I install ironic client :) will hold +2 for now then17:01
*** PollyZ has quit IRC17:02
*** nicodemos has quit IRC17:03
*** nicodemos has joined #openstack-ironic17:03
sambettsvdrok: maybe we don't advertise our OSC intergration well enough17:04
clif_hJayF: I don't have an outstanding docs patch atm17:04
clif_hjust wondering if closing that was premature17:04
vdroksambetts: heh, we don't do it at all :) http://docs.openstack.org/developer/python-ironicclient/17:05
JayFclif_h: I put a comment in the bug responding as well; tl;dr we have enough docs now that probably a catchall bug is not super valuable. However we should (I should, probably as docs liason) file smaller bugs for each module and mark low-hanging-fruit17:05
*** mbound has joined #openstack-ironic17:05
*** daemontool has quit IRC17:08
*** trown is now known as trown|lunch17:08
*** PollyZ_ has quit IRC17:08
*** PollyZ has joined #openstack-ironic17:08
*** ifarkas has quit IRC17:08
dtantsurclif_h, as a person managing our bug list of time to time, I prefer bugs with a clear definition of done17:09
dtantsur:)17:09
*** wagiel has joined #openstack-ironic17:09
livelaceIncredible useful article http://apahim.livejournal.com/2395.html17:11
stevemardtantsur: we plan on advertising osc-lib soon :)17:11
wagiellucasagomes, I see in logfile, DHCP, sockets bound exclusively to interface tap75c17816-33, tap is port from br-int, would that means i should be expecting dhcp request w/ tcpdump on that interface?~>17:11
wagiel~.~>17:11
stevemardtantsur: it's not ready for public consumption just yet, but i saw the convo happening and had to chime in17:11
clif_hdtantsur: makes sense17:11
dtantsurstevemar, awesome, thanks! will be looking forward to it17:12
stevemardtantsur: we'll post on the -dev ML when it's ready17:12
stevemarshouldn't be too long now17:12
*** bharath has quit IRC17:12
dtantsurvdrok, as a data point: ironic-inspector-client depends on OSC, but it's our only CLI, we don't have another one17:12
stevemarI think we started it on May 10th :)17:12
*** bharath has joined #openstack-ironic17:13
*** sabeen has quit IRC17:13
*** wagiel has quit IRC17:14
TheJuliavdrok: seems like your -1 on 275766 is purely over doc and I need to push a follow-up revision anyway, would you be okay if we did that instead of revising the base revision, and spending another week or so getting reviews?17:14
TheJulias/base revision/changeset/17:14
vdrokdtantsur: I see. so you think we should leave it?17:15
dtantsurvdrok, I'm a bit undecided, need to think more17:15
dtantsurI'm pretty sure we'll have to depend on it as soon as we deprecate the 'ironic' command17:16
vdrokTheJulia: well, it is, kind of. the main reason for -1 is this inconsistency - boot.validate and deploy.prepare calls17:16
dtantsurvdrok, also as a packager I probably won't remove this dependency from our RPM17:16
TheJuliavdrok: that deploy.prepare does not check the checksum?17:16
TheJuliavdrok: that would be a bug oustide of ANC17:16
dtantsurvdrok, so yeah, I'm slightly towards leaving it there17:16
TheJuliaand truthfully, it might be intended17:16
vdrokTheJulia: what I mean is - there is a possibility that deploy.validate does check something that deploy.prepare relies on, and we do only boot.validate. but then, afterwards it means that it will fail anyway I think...17:18
vdrokyeah, I think I'm ok with that, thank you TheJulia :)17:18
*** ohamada has quit IRC17:18
dtantsurdevananda, when you're here please take a look at https://review.openstack.org/#/c/306418/ it's collected 3x +2 already17:19
jrollTheJulia: we don't check checksums in validate because we download the image to the agent, not to the conductor :)17:19
TheJuliavdrok: that is a good point, at the same time there is no guarentee that the user even care about providing real information that needs to be validated :)  but deploy.prepare does actually attempt to check if a file exists and fails appropriately17:20
TheJuliajroll: yup, that is what I meant by intended, for the most part at least17:20
jrollyeah17:20
dtantsurok, calling it a day now, see you tomorrow17:20
vdrokyep, I just cannot come up with something that will break because of that17:20
* sambetts -> home 17:20
*** dtantsur is now known as dtantsur|afk17:20
sambettsnight all o/17:20
vdroknight dtantsur and sambetts17:20
*** sambetts is now known as sambetts|afk17:21
sambetts|afkcya vdrok17:21
*** rcernin has quit IRC17:21
*** athomas has quit IRC17:22
*** PollyZ has quit IRC17:27
*** moshele has joined #openstack-ironic17:28
*** ccamacho has quit IRC17:30
*** MrWorldWide has joined #openstack-ironic17:33
*** MrWorldWide has quit IRC17:33
TheJuliavdrok: deploy.validate does actually have a checksum presence check, but truthfully I think that is the only thing that might be useful to call out of what deploy.validate consists of since the goal for the user is to just create a node in active state.  Granted, some of those things might matter upon a redeployment, but from ANC's perspective, the node is already deployed.17:34
vdrokTheJulia: yeah, I agree17:37
*** ChubYann has joined #openstack-ironic17:38
*** aparnav has joined #openstack-ironic17:41
*** appu103_ has quit IRC17:41
*** purgat0ry has joined #openstack-ironic17:45
purgat0ryHey, I have a question. Is Ironic for you to put OpenStack onto bare metal?17:46
mgouldpurgat0ry: that's not its core use case, but it can be used for that17:46
*** aparnav has quit IRC17:47
clif_hpurgat0ry: more like use ironic to manage bare-metal nodes17:47
mgouldthe core use case is "let users of my cloud provision bare metal machines as if they were VMs"17:47
mgouldbut the TripleO project does use Ironic internally to put OpenStack services onto bare metal machines17:48
purgat0ryWhy is it so difficult to install OpenStack onto bare metal? It seems like doing it all in a VM is doing too much. it seems like more work to do it through a VM. Why do it that way?17:48
TheJuliapurgat0ry: For testing maybe?17:49
krtaylorhm, yes, for all the same reasons that you would us a VM in the first place, privacy, other applications resources, isolation, etc17:51
TheJuliapurgat0ry: For most, the difficulty seems to be choosing a method, or configuring all the details to meet your needs, which vary from deployment to deployment... at that point, there doesn't seem to be much of a difference, except deploying everything in VMs seems like it would only really be for testing.17:51
krtaylorbtw, I pushed the WIP patch last night to add all remaining drivers to stackalytics driver page, reviews appreciated -> https://review.openstack.org/33027017:52
JayFpurgat0ry: if you're interested in using openstack to deploy openstack onto bare metal, there's a whole project around that called tripleo17:52
JayFpurgat0ry: also aiui the new OpenStack Ansible stuff is pretty good, but that's more a pure install automation piece that direct integration with openstack17:52
* mgould -> home17:52
*** mgould is now known as mgould|afk17:52
jlvillalpurgat0ry: Using Bifrost/Ironic and something else is a way to install OpenStack onto bare-metal. The something else could be Kolla or OpenStack Ansible or ?????17:55
cineramajlvillal, kolla are doing stuff to use bifrost aiui17:55
JayFaiui kolla is basically forked openstack ansible designed to use docker instead of lxc directly17:56
JayFI usually reccomend openstack ansible because it's the OG :P17:56
*** vmud213 has quit IRC17:56
TheJuliaIBM and Fujitsu CI systems failed on ANC, but in neutron network setup....17:56
*** PollyZ has joined #openstack-ironic17:57
*** electrofelix has quit IRC17:58
*** mtanino has quit IRC17:59
*** baoli_ has quit IRC18:00
*** PollyZ has quit IRC18:00
*** Sukhdev has joined #openstack-ironic18:03
*** moshele has quit IRC18:05
vdrokJayF: https://review.openstack.org/330738 I've added a depends-on on the bugfix, otherwise both will be just failing18:06
*** rcernin has joined #openstack-ironic18:07
vdrokgood night everyone!18:09
*** trown|lunch is now known as trown18:09
*** sabeen has joined #openstack-ironic18:10
JayFvdrok: catch you in time?18:10
vdrokyep18:10
JayFvdrok: had a thought. There's also a bug open about testing localboot in the agent18:10
JayFvdrok: maybe we should have parition images localboot in that job, and kill two bugs with one job?18:11
*** mtanino has joined #openstack-ironic18:11
JayFI'm unsure if localboot support exists in devstack at all today though, so that may be a deep rabbithole18:11
*** PollyZ has joined #openstack-ironic18:11
vdrokJayF: yeah, I don't know too18:11
vdrokI'll look at it tomorrow then, should I wip it for now?18:12
JayFnah18:12
JayFthis is beter than nothing was just a thought18:12
JayFI always favor better sooner :) we can always change it later if we want18:12
vdrokok, will look into it, thanks!18:12
*** purgat0ry has quit IRC18:14
*** baoli has joined #openstack-ironic18:16
*** bharath has quit IRC18:19
*** PollyZ has quit IRC18:27
*** rama_y has joined #openstack-ironic18:30
*** jvgrant_ has joined #openstack-ironic18:30
*** jvgrant_ has quit IRC18:32
*** sacharya has quit IRC18:32
*** sacharya_ has joined #openstack-ironic18:32
*** sacharya has joined #openstack-ironic18:33
*** baoli has quit IRC18:34
*** aarefiev_ has joined #openstack-ironic18:34
*** baoli has joined #openstack-ironic18:37
*** sacharya_ has quit IRC18:37
*** PollyZ has joined #openstack-ironic18:37
*** mgoddard has quit IRC18:42
*** dmk0202 has joined #openstack-ironic18:44
*** dmk0202 has quit IRC18:45
*** amit213 has joined #openstack-ironic18:51
*** baoli has quit IRC18:56
*** e0ne has joined #openstack-ironic18:58
*** yolanda has quit IRC19:00
*** ijw has joined #openstack-ironic19:03
*** ijw has quit IRC19:06
openstackgerritMerged openstack/ironic: No need for 'default=None' in config variable  https://review.openstack.org/33055719:06
*** ijw has joined #openstack-ironic19:06
openstackgerritMerged openstack/ironic: Fix typo in agent driver  https://review.openstack.org/33054919:09
*** sacharya has quit IRC19:13
*** sacharya has joined #openstack-ironic19:13
*** e0ne has quit IRC19:22
*** dprince has quit IRC19:27
*** SiRiuS__ has joined #openstack-ironic19:28
*** MattMan has quit IRC19:32
*** MattMan has joined #openstack-ironic19:32
*** jvgrant_ has joined #openstack-ironic19:33
*** dmk0202 has joined #openstack-ironic19:40
*** PollyZ has quit IRC19:42
*** mbound has quit IRC19:43
*** dmk0202 has quit IRC19:43
*** sabeen has quit IRC19:46
*** jvgrant_ has quit IRC19:47
*** fragatin_ has quit IRC19:51
*** sabeen has joined #openstack-ironic19:58
JayFhttps://review.openstack.org/#/c/330089/3 is pretty simple (+17,-8) and fixes a pretty big bug (partition images + agent driver) if anyone has a little review bandwidth to throw at it20:03
*** PollyZ has joined #openstack-ironic20:03
*** baoli has joined #openstack-ironic20:07
*** fragatina has joined #openstack-ironic20:10
*** fragatina has quit IRC20:10
*** fragatina has joined #openstack-ironic20:11
*** jcoufal has quit IRC20:12
openstackgerritMerged openstack/python-ironicclient: Implementation of baremetal port create  https://review.openstack.org/17246120:13
*** rbrud has quit IRC20:16
*** ayoung has quit IRC20:18
*** openstackstatus has joined #openstack-ironic20:19
*** ChanServ sets mode: +v openstackstatus20:19
*** jvgrant_ has joined #openstack-ironic20:19
*** aarefiev_ has quit IRC20:20
*** lucas-afk has quit IRC20:21
rlooJayF: wrt that patch, what does the '(+17,-8)' mean?20:22
JayF lines changed20:22
JayF+17 -820:22
JayFso small diff20:22
rlooJayF: small is -1 :)20:22
JayFlol20:22
rlooJayF: is it a high priority thing?20:22
JayFIt completely breaks partition images with agent driver20:22
JayFit was discovered when vdrok setup the partition image job20:23
rlooJayF: ok, then it is worth looking at. Looking...20:23
JayFso we want to fix it, and get partition image jobs running so it doesn't happe nagain20:23
mat128JayF: ephemeral_mb vs gb20:23
mat128omg20:23
JayFI used to think the 'if it isn't tested, it doesn't work' opinions were overkill. After this week, I'm completely sold20:23
*** dmk0202 has joined #openstack-ironic20:23
rlooJayF: did this used to work?20:23
JayFI honestly have never personally tested it, I don't use partition images downstream at all20:24
JayFbut it's supposed to work20:24
rlooJayF: "supposed to"...20:24
JayFMeaning support was added, but it was never tested in the gate20:24
JayFso I can't say personally with 100% certainty it did20:24
JayFbecause I didn't do it, and tempest never tested it20:24
JayFthat's the only reason I hedged there :)20:25
rlooJayF: i was just amused. All the stuff we put in ironic are supposed to work ;)20:25
JayFWell like I said, I'm being rapidly sold on CI20:25
JayFafter all the talk of DIB images working and then losing a day because they don't + this being broken, etc20:26
rloo++20:26
JayFjust lots of examples of nontested stuff being broken have been making my life bad this week20:26
JayFlol20:26
*** jvgrant_ has quit IRC20:26
* rloo thinks it must be raining for JayF20:27
*** piet has quit IRC20:28
*** ChrisAusten has quit IRC20:28
*** lucasagomes has joined #openstack-ironic20:28
*** mbound has joined #openstack-ironic20:33
*** jvgrant_ has joined #openstack-ironic20:41
*** rbrud has joined #openstack-ironic20:41
NobodyCamrloo: quick question on the comment on https://review.openstack.org/#/c/272658/53/ironic/api/app.py Line#12420:43
NobodyCamthe PycadfAuditApiConfigError would have a message like 'Error parsing audit map file: %s' % err20:43
rlooNobodyCam: so if you saw 'File ... cannot be read. Error parsing audit map file: ..' that would be OK?20:44
rlooNobodyCam: maybe we should just change that exception string.20:44
NobodyCamya kinda makes me want a new error type... /me adds20:44
rlooNobodyCam: what happens if there is an EnvironmentError, OSError.20:45
rloowould it show eg 'File .. cannot be read. File cannot be read'?20:45
*** PollyZ has quit IRC20:45
rlooMaybe it can be something like 'Error with file x. Reason: blah'.20:45
rloodo we already have some sort of exception with files?20:46
NobodyCamlol... good point ... the error is a general InputFileError I can adjust the test to remove can not be read20:46
NobodyCami'll take a look20:46
wajdi"blah" would still be the exception though right? You don't want to lose that information.20:47
*** [1]cdearborn has joined #openstack-ironic20:47
rloowajdi: yeah, we all want to see blah still :)20:47
NobodyCamoh ya20:47
rloowajdi: it is the hardcoded part that may not make sense.20:48
rloowajdi: for that particular exception. i don't have the string handy to show you.20:48
wajdiseems to be: _msg_fmt = _("File %(file_name)s cannot be read. Reason: %(reason)s")20:49
NobodyCamwajdi: that's what is in the patch now20:51
NobodyCamI kinda like "Error with file %(file_name)s. Reason: %(reason)s"20:52
rloowajdi: yeah, that's it. the problem is the 'cannot be read' part. could be confusing depending on the actual error20:52
wajdiRight. Yeah. Error with file.... works.20:52
*** cdearborn has quit IRC20:53
rlooNobodyCam:  or 'Excuse me, we seem to have a problem with your file .'20:53
*** baoli has quit IRC20:53
* NobodyCam thinks rloo is too nice :p20:53
wajdiPardon me, sorry to disturb your work. But your file seems to be out of sorts. :P20:54
NobodyCamlol20:54
NobodyCam++20:54
wajdiI think I would have a good laugh if I saw that come up in a log20:54
TheJulia++20:54
*** sacharya has quit IRC20:54
*** [1]cdearborn has quit IRC20:54
rloosounds like one of those easter egg things :)20:54
*** sacharya has joined #openstack-ironic20:55
rlooJayF: I reviewed that patch you wanted. Go chase someone else now :)20:55
*** jvgrant_ has quit IRC20:55
*** PollyZ has joined #openstack-ironic20:55
*** sacharya_ has joined #openstack-ironic20:56
JayFrloo: maybe if I wait long enough I can land it :P20:56
rlooJayF: i think we usually wait a few days, not necessarily a week. Maybe it depends on how many cores reply, can't remember.20:56
rlooJayF: but yeah.20:56
JayFI know, it's mostly a joke20:58
rlooNobodyCam: for that audit middleware one, will you/someone add documentation as to how it works? cuz it doesn't explain it now.20:58
NobodyCamrloo: as part of the patch or is a follow up okay?20:59
*** sacharya has quit IRC20:59
rlooNobodyCam: a follow up is ok if you are sure it works as desired. although i am not sure i can +2 it w/o actually knowing how it is meant to work.21:00
*** trown is now known as trown|outtypewww21:00
NobodyCamack. let push up these changes and see what we can do21:00
rlooNobodyCam: but I would be really happy if others like JayF would review it and +2 it. I regret a bit, that I looked at it. Too many reviews this week...21:00
*** rbrud has quit IRC21:01
NobodyCam:) I do thank you for the reviews :)21:01
JayFif you want me to take a look at something, add me as a reviewer21:01
* rloo thinks maybe we should have some initiation for new cores.21:01
JayFIf I'm not initiated by now, I never will be21:01
rlooJayF: EVERYTHING!21:01
JayFlol21:01
*** wajdi_ has joined #openstack-ironic21:01
openstackgerritChris Krelle proposed openstack/ironic: Add support for the audit middleware  https://review.openstack.org/27265821:02
NobodyCamJayF: ^^^^^ :p21:02
*** baoli has joined #openstack-ironic21:02
JayFI'm in the middle of something but if you add me to reviewers list I'll get to it21:02
NobodyCam:) awesome TY21:02
rlooTheJulia: have you confirmed that this breaks the standalone case? https://review.openstack.org/#/c/285852/21:03
*** rbrud has joined #openstack-ironic21:04
*** wajdi has quit IRC21:05
*** wajdi has joined #openstack-ironic21:05
*** wajdi_ has quit IRC21:05
jrollrloo: I think you mean a hazing, right? :D21:07
*** wajdi_ has joined #openstack-ironic21:07
rloojroll: ahhhh, which is more politically correct? ;)21:07
jrollI prefer actually correct to politically :)21:07
*** praneshp has joined #openstack-ironic21:08
rloojroll: :)21:09
TheJuliarloo: it does break stand-alone21:09
*** sacharya has joined #openstack-ironic21:10
rlooTheJulia: ok, then I'm not going to review it.21:10
mat128JayF: wajdi told me about that OEM bug21:10
JayFmat128: just thought you'd wanna know, we'll have the patch up for it shortly21:10
*** wajdi has quit IRC21:11
*** sachary__ has joined #openstack-ironic21:11
*** wajdi_ has quit IRC21:11
JayFmat128: also, you all might care to look at my example hardware managers stuff I pushed up to the ml earlier, has some good skeleton code should you choose to make some custom managers21:11
openstackgerritBrad Morgan proposed openstack/ironic-python-agent: Fix unwanted unmounting of /usr/share/oem  https://review.openstack.org/33078921:12
mat128JayF: yeah I've seen it in your github account21:12
JayFjroll: devananda ^ if you'd like to vote21:12
*** sacharya_ has quit IRC21:13
jroll+221:13
mat128JayF: you mentioned looking at other labels, have you read https://coreos.com/os/docs/latest/sdk-disk-partitions.html ?21:13
JayFmat128: we did lots of research aruond that over mon/tues21:14
*** sacharya has quit IRC21:14
mat128JayF: ok, was just making sure we didnt miss "ROOT" or something ;)21:14
JayFYeah, feel free to do addl research on your own but this is where I disappeared off to early in the week21:15
JayFbecause logs for this are misleading as well, it'll tell you it mounted stuff when it clearly didn't21:15
NobodyCamrloo: something like this: http://docs.openstack.org/developer/keystonemiddleware/audit.html21:15
*** krtaylor has quit IRC21:15
rlooNobodyCam: Nope. as an operator, i don't see how that helps at all.21:15
rlooNobodyCam: i commented about that in the patch. I don't think the install guide shoudl have a link to that.21:16
NobodyCamack ok... just started to look for whats out there21:16
NobodyCamI can write up something too21:16
rlooNobodyCam: why does the operator care that it is an 'audit middleware'? and then the rest would be very confusing cuz it isn't being enabled/configured in ironic, as described in that page.21:17
rlooNobodyCam: I mean, I read that, and I looked at the patch, and I thought huh?21:17
NobodyCam++ ahh that helps me!!21:17
rlooNobodyCam: take a look at the patch, comments from me and (I forgot their name).21:18
*** sachary__ has quit IRC21:20
*** sacharya has joined #openstack-ironic21:20
*** baoli has quit IRC21:21
*** sacharya_ has joined #openstack-ironic21:21
*** baoli has joined #openstack-ironic21:21
*** ChrisAusten has joined #openstack-ironic21:23
*** sacharya has quit IRC21:25
*** livelace has quit IRC21:30
*** bcornec1 has joined #openstack-ironic21:35
*** rcernin has quit IRC21:36
*** dmk0202 has quit IRC21:38
*** Goneri has quit IRC21:45
*** wagiel has joined #openstack-ironic21:47
mrdaMorning Ironic21:52
NobodyCammorning mrda21:53
mrdao/21:53
jlvillalGood morning mrda21:54
mrdahey jlvillal21:58
thiagopmorning mrda , night folks!22:01
* thiagop out22:01
*** thiagop has quit IRC22:01
*** wagiel has quit IRC22:02
*** amotoki has joined #openstack-ironic22:03
*** dmk0202 has joined #openstack-ironic22:04
*** ayoung has joined #openstack-ironic22:07
*** rbrud has quit IRC22:11
*** baoli has quit IRC22:11
*** PollyZ has quit IRC22:12
*** baoli has joined #openstack-ironic22:12
*** PollyZ has joined #openstack-ironic22:12
*** ChrisAusten has quit IRC22:20
*** PollyZ has quit IRC22:23
*** PollyZ has joined #openstack-ironic22:24
*** baoli has quit IRC22:27
*** baoli has joined #openstack-ironic22:27
openstackgerritJohn L. Villalovos proposed openstack/ironic: Trying to debug apache restart issue  https://review.openstack.org/33081222:28
*** dmk0202 has quit IRC22:39
*** baoli has quit IRC22:40
*** PollyZ_ has joined #openstack-ironic22:45
*** PollyZ has quit IRC22:48
*** sabeen has quit IRC22:51
*** rbudden has quit IRC22:52
klindgrenso how are people working around: https://bugs.launchpad.net/neutron/+bug/152706122:55
openstackLaunchpad bug 1527061 in neutron "Nova should not throw exception when port binding fails for Ironic" [Undecided,Confirmed]22:55
klindgreninstalling whatever L2 agent on the compute node that fronts-ironic?22:56
klindgrenbecause even without that bug in nova - their is seperate thing in liberty apparently - the dhcp_opts are not updated in dnsmasq on a port with vif_type: biniding_failed22:57
*** piet has joined #openstack-ironic23:01
*** joprovost has quit IRC23:02
*** alaski_ is now known as alaski23:02
*** PollyZ_ has quit IRC23:03
*** ayoung has quit IRC23:07
*** garthb has quit IRC23:20
*** praneshp has quit IRC23:29
*** hoangcx has quit IRC23:37
*** chlong has quit IRC23:42
*** ayoung has joined #openstack-ironic23:44
*** piet has quit IRC23:45
*** piet has joined #openstack-ironic23:46
*** joprovost has joined #openstack-ironic23:50
openstackgerritRamamani Yeleswarapu proposed openstack/ironic: Centralize config options - [cimc]  https://review.openstack.org/30137623:56
openstackgerritRamamani Yeleswarapu proposed openstack/ironic: Centralize config options - [conductor]  https://review.openstack.org/30139923:56
openstackgerritRamamani Yeleswarapu proposed openstack/ironic: Centralize config options - [cisco_ucs]  https://review.openstack.org/30138223:56
openstackgerritRamamani Yeleswarapu proposed openstack/ironic: Centralize config options - [console]  https://review.openstack.org/29594623:56
*** sdake has quit IRC23:57
*** mbound has quit IRC23:59

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