Monday, 2014-12-01

*** anderbubble has quit IRC00:00
*** anderbubble has joined #openstack-ironic00:00
*** ryanpetrello has quit IRC00:13
*** ParsectiX has joined #openstack-ironic00:21
*** ParsectiX has quit IRC00:26
*** smoriya has joined #openstack-ironic00:32
*** alexpilotti has quit IRC00:33
*** Marga_ has joined #openstack-ironic00:33
*** Masahiro has joined #openstack-ironic00:33
*** Marga_ has quit IRC00:34
*** Masahiro has quit IRC00:38
*** zhenzanz has joined #openstack-ironic00:39
*** Marga_ has joined #openstack-ironic00:41
*** romcheg has quit IRC00:48
*** anderbubble has quit IRC00:58
*** Marga_ has quit IRC00:58
*** Marga_ has joined #openstack-ironic00:59
*** yongli has joined #openstack-ironic01:12
*** Guest41771 has joined #openstack-ironic01:14
*** Guest41771 is now known as annegentle01:15
*** yongli has quit IRC01:24
*** yongli has joined #openstack-ironic01:26
*** pcrews has joined #openstack-ironic01:36
*** nosnos has joined #openstack-ironic01:44
*** anderbubble has joined #openstack-ironic01:47
*** pcrews has quit IRC01:47
*** Marga_ has quit IRC01:56
*** yongli is now known as help02:03
*** help is now known as Guest4093702:04
*** Guest40937 is now known as heyongli02:04
*** ParsectiX has joined #openstack-ironic02:10
*** chenglch has joined #openstack-ironic02:11
NobodyCammorning mrda Haomeng|2 naohirot :)02:12
Haomeng|2NobodyCam: morning02:12
NobodyCam:-p02:12
naohirotNobodyCam: good morning!02:12
NobodyCam:)02:13
naohirotNobodyCam: good evening :-)02:13
NobodyCamhehehe02:13
NobodyCamall ready for the new meeting time :)02:14
*** Marga_ has joined #openstack-ironic02:14
*** ParsectiX has quit IRC02:14
naohirotNobodyCam: Yes, I'm ready too.02:15
*** ryanpetrello has joined #openstack-ironic02:17
naohirotNobodyCam: Unfortunately I cannot attend the first Asian/Australia friendly meeting next week :<02:18
*** Masahiro has joined #openstack-ironic02:22
mrdaNobodyCam: I didn't see the announcement.  /me checks the wiki02:25
mrdaAhh, I give my apologies for this week's meeting.  5:30am is doable, 3:30am (the new non-Asia TZ) is not :)02:26
*** Masahiro has quit IRC02:26
*** arif-ali has joined #openstack-ironic02:29
NobodyCammrda: but then next week should be much better02:31
*** chenglch has quit IRC02:42
*** chenglch has joined #openstack-ironic02:47
mrdaNobodyCam: yes, I think it's 7:30pm at night02:48
*** achanda has joined #openstack-ironic02:56
*** rushiagr_away is now known as rushiagr03:15
*** rushiagr is now known as rushiagr_away03:21
*** rushiagr_away is now known as rushiagr03:25
*** naohirot has quit IRC03:28
*** Masahiro has joined #openstack-ironic03:38
*** achanda has quit IRC03:39
*** achanda has joined #openstack-ironic03:39
*** achanda has quit IRC03:40
*** achanda has joined #openstack-ironic03:40
*** Masahiro has quit IRC03:43
*** achanda has quit IRC03:44
*** nosnos has quit IRC03:52
*** ParsectiX has joined #openstack-ironic03:59
*** naohirot has joined #openstack-ironic04:01
*** pensu has joined #openstack-ironic04:03
*** ParsectiX has quit IRC04:04
*** pensu has quit IRC04:11
*** Marga_ has quit IRC04:17
*** Masahiro has joined #openstack-ironic04:22
*** achanda has joined #openstack-ironic04:23
*** lazy_prince has quit IRC04:25
*** Marga_ has joined #openstack-ironic04:25
*** killer_prince has joined #openstack-ironic04:27
*** killer_prince is now known as lazy_prince04:27
*** ramineni has joined #openstack-ironic04:28
*** ryanpetrello has quit IRC04:28
*** heyongli has quit IRC04:36
*** heyongli has joined #openstack-ironic04:37
*** Marga__ has joined #openstack-ironic04:40
*** Marga_ has quit IRC04:44
*** nosnos has joined #openstack-ironic04:44
*** pradipta_away is now known as pradipta04:46
*** subscope has joined #openstack-ironic04:47
*** rushiagr is now known as rushiagr_away04:55
*** lazy_prince has quit IRC04:55
*** Masahiro has quit IRC04:57
*** killer_prince has joined #openstack-ironic04:57
*** killer_prince is now known as lazy_prince04:57
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Virtual Media Deploy Driver for Ironic  https://review.openstack.org/13486504:57
*** ParsectiX has joined #openstack-ironic05:00
*** achanda has quit IRC05:00
*** Masahiro has joined #openstack-ironic05:02
*** yuanying_ has joined #openstack-ironic05:03
*** ParsectiX has quit IRC05:04
*** yuanying has quit IRC05:06
*** heyongli has quit IRC05:09
*** heyongli has joined #openstack-ironic05:10
*** vinbs has joined #openstack-ironic05:18
*** pensu has joined #openstack-ironic05:28
*** rushiagr_away is now known as rushiagr05:40
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Management Driver for Ironic  https://review.openstack.org/13602005:45
openstackgerritNaohiro Tamura proposed openstack/ironic-specs: iRMC Power Driver for Ironic  https://review.openstack.org/13448705:49
*** nosnos has quit IRC05:58
*** heyongli has quit IRC05:58
*** nosnos has joined #openstack-ironic05:58
*** ParsectiX has joined #openstack-ironic06:00
*** ParsectiX has quit IRC06:01
*** chenglch|2 has joined #openstack-ironic06:01
openstackgerritMichael Davies proposed openstack/ironic-specs: Proposal to add logical names to Ironic nodes  https://review.openstack.org/13443906:03
*** chenglch has quit IRC06:04
*** heyongli has joined #openstack-ironic06:19
*** lazy_prince has quit IRC06:20
*** yonglihe has joined #openstack-ironic06:21
*** yonglihe has quit IRC06:21
*** dlpartain has joined #openstack-ironic06:21
*** rushiagr is now known as rushiagr_away06:25
*** nosnos_ has joined #openstack-ironic06:29
*** nosnos has quit IRC06:29
*** achanda has joined #openstack-ironic06:35
*** subscope has quit IRC06:47
*** dlpartain has quit IRC06:48
*** Marga__ has quit IRC06:53
*** rushiagr_away is now known as rushiagr06:54
*** chenglch|2 has quit IRC06:57
*** heyongli has quit IRC06:59
*** achanda has quit IRC06:59
*** achanda has joined #openstack-ironic07:00
*** chenglch has joined #openstack-ironic07:04
*** achanda has quit IRC07:05
*** Masahiro has quit IRC07:06
*** Masahiro has joined #openstack-ironic07:10
*** rameshg87 has joined #openstack-ironic07:14
*** Nisha has joined #openstack-ironic07:23
*** jcoufal has joined #openstack-ironic07:24
*** k4n0 has joined #openstack-ironic07:24
rameshg87naohirot, hi07:27
naohirotrameshg87: Hi07:27
rameshg87naohirot, i have proposed to refactor the current virtual media driver to abstract out the virtual-media-implementation07:29
rameshg87naohirot, i need it for adding support for testing virtual-media with vms07:29
rameshg87naohirot, https://review.openstack.org/#/c/137933/07:29
rameshg87naohirot, i think your driver for iRMC can also make use of the virtual media driver once it is abstracted out07:29
* naohirot reading the spec07:29
* naohirot read through once07:34
naohirotrameshg87: Is it solely for testing purpose?07:35
rameshg87naohirot, i would like to refactor it out because i want to add virtual media support in vms07:35
rameshg87naohirot, if i refactor virtual-media-implementation out of the virtual-media driver, then i think it can be used by you also07:36
rameshg87naohirot, main difference of iLO vs iRMC it attaches as virtual media - iLO needs http whereas iRMC needs nfs07:37
rameshg87naohirot, if we abstract how to connect a file as virtual media OR how to connect a glance image as virtual media, then the rest is common07:37
naohirotrameshg87: Yes, I understood your intention of refactoring, but my question is "is it for facilitating the virtual media testing?"07:38
rameshg87naohirot, yes07:38
rameshg87naohirot, that's my intention :)07:38
naohirotrameshg87: Okay, I understood the purpose too.07:40
naohirotrameshg87: "if we abstract how to connect a file as virtual media OR how to connect a glance image as virtual media", in this sentence07:42
naohirotrameshg87: I can imagine "how to connect a file as virtual media"07:42
*** killer_prince has joined #openstack-ironic07:42
*** killer_prince has quit IRC07:42
naohirotrameshg87: but I cannot imagine "how to connect a glance image as virtual media", is it possible?07:43
*** lazy_prince has joined #openstack-ironic07:43
*** lazy_prince has quit IRC07:43
naohirotrameshg87: because iRMC cannot deal with HTTP07:43
*** lazy_prince has joined #openstack-ironic07:44
rameshg87naohirot, yeah, that's my point with virtual media as well07:44
rameshg87naohirot, even kvm virtual machine cannot connect glance image as virtual media07:45
rameshg87naohirot, kvm virtual machine can attach only a local file on the host as virtual media07:45
naohirotrameshg87: Aha, the abstracted layer converts "mount request" to either HTTP for iLO or NFS for iRMC?07:45
rameshg87naohirot, yes07:45
rameshg87naohirot, so it's upto respective drivers to implement this portion07:46
rameshg87naohirot, you may implement to download the glance image to conductor and expose to the nodes over nfs07:47
naohirotrameshg87: Okay, that's nice :)07:47
rameshg87naohirot, even for virtual machines i might need to do the same thing07:47
rameshg87naohirot, i am planning to propose a single shared filesystem across all conductor and all virtual machine hosts07:47
rameshg87naohirot, let's call it <SHARED>07:48
naohirotrameshg87: how do you make KVM mount iLO virtual media?07:48
rameshg87naohirot, each conductor can have a directory inside <SHARED>07:48
rameshg87naohirot, if a conductor wants to expose a glance image as virtual media07:48
rameshg87naohirot, it will download the image and put it inside <SHARED>/<CONDUCTOR-NAME>/<NODE-UUID>/image07:49
rameshg87naohirot, the same will be accessible on the kvm host as well07:49
rameshg87naohirot, since nfs support soft-links, we can create an ImageCache within  <SHARED>/<CONDUCTOR-NAME>/ which will enable to share images for several vms managed by a single conductor07:50
naohirotrameshg87: I see, coping glance image into the <SHARED> enable for KVM to mount?07:51
*** pradipta is now known as pradipta_away07:51
rameshg87naohirot, yeah because <SHARED> is visible in kvm host as well07:51
naohirotrameshg87: what kind of protocol does KVM use to mount the image in <SHARED>?07:52
naohirotrameshg87: Aha, KVM host mount the <SHARE> as a local file system via NFS, but not KVM guest.07:54
*** andreykurilin_ has joined #openstack-ironic07:55
rameshg87naohirot, yes07:55
rameshg87naohirot, anything inside <SHARED> will be seen as a local file07:55
rameshg87naohirot, so we can attach anything inside <SHARED> as virtual media to kvm guests07:56
naohirotrameshg87: that's good, I like the idea <SHARED> :-)07:57
rameshg87naohirot, :)07:57
*** yuriyz has quit IRC07:58
rameshg87naohirot, if you are interested, you can try to use the same refactored-driver as well :)07:59
naohirotrameshg87: Yes, of course. I haven't started coding my part yet.08:00
rameshg87naohirot, okay.08:01
naohirotrameshg87: I have no problem to follow the abstracted virtual media I/F.08:01
rameshg87naohirot, i will just wait for everyone to put their thoughts on my spec08:01
rameshg87naohirot, if it goes through, you can propose a spec dependent on mine and we can achieve this08:02
*** Nisha has quit IRC08:02
naohirotrameshg87: Okay.08:02
naohirotrameshg87: I think it is easier for deployer to understand if there is the <SHARED> concept.08:04
rameshg87naohirot, yes08:04
*** yuriyz has joined #openstack-ironic08:04
rameshg87naohirot, and if each conductor has a directory inside <SHARED>, i don't think there will be issues with locking across multiple conductors08:05
naohirotrameshg87: so are you going to mention this in Monday IRC meeting?08:05
rameshg87naohirot, yeah i can do08:06
naohirotrameshg87: Okay08:06
*** Masahiro has quit IRC08:06
rameshg87naohirot, but i just posted the spec yesterday. i would like to give some time, so that everyone takes a look at short spec08:06
*** ramineni1 has joined #openstack-ironic08:06
rameshg87naohirot, brb08:07
*** rameshg87 is now known as rameshg87-lunch08:07
*** ramineni has quit IRC08:08
naohirotrameshg87: Yes, just mentioning that new spec has been posted is enough08:08
*** Masahiro has joined #openstack-ironic08:12
*** Nisha has joined #openstack-ironic08:14
*** rameshg87-lunch is now known as rameshg8708:16
*** mrda is now known as mrda-away08:16
*** anderbubble has quit IRC08:22
*** andreykurilin_ has quit IRC08:37
*** ekarlso- has quit IRC08:52
*** ndipanov has joined #openstack-ironic08:55
*** jistr has joined #openstack-ironic09:00
*** zhenzanz has quit IRC09:02
*** romcheg has joined #openstack-ironic09:07
*** Dafna has joined #openstack-ironic09:07
*** lucasagomes has joined #openstack-ironic09:08
*** ekarlso- has joined #openstack-ironic09:09
*** derekh has joined #openstack-ironic09:19
rameshg87lucasagomes, hi09:21
*** MattMan has joined #openstack-ironic09:27
*** nosnos_ has quit IRC09:31
*** nosnos has joined #openstack-ironic09:31
*** dtantsur|afk is now known as dtantsur09:32
dtantsurMorning Ironic, happy 1st winter day :)09:33
*** athomas has joined #openstack-ironic09:40
*** stendulker has joined #openstack-ironic09:45
lucasagomesrameshg87, hi there09:45
lucasagomesdtantsur, morning :)09:45
* lucasagomes will escape winter soon09:45
dtantsurlucasagomes, o/ how was your trip back?09:45
lucasagomesdtantsur, was good :) no surprises09:46
dtantsurheh I like the christmas market part of the winder :)09:46
lucasagomesdtantsur, yours?09:46
lucasagomesoh yeah! that xmas market in paris was great actually09:46
dtantsurlucasagomes, pretty good, with the exception of a crazy man who simulated heart problems to get out of the bus on the intermediate station09:46
lucasagomeshah damn09:47
dtantsurlucasagomes, one in Brno is much better, I promise :)09:47
dtantsuryou have to come here next winter09:47
lucasagomesoh really? nice!09:47
stendulkerdtantsur: Hi09:47
lucasagomesindeed!09:47
dtantsurstendulker, o/09:47
lucasagomesthey have a xmas market here but it's pretty small09:48
stendulkerdtantsur: Have addressed all your comments for spec review of secure boot feature in iLO https://review.openstack.org/#/c/13522809:48
dtantsuroh cool09:48
stendulkerdtantsur: have raised separate spec for management interfaces for secure boot https://review.openstack.org/#/c/13584509:48
dtantsurlemme find some time, I just returned from the business trip and have an extreme amount of things to do :)09:48
dtantsurok I'll have a look later09:49
stendulkerdtantsur : ok09:49
*** igordcard has joined #openstack-ironic09:49
stendulkerdtantsur: thank you.09:49
*** openstackgerrit has quit IRC09:50
stendulkerlucagomes: Hi09:50
*** openstackgerrit has joined #openstack-ironic09:50
stendulkerlucasgomes: Have added you as a reviewer for spec - Ironic Management Interfaces to support UEFI Secure Boot https://review.openstack.org/#/c/135845 .09:51
*** nosnos has quit IRC09:52
stendulkerlucasgomes: Devananda wanted this spec to be reviewed by developers that support other hardware vendor09:52
*** Masahiro has quit IRC09:52
*** sambetts has joined #openstack-ironic09:55
openstackgerritMerged openstack/ironic: Add decorator that requires a lock for Drac management driver  https://review.openstack.org/13771309:56
*** nosnos has joined #openstack-ironic09:58
*** Masahiro has joined #openstack-ironic10:04
*** naohirot has quit IRC10:08
dtantsurlucasagomes, I just realized Imre is on PTO this week. May I use you for discoverd reviews?10:11
lucasagomesdtantsur, ok yeah10:13
dtantsurthanks :) I don't want to get back to self-approving...10:13
*** Nisha has quit IRC10:14
*** yuanying has joined #openstack-ironic10:14
lucasagomesheh I can figure :) no problem add me and I will review it10:15
*** yuanying_ has quit IRC10:17
*** pelix has joined #openstack-ironic10:18
openstackgerritTan Lin proposed openstack/ironic: Fixed typo in Drac management driver test  https://review.openstack.org/13802810:20
*** yuanying has quit IRC10:26
dtantsurlucasagomes, please start with https://review.openstack.org/#/c/137649/ once you have time, you already saw it10:26
* lucasagomes clicks10:27
* dtantsur breakfast time10:27
*** yuanying has joined #openstack-ironic10:27
*** jerryz has joined #openstack-ironic10:32
rameshg87lucasagomes, hi10:32
rameshg87lucasagomes, i didn't get your comment on https://review.openstack.org/#/c/137567/10:33
rameshg87lucasagomes, "One thing that may need to happen to this work is to make the "ipappend 3" line from the pxe templates, but I believe it will be included when the full spec is posted."10:33
lucasagomesrameshg87, hi there10:33
lucasagomeslemme re-read10:33
rameshg87lucasagomes, did you mean to put "ipappend 3" should be put in all our pxe templates ?10:33
lucasagomesoh make that line optional10:33
lucasagomesif you add "ipappend 3" it will automatically add the ip= BOOTIF=10:34
lucasagomesto the kernel cmdline10:34
rameshg87lucasagomes, yeah, but i still didn't get it :)10:34
lucasagomesin ur spec, ur proposing adding it via Ironic directly right? (ask neutron for the ip and add it as part of the deploy)10:34
rameshg87lucasagomes, yes10:35
rameshg87lucasagomes, but only for virtual media driver10:35
lucasagomesso idk if u add it directly + leave the ipappend 3 there, it will add those line twice10:35
lucasagomesoh10:35
lucasagomesindeed!10:35
lucasagomesforgot the virtual media10:35
lucasagomesx.x10:35
rameshg87lucasagomes, :)10:36
lucasagomesrameshg87, right yeah makes no sense for virtual media10:36
rameshg87lucasagomes, so i don't have any change for any of pxe drivers in mind10:36
*** vdrok_ has joined #openstack-ironic10:36
lucasagomesrameshg87, right, it's grand10:36
rameshg87lucasagomes, the change is only for virtual media where you send the ip details via the config file10:36
lucasagomesyeah, I missed that part10:37
rameshg87lucasagomes, similar to what config-drive might do10:37
rameshg87lucasagomes, okay10:37
lucasagomessorry for that10:37
rameshg87lucasagomes, i will post full spec10:37
lucasagomes+1 :)10:37
rameshg87lucasagomes, thanks :)10:37
lucasagomesyw10:37
*** alexpilotti has joined #openstack-ironic10:43
* pensu finally deployed a baremetal node using Ironic. Feeling happy!10:53
ramineni1dmitry, lucasagomes : could you review https://review.openstack.org/#/c/129529/ also , if you have some time10:55
ramineni1dtantsur, lucasagomes: could you review https://review.openstack.org/#/c/129529/ also , if you have some time10:56
lucasagomesack10:56
dtantsuryeah10:56
*** smoriya has quit IRC11:01
ramineni1lucasagomes, dtantsur: thanks :)11:04
*** Masahiro has quit IRC11:04
*** ramineni1 has quit IRC11:05
*** dlpartain has joined #openstack-ironic11:05
*** Ariz has joined #openstack-ironic11:06
dtantsurpensu, congrats!11:06
dtantsurlucasagomes, hmm, good point about updating ports... I don't know how to implement it for now...11:06
*** Ariz has quit IRC11:07
dtantsur(chassis is out of consideration for now, because discoverd does not touch them)11:07
lucasagomesdtantsur, yeah, I'm fine with the current code, but was wondering whether we want to think a bit in have it more generic for other resources11:07
*** rameshg87 has quit IRC11:07
lucasagomesin case we need it later and still have to be backward compat11:07
*** Ariz has joined #openstack-ironic11:08
lucasagomesperhaps returning a json patch for each resource11:08
lucasagomeslike a named tuple11:08
lucasagomes(node, port)11:08
*** Masahiro has joined #openstack-ironic11:08
* lucasagomes not sure either11:08
dtantsurlucasagomes, that is, a patch for each port as well? maybe...11:08
lucasagomesor even passing the instance of the ironic client to the plugins11:08
lucasagomesso they can pretty much do what needs to be done11:08
lucasagomesdtantsur, yeah :/11:09
dtantsurlucasagomes, I wanted to avoid too many calls to Ironic update API. Plugins could already call get_ironic() and do whatever they want with the client11:09
dtantsur(or is it get_client?)11:09
lucasagomesheh get_client may be a better name11:09
dtantsurlucasagomes, so for a node it makes sense to collect all patches and then issue them at once. for port I'm not calling update right now though11:10
lucasagomesyeah11:10
lucasagomesI was even considering plugins is generic enough, all that logic of updating the properties in the node and creating ports11:10
lucasagomescould live in a plugin11:10
lucasagomesbut maybe I'm going too far :D11:11
lucasagomesI'm good as-is on that patch anyway, added the suggestion just in case11:11
dtantsurlucasagomes, with updating node - why not? :) creating a port is not an idempotent operation though11:11
dtantsurlucasagomes, I'd prefer to make it as good as it's possible right now11:12
lucasagomesaight11:12
lucasagomesu want me to approve ? (to avoid the self-approving thing)11:12
*** subscope has joined #openstack-ironic11:12
dtantsurlucasagomes, not now11:14
dtantsurlucasagomes, what about new suggestion here: https://blueprints.launchpad.net/ironic-discoverd/+spec/plugin-architecture ?11:14
* lucasagomes reads11:14
pensudtantsur: thanks! :)11:14
lucasagomesdtantsur, right, as u pass the node objects, you may want to pass the port objects as well to the post_discover11:15
lucasagomesbut for that, you may need to create the ports before11:15
dtantsuroh right, forgot11:15
dtantsuryes, we can rearrange11:15
lucasagomesand then pass it to that function11:15
lucasagomesright11:15
lucasagomesit sounds better, more flexible at least11:15
lucasagomesas part of the discover, people may want to classify each port11:16
dtantsurlucasagomes, updated11:16
dtantsurhow does it look now?11:16
lucasagomes"used for deployement", "used for production"11:16
* lucasagomes refreshs11:16
*** dlpartain has quit IRC11:16
lucasagomessounds good :)11:17
lucasagomesjust being picky, I would rename node_info to "discovered_data" or something like that11:17
stendulker1lucasgomes: thank you. Had to go away for a meeting.11:17
dtantsurlucasagomes, thanks, will update.11:17
dtantsur(that's why we need reviews :)11:17
lucasagomesdtantsur, heh ack11:17
stendulkerlucasgomes: thank you. Had to go away for a meeting.11:17
lucasagomesstendulker, :) thanks for what?11:17
stendulkerlucasgomes: For accepting  spec review related to secure boot11:18
lucasagomesah11:19
* lucasagomes have to review that too11:19
stendulkerlucasgomes: Or i interpreted someone lesle's message as acceptance for my review :)11:20
dtantsurlucasagomes, when you have more time, please have a look at https://review.openstack.org/#/c/137418/ and the remaining chain11:20
stendulkerlucasgomes : Can you please review this spec: -  Ironic Management Interfaces to support UEFI Secure Boot https://review.openstack.org/#/c/13584511:21
lucasagomesright, I need first to get my head around what was decided last week, I only reviewed stuff today11:21
*** Masahiro has quit IRC11:21
*** jcoufal has quit IRC11:22
stendulker;lucagomes: Have added you as reviewer based on Devanand's comment of having it reviewed from the devlopers that work on diffrent ardware vendor to see thes proposed management APIs would be useful in different hardware vendors.11:22
lucasagomesstendulker, sure, thanks!11:23
stendulkerthank you lucagomes :)11:23
*** stendulker has quit IRC11:24
*** vinbs has quit IRC11:32
*** foexle has joined #openstack-ironic11:36
dtantsurlucasagomes, updated https://review.openstack.org/#/c/13764911:47
dtantsurpatch to display new revisions of discoverd here hasn't merged yet :(11:47
lucasagomesdtantsur, ack, I will take a look a later on, finishing expensing things and looking at things we decide last week11:48
lucasagomesthe disk stuff11:48
lucasagomesI probably will add it to the meeting today11:49
dtantsurof course, take your time :)11:49
lucasagomescheers11:49
dtantsuroh it's probably late to add things to the meeting11:49
dtantsurand btw I like your idea about making the default discovery logic a plugin, will implement :)11:50
lucasagomes:D11:51
lucasagomesyeah, cause u never know, ppl may want to use it for diff proposes so making it flexible sounds good to me :)11:51
*** jerryz has quit IRC11:56
*** nosnos has quit IRC12:09
*** naohirot has joined #openstack-ironic12:10
*** lucasagomes is now known as lucas-hungry12:11
*** nosnos has joined #openstack-ironic12:11
dtantsurlucas-hungry, seen the meeting agenda? We're going to talk about state machine, you may want to jump in with the updates suggestion12:16
*** foexle has quit IRC12:16
*** Masahiro has joined #openstack-ironic12:22
*** bradjones has quit IRC12:26
*** Masahiro has quit IRC12:26
*** bradjones has joined #openstack-ironic12:27
*** nosnos has quit IRC12:29
*** rameshg87 has joined #openstack-ironic12:32
*** LuisArizmendi has joined #openstack-ironic12:33
*** rameshg87 has quit IRC12:33
*** Ariz has quit IRC12:37
*** nosnos has joined #openstack-ironic12:37
*** ryanpetrello has joined #openstack-ironic12:40
*** nosnos has quit IRC12:45
*** igordcard has quit IRC12:50
*** pensu has quit IRC12:52
*** dtantsur is now known as dtantsur|brb12:55
lucas-hungrydtantsur|brb, yup13:01
lucas-hungrydtantsur|brb, we need to finish the document first, but I can throw in the inital ideas13:01
*** lucas-hungry is now known as lucasagomes13:01
*** enterprisedc has joined #openstack-ironic13:03
*** erwan_taf has joined #openstack-ironic13:03
erwan_tafheya world13:06
lucasagomesyo :)13:06
erwan_tafhey lucasagomes13:06
lucasagomeserwan_taf, you may wanna join the meeting today (17 UTC)13:06
*** Haomeng has joined #openstack-ironic13:07
*** Haomeng|2 has quit IRC13:07
*** dprince has joined #openstack-ironic13:12
*** krtaylor has quit IRC13:23
*** krtaylor has joined #openstack-ironic13:38
*** sambetts has quit IRC13:41
*** sambetts has joined #openstack-ironic13:42
*** chenglch has quit IRC13:56
*** LuisArizmendi has quit IRC13:57
*** jjohnson2 has joined #openstack-ironic13:57
*** dtantsur|brb is now known as dtantsur14:00
dtantsurerwan_taf, o/14:00
erwan_tafdtantsur: _o/14:00
*** mjturek has joined #openstack-ironic14:01
*** rloo has joined #openstack-ironic14:09
*** Masahiro has joined #openstack-ironic14:10
*** dlaube has joined #openstack-ironic14:10
*** dlaube1 has joined #openstack-ironic14:11
*** dlaube has quit IRC14:11
*** Masahiro has quit IRC14:15
erwan_taflucasagomes: I'll be sadly very few avail. this week, I'll try my best being on the meeting14:21
*** igordcard has joined #openstack-ironic14:22
erwan_taflucasagomes: can you have a look for adding the create state in the state machine ?14:22
lucasagomeserwan_taf, oh no problem14:23
erwan_tafthx lucasagomes14:25
*** sambetts has quit IRC14:25
openstackgerritJim Mankovich proposed openstack/ironic-specs: Remove Sensor RecordID from IPMI Sensor ID  https://review.openstack.org/13007014:28
*** sambetts has joined #openstack-ironic14:28
*** sambetts has quit IRC14:31
*** Jatin360 has joined #openstack-ironic14:33
*** alexpilotti has quit IRC14:53
NobodyCamgood morning ironic says the man just waking up14:56
dtantsurNobodyCam, morning14:58
*** dlaube1 has quit IRC14:59
NobodyCammorning dtantsur15:00
lucasagomesNobodyCam, yo morning15:00
NobodyCammorning lucasagomes15:00
*** alexm__ has quit IRC15:01
*** ryanpetrello has quit IRC15:02
NobodyCamlucasagomes: you pullremoved your topic from the agenda?15:03
*** dlaube has joined #openstack-ironic15:04
lucasagomesNobodyCam, hey, it was from last week no?15:04
lucasagomes(tho I coulnd't participate last week)15:04
NobodyCamya we had it there for you :)15:04
NobodyCamits all good!15:04
* lucasagomes will read all the logs15:05
*** smoriya has joined #openstack-ironic15:05
NobodyCam:)15:05
jrollmorning NobodyCam lucasagomes dtantsur and everyone else :)15:10
lucasagomesjroll, yo, hey lemme ask u something quick15:10
* jroll listens15:10
lucasagomesjroll, r u working ont he configdrive for other drivers other than IPA too?15:10
* lucasagomes needs it for pxe_ipmitool 15:11
jrolllucasagomes: I was planning on it, yeah15:11
lucasagomesjroll, ah great :)15:11
jrolldeva and I talked about partition images a bit15:11
jrolltl;dr deciding where/how to put it there is hard15:11
jrollbecause rebuild15:11
jrollbuild without configdrive, rebuild with configdrive will be a problem15:11
lucasagomesoh right (1 sec in a call)15:11
jrollso we talked about always laying it down15:12
jrollsometimes empty15:12
jrollsure, no worries15:12
* jroll reading scrollback from a million channels15:12
*** viktors has joined #openstack-ironic15:12
*** ChuckC has quit IRC15:14
*** ChuckC has joined #openstack-ironic15:14
*** ryanpetrello has joined #openstack-ironic15:15
*** k4n0 has quit IRC15:16
*** dlpartain has joined #openstack-ironic15:17
*** Jatin360 has quit IRC15:17
NobodyCammorning jroll15:18
jroll\o15:18
*** alexpilotti has joined #openstack-ironic15:19
vdrok_hi everyone!15:20
openstackgerritRamakrishnan G proposed openstack/ironic-specs: Add support for VirtualBox WebService.  https://review.openstack.org/13792615:20
*** ChuckC has quit IRC15:20
*** naohirot has quit IRC15:22
*** vdrok has quit IRC15:22
jrollhiya vdrok_ :)15:23
*** vdrok_ is now known as vdrok15:23
vdrokhi jroll ! :)15:23
NobodyCammorning vdrok15:24
vdrokmorning NobodyCam15:24
*** alexpilotti has quit IRC15:25
*** alexpilotti has joined #openstack-ironic15:26
NobodyCam:) brb15:29
openstackgerritRamakrishnan G proposed openstack/ironic-specs: iLO virtual media drivers to deploy without DHCP  https://review.openstack.org/13756715:30
*** lazy_prince is now known as killer_prince15:34
dtantsurjroll, vdrok, hi!15:35
lucasagomesjroll, back... so how it works for nova?15:35
jrollheya dtantsur :)15:35
vdrokevening dtantsur !15:35
lucasagomesvdrok, morning15:35
vdrokhi lucasagomes15:36
lucasagomesjroll, in nova you can rebuild and ask for a config drive? maybe we can add it as a limitation of Ironic15:36
jrolllucasagomes: nova builds the configdrive ISO, uploads it to swift, ironic will pull it down15:36
jrolllucasagomes: probably?15:36
lucasagomesjroll, how we identify the configdrive partition in ironic? does it have a particular label?15:36
jrolllucasagomes: afaik, in virt world, it's just mounted to the guest as another block device, through the hypervisor (this may be a wild guess) :)15:36
jrolllucasagomes: yep, config-215:36
lucasagomesif so, as part of the rebuild we can look at that label and try to find it15:36
lucasagomesif not we build the config partition15:36
lucasagomeswe can make sure that it's always the last partition for e.g15:37
jrolllucasagomes: right, but you don't want to touch the partition table on a rebuild right?15:37
*** dlpartain has quit IRC15:37
lucasagomesjroll, I believe we do it, but we just regenrate it at the exactly same offsets15:37
jrollsomeone smarter than me (JayF or devananda) told me that it might break bootloaders if it's the last partition or something15:37
jrolldunno if I'm remembering correctly15:37
lucasagomeshmm15:38
lucasagomesright, yeah we can dig into it15:38
openstackgerritRamakrishnan G proposed openstack/ironic-specs: Add support for VirtualBox WebService.  https://review.openstack.org/13792615:38
lucasagomesjroll, NobodyCam another thing https://bugs.launchpad.net/ironic/+bug/139798815:38
lucasagomesdoes it makes sense to you guys? being able to select the root device to put the image on? for servers with multiple disks (non-RAID)15:39
lucasagomesor even RAID but not across all the disks15:39
jrollI mean15:39
* lucasagomes needs it15:39
jrollin a way, yes15:39
jrollI don't think the user should be able to choose15:39
lucasagomesnot the user15:39
jrollbut maybe node.properties can point to it15:39
lucasagomesbut the operator15:39
jrollor something15:39
lucasagomesyeah, it's not something the user will request as part of the nova boot or anything15:40
dtantsurwell, there should be at least some way to specify a disk15:40
jrollok yeah15:40
*** dlaube has quit IRC15:40
jrolldtantsur: by the user?15:40
lucasagomesbut operators may need a interface to say, that disk is the root device for the image installation15:40
lucasagomesjroll, ack15:40
jroll++15:40
*** dlaube has joined #openstack-ironic15:40
jrolltotally agree there15:41
dtantsur^^^ ++15:41
jrollleft a comment on that bug that the operator should specify it15:41
*** killer_prince is now known as lazy_prince15:42
lucasagomescool I put a update there15:42
lucasagomesjroll, ta much!15:42
jroll:)15:42
openstackgerritMerged openstack/ironic: Ilo tests refactoring  https://review.openstack.org/13777515:43
*** pcrews has joined #openstack-ironic15:44
*** lazy_prince is now known as killer_prince15:46
*** smoriya has quit IRC15:46
*** ndipanov has quit IRC15:50
NobodyCamlucasagomes: where you looking in to a ipmi to system command deamon thingy?15:51
lucasagomesNobodyCam, I had no time to actually do anything else with it :(15:52
lucasagomesNobodyCam, I will try to find the code I had (which is messy)15:52
lucasagomesand give ya15:52
NobodyCamhappy to take a look and see whats I can do to help :)15:53
lucasagomesyeah that's actually a fun thing to do :D15:54
lucasagomestho I haven't looked into using anything from pyghmi15:54
lucasagomesit may worth to check and see if something can be used from it15:54
*** ndipanov has joined #openstack-ironic15:57
NobodyCamjjohnson2: was looking into such things but I think he's being pulled in several directions at the same time :-p15:58
jjohnson2NobodyCam, hello15:58
jjohnson2mentioning my name is like the batsignal, except someone far less cooler comes along15:59
*** Masahiro has joined #openstack-ironic15:59
jrolllol16:01
NobodyCamlol16:02
NobodyCamHey jjohnson2 have you had a chance to look at the ipmi to command thingy16:02
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Implement server side IPMI protocol (WIP)  https://review.openstack.org/13810916:03
jjohnson2not really16:03
jjohnson2though I enjoyed timing that16:03
NobodyCamlol16:03
NobodyCamlucasagomes: ^^^^16:04
*** Masahiro has quit IRC16:04
dtantsurlucasagomes, a friendly reminder to reduce number of outstanding discoverd patches :) pleeeeeease16:04
lucasagomesNobodyCam, hah lol16:04
lucasagomesdtantsur, looking now :016:04
lucasagomes:*16:04
lucasagomes:)*16:04
lucasagomesdamn >.<16:04
NobodyCamlol16:04
lucasagomestyping is hard16:04
dtantsursmiling is hard :)16:05
NobodyCamit monday after a holiday16:05
NobodyCamit's even16:05
dtantsurit's monday. period16:05
dtantsur(actually a monday after a week-long business trip)16:05
NobodyCamoh fresh coffee is ready .. brb16:07
*** Nisha has joined #openstack-ironic16:10
NobodyCamahh second cup!16:12
jroll\o/16:12
*** yuanying_ has joined #openstack-ironic16:14
NobodyCamhehe16:16
*** yuanying has quit IRC16:16
NobodyCamoh lucasagomes any ews on the name?16:19
*** anderbubble has joined #openstack-ironic16:19
NobodyCam*news16:19
lucasagomesNobodyCam, ohhhh will send the email :D16:20
lucasagomesthanks for the reminder16:20
NobodyCam:p16:20
lucasagomesI will pick the 5 ones most voted16:20
lucasagomesand put in a pool :)16:20
lucasagomesthere's a pool system on g+ should I just use that? Or u guys know any other good one?16:20
NobodyCamthere is a list on the whilteboard16:20
lucasagomesvote on the whiteboard?16:21
lucasagomesah awesome!16:22
lucasagomesidk who did it but looks pretty good haha16:22
NobodyCamno no I put a count of votes on the white board16:22
lucasagomesNobodyCam, ah ta much!16:22
NobodyCamfor quick off the cuff votes I like  http://doodle.com/16:22
* lucasagomes clicks16:23
NobodyCambut I think that just scheduling stuff16:23
lucasagomesso we actually have 6 names as finalists16:23
lucasagomescause the 4 last ones have 2 votes each16:23
lucasagomesI think it's grand we can decide on those 6 them :)16:24
lucasagomesthen*16:24
devanandamorning, all16:27
jrollhiya devananda16:27
openstackgerritYuriy Zveryanskyy proposed openstack/ironic-specs: Add a new driver for Fuel Agent  https://review.openstack.org/13811516:27
devanandadoodle ++16:28
lucasagomesdevananda, morning16:28
* lucasagomes is creating a doodle acc16:28
*** naohirot has joined #openstack-ironic16:28
openstackgerritOleksii Chuprykov proposed openstack/ironic-python-agent: Use oslo.utils and oslo.concurrency  https://review.openstack.org/13811616:28
devanandammm, early monday morning conference calls ...16:28
* devananda multitasks16:29
jrollsigh, why can't we improve IPA instead of using fuel-agent16:29
jrollyuriyz: ^16:30
NobodyCammorning devananda : are you going to make the new meeting time?16:30
devanandayes16:30
*** ChuckC has joined #openstack-ironic16:30
NobodyCam:)16:30
dtantsurone more ramdisk, dear god Oo16:31
dtantsurdevananda, o/16:31
yuriyzjroll, i think fuel-agent will be an alternative16:31
PaulCzarblerg, seeing some weird ssh_agent stuff .   on a new install I get 'SSH connect failed: not a valid EC private key file'16:31
NobodyCamare the status updates all up to date?16:32
PaulCzarI can ssh -i /opt/stack/ironic/key user@host from the ironic user16:32
devanandayuriyz: what is the benefit to fuel over ipa ?16:32
jrollyuriyz: as I understand it, fuel-agent is basically IPA plus advanced partitioning?16:32
jrollyuriyz: we *want* IPA to do partitioning etc16:32
NobodyCamPaulCzar: what are you sshing to?16:32
yuriyzjroll, devananda, please read a spec16:32
jrollyuriyz: I did read the spec, it sounds like this is needed because IPA doesn't do partitions and RAID16:33
PaulCzarNobodyCam: running in virtualbox, sshing back to my mac so it can use the virtualbox commands to spin up the ironic node16:33
*** stendulker has joined #openstack-ironic16:33
jrollPaulCzar: are you sure driver_info has the correct path to the key? the key doesn't have a passphrase, right?16:33
PaulCzarcorrect16:34
NobodyCamand the key is in your authorized_keys files16:34
NobodyCamfile*16:34
PaulCzaryeah as I said I can run ssh as the ironic user and it connects fine using the key16:34
yuriyzjroll, yes but there is already a working production-ready solution with fuel-agent16:35
PaulCzarthe error suggests its a problem with reading the key itself16:35
NobodyCamfile perms?16:35
jrollPaulCzar: permissions?16:35
jrollyeah16:35
jrollyuriyz: hmm, I don't like it, I guess I will see what others think16:36
lucasagomesNobodyCam, seems like I've to invite people to participate with doodle :/16:37
* lucasagomes wants something public16:37
yuriyzjroll, I think should be an alternative for people (not only IPA)16:37
lucasagomesoh no.... it seems fine16:37
yuriyzand Fuel Agent driver wil16:38
NobodyCamlucasagomes: :(16:40
lucasagomesNobodyCam, it works :) I was confused by the interface16:40
yuriyzand Fuel Agent driver will not change any interface, external or internal16:40
PaulCzarjroll: NobodyCam nope .. doesn't seem to be perms16:41
PaulCzarhttps://gist.github.com/paulczar/4c640100b303b445a54e16:41
*** ryanpetrello_ has joined #openstack-ironic16:41
NobodyCamhumm16:42
NobodyCamwhat user is the conductor running as?16:43
*** ryanpetrello has quit IRC16:43
*** ryanpetrello_ is now known as ryanpetrello16:43
openstackgerritVictor Lowther proposed openstack/ironic-specs: New Ironic provisioner state machine.  https://review.openstack.org/13382816:43
*** achanda has joined #openstack-ironic16:43
lucasagomesall http://doodle.com/9h4ncgx4etkyfgdw16:44
lucasagomes:D please vote and help us pick the best name16:44
yuriyzwe have two IPMI drivers (ipminative and ipmitool), and new agent is not bad idea I think16:44
* lucasagomes sent to the mailist too16:44
erwan_tafthx lucasagomes16:47
erwan_taflucasagomes: your drawing is really fun16:47
lucasagomeserwan_taf, hah thanks?16:47
PaulCzarNobodyCam: conductor and api are both running as the ironic user16:50
PaulCzarjust added comment to the gist ... I can use paramiko to connect fine ... which is I believe used by the ssh_agent16:51
dtantsurlucasagomes, "Please add your launchpad ID on the Name Field." <-- already failed this one :)16:51
lucasagomesdtantsur, it's all good :D16:51
jrollPaulCzar: no paramiko, it just shells out16:51
*** ifarkas has joined #openstack-ironic16:53
dtantsurgood topic for the next meeting: whether we need moar vm drivers, like: https://review.openstack.org/#/c/13792616:54
PaulCzarjroll: sure about that?  https://github.com/openstack/ironic/blob/master/ironic/common/utils.py#L105-L13416:54
NobodyCamwhat meeting room are we in?16:55
lucasagomesdtantsur, +116:55
lucasagomesNobodyCam, -316:55
jroll"Some developers are forced to run Windows on their office laptop." omg I'm so sorry16:55
lucasagomeslol16:55
dtantsurjroll, ++16:55
jrollPaulCzar: oops :)16:55
devananda"VirtualBox comes with a very friendly WebService to manage the VMs remotely"  <-- ick16:55
devanandajroll: lolol16:55
dtantsurwe need more SOAP in Ironic :)16:56
jrollso16:56
jrollI tend to think those folks should just do nested virt for testing16:56
jrollthough I see the value in not doing that16:56
dtantsurI've heard ideas about using IPMI proxy and dropping vm drivers16:57
dtantsurif we do so, this effort will be in vain16:57
NobodyCamwe should add that to the meeting wiki page16:57
ShrewsNobodyCam: #openstack-meeting-3, yes?16:57
devanandadtantsur: I believe, jang has been the one talking about that - do you know if he's made any progress?16:57
dtantsurNobodyCam, for the next meeting, right?16:57
dtantsurno idea :(16:58
NobodyCamdtantsur: jjohnson2 just put up a wip for that... so we're getting closer16:58
jrolldtantsur: the code would be valuable, still, the proxy could also do this SOAP thing16:58
lucasagomesShrews, yes -316:58
dtantsurhm right16:58
*** stendulker has quit IRC16:58
NobodyCamare both the meetings in -316:58
devanandaREMINDER -- New Meeting time is in one (1) minute in #openstack-meeting-316:58
jjohnson2NobodyCam, yeah, it's interesting, to do it right I might have to delve into ctypes... or just accept that people shouldn't make ipmi servers in a position for ambiguous routing...16:58
PaulCzarjroll: it would be great if there was some better docs on setting up ironic hosts with virsh.  the scripts in devstack are hard to follow for a non-devstack ironic16:59
devanandaNobodyCam: yes - our meetings are now always in #openstack-meeting-316:59
NobodyCamI will up date the meeting wiki16:59
NobodyCamafter this meeting16:59
devanandaNobodyCam: I did last week16:59
jrollPaulCzar: indeed16:59
jrolljjohnson2: you might look at cffi16:59
NobodyCamdevananda: I dont see the meeting room listed17:00
*** Masahiro has joined #openstack-ironic17:00
devanandaNobodyCam: you're interested in bare metal deployments within OpenStack, please join our weekly discussion about the Ironic project! Meetings are held in the #openstack-meeting-3 room on irc.freenode.net, and are chaired by Devananda or Chris Krelle (NobodyCam).17:00
NobodyCamlol oh the RED text17:00
NobodyCamlol17:00
*** zz_jgrimm is now known as jgrimm17:00
NobodyCam:(17:00
devanandaNobodyCam: feel free to make it more prominent :)17:01
*** stend has joined #openstack-ironic17:01
jrolllucasagomes: I put my irc nick on the poll, oops17:01
lucasagomesjroll, it's all good :)17:02
lucasagomesno worries17:02
*** zyluo_ has joined #openstack-ironic17:02
*** romcheg has quit IRC17:04
*** Masahiro has quit IRC17:05
*** Marga_ has joined #openstack-ironic17:06
*** viktors is now known as viktors|afk17:07
*** ndipanov has quit IRC17:08
devanandaGheRivero: around?17:10
GheRiverodevananda: pong17:10
devanandameeting reminder :)17:11
devanandaGheRivero: i was about to ask you a question bout oslo, but didn't see you in the meeting room17:11
*** anderbubble has quit IRC17:12
GheRiveroI was in another call today. but ask me here anyway17:12
*** foexle has joined #openstack-ironic17:12
devanandaGheRivero: ah, np17:12
*** zyluo_ has left #openstack-ironic17:14
*** Marga_ has quit IRC17:14
*** Marga_ has joined #openstack-ironic17:15
*** ndipanov has joined #openstack-ironic17:22
*** derekh has quit IRC17:22
*** LuisArizmendi has joined #openstack-ironic17:22
*** jgrimm is now known as zz_jgrimm17:23
*** LuisArizmendi has quit IRC17:27
*** marcoemorais has joined #openstack-ironic17:28
*** athomas has quit IRC17:34
*** anderbubble has joined #openstack-ironic17:35
*** ifarkas has quit IRC17:36
dlaubehey guys17:38
*** jistr has quit IRC17:38
dlaubeanyone know how —user-data actually makes it to the node when you supply this option at nova boot?17:38
*** sambetts has joined #openstack-ironic17:39
jrolldlaube: through nova metadata magic17:40
dlaubeso —user-data data (probably cloud-init formatted text file) gets passed by nova to the metadata service for the instance/node, at provision time?17:42
*** romcheg has joined #openstack-ironic17:44
jrollI believe so, I'm not entirely sure17:44
dlaubeok, thanks jroll17:49
jrollnp17:49
*** harlowja_away is now known as harlowja_17:49
*** anderbubble_ has joined #openstack-ironic17:59
*** anderbubble has quit IRC17:59
*** anderbubble has joined #openstack-ironic17:59
*** Nisha has quit IRC18:00
NobodyCamgood meeting all18:00
lucasagomesyup18:00
victor_lowtherya18:01
lucasagomesso, I don't know but it sounds wrong, conceptually wrong if we treat everything as a state18:01
*** marcoemorais has quit IRC18:01
victor_lowtherEven finagled an unfiltered connection from one of the labs. :)18:01
devanandagood meeting, and probably good we saved teh biggest topic for last18:01
rloo+1. Now how do we speed up/resolve the state machine stuff? One issue at a time?18:01
devanandaat least we got through everything else :)18:01
dtantsurlucasagomes, maybe you should show your suggested state machine?18:01
lucasagomesdtantsur, it's WIP :)18:02
dtantsurwe at least have to clarify what goes first: discovery or zapping18:02
victor_lowtherThat would be a big help.18:02
*** marcoemorais has joined #openstack-ironic18:02
*** stend has quit IRC18:02
victor_lowtherzapping, IMO.18:02
dtantsurlooks like that18:02
JoshNangdtantsur: what's the argument for zapping going before discovery?18:02
lucasagomeserwan_taf, is working on that too18:02
erwan_tafI do18:02
victor_lowtherbecause it can change what the OS will see w.r.t hardware18:02
erwan_tafzapping sounds weird for me18:02
dtantsurJoshNang, updating firmware can change how resources are represented18:02
dtantsure.g. creating RAID may change represented hard driver size18:02
JoshNangok makes sense18:03
lucasagomesyup updating firmware can introduce new features that needs to be discovered18:03
victor_lowtherand RAID, and changing memory settings, and partitioning nics., and...18:03
erwan_tafzapping is like "I don't know how to describe a clean state machine so I let the option of having a fuzz place to do anything even if it's not consistent with the rest"18:03
victor_lowtherno18:03
jrolldtantsur: how do you zap a machine if you don't know anything about it?18:03
JoshNangerwan_taf: it was originally decommissioning, but that has other, confusing meanings18:04
victor_lowtherwe know enough about it to get into ot.18:04
* erwan_taf is finishing a proposal of a state machine18:04
jrollvictor_lowther: sure, but e.g. how do you know which firmware should be there18:04
dtantsurjroll, kind of chicken-and-egg, yeah. that's why erwan_taf and lucasagomes kind of changed the whole sequence IIRC18:05
*** Nisha has joined #openstack-ironic18:05
erwan_tafjroll: because our proposal integrates a time where you have a conformity chck18:05
erwan_tafcheck18:05
JayFWe aren't talking about in the DELETED->ZAPPING->AVAILABLE transition putting DISCOVERING in there, right?18:05
JayFonly if a "zap" was initiated by API call to change configuration of node, right?18:05
dtantsurNisha, we're trying to figure out whether zapping or discovery should go first18:05
victor_lowtherthe problem with discovery is that it seemed to focus exclusively on stuff Nova directly cares about18:05
dtantsuryou may be interested18:05
erwan_tafgive me a couple of minutes and I'll share a first draft of it18:05
lucasagomesjroll, I think that's why the ZAPPING may need to be broken in other states, cause then we can do firmware/update before and other stuff after18:05
jrollJayF: talking about doing zapping before/after discovery, when discovery is initiated18:05
NishaYes i am reading up whatever is available18:06
victor_lowther"discovery" should happen whenever the  drivers bound to a node are told to18:06
JayFyou can't zap before discovery18:06
JayFbecause you have to know what hardware exists to "zap", right?18:06
victor_lowtherfrom that sperspective, it shoudl ne be a discrete thing in the state machine18:06
victor_lowtherer, should not be.18:06
devanandaJayF: "discovery" == introspection18:06
devanandadtantsur: I wonder how much confusion continues around that ^18:07
JayFdevananda: are we talking about the "put creds and a driver in and let it go" introspection18:07
JayFdevananda: or "how much ram/disks do we have"18:07
dtantsurdevananda :(18:07
JayFbecause honestly if it's get creds and figure stuff out, the difference is academic imo18:07
jrollJayF: wait, those are not the same?18:07
dtantsurI'm partly to blame for carrying on the concept18:07
dtantsurJayF, these are the same right now IMO18:08
devanandalucasagomes: are you / erwan_taf proposing taht "discovery" be a required step every time a node is transitioned towards being AVAILABLE? IOW, that it happens both the first time a node is enrolled, and every time an instance is deleted?18:08
JayFjroll: I think part of where my questions are coming from is that either decom will have to rely on "introspected" data or will have to do some of its own18:08
jrollright18:09
Nishadevananda, why when the instanceis seleted18:09
Nishas/seleted/deleted18:09
JayFjroll: generally speaking, I think it's just that discovery and decom are awkward to fit into a state model togehter, and why it worries me if we're talking about what devananda just spelled out18:09
lucasagomesdevananda, yes, but the thing is that it's optional18:09
devanandaNisha: I'm asking lucas taht question18:09
devanandalucasagomes: optional how?18:09
lucasagomesdevananda, once a node is deleted for e.g, we have to rediscover because something may be broken18:09
lucasagomeslike a disk failed18:09
jrollyeah, agree, this is hard18:09
lucasagomesso it will fail conformit check later18:09
lucasagomesdevananda, optional like, if not implemented it's non-op18:10
jrolllucasagomes: but you want that to fail18:10
victor_lowtherAny problems with dripping DISCOVERY as a distinct state from the state machine18:10
devanandalucasagomes: to use your distinction of states and actions, "introspect" is a discrete action, not inherently related to anything else18:10
jrollnot discover the change18:10
*** lifeless has quit IRC18:10
jrolland end up passing conformity checks with a missing disk18:10
victor_lowtherand just letting instrospection do it on demand?18:10
devanandalucasagomes: I do not want to require rediscovery / repeated-introspection after every instance deletion.18:10
JayFlucasagomes: I disagree a lot with that idea, zapping should catch those situations and toss the box into zapfail18:11
devanandathat's just wasted time and cycles18:11
victor_lowtherand ZAPPING can demand it before and after the tasks do their thing?18:11
erwan_tafdevananda: at some point, yes you have to discover your capability kind of often if you want to be sure being accurate18:11
JayFlucasagomes: if zapping finds failed hardware, it should kick the node into zapping failed with the reason why18:11
victor_lowtherJayF: +118:11
devanandaJayF: ++18:11
NishaJayf ++18:11
NobodyCamJayF: +18:12
devanandaintrospection should happen on enrollment AND when there is an expected change AND when a problem is encountered18:12
JoshNangJayF: ++18:12
JayFfwiw that's how it works in my production today18:12
jrollJayF: ++ /me gets on the bandwagon18:12
JayFexcept we don't call it zapping18:12
jrollerwan_taf: I never want to discover unintentional changes18:12
devanandait doesn't need to happen every time I deploy an instance18:12
devananda(or every time I delete one)18:12
erwan_tafthis is because you don't consider facts that could change over time18:12
*** Marga_ has quit IRC18:12
victor_lowtherdevananda: sounds like an argument for dropping it from the state machine.18:12
NobodyCamdevananda: AND when a problem is encountered?18:12
lucasagomesit's the same as "zapping should catch those situations" the difference is that everything is included in zapping18:12
erwan_tafthe more hw properties you add, the more this is required18:12
lucasagomesdiscover/consistency/bios update/ etc...18:13
erwan_tafin my case, I can detect where the server is connected or the healthyness of a disk18:13
Nisha lucasagomes  why zapping will do discovery18:13
erwan_tafthat is likely to change18:13
jrolldiscovery should be a manual operation IMO18:13
NobodyCamdevananda: your not saying that a node going into zapfailed should be introspected?18:13
devanandaNobodyCam: like DEPLOYFAIL. I might want to re-discovery the node after it fails a deploy to see what's different about it18:13
devanandabut that's something I expect the operator (or something outside of IronicConductor) to choose to do18:13
*** igordcard has quit IRC18:13
lucasagomeswait folks18:14
devanandanot something we impute on all failed nodes18:14
lucasagomeslet us present the state machine first18:14
NobodyCamwhere would that data be presented... I wouldn't want change node.properties18:14
lucasagomeswe a document describing it18:14
devanandajroll: ++ discovery is manually-initiated18:14
*** spandhe has joined #openstack-ironic18:15
lucasagomesotherwise we will be discussing something without seems the full picture18:15
lucasagomesseeing*18:15
*** igordcard has joined #openstack-ironic18:15
NishaNobodyCam, the discovery might be needed after zapping, i.e. say after raid configuration but it shudnt be part of zapping18:15
dtantsurvictor_lowther, hope you're not talking about dropping the DISCOVERING state itself? /me is context-switching right now, sorry...18:15
victor_lowtherSince the actions DISCOVERING take will need to happen elsewhere as well, yes I am.18:16
victor_lowtherunless there is a compelling reason ti keep it around.18:17
*** achanda has quit IRC18:18
dtantsurvictor_lowther, because it _is_ a state?18:19
Nishavictor_lowther, i think i am out-ofcontext here. Why DISCOVERING state is not required now? Are you proposing to change DISCOVERING state to ZAPPING or something else?18:19
jrollthis is going so far downhill18:19
devanandalet's be clear about an aspect of DISCOVERING -- during this transition, and only this transtion, the properties of the node may be changed.18:19
dtantsurvictor_lowther, also how are you going to indicate success/failure of discovery other than by state transition18:19
devanandajroll: yes it is18:19
dtantsurdevananda, right18:20
devanandadtantsur: -> DISCOVERYFAIL18:20
victor_lowtherIf that is the only place they can change, then DISCOVERING must be after ZAPPING18:20
JayFDISCOVERING is a state only entered to by user API call action; agreed?18:20
jrollcan you do discovery without zapping?18:21
dtantsurdevananda, we first had ENROLL -> DISCOVERING -> {INIT, DISCOVERYFAIL}. do you see any problems with it?18:21
*** pelix has quit IRC18:21
devanandathis also requires that, if I don't want my node's properties to change automatically, then my nodes can not automatically go into the DISCOVERING state18:21
sambettsIMO I thought the discovering state was before INIT18:21
dtantsurJayF, ++18:21
JayFIf that's true; then "location" in the state diagram doesn't matter. What matters is what states are allowed to go into "DISCOVERING" and what states you're allowed to exit "DISCOVERING" into18:21
devanandabut they must go through ZAPPING when an isntance is deleted18:21
devanandado you see the problem?18:21
jrollright, discovery and zapping are two completely different paths18:21
victor_lowtherthen we need something besides node.properties to hold potentially dynamic node properties18:21
devanandajroll: exactly18:21
jrollif the operator chooses, the operator may do both in sequence18:22
jrollbut they are two separate things18:22
jrollwe should never have DISCOVERY -> ZAPPING or ZAPPING -> DISCOVERY18:22
Nishajroll ^^^ why?18:22
JoshNangvictor_lowther: like what dynamic properties?18:22
jrollNisha: why should we?18:23
victor_lowtherJayF: if location in the state machine does not matter, then DISCOVERING should not be in the state machine18:23
JoshNangit seems like most of those can and should be covered by capabilities18:23
jrollNisha: I don't see any valid reason to automatically do both when one is requested18:23
dtantsurvictor_lowther, I don't see why, sorry18:23
jrollNisha: if I want to zap a node, why would it go through discovery?18:23
devanandadtantsur: yes, I see a problem. I may want ENROLL -> INIT18:23
JayFvictor_lowther: IDK about that from a technical standpoint; but I stand by my assertion that entry and exit points are the only thing that matters. At that point drag the box in visio wherever someone wants it to go :P18:23
victor_lowtherJoshNang: Anything that can change as a result of ZAPPING18:23
devanandadtantsur: DISCOVERY is never mandatory18:23
devanandas/is never/can not be/18:23
*** lifeless has joined #openstack-ironic18:23
dtantsurdevananda, is it a reason for dropping DISCOVERING state completely? (that's what I'm talking about)18:24
*** r-daneel has joined #openstack-ironic18:24
devanandadtantsur: no -- it is a valid state. but it is one which must be explicitly requested18:24
jrollI don't understand why hardware properties would change as a result of zapping (in terms of schedulable properties)18:24
*** romcheg1 has joined #openstack-ironic18:24
Nishajroll, ok18:24
JayFvictor_lowther: devananda: Question -> how do we want to handle zapping behaviors (not in the delete case; in the called-from-api gimme-a-raid standpoint) that might need something in capabilities or properties changed?18:24
victor_lowtherJayF: We should just node that node property discovery can happen on-demand18:24
dtantsurdevananda, aha good. victor_lowther is saying we don't need it at all.18:24
jrolldtantsur: devananda: I think you mean ENROLL -> {INIT, DISCOVERING -> {INIT, DISCOVERYFAIL}}18:24
victor_lowthertherefore it is not a deterministic part of the state machine.18:24
devanandaIronic should not automatically-and-by-design-always change the properties of the nodes it manages. It MAY do this, if configured thus. It MAY NOT do this, if configured thus.18:25
JayFvictor_lowther: devananda: Because in the case of "make me a RAID 0" or something like that, your root_gb  will change18:25
jrolldtantsur: devananda: is what we agreed on18:25
devanandawe can't build a state machien whcih REQUIRES discovery18:25
NobodyCamjroll: how do we know what disks to wipe if we have not discovered them?18:25
erwan_tafplease let us a chance to present our state machine properly18:25
devanandajroll: yes. ENROLL -> [INIT | DISCOVERING -> [INIT | DISCOVERYFAIL] ]18:25
jrollNobodyCam: wipe them all!18:25
JayFNobodyCam: that's what I said about how decom is going to need to do some introspection18:25
*** romcheg has quit IRC18:25
erwan_tafwe know we are changing some stuff but it does support what you speak about18:25
JayFNobodyCam: we already have hardware managers which find hardware to clean up18:25
jrollNobodyCam: zapping will need to find the disks, yes, but discovery is about changing node.properties18:26
victor_lowtherNobodyCam: Make sure any tasks that run in ZAPPING get their info straight from the relavent drivers, not node.properties18:26
erwan_tafoptional steps etc... while keeping sanity for a state machine aka step->transition->step18:26
JayFNobodyCam: we'd keep that model I'd think, even if it dupes a little stuff from discovery, it's all using standard OS interfaces to get the info so it's not that duplicated18:26
jrollerwan_taf: then present it, we need to finish this18:26
JayFvictor_lowther: ++18:26
victor_lowtherNobodyCam: which is really the only sane wayt to do it.18:26
erwan_tafjroll: we need a little time to finish it18:26
JayFvictor_lowther: NobodyCam: that's how it behaves now and should behave; if any refernce to node properties happen, it should be to validate the machine still matches them and ZAPFAIL if it doesn't18:26
jrollerwan_taf: (not trying to be mean, just frustrated at the moment, sorry)18:26
devanandaerwan_taf: we're already almost a month after the summit, and we can't continue delaying other work on the state machine much longer18:27
*** marcoemorais has quit IRC18:27
jrollerwan_taf, lucasagomes: how close is your proposal, can we see an early version or at least something which outlines the main idea?18:27
*** marcoemorais has joined #openstack-ironic18:27
*** romcheg has joined #openstack-ironic18:27
erwan_tafjroll: state machine is 99%18:27
jrollerwan_taf: then propose it now, please?18:28
erwan_tafdefinition of it aka a kind of document that explains it properly is 50%18:28
devanandaerwan_taf: so I'm interested to see your proposal, but also frustrated that it sounds like you have a brand new competing proposal to the one we've all been thinking about for the last month18:28
erwan_tafI can finish it in the day18:28
erwan_tafdevananda: it isn't that different18:28
devanandaerwan_taf: and didn't share, or even mention it sooner18:28
devanandaerwan_taf: oh. then why not share it as comments on the existing proposal?18:28
victor_lowthererwan_taf: can you diff it against https://review.openstack.org/#/c/133828/?18:28
devanandaerwan_taf: or as a diff file?18:28
victor_lowtheror add comments like devananda said18:29
erwan_tafwould be complicated :/18:29
erwan_tafthis proposal is mixing states and transitions18:29
devanandaerwan_taf: I feel like asking us to hold off on discussing this whiel we wait for you is not really constructive18:29
victor_lowtherMore complicated than two competing propsals?18:29
jrollerwan_taf: do you have it on a whiteboard or something? take a picture?18:29
*** romcheg1 has quit IRC18:29
erwan_tafit have multipathing which is weird for a state machine18:29
victor_lowthererwan_taf: Have you read the current proposal18:29
victor_lowther?18:29
victor_lowtherSo do we. :)18:30
erwan_taffor sure I did with lucasagomes18:30
erwan_tafand that's were our proposal started from18:30
lucasagomeswe started thinking about other use cases that erwan_taf currently have18:30
erwan_tafand sorry not having shared about it before, it was just a couple of days before :/18:30
lucasagomesand wouldn't fit on that proposal18:30
erwan_tafand also thinking about making this state machine being able to be propulsed by a state machine framework18:31
erwan_tafa state machine shall be state->action->state18:31
* victor_lowther sighs18:31
erwan_tafif multiple actions or multiple states exists in a row, that's not a state machine18:31
jrolllucasagomes: what use cases?18:32
erwan_tafok18:32
erwan_taflet's share now then18:32
jrollyes please18:32
*** Marga_ has joined #openstack-ironic18:32
erwan_tafthat's not completed as I wanted it to be18:33
erwan_tafsorry about the format, it was for developping it faster & cleaner :18:33
erwan_tafhttps://docs.google.com/drawings/d/1Pxy2lr270yAlP78P7knhYhmBbanKWFf2EfcwVrduOtA/edit?usp=sharing18:33
NobodyCamerwan_taf: ya even a unpolished look would help18:33
erwan_tafand this is the start of the explanations : https://docs.google.com/a/enovance.com/document/d/1RfstwW1cdI8RcB51fdYNSN9dfvZJ1U2b-oJNPikvlno/edit?usp=sharing18:34
erwan_tafmore explanations are required on "what" a particular action is supposed to do18:34
erwan_tafI'll do it live here18:34
* lucasagomes clicks18:34
erwan_tafthe main idea is being able to put _1 action_ per transition18:35
JoshNangerwan_taf: can you change the sharing on the explanation?18:35
jrollso this assumes e.g. "provisioning" is not a state18:35
jrollwhen it really is a state18:35
victor_lowtherso you have approximately the same state machine with different names for the states18:35
lucasagomesjroll, the current state of the machine18:35
lucasagomesjroll, when you look at18:35
*** sambetts has quit IRC18:35
lucasagomesprovisioned being the target state18:36
dtantsurerwan_taf, can't access the explanation as well18:36
lucasagomesand undeployed being the current one18:36
lucasagomesyou always know what is the action being taken18:36
lucasagomesin this case provisioning18:36
victor_lowtherand a couple of extra transition paths back through normalizing where the curent one drops to error states18:36
jrollmmm, I see18:36
lucasagomesalso the machine is self explanatory, once the node is at READY for example, by reading the previous states18:36
lucasagomesyou know exactly what READY means18:36
*** rushiagr is now known as rushiagr_away18:37
*** davideagnello has joined #openstack-ironic18:37
dtantsurlucasagomes, erwan_taf, I don't remember exactly: where is discovery there?18:37
lucasagomesit means the machine is CLEAN it's CONSISTENT it has been NORMALIZED etc...18:37
erwan_tafhttps://docs.google.com/a/enovance.com/document/d/1RfstwW1cdI8RcB51fdYNSN9dfvZJ1U2b-oJNPikvlno/edit?usp=sharing18:37
erwan_tafshould be better18:37
jrolldtantsur: normalizing18:37
*** MattMan has left #openstack-ironic18:37
lucasagomesdtantsur, that's the 1% missing18:37
jrolloh, maybe I'm wrong18:37
jrollerwan_taf: I still can't see that link18:37
lucasagomesdtantsur,  you mean like discovered after created right?18:37
devanandaerwan_taf: still can't access either18:37
dtantsurlucasagomes, yep18:37
erwan_tafuh.18:38
lucasagomesdevananda, lemme see18:38
lucasagomesdevananda, https://docs.google.com/drawings/d/1Pxy2lr270yAlP78P7knhYhmBbanKWFf2EfcwVrduOtA/edit?usp=sharing18:38
devanandawhy are READY, UNDEPLOYED marked as unrepeatable states?18:38
erwan_taflet me put it to the etherpad18:38
devanandalucasagomes: got that. not the explanation18:38
lucasagomesdevananda, because if it fails on that particular node, nova wiht the retry field18:39
*** foexle has quit IRC18:39
lucasagomescan try to put the instance in another node18:39
lucasagomesso we can't repeat that in the node that just failed18:39
erwan_tafhttps://etherpad.openstack.org/p/Ironic_SM_Explained18:39
lucasagomesto not end up with the same instance being deployed more than once18:39
erwan_tafwill make it better18:39
*** BertieFulton has joined #openstack-ironic18:39
*** vdrok has quit IRC18:39
devanandalucasagomes: at what point in this state machine a) is the node exposed to Nova, b) is the interaction between Nova and Ironic represented?18:40
lucasagomesdevananda, READY is exposed to nova18:40
lucasagomesand only READY18:40
*** romcheg has quit IRC18:40
devanandalucasagomes: so why is that non-repeatable?18:40
erwan_tafplease note this state machine is not representing _faults_18:40
erwan_tafonly valid paths18:40
victor_lowtherOK18:41
erwan_tafI'm pretty sure we are all trying to do the same18:41
lucasagomesdevananda, cause if it fails in the deployment, we can't just retry it, we should clean that up first, check consistency and then it will be READY again18:41
victor_lowtherwhy provisioned after READY?18:41
erwan_tafwe just made the exercise of having well defined verbs & actions to get a single action per transition18:41
lucasagomesdevananda, if we have DEPOYFAIL right now we can't retry either right?18:41
lucasagomeswe delete it and then try again18:42
*** ndipanov is now known as ndipanov_gone18:42
lucasagomesvictor_lowther, READY == available18:42
JayFlucasagomes: with decom, you can go DEPLOYFAIL->ZAPPING or ZAPFAIL->ZAPPING18:42
lucasagomesprovisioned == deployed18:42
erwan_tafthe consistency checking is one of the addition of my experience : we shall not try deploying a server which is not consistent with what you expect it to be18:42
JayFlucasagomes: at least downstream that's how we have it implemented18:42
JayFlucasagomes: so if you fix whatever crappy thing broke your deploy, you can kick it back through decom and into available18:42
devanandaerwan_taf, lucasagomes: ok. so what is the benefit of this proposal over the one that we've all already spent a month thinking about?18:43
lucasagomesJayF, yeah, that's kinda same, but the ZAPPING now are more than one state18:43
lucasagomeswell defined states18:43
erwan_tafand note also some transitions are _optional_18:43
erwan_tafI mean no code18:43
lucasagomesJayF, the problem with the ZAPPING is that it has no real meaning, it can be anything, each driver kinda ends up implementing it's own state machine18:43
*** naohirot has quit IRC18:44
devanandalucasagomes: you said earlier something to the effect of, knowing what state a machine was in /before/ teh current state. I don't see how this proposal is any better -- there are still multiple paths18:44
lucasagomesdevananda, where?18:44
devanandalucasagomes: to get to manageable and normalized18:44
devananda2 paths to manageable18:44
devananda3 paths to normalized18:44
erwan_tafdevananda: first I doesn't mix states & transition, then it does put a good semantic and avoid "all-in-one" task, It insure that it can be propulsed by a state machine framework, it does include additional steps to improve the consistency of the deployed server18:44
lucasagomesdevananda, managable is the main loop18:45
lucasagomesonce it gets to the main loop it never goes back to defined18:45
JayFlucasagomes: for a given machine though; it should be stable when run over and over again (when I say "ZAPPING" in this case; I mean running the on-delete zapping steps)18:45
devanandalucasagomes: what happens if someone changes teh IPMI credentials ?18:45
erwan_tafdevananda: only 2 paths at a maximum : "yes / no" the current proposal have more than 218:45
devanandait's no longer manageable18:45
devanandaerwan_taf: three paths lead to the action of Normalizing18:46
JayF^ It's really confusing that decom got abstracted out into something that can do many different things :(18:46
lucasagomesdevananda, it fails conformity check18:46
jrollI have to go afk for a while, bbl18:46
lucasagomesand operator now have to take a look at what happened18:46
erwan_tafdevananda: at the input, not at output18:46
lucasagomesdevananda, that's why we have the CONSISTENT, once it's READY we know that the machine is consistent18:47
erwan_tafdevananda: INIT could exit to DISCOVERING/ZAPPING/AVAILABLE18:47
victor_lowtherand it has those paths because people asked for them18:47
erwan_tafAVAILABLE exists to PREBOOTING/DEPLOYING/INIT18:47
victor_lowtherditto18:47
erwan_tafthis was our starting point18:48
devanandaerwan_taf: if I removed the shapes around each word, I would have almost the same diagram18:48
*** linggao has joined #openstack-ironic18:48
devanandaerwan_taf: you say this doesn't mix states and actions, but I don't agree18:48
*** Masahiro has joined #openstack-ironic18:49
devanandawhen Ironic is in the process of copying bytes onto the disk18:49
devanandais that machine Ready? Undeployed? Provisioned?18:49
lucasagomesJayF, for a given driver right? more than 1 driver can control a machine and that would change the meaning of ZAPPING18:49
lucasagomesJayF, plus it's a proposal :) it's something we thought that would be nice to get u guys to see and comment etc18:49
victor_lowtherlucasagomes: it changes the exact steps performed in ZAPPING18:49
*** cohn has joined #openstack-ironic18:49
victor_lowthernot the meaning of ZAPPING18:49
erwan_tafvictor_lowther: it just split in explicits steps18:50
JayFlucasagomes: My main thing is having "ZAPPING" be one set of semi-standard things (yes, per-driver, but I'd expect most drivers to implement the same generic sets of things)18:50
lucasagomesdevananda, the current state is UNDEPLOYED and target state PROVISIONED18:50
devanandathat logical resource is in a state of transition -- which IS a state18:50
lucasagomesREADY is just like "hey nova I'm available to be picked"18:50
JayFlucasagomes: vs if it's initiated via the API by an operator, zapping can be an arbitrary set of things (like configuring a raid)18:50
JayFlucasagomes: which just makes it incredibly confusing to talk about, because almost always one use case or the other gets forgottten18:50
devanandalucasagomes: how is that significantly different from "current state is PROVISIONING and target state is PROVISIONED" ?18:50
lucasagomesJayF, "but I'd expect most drivers to implement the same generic sets of things" that's what we are trying to abstract18:50
JayFlucasagomes: I don't want that abstracted18:51
lucasagomesand making some of the operations optional18:51
JayFlucasagomes: I want to be able to do very specific things to specific hardware18:51
victor_lowtherand the menaing of ZAPPING is "Here is where we perform things that take a long time and are going to nuke your data"18:51
erwan_tafJayF: so am I, but we have a dedicate time to do it18:51
erwan_tafI mean it have to be explicit when a particular action shall be done18:52
JayFlucasagomes: but the "decom" steps we'll have in Ironic/IPA "stock" during ZAPPING will all be basic; like secure erasure or the like. More advanced/dangerous things should have to be explicitly enabled.18:52
victor_lowtherup to and including what configuration you think the node has.18:52
erwan_tafthat proposal first check if the hw is consistent or not, if so, we clean it & prepare it18:53
JayFlucasagomes: at least that's how I modeled it in my head -- it's difficult/impossible, even across similar ("this is all DRAC 5") hardware, to be confident advanced things can be done repeatedly without issue18:53
* devananda goes back to "is this better, or just different"18:53
lucasagomesdevananda, both tells you the same18:53
devananda18:44:55 < erwan_taf> devananda: first I doesn't mix states & transition, then it does put a good semantic and avoid "all-in-one" task, It insure that it can  be propulsed by a state machine framework, it does include additional steps to improve the consistency of the deployed server18:53
victor_lowtherJayF: indeed18:53
victor_lowtherExperience has shown that hardware is alot tricker to manage than vms are18:53
devanandaerwan_taf: it still mixes states and transitions exactly as much as the original proposal18:53
*** Masahiro has quit IRC18:53
erwan_tafJayF: creating raid is in "Preparing" action18:53
erwan_tafdevananda: where ?18:54
devanandaerwan_taf: yes, it deconstructs the ZAPPING state more18:54
devanandaerwan_taf: I disagree with the impication that the current proposal can not be propelled by a FSM framework18:54
erwan_tafs/deconstructs/define|precise/18:54
devanandaerwan_taf: your fourth point was merely restating the second18:54
JayFerwan_taf: I'm talking solely about the state diagram presented at the summit; I'm not sure it's fruitful to change direction this late in the process and my attention reflects that :/18:55
devanandaso -- is there a benefit to defining/deconstructing the ZAPPING phase into more phases?18:55
JayFdevananda: I think it makes it a hell of a lot more clear to operators18:55
lucasagomestelling you the real state of the machine?18:55
lucasagomeswhen a operator see ZAPPING18:55
lucasagomesit means different things for different drivers18:55
JayFdevananda: because I run this stuff, and am on the core team of ironic-specs, and it's still hard to remember/differenciate. I don't want to have to explain the semantic difference between "automatic" zapping and user-initiated zapping to my ops team18:55
erwan_tafa state machine means having one action to change from a state to another. Zapping does virtually anything which could be done in an explicit step18:55
devanandaJayF: are you in favor of splitting ZAPPING into more than one state (such as normalizing, cleaning, consistency-checking) ?18:55
lucasagomesthat said, it doesn't have a real meaning18:55
JayFdevananda: Not in that sense, no18:56
JayFdevananda: but in the general sense of I'd rather it not be lumped into a "general hardware reconfiguration" bucket like it is now18:56
erwan_tafif you want being able to define when you have to do something and check the potential impacts with the others actions then yes, you have to split everything in 1 state/transition18:56
JayFnormalizing/cleaning would be a fine name for it, but I just don't want decom to spam multiple states18:56
devananda"do the special things to get back to INIT"18:56
JayFI just see, "I'm doing a long-running RAID setup because you told me to" as an inherently different state then "I'm performing required security tasks before this node is available again"18:57
devanandaI think we have ZAPPING as a wide open, undefined space today precisey because it isn't clear what falls into that bucket - -and different driverse / operators / deployments will want different things18:57
victor_lowtherthen the ironic state machine should have a spot for "insert driver and/or user specific states here"18:57
erwan_tafa state machine should be in posiiton to read like "My server is currently doing _that"18:57
erwan_tafwhich is impossible in the current proposal18:57
devanandaerwan_taf: that is not a fair statement18:58
victor_lowthererwan_taf: it is not pissible in your proposals either18:58
NobodyCamspliting may not be such a bad thing, I can see folks wanting a burn-in state, as example18:58
NobodyCamspliting it now may make that easier when the time comes18:58
erwan_tafthat state machine offer you an important value : it is propusled by a FSM and its only up to people coding some functions but not the logic18:58
lucasagomesvictor_lowther, no?18:58
erwan_tafvictor_lowther: it is18:58
erwan_tafvictor_lowther: every single state is a adverb18:58
erwan_tafMy server is provisonned ...18:59
erwan_tafat some point we'll need to provide _states_ to any UI18:59
victor_lowtherunless you make discrete states for every action that could happen in the process of ZAPPING, it is not.18:59
erwan_tafvictor_lowther: all the possible of Zapping should be exposed to find any interactions with other tasks/states18:59
JayFI wonder if some of this would be more clear if we had two state fields, like nova, a "state" and a "task_state"19:00
erwan_tafif you need something, we also need it19:00
devanandaerwan_taf: whoa. nope!19:00
erwan_tafso it have to be exposed explicately as its a state to do something19:00
JayFerwan_taf: such specificity is not always possible when you might be working with hardware nobody else has that has capabilities nobody else has19:00
*** davideagnello has quit IRC19:00
victor_lowtherand depenging on what drivers expose and what site policy says should happen, that set isnot knowable in advance19:00
devanandaerwan_taf: right now, there are A LOT of things which zapping could do -- and we had better not start talking about all of them19:00
JayFerwan_taf: like I made a fancy machine with a jLo in it that has a single call for zapping on delete: "reset to factory". That can't be modeled in the state machine today because it doens't exist today19:00
devanandabecause then we'll get nothing done this cycle19:00
devanandaseriously folks19:01
devanandaseriously19:01
lucasagomes:/19:01
devanandawe need to make some progress here19:01
lucasagomeswould be better to have a middle ground here19:01
erwan_tafJayF: REset to factory ? good example19:01
lucasagomeskinda like we do for vendor stuff?19:01
devanandaZAPPING as an open bucket for (insert special something here)19:01
lucasagomesas we notice that zapping is doing same thing we can promote it to states?19:01
JayFerwan_taf: no, it's a crappy example because it doesn't exist today; but might in the future, so we can't model it yet :)19:01
devanandaor like I said a bit ago19:01
devananda18:56:52 <@devananda> "do the special things to get back to INIT"19:01
devanandathat IS going to be different per driver19:01
devanandaand per deployment19:01
*** davideagnello has joined #openstack-ironic19:01
erwan_tafdevananda: if you don't spend time on defining what are the possible states of a server, you'll end with crazy paths and looks of undefined states19:02
devanandabecause right now, we're encouraging operators to customize their deploy ramdisks19:02
devananda-- and their undeploy ramdisks19:02
erwan_tafdevananda: people will do anything anywhere...19:02
devananda(which are probabaly thes ame thing)19:02
JayFdevananda: that's true; but the fact we're mixing-in the API-driven hardware actions to that state is what is confusing to me19:02
devanandaerwan_taf: sweeping generalizations aren't helpful here19:02
JayFdevananda: i.e. for hardware capabilities, in the design summit, we said we would allow a node to be kicked back into ZAPPING via API with instructions to, for instance, setup RAID across it's disks19:02
devanandaJayF: I recall, perhaps incorrectly, that that would be out of band19:03
JayFdevananda: that sort of stuff happening in the same state as the "automatic security cleanup" is confusing to me, regardless of if what happens in the "automatic cleanup" can vary by hardware/driver19:03
erwan_tafJayF: I can tell this state machine would handle that19:03
devanandaby which I mean, not managed by Ironic19:03
erwan_tafJayF: (reset to default)19:03
JayFdevananda: that was /not/ the impression I got at all in the design summit19:03
erwan_tafI'm pretty sure the list of possible actions to a server is a finite list19:03
devanandaJayF: wait flag19:04
JayFdevananda: either way; what you describe is still the same: two different types of actions reflected in teh same state19:04
*** marcoemorais has quit IRC19:04
devanandaJayF: but you are correct in that19:04
GheRiveroagh! I miss the change in the meeting time!19:04
*** marcoemorais has joined #openstack-ironic19:04
Nishais hardware capability proposed to be under Zapping?19:04
devanandaGheRivero: that's why I pinged you earlier19:04
dtantsurNisha, the last suggestion was: discovering capabilities - part of discovery, asserting capabilities (e.g. making RAID) - part of zapping19:05
victor_lowtherargh, cafe closes in 30 mins19:05
GheRiverostupid me! I was leaving oslo meeting by them. I though you refer to that one19:05
victor_lowthergotta get lunch19:05
erwan_tafhaving an FSM compatible SM would allow having a very simple core (the FSM) and let drivers only taking care of transitions19:05
Nishadtantsur, ok thanks19:05
devanandavictor_lowther: mmm, food19:05
lucasagomesNisha, no, I remember we said that zapping can look at capabilties and do something with it19:05
lucasagomesbut capabilites aren't defined as part of zapping19:05
erwan_tafthe current proposal requires a lot of conditional coding and everytime someone will ask for soemthing, that will create exceptions19:06
lucasagomes(but it's kinda off topic)19:06
Nishalucasagomes, m getting confused.... :(19:06
erwan_tafmaking the coding work much more difficult for new comers :" I have to consider all this cases"19:06
NobodyCamlucasagomes: ya lets not go down that road atm19:06
NishaNobodyCam, ok19:07
*** Ariz has joined #openstack-ironic19:07
*** davideagnello has quit IRC19:07
erwan_tafspliting have the benefit of being semantically easy to understand, reduce the amount of code in each transition and insure that all people expectations are takien in account at some point which is then exportable to a UI as the list of actions is defined19:07
*** davideagnello has joined #openstack-ironic19:08
NobodyCamjust to put it out there we can always come back and define more states if we find our perposed model is failing in real work usage19:08
erwan_tafhaving states that offers multiple outputs is complicated to debug/code19:08
*** Ariz has quit IRC19:08
erwan_tafNobodyCam: by adding a 4th output ?19:08
erwan_tafNobodyCam: I mean, the state machine is overcomplicated for a finite list of states19:08
*** Ariz has joined #openstack-ironic19:08
*** Ariz has quit IRC19:09
erwan_tafI mean we all need the same tasks ...19:09
*** Ariz has joined #openstack-ironic19:09
NobodyCamerwan_taf: I was reffering to the broad nature of zapping19:09
devanandaerwan_taf: your statements disparaging the current proposal do not match my understandings of it. I don't want to sit here and argue19:09
erwan_tafif we can agree on having a single action per transition, it means we don't want to achieve a perfectly defined finite list of actions/states19:09
*** Ariz is now known as LuisArizmendi19:10
erwan_tafdevananda: I hope you don't receive my proposal as aggressive19:11
*** LuisArizmendi has quit IRC19:12
erwan_tafdevananda: I'm just trying to expose a different vision, meaning that if you need a state machine it have to follow a list of rules (which are not mine) to get something consistent19:12
devanandaJayF: fwiw, I agree with your point that "two different types of actions [namely, automatic cleanup and operator-initated reconfiguragion] reflected in teh same state" is confusing // bad19:12
*** Ariz has joined #openstack-ironic19:12
lucasagomesyeah folks it's just a proposal19:13
erwan_tafdevananda: we _just_ insured that 1 single task was done per action19:13
erwan_tafdevananda: and that naturally led to this diagram19:13
erwan_tafdevananda: you can try doing the exercise19:14
devananda"single task"19:14
*** Ariz is now known as LuisArizmendi19:14
devanandawaht does this mean?19:14
erwan_tafZapping is doing several things19:14
erwan_tafupgrading a firmware is a task19:14
devanandaerwan_taf: yes, but that's not the only thing you changed19:14
erwan_tafcleaning disk is a task19:14
erwan_tafconfiguring a raid is a task19:14
*** cohn has left #openstack-ironic19:15
devanandahow far down that rabbit hole do you wish to go?19:15
erwan_tafI can tell you we started from the existing proposal19:15
devanandadownloading image from glance -- task19:15
devanandacopying image to disk -- a task19:15
*** Ariz has joined #openstack-ironic19:15
devanandaconfiguring Neutron -- a task19:15
devananda....19:15
*** LuisArizmendi has quit IRC19:15
*** Ariz has quit IRC19:15
erwan_tafthen I asked lucasagomes to explain what each task did and we did the split by semantic & searched for links19:15
erwan_tafdevananda: we did it per server state19:15
erwan_tafwhat are the possible state of a server19:16
lucasagomesit's a broader task, I think you can think about "a task" as a zap_step19:16
erwan_tafeverything single state is read like "server is currently in that state"19:16
erwan_tafI mean if we need (and we all need) to update firmwares, then it should be told explically19:17
erwan_tafto find all the possible deps with other tasks19:18
JayFdevananda: I'll make sure that comment makes it onto the spec then19:18
JayFdevananda: not sure the irc conversation is continuing to be fruitful :(19:18
erwan_tafif you need to redefine raids, then you have to split into a task to cleanup stuf, and a task to create it19:18
JayFSounds like we'd be spending all day defining state machines and never writing the software to do real work :P19:19
devanandaerwan_taf: having a separate task (and thereby a separate state) for every single operation that I might conceivable apply to hardware is not tenable19:19
erwan_tafbut the list is here19:19
devanandaerwan_taf: firstly, there are far too many things an operator may want to do to simple / standard hardware19:19
erwan_tafI'm pretty sure that this proposal fits any kind of change19:19
erwan_taf(hw change)19:19
devanandaerwan_taf: second, there are types of hardware which support totally unique things19:19
JayFerwan_taf: do you have all our custom, downstream steps modeled?19:19
devanandaerwan_taf: that just violated your own logic19:20
JayFerwan_taf: like my update_firmware_lsi_nytro task in decom, is that on your list?19:20
devanandaerwan_taf: if any kind of change fits in one step, how is taht any different?19:20
erwan_tafJayF: it's a way to implement the cleaning transition for a particular driver ?19:20
lucasagomesJayF, the way we thought that firmware/bios updates goes into normalising19:20
* devananda is sad now19:20
JayFlucasagomes: are you talking about the state machine erwan_taf proposed?19:21
lucasagomesJayF, yup19:21
* JayF is not in favor of throwing out half a day at the summit and all the reviews since then for a last-minute incoming idea19:21
JayFsorry lucas + erwan :(19:21
lucasagomesJayF, it's just a proposal :)19:21
erwan_tafI am also, we had bad timing, didn't being able to get a clean description of this proposal leading to prelimnary delivey (but late) and lead to flameware19:22
lucasagomesJayF, plus, very few things are solved within a summit design session19:22
lucasagomesit's good to exercise, like try to fit the tasks you have on zapping on that state machine19:22
JayFlucasagomes: right now, nothing for k-1 is really solved because it's all backed up on the statemachine stuff19:22
*** luisjariz has joined #openstack-ironic19:22
lucasagomessee if it does cover ur use case19:22
NobodyCamjust to remind folks of the orginal state-blueprint: https://blueprints.launchpad.net/ironic/+spec/state-machine19:22
JayFwhich is more where my annoyance comes from :(19:22
lucasagomesJayF, I'm all about making it land asap19:22
NobodyCamnote the comment :Ironic will not attempt to handle multi-state transitions19:22
*** andreykurilin_ has joined #openstack-ironic19:23
erwan_tafJayF: being able to use an existing FSM framework would make the code easier to write & faster integration19:23
*** penick has joined #openstack-ironic19:23
erwan_tafthat will end in a custom dev. for a common task19:23
lucasagomesJayF, and the same way we spent 3 hours on the previous state machine we could spend more few hours to think/re-think it19:23
lucasagomessee if it fits, if not we move on19:23
lucasagomesJayF, devananda I can even see ZAPPING being a middle grond here, like we have for vendor_passthru19:24
lucasagomesdevananda, JayF once we start identifying the zap_steps that all drivers have been implementing19:24
lucasagomeswe could promote then to a proper state19:24
erwan_tafsaid differently, if you would have to do a FSM for a Robot, you would have made it using an FSM. we are doing automation, I don't make the difference. Having automation that doesn't match a FSM sounds difficult for me19:24
JayFI completely disagree19:24
JayFyou can never know what all the steps are19:24
lucasagomesJayF, some I believe you can19:24
JayFbecause hardware companies are moving as fast as if not faster than us19:24
devanandalucasagomes: this is not "just a proposal" -- I feel (and see, from the comments of others) that the way it was presented came across as destructive to the work many people have spent the last month on19:25
JayFI believe you can try; and get some that fit and some that don't but you'll never get rid of the sepcial case19:25
lucasagomesJayF, I believe you always want to earease the data from previous tenant right? isn't that a CLEAN state?19:25
JayFmaybe it's not19:25
JayFmaybe I have a diskless machine19:25
JayFor maybe my machine has more than disks that need to be cleaned19:25
erwan_tafdevananda: not destructing. please. rephrasing more likely19:25
lucasagomesJayF, fine, states can be non-op19:25
*** anderbubble has quit IRC19:25
JayFI'm saying that the states should reflect general things Ironic does19:25
JayFnot the hardware beneath19:26
devanandaerwan_taf: there are far too many permutations of hardware out there for us, here, now, to define all states which they can be in19:26
JayFbecause once you expose it up that far, you break the abstraction and will make it harder to implement "funky" hardware in the future19:26
*** anderbubble has joined #openstack-ironic19:26
erwan_tafwe are not speaking about a possible implementation of a particular case19:26
devanandaalso, I'll revive the coment NobodyCam made a minute ago19:26
lucasagomesdevananda, right, def not intentional. The idea was to present something different19:26
devananda"Ironic will not attempt to handle multi-state transitions at this time. Such efforts should be pushed higher up the stack, eg. to Nova or Heat"19:26
devanandathat is from my original BP about implementing a FSM for Ironic19:26
lucasagomeswith a more clear defined tasks that needs to be accomplished to deploy a node19:26
erwan_tafwe are trying to define what are the possible states of a server, it is then up to driver to implement the proper action19:26
devanandaRegistered by Devananda van der Veen on 2013-05-2819:27
lucasagomesJayF, right, but that's the middle ground I'm saying19:27
JayFI don't think that's a middle ground at all19:27
devanandalucasagomes: understood - I didn't think either of you meant to derail things, but that is the effect proposing an _alternate_ has, rather than propsing a _change_ to the current proposal19:27
lucasagomesJayF, cause for the tasks tahta can't be predicted ZAPPING would still be there19:27
*** andreykurilin_ has quit IRC19:28
lucasagomesdevananda, right, we haven't put a spec or anything. That's why we are first presenting it here on IRC to get this feedback19:28
*** andreykurilin_ has joined #openstack-ironic19:29
JayFI think that's actually worse, lucas :(19:29
JayFbecause most people spent the time in IRC trying to grok the new thing rather than discussing what already existed19:29
JayFat least something in Gerrit, people can do homework and read up rather than it requiring full attention19:29
lucasagomesJayF, hmm :/19:30
devanandait's not jsut a matter of time, but effort and momentum19:30
devanandait feels derailing to have a new proposal come out of left field when we already have MANY specs which depend on this proposal19:30
devanandaeven entertaining a completely different state machine (as opposed to a change to the current one) means many people19:31
PaulCzaram I reading this correct ( https://github.com/openstack/ironic/blob/9cee24e257031c74afcbc9e37c0b705240e9b399/ironic/common/keystone.py#L41-L44 ) that auth_url needs to be set, rather than constructable from auth_host, auth_port, etc ?19:31
devanandawho are not cores, but were in the meeting this morning, are now thinking about all the work they have to go re-do19:31
PaulCzarauth_uri even19:31
erwan_tafdevananda: sometimes thinking out of the box is valuable19:32
devanandaerwan_taf: I didn't say it wasn't19:32
erwan_tafdevananda: we tried seriously improving the existing but the final result was not a single patch but a strong change19:32
*** Marga_ has quit IRC19:33
erwan_tafdevananda: I do understand if you refuse that big change19:33
*** Marga_ has joined #openstack-ironic19:33
*** davideagnello has quit IRC19:33
erwan_tafdevananda: we really started for the existing, and try to solve some issues like getting 1 change per action and adding the conformity checking19:33
*** luisjariz has quit IRC19:33
devanandaerwan_taf: I'm not saying the idea is bad. I haven't had nearly enough time to form an opinion like that19:33
lucasagomesdevananda, right, I understand the urgency of the spec and all. But like people know that it's a spec and it's being discussed19:33
devanandaerwan_taf: but I feel the timing and delivery of this idea was not constructive19:34
lucasagomesand it can change19:34
erwan_tafdevananda: which is alsmot the sole change but just looks like very differnent because of that storng "step>action>step" requirement of a DSM19:34
erwan_tafFSM19:34
devanandaIIUC, all you really did, besides changing words and adopting FSM notation, is dissect the ZAPPING stage into several stages19:34
erwan_tafdevananda: we strongly hope that being FSM compliant would ease the implemention & support of drivers19:35
*** davideagnello has joined #openstack-ironic19:35
*** igordcard has quit IRC19:35
*** davideagnello has quit IRC19:35
devanandaerwan_taf: except we already have many drivers19:35
*** davideagnello has joined #openstack-ironic19:35
devanandaerwan_taf: who is going to refactor those so that they comply with your proposal?19:35
devanandahow long wil lthat take?19:35
devananda(also, we haven't looked at that in depth yet for the current proposal -- but it should be less, because it is building on top of what we already have)19:36
erwan_tafat least we are speaking about a spec that already change that isn't it ?19:36
devanandanot throwing it all out19:36
erwan_tafa change is a change19:36
devanandano19:36
erwan_tafwe are convering exactly the existing scheme19:36
*** dprince has quit IRC19:36
erwan_tafthe optional zapping is just split in functions: you don't need one ? don't implement it, that's "no-op" by default19:37
devanandaerwan_taf: your sweeping generalizations aren't helpful, especially when it seems to me like you lack context in this project to know that, for instance, not all changes are equal. a change which affects existing users by breakign compatibility is not equivalent to a change which does not do that19:37
devanandaI'm going to step away now and get some brunch19:38
NobodyCamummm food19:38
erwan_tafthat doesn't mean trying to share my experience and getting at some point an explicit list of actions to make a new server being deployed isn't useful for the project19:38
erwan_tafI do understand we are late, but I don't get how a discussion on a spec cannot lead to some different set of changes just because it's a little bit different19:39
erwan_tafsorry if this idea isn't popular, but it's up to the project to offer clean/explicit entry point for actions19:41
NobodyCamerwan_taf: but is an explicit list of actions required i'm of the though that state machine != workflow19:42
erwan_tafletting stuff like zapping is just giving an entry point for everything that doesn't fit elsewhere19:42
NobodyCamerwan_taf: but is that something we can address next cycle if we find that it is causing confusion19:43
erwan_tafif you do consider reworking the state machine, I hope it's not for breaking everything in 6 months :(19:44
erwan_tafI mean that's a serious change, I do agree on that19:44
*** marcoemorais has quit IRC19:46
erwan_tafthat's why we tried, but sounds like we failed, at doing the work now to provide a view of an FSM compatible state machine19:46
erwan_tafwhich is easier to implement19:46
*** marcoemorais has joined #openstack-ironic19:46
lucasagomesaight, proposals are like that. So we can try to get the things we have thought of19:47
lucasagomeslook at the current proposal, see some that we can fit there and move on with that19:47
lucasagomesI also don't want to delay yet more this work, it's fundamental to get it done soon19:48
*** marcoemorais has quit IRC19:48
*** marcoemorais has joined #openstack-ironic19:48
*** marcoemorais has quit IRC19:49
*** ChuckC has quit IRC19:49
NobodyCamlucasagomes: correct me where I am wrong but I see your concern being that the current model will make troubleshooting more difficult be cause the last state /may/ be unknowen?19:49
lucasagomesNobodyCam, as well. Also, it's not a FSM19:50
erwan_tafNobodyCam: If you are in DEPLOYED19:50
*** marcoemorais has joined #openstack-ironic19:50
*** dtantsur is now known as dtantsur|afk19:51
erwan_tafNobodyCam: what was the path you took to get there ?19:51
erwan_tafNobodyCam: -ETOOMANYPATH19:51
devanandawhy does that matter?19:51
victor_lowthererwan_taf: so we jsut save the state transition history for the nodes in  the database somewhere.19:51
erwan_tafbecause when you debug some code, it's nice to know what were the previous steps and what they did19:51
victor_lowtherProblem Solved.19:51
dtantsur|afkbefore I go: did anyone (meaning probably devananda) send our status report to the ML?19:52
rloodtantsur|afk: I think jroll volunteered to do that after every meeting19:52
*** dprince has joined #openstack-ironic19:52
erwan_tafvictor_lowther: a FSM would have provide that feature naturally19:52
NobodyCamerwan_taf: there is a log. I would look there first for most troubleshoot19:52
devanandadtantsur|afk: I did not. I believe jroll has volunteered to do that19:52
dtantsur|afkaha, now we know whom to blame :D19:52
erwan_tafNobodyCam: in an FSM, the path is explicit19:52
devanandaerwan_taf: "easy to debug" is not necessarily a reason to do something19:52
lucasagomesvictor_lowther, the thing is, once you have a FSM on that model, you can have a engine driving it19:53
erwan_tafdevananda: read "predictable" then19:53
devanandaerwan_taf: so again I ask, why is single-prior-state necessarily better or a more accurate representation of reality?19:53
lucasagomesvictor_lowther, so drivers only implement those "actions" and the engine drives the states19:53
lucasagomesvictor_lowther, right now, we have drivers setting states for the nodes like node.provision_state = ACTIVE, so there's no engine driving it19:53
lucasagomeswhich is what makes coding with a well defined FSM simpler19:54
devanandain my reality, paths converge and diverge. a state machine which can't handle that is not complete.19:54
NobodyCambut then we have a different FSM for each driver19:54
erwan_tafdevananda: if some used the "state machine" title isn't for nothing. Ironic really need a state machine which implies some rules : http://en.wikipedia.org/wiki/Finite-state_machine19:54
victor_lowtherif I am troubleshooting failure mode, I care about what is in the logs, and I do not care about the details of the state machine until I have to.19:54
erwan_tafdevananda: if you don't play that game, you'll have a perfectly custom solution that could have been part of a generic FSM approach19:54
devanandaerror states are also a state, which we have all conveniently left out -- because they are non-linear19:54
erwan_tafdevananda: FSM gives you tooling to solve the implemntation19:55
victor_lowtheralso, we do not have a FSM by design19:55
erwan_tafdevananda: FSM is predictable19:55
*** ChuckC has joined #openstack-ironic19:55
victor_lowtherbecasue we do not know all the possible states in advance19:55
devanandaerwan_taf: hardware is not necessarily predictable19:55
erwan_tafbut the expected path to get a server to be installed is19:55
erwan_tafI'm pretty sure we are not speaking about the same stuff19:56
victor_lowthererwan_taf: not past a certian level of detail it is not.19:56
erwan_tafI'm not speaking of a physical state of a server19:56
erwan_tafbut a expected and generic state to achieve a goal19:56
victor_lowtheror if it is , it is only in the sense that any program implements a FSM.19:56
erwan_tafinstalling a server doesn't have 100 steps19:56
erwan_tafit doesn't have 100 of exceptions19:57
erwan_tafwe all do the same tasks19:57
devanandaerwan_taf: no we don't19:57
victor_lowthererwan_taf: I am just going to assume you have never worked in tech support.19:57
erwan_tafusing different tools but the life cycle is pretty clear19:57
erwan_tafvictor_lowther: thanks19:57
devanandaerwan_taf: that assumption right there may be the root of the miscommunication here19:57
erwan_tafwhy ?19:58
devanandaerwan_taf: many current and potential users of Ironic have vastly different steps they take -- while at the 10,000ft view they look similar19:58
devanandathe actual steps that each driver takes may be COMPLETELY different19:58
devanandaand an oeprator may need to customize that even further locally in ways the upstream community does not (or can not) know about19:59
NobodyCamoh thats a very good point devananda ^^^19:59
*** marcoemorais has quit IRC19:59
*** marcoemorais1 has joined #openstack-ironic19:59
devanandaso in general, sure, enroll -> expose to scheduling -> place workload -> remove workload -> repeat -- in general, that's the FLOW19:59
erwan_tafdevananda: I'm not speaking on the implementation on how to do a particular task20:00
devanandathe actual states in there, and wjhat each state means locally, and what action(s) get from STATE M to STATE N, may be quite different20:00
devanandaerwan_taf: no, you're speaking towhat states and what actions Ironic models20:00
devanandabut you have said that there is a finite set of states and tasks, and we should model all of them20:01
erwan_tafwhich is the entry point to perform particular actions based on implemtnations20:01
devanandaand I disagree20:01
devanandawe should model *enough* of them20:01
devanandanot *all* of them20:01
*** marcoemorais1 has quit IRC20:01
erwan_tafdevananda: got your point20:01
devananda:)20:01
erwan_tafI'm really interested to get a task I cannot map here20:01
*** marcoemorais has joined #openstack-ironic20:01
erwan_tafmaybe the one that will make me realize that I'm totally wrong20:02
erwan_tafvictor_lowther: any example ?20:02
* lucasagomes brb for few minutes20:02
devanandaerwan_taf: http://en.wikipedia.org/wiki/Hewlett-Packard#THE-MACHINE20:03
devanandaerwan_taf: I'm not suggesting that's using Ironic, but what if it was? can we, today, predict what states that will have?20:05
erwan_tafvictor_lowther: and just to present myself, you surely use some of my code everyday you boot20:05
erwan_tafdevananda: at a very high level, I'm pretty sure yes. Updating it if possible, cleaning it, prepare it, deploy and restart the same task20:06
devanandaerwan_taf: there are tasks which are not part of that20:06
erwan_tafsure so, that's an empty body20:06
erwan_tafa not required step is a nop20:07
erwan_tafreturn;20:07
erwan_tafmachine then transitent from several steps in a row20:07
erwan_tafdisruptcy will occur20:07
erwan_tafbut up as I know, the logical steps to achieve a deployement are almost the same20:08
erwan_tafbut sounds like we disagree on that20:08
victor_lowtherThis is no longer a productive conversation20:09
*** davideagnello has quit IRC20:11
*** Marga_ has quit IRC20:13
*** anderbubble has quit IRC20:13
*** Marga_ has joined #openstack-ironic20:13
*** mrda-away is now known as mrda20:15
mrdaMorning Ironic20:15
* erwan_taf throw flowers on the chan and clean the place for new discussions20:15
*** davideagnello has joined #openstack-ironic20:21
*** Nisha has quit IRC20:24
*** marcoemorais has quit IRC20:25
*** dprince has quit IRC20:30
* erwan_taf is switching on making some proposal to the actual proposal20:30
rlooif we don't call it a 'state machine' or a 'finite state machine', will that make the new states & transitions more acceptable?20:32
erwan_tafthat really describe a state machine so that's not a mater of naming here20:36
NobodyCammorning mrda :)20:36
*** Masahiro has joined #openstack-ironic20:37
* lucasagomes is back20:38
mrdahey NobodyCam20:38
lucasagomesmorning mrda20:40
NobodyCamwb lucasagomes :)20:40
lucasagomesNobodyCam, hey ya20:41
lucasagomesdevananda, JayF jroll NobodyCam right so anyway, thanks for listening to the proposal thing20:41
lucasagomesI think we can move forward with the current one, I will continue to review that spec20:41
*** Masahiro has quit IRC20:42
openstackgerritRuby Loo proposed openstack/ironic-specs: Don't deprecate maint mode updates via node-update  https://review.openstack.org/13817820:42
lucasagomesrloo, in a sense, I think it would20:44
lucasagomesbut it's fine, I don't have a better name for it as well20:45
devanandalucasagomes: a brief example of my frustration around the timing of this -- I would much rather we all have spent that time/energy discussing some of the unanswered questions in this spec20:46
devanandalucasagomes: such as how to handle backwards-compat at the REST and driver api levels20:46
devanandalucasagomes: or the "wait flag" and error states, both of which are still unexplored20:46
devanandaor not explored well enough20:46
devanandainstead, I feel very frustrated20:46
rloolucasagomes: I like the idea of it being a FSM (or state machine), but I don't know enough to know whether what is proposed is strictly that, and I don't know if that is really a goal here20:48
erwan_tafI wonder how to express the fact this proposal is lacking of steps that would be useful to insure conformity of servers20:48
lucasagomesdevananda, right, it's not all waste of time tho. I can say that I've learned a couple of things working on that proposal. Like having a FSM that conforms to a model20:48
lucasagomesplaying with the abstraction20:48
lucasagomesrloo, yeah20:49
mrdahey lucasagomes20:50
devanandalucasagomes: surely we all learned something from this conversation. but did it get Ironic closer to our goals for Kilo, or further?20:50
devanandanot really asking that, btw. I know what it feels like to me20:50
lucasagomesdevananda, right, I could argue it does. If didn't have this conversation I would have a lot of "what-if" in my head20:51
lucasagomesI have a cleaner go now20:51
devanandalucasagomes: that's good :)20:52
*** yjiang5_ has joined #openstack-ironic20:52
lucasagomesyeah, and I wouldn't be here until very late w/o dinner or anything if I didn't care enough20:53
lucasagomesso we should move on :)20:53
lucasagomesand I will get some dinner20:53
devanandafood is good too :)20:53
lucasagomes+1 have a good night everyone20:53
lucasagomessee ya tomorrow20:53
rloonght lucasagomes!20:53
*** marcoemorais has joined #openstack-ironic20:54
*** lucasagomes is now known as lucas-dinner20:54
erwan_tafsee ya lucas-dinner20:55
*** spandhe has quit IRC20:58
NobodyCamnight lucas-dinner20:58
*** anderbubble has joined #openstack-ironic20:58
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Implement server side IPMI protocol (WIP)  https://review.openstack.org/13810921:04
*** Marga_ has quit IRC21:06
*** Marga_ has joined #openstack-ironic21:06
NobodyCamjjohnson2: awesome to those patches :)21:08
*** spandhe has joined #openstack-ironic21:08
jjohnson2NobodyCam, a fun project between conference calls21:08
NobodyCam:)21:08
jjohnson2and analyzing things like voltage regulation circuit variations21:09
jjohnson2I just shuddered at the thought of a single process trying to talk ipmi to itself...21:14
*** andreykurilin_ has quit IRC21:16
*** andreykurilin__ has joined #openstack-ironic21:16
jjohnson2heh, reading a comment of mine "# unrecognized data, assume evil" calls to mind the star trek tng data and lore21:17
NobodyCamlol21:17
*** igordcard has joined #openstack-ironic21:17
erwan_tafsee ya guys21:18
NobodyCambbc just played many of the tng's over the holiday21:18
jjohnson2I got til thursday before I vacation for the year, will see if I managed to squeeze a testable thing in21:18
NobodyCamhave a good night erwan_taf21:18
NobodyCamjjohnson2: :)21:18
*** alexiz has joined #openstack-ironic21:20
*** rloo_ has joined #openstack-ironic21:21
*** PaulCzar_ has joined #openstack-ironic21:22
*** ChuckC_ has joined #openstack-ironic21:22
*** erwan_taf has quit IRC21:23
*** tchaypo_ has joined #openstack-ironic21:23
*** Marga_ has quit IRC21:25
*** Marga_ has joined #openstack-ironic21:25
openstackgerritVictor Lowther proposed openstack/ironic-specs: New Ironic provisioner state machine.  https://review.openstack.org/13382821:26
*** spandhe has quit IRC21:27
*** BertieFulton has quit IRC21:31
*** linggao has quit IRC21:33
*** igordcard has quit IRC21:35
*** ChuckC has quit IRC21:35
*** rloo has quit IRC21:35
*** shakayumi has quit IRC21:35
*** tchaypo has quit IRC21:35
*** russellb has quit IRC21:35
*** PaulCzar has quit IRC21:35
jjohnson2I'm not going to support ipmi origin and destination in the same python process for now... that's just too perverse...21:35
*** tchaypo_ is now known as tchaypo21:36
*** PaulCzar_ is now known as PaulCzar21:37
openstackgerritVictor Lowther proposed openstack/ironic-specs: New Ironic provisioner state machine.  https://review.openstack.org/13382821:39
NobodyCamvictor_lowther: is zapping the only state a node in INIT cat transation to?21:40
victor_lowtherThat seems to be the way some want to simplify the state transitions.  I am okay with it because the zapping spec has a mechanism that can turn ZAPPING into a nop.21:42
NobodyCamack21:44
devanandavictor_lowther: you did the same thing I was about to -- add () to the ascii art. nice21:47
devanandavictor_lowther: wdyt of s/INIT/MANAGED/ ?21:49
victor_lowtherAs long as the semantics stay the same, I don't really care beyond noting that INIT is shorter. :)21:50
devanandayes, same semantics. but represented more clearly in that a node which is [ENROLLED] must be validated before it can reach [MANAGED]21:51
devanandawhich I'd represent with a (VALIDATING) state21:51
devanandajust filling in part of the dia, based on the words you've written, and that seems to be clearer21:51
devanandaalso, MANAGED isn't longer than other words we already have for state names21:52
devananda:)21:52
devanandavictor_lowther: oh, and wouldn't it be ENROLLED, not [ENROLLED] ?21:53
victor_lowtherso split what happens in ENROLL into 3 states, then.21:53
NobodyCamsorry I lost a bunch of my thoughts this morning: for the deleted state should we follow the same path as INIT and only allow nodes to transition to zapping21:54
victor_lowtherENROLL -> [VALIDATING] -> (ENROLLED) -> MANAGED21:54
victor_lowtherand probably rename ENROLLFAIL to VALIDATEFAIL while I am at it.21:55
devanandavictor_lowther: you've described the automatic flow today, something like  [ENROLLED] -> [ENROLLFAIL] -> [ENROLLED] -> INIT21:55
devanandaer, I mean  [ENROLLED] -> (ENROLLFAIL) -> [ENROLLED] -> INIT21:55
victor_lowtherwell, except for the ENROLLFAIL bit. :)21:56
victor_lowtherdtantsur|afk wants ENROLL -> [VALIDATING] to be a manual step21:56
*** andreykurilin__ has quit IRC21:56
devanandathe "try to validate any time driver_info is changed" bit is where I forsee some difficulty21:57
victor_lowtherbut his comments got lost due to typo fixes. :)21:57
devanandayea, that's not surprising21:57
devanandaI would prefer that as well, at least today21:57
*** andreykurilin has joined #openstack-ironic21:57
victor_lowtherso do I, but that seemed to be what people wanted.21:57
victor_lowtherHaving it be manual would be simpler.21:57
devanandai mean, i would prefer not-auto-validate21:58
devanandacool. we agree :)21:58
*** spandhe has joined #openstack-ironic21:58
* jroll finally finishes reading scrollback21:58
victor_lowtherNobodyCam: that is what the current rev of the spec does.21:58
devanandavictor_lowther: or have VALIDATING kick back to ENROLLED with a last_error21:59
victor_lowtherkick back to ENROLL, you mean?21:59
devanandasure21:59
NobodyCamvictor_lowther: Nodes in DELETED can transition back to AVAILABLE or can have tasks enqueued on them and then transition to ZAPPING22:01
openstackgerritJarrod Johnson proposed stackforge/pyghmi: Implement server side IPMI protocol (WIP)  https://review.openstack.org/13810922:01
victor_lowthercrap, I thought I deleted that verbiage.22:01
victor_lowthercomment in spec pld?22:01
NobodyCamwill do22:02
jjohnson2NobodyCam, well, that's it for today, I wired to the vague area that would ultimately handle sessionless messages and will spawn a server mode session22:03
jjohnson2next up, handle get channel auth cap, and rmcp+ session negotiation (defer 1.5 IPMI til... when someone cares...)22:03
victor_lowtherjjohnson2: never.22:04
jjohnson2victor_lowther, that would be my guess.  Why anyone would need a new 1.5 ipmi *target* is currently beyond me, so I'm inclined to leave 1.5 support to be client-only22:05
lucas-dinnervictor_lowther, looks nicer with the zapping pass there (which can be non-op)22:05
lucas-dinnervictor_lowther, devananda what about the rescue state, it's a bit unclear to me yet22:05
NobodyCamjjohnson2: awesome thank you :)22:06
devanandaI'm going to side track for a second, because two things have been niggling the back of my mind today (and for a while now)22:06
devanandaand then I'm going to go shopping for dinner22:06
lucas-dinnercause ACTIVE means tenant is on that node, so operators would ask for rescue right?22:06
devanandafrom a linguistic POV, we have two categories of state names: verbs, which are either present or past tense, indicating an ongoing or completed action upon the physical server; adverbs, which indicate the status of the logical resource22:06
jjohnson2NobodyCam, it may be a christmas miracle22:06
devanandalucas-dinner: user can ask for rescue via Nova22:06
lucas-dinnerdevananda, a-ha!22:06
lucas-dinnerright22:06
jjohnson2devananda, oh, like if I'm on a boat at sea, and it starts sinking?22:07
jjohnson2nova is more capable than I would have ever imagined22:07
devanandajjohnson2: lol22:08
jjohnson2well, guess you can *ask* anyone/anything for rescue22:08
jjohnson2it won't necessarily meaningfully respond, but at least you asked...22:08
jjohnson2well, that's it for a day, I'm too punchy22:08
NobodyCamhave a good night jjohnson2 :)22:09
devanandathe actual physical hardware is quite possibly in exactly the same "state"22:10
devanandawhether Ironic indicates ENROLL, INIT, or AVAILABLE22:10
devanandathese are differences in the logical resource, not physical22:10
victor_lowtherPretty much22:10
devanandai have no idea yet if this is a helpful distinction to anyone else22:10
devanandabut our state names don't make this clear22:11
*** andreykurilin has quit IRC22:11
victor_lowtherI don't really see why they should22:11
*** andreykurilin has joined #openstack-ironic22:12
victor_lowtherI mean yes, if the server comes preconfigured from the factory for its role (which I would expect if you are ordering hundreds at a time), then all our ZAPPING and DEPLOYING isn't changing the way the underlying hardware is configured22:13
NobodyCamnever trust what the box says!22:13
victor_lowtherbut we need to funnel the nodes into the states they want regardless of whether the underlying hardware config will change.22:14
victor_lowtherbecause realistically having every server in your order come in the exact config you want without problems is a pipe dream.22:15
*** jjohnson2 has quit IRC22:15
victor_lowtheryou will have things jostled in transit, flaky batteries, dead hard drives, bad firmware, etc. etc. etc.22:16
victor_lowtherand if you don't walk through all the config steps, you will regret it later.22:16
NobodyCam++ or you ordered your hardware from eMachines22:17
devanandavictor_lowther: hmm. I didn't mean to imply anything i nregards to changing the order of state transitions22:18
victor_lowtheror you ordered your hardware, got it, ran out of funcing, and put the project on hold until next year's budget22:18
victor_lowtherand all your raid batteries died in the process.22:18
* victor_lowther has personally replaced hundreds of parts for that exact reason22:19
NobodyCam:) ++22:19
NobodyCamI had this rack of Cobalt Raq's22:20
NobodyCambatteries and fans needed replacing all the time22:20
victor_lowtherdevananda: then I don't see what you are getting at22:20
victor_lowtherNobodyCam: There is a company I have not heard of in awhile.22:21
NobodyCam:)22:21
NobodyCamhad lots of them (in the before times)22:21
devanandavictor_lowther: possibly nothing :)22:21
*** Marga_ has quit IRC22:22
*** Marga_ has joined #openstack-ironic22:22
devanandavictor_lowther: just that we're indicating changes in the status of a logical resource using the same semantics, but different lingustics, as with changes in a physical resource22:23
victor_lowtherand at the least the underlying hardware has increased entropy locally, and so it not in the exact same state. :)22:23
devanandaalso, I offer this dia of our current state machine for reference, from memory (so it might be incorrect) -- http://paste.openstack.org/raw/HUZHE3VJySpDEyj7g5hT/22:24
devanandaseeing that helps me start thinking about how to migrate forward with some modicum of upgrade path22:25
victor_lowtheryeah22:25
devanandalike, we're missing [REBUILD]22:25
NobodyCamyep we have rescue now22:25
victor_lowtherWhat did REBUILD do?22:26
*** Masahiro has joined #openstack-ironic22:26
jrollsigh, rebuild22:26
jrollis that a state?22:26
NobodyCamredeploys with fs changes22:26
jrollI thought it was just DEPLOYING22:26
NobodyCamwith *OUT*22:26
NobodyCamyes: https://github.com/openstack/ironic/blob/master/ironic/common/states.py#L8722:27
devanandajroll: https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L34522:27
jrollblah22:27
jrollI guess that's good, I just didn't realize it22:28
devanandait is a request'able provision_state22:28
*** penick has quit IRC22:28
jrollright22:28
victor_lowtherit seems quite nova specific.22:29
devanandait's like reset-from-scratch22:29
*** igordcard has joined #openstack-ironic22:29
devanandait's like reset-from-scratch-but-keep-my-IP-and-host22:29
jrollit's "lay down a new OS"22:30
jroll(imo)22:30
devanandayup22:30
jroll"and maybe keep some data around"22:30
devanandathe maybe keep data is the silly part, IMO. that can be done in other ways22:30
jrollvictor_lowther: tripleo uses this to upgrade software, they build a new image and use --preserve-ephemeral22:30
devanandawhat's more broadly useful is "keep my IP and host"22:30
jrollsure22:30
devanandawhereas nova delete + nova boot does not guarantee anything about IP or host22:31
*** Masahiro has quit IRC22:31
jrollright, ofc22:31
victor_lowtheryeah, to me that sounds like a transition from ACTIVE to DEPLOYING22:32
devanandavictor_lowther: basically, yes22:32
devanandathe representation of a node which is being rebuilt is22:32
devanandacurrent_state: rebuild, target_state: deploydone22:33
devananda(/me double checks that)22:33
devanandanope, i'm wrong22:34
devanandacurrent_state: deploying, target_state: deploydone22:34
devanandathe 'rebuild' state only exists as a REST verb. that's rather inconsistent, but oh well.22:34
NobodyCamsounds like a bug :-p22:35
*** penick has joined #openstack-ironic22:35
devanandaPUT /nodes/<uuid>/states/provision {target: "rebuild"}22:35
*** ryanpetrello has quit IRC22:36
*** ryanpetrello has joined #openstack-ironic22:36
*** Marga_ has quit IRC22:39
*** Marga_ has joined #openstack-ironic22:39
*** ryanpetrello has quit IRC22:42
* lucas-dinner added some comments to the spec22:42
NobodyCamdevananda: cli appers to support rebuild22:43
victor_lowtherdevananda: Could you add your enroll change comments to the spec?  I am about to go rescue my wife from my kids.  Or vice versa.22:43
*** andreykurilin has quit IRC22:43
*** andreykurilin has joined #openstack-ironic22:44
devanandavictor_lowther: ack22:45
devanandavictor_lowther: also cleaned up my ascii art a bit, will link in my comments22:45
lucas-dinnerbrb22:46
devanandahttp://paste.openstack.org/raw/YzaNhr2mE2QONzcgk6Gz/22:49
NobodyCamvery nice!22:49
NobodyCamthe "//" helps :)22:51
*** ryanpetrello has joined #openstack-ironic22:57
devanandavictor_lowther: I am going to take a quick stab at redrawing your state diagram. hope you don't mind23:00
victor_lowtherGo for it dude.23:01
victor_lowtherI will be back later tonight.23:01
*** ryanpetrello_ has joined #openstack-ironic23:02
*** ryanpetrello has quit IRC23:04
*** yjiang5_ is now known as yjiang523:04
*** ryanpetrello_ is now known as ryanpetrello23:04
*** Marga_ has quit IRC23:10
*** Marga_ has joined #openstack-ironic23:10
*** arif-ali has quit IRC23:12
*** Marga_ has quit IRC23:15
*** Marga_ has joined #openstack-ironic23:15
*** Marga_ has quit IRC23:16
*** Marga_ has joined #openstack-ironic23:17
*** arif-ali has joined #openstack-ironic23:19
NobodyCambrb23:19
*** arif-ali has quit IRC23:26
*** andreykurilin has quit IRC23:26
*** andreykurilin has joined #openstack-ironic23:27
*** andreykurilin_ has joined #openstack-ironic23:28
dlaubehmm.. I keep getting "Could not download image with id 1edccf41-f244-4304-ab65-66d28d5a86a7." a few minutes after I run a nova boot23:29
dlaubeI can see the image with that id when I glance image-list23:29
dlaubeverified that both the user image and the kernel and initrd images are there and have public=true set23:30
NobodyCamdlaube: are you using IPA?23:31
*** anderbubble has quit IRC23:31
*** andreykurilin has quit IRC23:32
*** Marga_ has quit IRC23:32
dlaubeNobodyCam: using driver                 | agent_ssh23:32
dlaubeon devstack23:32
*** Marga_ has joined #openstack-ironic23:32
NobodyCamany thing more in the conductor log23:33
jrollaha23:33
jrolldlaube: check out conductor logs, may have more info23:34
jrolldlaube: also, you need whole disk image23:34
NobodyCamI bet swift temp url?23:34
jrollyeah23:34
NobodyCamoh good point jroll23:34
*** arif-ali has joined #openstack-ironic23:34
dlaubeironic cond log shows:23:34
dlaube2014-12-01 18:01:57.970 ERROR ironic.drivers.modules.agent [-] node 1d0203c6-151c-4113-bb31-738b336a07e4 command status errored: {u'message': u'Error downloading image.', u'code': 500, u'type': u'ImageDownloadError', u'details': u'Could not download image with id 1edccf41-f244-4304-ab65-66d28d5a86a7.'}23:34
jrollblah23:34
jrollthat would be actually downloading23:34
dlaubehow would I know if its a swift temp url issue?23:35
jrollprobably bad swift temp url would be my guess23:35
jrollso ironic should have logged the url at some point23:35
jrollthe swift url, that is23:35
dlaubeshould I grep ironic cond log for the glance image id?23:35
jrollare you using the localrc that's provided in our dev docs23:35
jrollsure, that would work23:35
dlaubelocalrc / openrc23:35
dlaubeyes23:35
jrollok23:35
jrollthe other thing you could do is, remove devstack/files/ir-*, clone ironic-python-agent, apply this patch, and set IRONIC_BUILD_RAMDISK=True23:36
jrollhttps://review.openstack.org/#/c/134813/23:36
jrollthat will send IPA logs to console23:37
jrollthere may be an easier way, hang on23:37
jrolloh wait, it should log to console already23:37
jrolldlaube: look at the console logs (/opt/stack/ironic-bm<tab>/something, sorry that isn't more helpful23:38
dlaubecool, ty23:39
dlaubechecking now jroll23:39
dlaubehmm23:43
dlaubeive got 6 nodes on there23:43
dlaubechecking each one23:43
dlaubemost seem to trail off to a login prompt23:43
jrollhow recent is your devstack, btw?23:44
* NobodyCam wounders if lines like "Up to 50% off. Work can wait. These deals won't." will get ad folks in trouble ashe deletes another cyber monday spam mail23:47
*** andreykurilin_ has quit IRC23:49
*** ChuckC_ has quit IRC23:53
KamilionNobodyCam: ugh, I'm getting text messages from my Uncarrier, t-mobile, begging me to switch to a contract plan I don't qualify for. ._.23:54

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