*** todd_dsm has quit IRC | 00:03 | |
*** Haomeng has joined #openstack-ironic | 00:06 | |
*** Haomeng|2 has quit IRC | 00:07 | |
*** zigo has quit IRC | 00:07 | |
*** praneshp has quit IRC | 00:12 | |
devananda | NobodyCam: edited to clarify | 00:12 |
---|---|---|
devananda | gotta run now ... need to head t othe airport soon | 00:12 |
*** todd_dsm has joined #openstack-ironic | 00:13 | |
*** zigo has joined #openstack-ironic | 00:13 | |
NobodyCam | :) have a good night | 00:17 |
NobodyCam | flight | 00:18 |
*** kongfy has joined #openstack-ironic | 00:42 | |
*** marcoemorais has quit IRC | 00:48 | |
*** Haomeng|2 has joined #openstack-ironic | 00:58 | |
*** Haomeng has quit IRC | 00:59 | |
*** todd_dsm has quit IRC | 01:13 | |
*** takadayuiko has joined #openstack-ironic | 01:21 | |
*** rushiagr_away is now known as rushiagr | 01:24 | |
*** rameshg87 has joined #openstack-ironic | 01:25 | |
*** rushiagr is now known as rushiagr_away | 01:26 | |
*** todd_dsm has joined #openstack-ironic | 01:28 | |
*** rameshg871 has joined #openstack-ironic | 01:55 | |
*** rameshg87 has quit IRC | 01:58 | |
*** spandhe has quit IRC | 02:00 | |
*** nosnos has joined #openstack-ironic | 02:02 | |
*** dlaube has quit IRC | 02:04 | |
*** todd_dsm has quit IRC | 02:04 | |
*** eghobo has quit IRC | 02:06 | |
*** rameshg871 has quit IRC | 02:17 | |
*** rloo has quit IRC | 02:18 | |
Haomeng|2 | morning:) | 02:56 |
*** Haomeng|2 has quit IRC | 02:56 | |
mrda | Hi harlowja | 02:56 |
mrda | sorry, tab expansion fail | 02:57 |
harlowja | :) | 02:57 |
*** chenglch has joined #openstack-ironic | 02:59 | |
devananda | "mechanical delay" | 03:04 |
devananda | now I'm waiting on a new plane | 03:04 |
*** yjiang5 has quit IRC | 03:13 | |
*** ramineni has joined #openstack-ironic | 03:13 | |
*** yjiang5 has joined #openstack-ironic | 03:15 | |
*** greghaynes has quit IRC | 03:15 | |
*** greghaynes has joined #openstack-ironic | 03:19 | |
*** pcrews has quit IRC | 03:23 | |
*** nosnos has quit IRC | 03:26 | |
*** nosnos has joined #openstack-ironic | 03:27 | |
*** nosnos has quit IRC | 03:32 | |
*** ChuckC has quit IRC | 03:35 | |
*** praneshp has joined #openstack-ironic | 04:00 | |
*** bradjones has quit IRC | 04:05 | |
*** bradjones has joined #openstack-ironic | 04:07 | |
*** nosnos has joined #openstack-ironic | 04:16 | |
*** rakesh_hs has joined #openstack-ironic | 04:46 | |
*** wendar_ is now known as wendar | 05:03 | |
*** lazy_prince has quit IRC | 05:18 | |
*** harlowja is now known as harlowja_away | 05:30 | |
*** rameshg87 has joined #openstack-ironic | 05:30 | |
*** rakesh_hs2 has joined #openstack-ironic | 05:41 | |
*** rakesh_hs has quit IRC | 05:41 | |
*** k4n0 has joined #openstack-ironic | 05:50 | |
*** ryanpetrello has quit IRC | 05:55 | |
*** ryanpetrello has joined #openstack-ironic | 05:55 | |
*** killer_prince has joined #openstack-ironic | 06:00 | |
*** killer_prince is now known as lazy_prince | 06:00 | |
*** lazy_prince is now known as killer_prince | 06:06 | |
*** pradipta_away is now known as pradipta | 06:12 | |
*** killer_prince is now known as lazy_prince | 06:12 | |
*** Haomeng has joined #openstack-ironic | 06:32 | |
*** ifarkas has joined #openstack-ironic | 06:41 | |
*** bigjools has quit IRC | 06:48 | |
*** bigjools has joined #openstack-ironic | 06:48 | |
*** chenglch has quit IRC | 06:56 | |
*** chenglch has joined #openstack-ironic | 06:57 | |
*** pensu has joined #openstack-ironic | 06:57 | |
GheRivero | morning all | 07:02 |
*** andreykurilin_ has joined #openstack-ironic | 07:11 | |
devananda | morning, GheRivero | 07:22 |
*** dtantsur|afk is now known as dtantsur | 07:37 | |
dtantsur | Morning Ironic | 07:37 |
dtantsur | devananda, yeah, it proved to be much better that carry on set of patches for Ironic. I'm looking forward to decision on DRAC/ILO OOB discovery (aka introspection) to plug into this thing as well. | 07:39 |
*** andreykurilin_ has quit IRC | 07:41 | |
*** jcoufal has joined #openstack-ironic | 07:50 | |
*** mitz has quit IRC | 07:52 | |
*** lazy_prince is now known as killer_prince | 07:55 | |
*** mitz has joined #openstack-ironic | 07:55 | |
*** chenglch has quit IRC | 07:56 | |
openstackgerrit | Dmitry Nikishov proposed a change to openstack/ironic: Removed hardcoded IDs from "node" test resources https://review.openstack.org/127974 | 07:56 |
*** chenglch has joined #openstack-ironic | 07:56 | |
*** praneshp has quit IRC | 07:59 | |
*** killer_prince is now known as lazy_prince | 07:59 | |
*** praneshp has joined #openstack-ironic | 08:00 | |
*** jistr has joined #openstack-ironic | 08:02 | |
*** ndipanov_gone is now known as ndipanov | 08:07 | |
*** athomas has joined #openstack-ironic | 08:10 | |
*** praneshp has quit IRC | 08:19 | |
*** pradipta is now known as pradipta_away | 08:22 | |
*** pensu has quit IRC | 08:27 | |
*** lsmola has quit IRC | 08:33 | |
*** takadayuiko has quit IRC | 08:33 | |
*** openstackgerrit has quit IRC | 08:34 | |
*** openstackgerrit has joined #openstack-ironic | 08:35 | |
*** lucasagomes has joined #openstack-ironic | 08:37 | |
*** pensu has joined #openstack-ironic | 08:41 | |
*** MattMan has joined #openstack-ironic | 08:43 | |
*** Mohit has joined #openstack-ironic | 08:44 | |
*** Mohit has quit IRC | 08:44 | |
*** igordcard has joined #openstack-ironic | 08:46 | |
*** lsmola has joined #openstack-ironic | 08:46 | |
*** Mohit has joined #openstack-ironic | 08:49 | |
*** Mohit is now known as m0hit | 08:49 | |
*** m0hit is now known as m0hitt | 08:52 | |
*** bradjones_ has joined #openstack-ironic | 08:53 | |
*** bradjones has quit IRC | 08:53 | |
*** bradjones_ is now known as bradjones | 08:53 | |
*** m0hitt is now known as m0hit | 08:53 | |
*** bradjones has quit IRC | 08:53 | |
*** bradjones has joined #openstack-ironic | 08:53 | |
*** m0hit is now known as m0hitt | 08:54 | |
*** m0hitt is now known as __mohit__ | 08:54 | |
*** pensu has quit IRC | 08:55 | |
*** __mohit__ has quit IRC | 08:58 | |
*** __mohit__ has joined #openstack-ironic | 08:59 | |
*** igordcard has quit IRC | 09:03 | |
*** lsmola has quit IRC | 09:05 | |
*** igordcard has joined #openstack-ironic | 09:07 | |
*** pelix has joined #openstack-ironic | 09:09 | |
*** pensu has joined #openstack-ironic | 09:09 | |
dtantsur | brb | 09:18 |
*** athomas has quit IRC | 09:18 | |
*** lsmola has joined #openstack-ironic | 09:20 | |
*** yuanying has quit IRC | 09:26 | |
*** yuanying has joined #openstack-ironic | 09:27 | |
*** athomas has joined #openstack-ironic | 09:29 | |
*** teju has joined #openstack-ironic | 09:30 | |
*** yuanying has quit IRC | 09:32 | |
*** nosnos has quit IRC | 10:02 | |
*** nosnos has joined #openstack-ironic | 10:03 | |
*** nosnos has quit IRC | 10:08 | |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Add API endpoint to set/unset the node maintenance mode https://review.openstack.org/128925 | 10:10 |
*** jcoufal has quit IRC | 10:10 | |
*** yuanying has joined #openstack-ironic | 10:11 | |
*** chenglch has quit IRC | 10:20 | |
*** teju has left #openstack-ironic | 10:37 | |
*** jcoufal has joined #openstack-ironic | 10:38 | |
*** jcoufal has quit IRC | 10:39 | |
*** jcoufal has joined #openstack-ironic | 10:39 | |
*** pensu has quit IRC | 10:41 | |
*** pensu has joined #openstack-ironic | 10:41 | |
*** bradjones has quit IRC | 10:45 | |
*** bradjones has joined #openstack-ironic | 10:47 | |
*** foexle has joined #openstack-ironic | 10:52 | |
openstackgerrit | Dmitry Nikishov proposed a change to openstack/ironic: Removed hardcoded IDs from "node" test resources https://review.openstack.org/127974 | 10:53 |
*** ramineni has quit IRC | 11:00 | |
*** rameshg87 has quit IRC | 11:04 | |
*** romcheg has quit IRC | 11:05 | |
*** pensu has quit IRC | 11:05 | |
*** jistr is now known as jistr|english | 11:27 | |
kongfy | Hi, is any body here ? I encountered a problem when deploy ironic with devstack , I have stucked a few days…I really need some help ! | 11:37 |
*** pelix has quit IRC | 11:37 | |
*** k4n0 has quit IRC | 11:37 | |
*** rwsu has quit IRC | 11:37 | |
*** kbyrne has quit IRC | 11:37 | |
*** RioS2 has quit IRC | 11:37 | |
*** mrda has quit IRC | 11:37 | |
*** mrda has joined #openstack-ironic | 11:37 | |
*** kbyrne has joined #openstack-ironic | 11:37 | |
*** RioS2 has joined #openstack-ironic | 11:37 | |
*** rwsu has joined #openstack-ironic | 11:38 | |
*** pelix has joined #openstack-ironic | 11:38 | |
*** k4n0 has joined #openstack-ironic | 11:38 | |
kongfy | I followed the doc in Ironic deleloper guild, and the test vm works well , but I can’t get the real baremetal machine work….. | 11:39 |
*** k4n0 has quit IRC | 11:46 | |
*** k4n0 has joined #openstack-ironic | 11:46 | |
*** pelix has quit IRC | 11:46 | |
*** pelix has joined #openstack-ironic | 11:46 | |
lucasagomes | kongfy, hey what's the problem? | 11:48 |
lucasagomes | r u using the ipmitool driver? | 11:48 |
kongfy | yes ,and the machine is actually powered on by ipmi | 11:48 |
lucasagomes | right, so for deployment r you using PXE? | 11:49 |
kongfy | but PXE can not get an IP from DHCP | 11:49 |
lucasagomes | right, and you're using neutron for ur DHCP? | 11:49 |
kongfy | I’m confused with neutron configuration… | 11:49 |
kongfy | I’m not sure how to config it , is there some instructions? | 11:50 |
lucasagomes | kongfy, http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configure-neutron-to-communicate-with-the-bare-metal-server | 11:50 |
lucasagomes | I don't know much about the neutron part too, I think it's where most ppl get stuck on | 11:51 |
*** dprince has joined #openstack-ironic | 11:52 | |
lucasagomes | Ironic has a pluggable mechanism for dhcp backends, but upstream we have only neutron and a no-op one, for those who wants to use some static dhcp config | 11:52 |
kongfy | thx , I followed this article, but It seems not compliant with Devstack, so I changed the config file in /etc/neutron/plugins ,and recreate networks | 11:53 |
kongfy | and then even the vm stuck at wait-callback ... | 11:54 |
lucasagomes | yeah, can u see the node terminal? | 12:00 |
lucasagomes | I mean console* | 12:02 |
kongfy | yes , I can see it | 12:04 |
kongfy | stuck at booting from PXE , no DHCP offer received | 12:04 |
lucasagomes | I see, maybe you can try to debug what's wrong with neutron using dhcping, I'm not the best source of info on that network issue involving neutron really :/ | 12:05 |
lucasagomes | maybe worth taking a look at how neutron does it with devstack as well | 12:06 |
lucasagomes | looking at the devstack lib/neutron | 12:06 |
kongfy | yeah ,I will keep trying ,thank you for your patient!! | 12:08 |
kongfy | I have tried that way ,have to say ,neutron is scary …. | 12:09 |
lucasagomes | kongfy, no worries | 12:09 |
lucasagomes | yeah :/ | 12:09 |
lucasagomes | brb lunch | 12:10 |
*** lucasagomes is now known as lucas-hungry | 12:10 | |
lucas-hungry | kongfy, but anyway... if ur just trying you may want to run ur own dhcp server | 12:10 |
lucas-hungry | just to see if that works | 12:10 |
lucas-hungry | brb | 12:10 |
kongfy | that ’s great !!! where can I get them ? | 12:11 |
kongfy | I know what’s your meaning, I will try it! but can my own dhcp cooperate well with ironic ? | 12:15 |
*** sirushti has quit IRC | 12:20 | |
*** sirushti has joined #openstack-ironic | 12:22 | |
*** k4n0 has quit IRC | 12:28 | |
jroll | morning everybody :) | 12:57 |
*** lazy_prince is now known as killer_prince | 12:57 | |
jroll | kongfy: if you use your own dhcp server, set the config dhcp_provider=none | 12:57 |
*** jistr|english is now known as jistr | 12:57 | |
jroll | and you'll need to set it up to do tftp and such for pxe booting | 12:58 |
kongfy | is that a config entry in devstack or neutron? | 12:58 |
jroll | ironic | 12:59 |
jroll | with that option, ironic won't make calls to neutron | 12:59 |
kongfy | thx a lot! I will try it ! | 12:59 |
jroll | :) | 13:00 |
openstackgerrit | Jim Rollenhagen proposed a change to openstack/ironic: Add Node.maintenance_reason https://review.openstack.org/128645 | 13:00 |
jroll | dtantsur: ^ fixed :) | 13:00 |
jroll | lucas-hungry: your patch will need a rebase | 13:00 |
openstackgerrit | Jim Rollenhagen proposed a change to openstack/ironic: Add maintenance_reason when setting maintenance mode https://review.openstack.org/128646 | 13:00 |
dtantsur | jroll, thanks | 13:00 |
*** lucas-hungry is now known as lucasagomes | 13:02 | |
lucasagomes | jroll, morning! cheers I will take a look | 13:02 |
*** rloo has joined #openstack-ironic | 13:06 | |
GheRivero | lucasagomes: what's the status of the oslo.config patch? https://review.openstack.org/#/c/128005/ | 13:07 |
lucasagomes | GheRivero, oh I'll get back to it, I've to find a way to do a glob to get the config options. Feel free to update it if u want as well. | 13:08 |
GheRivero | I'll take a look to it later. thx for the update! | 13:09 |
jroll | I don't like splitting it to two files, fwiw :| | 13:09 |
jroll | but if others want it, it's fine | 13:10 |
GheRivero | me neither. We can just update it (and let one config file) and asks the ops/ML what they prefer | 13:10 |
*** pensu has joined #openstack-ironic | 13:11 | |
jroll | I'm excited for the ops meetup... curious who else is operating ironic | 13:11 |
lucasagomes | oh yeah I will remove that split too | 13:14 |
*** jistr has quit IRC | 13:20 | |
*** jistr has joined #openstack-ironic | 13:23 | |
NobodyCam | good morning Ironic | 13:28 |
jroll | heya NobodyCam :) | 13:28 |
NobodyCam | morning jroll lucasagomes and GheRivero :) | 13:29 |
lucasagomes | NobodyCam, morning | 13:29 |
GheRivero | morning NobodyCam | 13:30 |
NobodyCam | virtual box releases too many updates :-p | 13:30 |
NobodyCam | hey GheRivero All ready for .fr | 13:30 |
*** r-daneel has joined #openstack-ironic | 13:34 | |
GheRivero | sure! It's going to be really easy for me this time | 13:34 |
NobodyCam | lol :) | 13:35 |
rloo | hello Ironickers (jroll, GheRivero, lucasagomes, NobodyCam) | 13:36 |
jroll | morning rloo :) | 13:36 |
openstackgerrit | Dmitry Nikishov proposed a change to openstack/ironic: Removed hardcoded IDs from "node" test resources https://review.openstack.org/127974 | 13:38 |
lucasagomes | rloo, yo morning | 13:38 |
NobodyCam | morning rloo | 13:44 |
*** pensu has quit IRC | 13:47 | |
*** romcheg has joined #openstack-ironic | 13:48 | |
marck | morning everyone, I'm having trouble getting the ironic packages installed in Juno. Following the guide @ http://docs.openstack.org/developer/ironic/deploy/install-guide.html, when I try to install the packages it fails with "ironic-api : Depends: ironic-common (= 2014.1~rc1-0ubuntu1) but it is not going to be installed" | 13:51 |
NobodyCam | marck: hummm | 13:51 |
NobodyCam | have you included icnic-common on the apt-get command? | 13:52 |
marck | yes, running apt-cache show ironic-common, the version is 2014.1~rc1-0ubuntu1, not 2014.2 | 13:53 |
rloo | marck, NobodyCam: this might help: http://packages.ubuntu.com/search?suite=utopic&searchon=names&keywords=ironic | 13:53 |
NobodyCam | rloo: :) grat link | 13:54 |
rloo | marck: was it trying to install 2014.2 or 2014.1 (for ironic-api etc)? | 13:54 |
NobodyCam | great even | 13:54 |
marck | I'm running trusty (14.04), is it safe to install debs from utopic (14.10) | 13:54 |
marck | rloo: 2014.1 | 13:55 |
rloo | marck: so 2014.1 is icehouse. you want juno cuz it is better :-) | 13:55 |
marck | rloo: sure...? :) | 13:56 |
rloo | marck: I think it is safe to install from utopic, because we've been testing that version with trusty. | 13:56 |
rloo | marck: definitely sure! | 13:56 |
rloo | marck: having said that, I haven't tried it myself. guess we should and update the instructions. | 13:56 |
marck | rloo/NobodyCam: thank you both, I'll give it a shot. | 13:56 |
NobodyCam | :) | 13:56 |
rloo | marck: when it works, let us know ;) Also, any other feedback about the documentation (or lack of) would be great | 13:57 |
NobodyCam | ++++ | 13:57 |
rloo | does anyone know how/if ubuntu will make ironic avail with trusty? | 13:58 |
NobodyCam | i do not | 13:59 |
*** sambetts has joined #openstack-ironic | 14:00 | |
NobodyCam | well google shows me https://launchpad.net/ubuntu/trusty/+source/ironic/2014.1~rc1-0ubuntu1 | 14:00 |
NobodyCam | which says "IRONIC" ... in The Trusty Tahr | 14:01 |
jroll | that's icehouse, though | 14:02 |
NobodyCam | ya | 14:02 |
*** todd_dsm has joined #openstack-ironic | 14:04 | |
NobodyCam | https://launchpad.net/~openstack-ubuntu-testing/+archive/ubuntu/juno | 14:05 |
NobodyCam | they are testing | 14:06 |
NobodyCam | so I would assume at some point | 14:06 |
rloo | NobodyCam: so some packages are in trusty and utopic. some (like ironic) are only in utopic. you think it is just a matter of time that there will be versions on trusty? | 14:07 |
marck | I downloaded the 2014.2 debs from http://mirrors.kernel.org/ubuntu/pool/universe/i/ironic/ | 14:08 |
NobodyCam | rloo: yea | 14:08 |
NobodyCam | marck: :) | 14:08 |
marck | started with python-ironic and it complained about python-pecan and python-pyghmi not being install | 14:08 |
NobodyCam | marck: yep. I'start with command and its deps | 14:09 |
NobodyCam | s/i'/i'd / | 14:09 |
jroll | why is ubuntu requiring python-pyghmi :( | 14:09 |
jroll | that's wrong for juno | 14:10 |
NobodyCam | ya | 14:10 |
NobodyCam | removed here https://github.com/openstack/ironic/commit/2ba774deb6def3ca8bad2131a8dd7ba4f2fac218#diff-b4ef698db8ca845e5845c4618278f29aL30 | 14:12 |
marck | after running apt-get -f install, I was able to manually install the debs. ironic-api, ironic-common and python-ironic are all 2014.2...but no ironic-conductor | 14:14 |
marck | "ironic-conductor depends on lsb-base (>= 4.1+Debian11ubuntu7); however: Version of lsb-base on system is 4.1+Debian11ubuntu6." | 14:15 |
*** pcrews has joined #openstack-ironic | 14:15 | |
*** bradjones has quit IRC | 14:16 | |
marck | lsb-base 4.1+Debian11ubuntu8 is available in utopic, but that would break upstart according to dpkg | 14:18 |
jroll | this is why I don't believe in distro packages :( | 14:20 |
jroll | I wish I could help you, marck, but I don't know much about this stuff | 14:20 |
NobodyCam | should we come up with pip install docs? | 14:21 |
jroll | virtualenv /path/to/env && source /path/to/env/bin/activate && pip install git+https://github.com/openstack/ironic.git@stable/juno | 14:23 |
jroll | done | 14:23 |
NobodyCam | :-p ... brb | 14:23 |
marck | jroll/NobodyCam: I appreciate the help, this is a PoC so we're just trying to get a demo going. I've been hearing that installing from source is the best method. When you install a component using pip, are the start up scripts installed? | 14:25 |
jroll | marck: no, that's a downside, you have to come up with init scripts | 14:26 |
jroll | I could put up a simple one somewhere, though | 14:27 |
*** bradjones has joined #openstack-ironic | 14:29 | |
marck | jroll: that'd be great, thanks. | 14:31 |
jroll | marck: https://gist.github.com/jimrollenhagen/16904f939120ccca71f0 | 14:34 |
jroll | that's approximately what we use | 14:34 |
NobodyCam | marck: you could also take a look at the disk image builder element for Ironic for how it does that.. https://github.com/openstack/tripleo-image-elements/blob/master/elements/ironic/install.d/ironic-source-install/68-ironic | 14:34 |
*** bradjones has quit IRC | 14:37 | |
*** kbyrne has quit IRC | 14:37 | |
*** ChuckC has joined #openstack-ironic | 14:38 | |
*** derekh has joined #openstack-ironic | 14:39 | |
*** zz_jgrimm is now known as jgrimm | 14:44 | |
*** kongfy has quit IRC | 15:14 | |
*** jistr has quit IRC | 15:14 | |
marck | I installed ironic using pip and I've got ironic-api and ironic-conductor running. I followed the docs but when I run ironic node-validate, deploy has a result of False and the reason "Cannot validate iSCSI deploy. The following parameters were not passed to ironic: ['root_gb', 'image_source']" | 15:15 |
*** jcoufal has quit IRC | 15:16 | |
dtantsur | marck, it should be ok, these values are filled by nova on deploying instance | 15:18 |
rloo | marck: so depending on which driver you're using, the node's 'driver_info' needs to have parameters set. | 15:18 |
lucasagomes | marck, oh it's because those fields are going to be filled by Nova... it's not straight forward :/ there's a bug opened about it as well afaik | 15:18 |
marck | I set enabled_drivers=pxe_ipmitool | 15:18 |
lucasagomes | rloo, those are instance_info, maybe we should not check that at validate time | 15:19 |
rloo | marck: oh, I think those aren't driver_info things but instance_info things. | 15:19 |
NobodyCam | yes thats the instance info ones | 15:19 |
rloo | lucasagomes: yeah. or no. if we assume nova puts those values in then fine. but in a standalone world... | 15:19 |
lucasagomes | yeah | 15:20 |
jroll | so | 15:20 |
jroll | as part of the long running ramdisk spec | 15:20 |
lucasagomes | exactly, we have to think about something around there | 15:20 |
jroll | I proposed passing a method to validate | 15:20 |
jroll | e.g. 'deploy', 'tear_down', etc | 15:21 |
jroll | there could be a different method for node-validate | 15:21 |
*** ifarkas has quit IRC | 15:21 | |
NobodyCam | marck: if you manually hacking on this you would use somehting like : | 15:23 |
NobodyCam | ironic node-update nodeUUid add instance_info/root_gb=10 | 15:23 |
NobodyCam | ironic node-update nodeUUid add instance_info/image_source=ea5f4e1b-c4c1-475d-a95c-b9e929bfc1d9 | 15:23 |
NobodyCam | note size and image uuid is from my local test env | 15:24 |
NobodyCam | and would need to me replaced with the correct values for your env | 15:24 |
*** rakesh_hs2 has quit IRC | 15:25 | |
lucasagomes | jroll, that sounds like a good idea, so it doesn't validate the whole interface, but specific methods | 15:26 |
lucasagomes | jroll, like the vendor_passthru stuff | 15:26 |
jroll | right | 15:26 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Driver VendorPassthru to support different HTTP methods https://review.openstack.org/129942 | 15:26 |
lucasagomes | jroll, btw ^ | 15:26 |
lucasagomes | I still have to write the spec | 15:26 |
jroll | cool | 15:26 |
marck | NoValidHost exception in nova-conductor.log, brb | 15:27 |
*** dprince has quit IRC | 15:27 | |
*** dprince has joined #openstack-ironic | 15:27 | |
*** igordcard has quit IRC | 15:29 | |
lucasagomes | marck, is the conductor running? does it have the driver you're using enabled? | 15:30 |
*** igordcard has joined #openstack-ironic | 15:31 | |
lucasagomes | gate is ultra slow :( | 15:34 |
lucasagomes | up to 19h | 15:34 |
*** marcoemorais has joined #openstack-ironic | 15:40 | |
*** jistr has joined #openstack-ironic | 15:43 | |
NobodyCam | easy clean up spec with 2 x +2's already any one else gots a free minute to git a quick look see: https://review.openstack.org/#/c/127900 | 15:43 |
NobodyCam | s/git/give it/ | 15:44 |
* rloo is too picky, not going to look | 15:44 | |
jroll | NobodyCam: +2a | 15:46 |
NobodyCam | :) | 15:49 |
devananda | morning, all | 15:49 |
NobodyCam | good morning devananda :) | 15:49 |
jroll | heya devananda :) | 15:49 |
openstackgerrit | A change was merged to openstack/ironic-specs: iLO Management Interface https://review.openstack.org/127900 | 15:55 |
lucasagomes | devananda, morning | 15:55 |
*** viktors is now known as viktors|afk | 15:57 | |
jroll | lucasagomes: can you rebase https://review.openstack.org/#/c/128925/ ? ) | 16:00 |
jroll | :) even | 16:00 |
jroll | and then everybody can approve everything | 16:01 |
lucasagomes | oh yush sorry | 16:01 |
lucasagomes | rebasing... | 16:01 |
jroll | thanks! | 16:01 |
openstackgerrit | Lucas Alvares Gomes proposed a change to openstack/ironic: Add API endpoint to set/unset the node maintenance mode https://review.openstack.org/128925 | 16:09 |
lucasagomes | done :) | 16:09 |
jroll | hooray | 16:09 |
openstackgerrit | Jim Rollenhagen proposed a change to openstack/ironic: Clear maintenance_reason when setting maintenance=False https://review.openstack.org/129694 | 16:10 |
*** romcheg has quit IRC | 16:11 | |
*** igordcard has quit IRC | 16:16 | |
*** sambetts has quit IRC | 16:22 | |
*** dtantsur is now known as dtantsur|afk | 16:31 | |
openstackgerrit | John Trowbridge proposed a change to openstack/python-ironicclient: Adds tty password entry for ironicclient https://review.openstack.org/129010 | 16:42 |
*** derekh has quit IRC | 16:47 | |
marck | lucasagomes: ironic-conductor is running, I posted the ironic/nova configs and some logs here: http://paste.openstack.org/show/122777/ | 16:48 |
marck | the compute node is failing because it can't find ironic.nova.compute.manager, I updated the nova.conf on the compute node but wasn't sure what pieces of ironic to install | 16:49 |
jroll | compute_manager=ironic.nova.compute.manager.ClusteredComputeManager | 16:50 |
jroll | that's in ironic's tree | 16:50 |
jroll | so you would need to install ironic on that node, if that's what you want to use | 16:50 |
jroll | however it is not a requirement unless you want multiple nova-computes | 16:50 |
marck | jroll: thanks for the response, I have a controller, network and one compute node. nova-compute is not running on the controller, should it be? | 16:53 |
jroll | I don't know what each of those is supposed to have | 16:54 |
jroll | nova-compute needs to be running somewhere | 16:55 |
marck | It's running on the compute node, but ironic isn't installed. installing now... | 16:56 |
*** ndipanov is now known as ndipanov_gone | 16:57 | |
jroll | yeah, or you could leave out that conf option | 16:58 |
marck | the install guide said it needed to be on the nova controller and compute nodes | 17:00 |
jroll | got a link handy? | 17:01 |
NobodyCam | http://docs.openstack.org/developer/ironic/deploy/install-guide.html | 17:01 |
marck | http://docs.openstack.org/developer/ironic/deploy/install-guide.html, heading "Configure Compute Service to use the Bare Metal Service" | 17:01 |
jroll | hmm | 17:04 |
jroll | I wonder if the default setting works there | 17:04 |
marck | since installing ironic (but not starting anything) the msg in nova-scheduler.log changed from "nova.filters [req-uuid None] Filter ComputeFilter returned 0 hosts" to "nova.filters [req-uuid None] Filter ComputeCapabilitiesFilter returned 0 hosts" | 17:04 |
NobodyCam | marck: have you set the node properties? | 17:06 |
marck | properties = {u'memory_mb': u'1024', u'cpu_arch': u'x86_64', u'local_gb': u'100', u'cpus': u'2', u'root_gb': u'25'} | 17:07 |
*** zigo has quit IRC | 17:08 | |
jroll | is it cpus or num_cpus, I can't remember | 17:08 |
JayF | | properties | {u'memory_mb': 131072, u'cpu_arch': u'amd64', u'local_gb': 32, u'cpus': | | 17:08 |
NobodyCam | I set: ironic node-update nodeUUid add properties/local_gb=10 | 17:08 |
NobodyCam | ironic node-update nodeUUid add properties/memory_mb=2048 | 17:08 |
NobodyCam | ironic node-update nodeUUid add properties/cpus=1 | 17:08 |
JayF | I think that means CPUs :) | 17:08 |
*** zigo has joined #openstack-ironic | 17:08 | |
jroll | also... people tend to use ExactCpuFilter or something | 17:08 |
jroll | not sure if relevant | 17:08 |
jroll | maybe flavor data is weird | 17:08 |
JayF | ah, that's true | 17:08 |
*** pensu has joined #openstack-ironic | 17:10 | |
marck | the flavor and node have cpus=2 and memory_mb=1024, should I recreate the flavor so cpus=1 and memory_mb=512? | 17:11 |
NobodyCam | marck: I don't see why | 17:11 |
NobodyCam | marck: what do you get from nova hypervisor-stats | 17:11 |
marck | the only hypervisor listed is the compute node which hypervisor-stats matches | 17:15 |
*** harlowja_away is now known as harlowja | 17:15 | |
jroll | aha, that's progress | 17:15 |
marck | NobodyCam: incresing the nodes stats got us somewhere, there are messages relating to the nova boot cmd in ironic-api.log and ironic-conductor.log | 17:17 |
NobodyCam | marck: can you post the logs. please use paste.openstack.org or some such service | 17:18 |
*** praneshp_ has joined #openstack-ironic | 17:19 | |
jroll | oh | 17:20 |
jroll | ohhhhh | 17:20 |
jroll | nova-compute has this concept of reserved ram | 17:20 |
jroll | idk what the default is | 17:20 |
jroll | but it reserves memory for the hypervisor | 17:20 |
jroll | so if the "hypervisor host" has 1024mb of ram, you can't deploy a 1024mb instance there | 17:21 |
jroll | and it sees ironic nodes as hypervisor hosts | 17:21 |
jroll | so uh... let me find that | 17:21 |
NobodyCam | jroll: our docs do say to set ram_allocation_ratio=1.0 | 17:21 |
jroll | I think it's reserved_host_memory_mb | 17:22 |
jroll | =0 | 17:22 |
jroll | NobodyCam: dunno if that's the same thing | 17:22 |
NobodyCam | we also set that too | 17:22 |
jroll | oh | 17:22 |
jroll | hrm. | 17:22 |
*** killer_prince is now known as lazy_prince | 17:22 | |
NobodyCam | jroll: http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configure-compute-service-to-use-the-bare-metal-service | 17:22 |
jroll | strange | 17:23 |
jroll | yeah, I see it | 17:23 |
*** athomas has quit IRC | 17:24 | |
NobodyCam | hypervisor-stats should give out like http://paste.openstack.org/show/JHxKicrkNKE0goH8jJyn/ | 17:24 |
NobodyCam | which in my case is two node with one used | 17:24 |
marck | NobodyCam: http://paste.openstack.org/show/122784/ | 17:25 |
marck | be back | 17:26 |
*** ryanpetrello has quit IRC | 17:27 | |
lucasagomes | I will call it a day | 17:31 |
lucasagomes | have a great night everyone! | 17:31 |
NobodyCam | have a good night lucasagomes | 17:31 |
*** ryanpetrello has joined #openstack-ironic | 17:31 | |
jroll | night lucasagomes :) | 17:32 |
*** dlaube has joined #openstack-ironic | 17:32 | |
lucasagomes | see ya'll :) | 17:32 |
*** lucasagomes is now known as lucas-dinner | 17:32 | |
dlaube | g'morning | 17:32 |
NobodyCam | morning dlaube :) | 17:33 |
openstackgerrit | Ruby Loo proposed a change to openstack/ironic: Iterate over glance API servers https://review.openstack.org/129991 | 17:39 |
*** zigo has quit IRC | 17:41 | |
*** zigo has joined #openstack-ironic | 17:41 | |
dlaube | anyone know what causes this error upon nova-api start? http://pastie.org/private/p5rsjykbvurfdwe9g8zuw | 17:42 |
dlaube | root@lab5:~# nova-api --version | 17:42 |
dlaube | 2014.2.1 | 17:42 |
dlaube | I've tried reinstalling/building oslo.config but that didn't seem to help | 17:42 |
*** praneshp has joined #openstack-ironic | 17:43 | |
*** jistr has quit IRC | 17:43 | |
*** spandhe has joined #openstack-ironic | 17:43 | |
*** praneshp_ has quit IRC | 17:43 | |
NobodyCam | dlaube: thats a odd error , check the rootwrap files for iptables-save | 17:44 |
devananda | dlaube: permission issue perhaps | 17:45 |
NobodyCam | oh thats from nova | 17:45 |
NobodyCam | good point devananda | 17:45 |
*** praneshp_ has joined #openstack-ironic | 17:46 | |
NobodyCam | brb quick walkies being requested | 17:47 |
*** lazy_prince is now known as killer_prince | 17:48 | |
openstackgerrit | A change was merged to openstack/python-ironicclient: Add keystone v3 CLI support https://review.openstack.org/111175 | 17:49 |
*** praneshp has quit IRC | 17:49 | |
*** praneshp_ is now known as praneshp | 17:49 | |
dlaube | ahh, some of my owner/group permissions were off on my rootwrap.d and rootwrap.conf in /etc/nova | 17:49 |
dlaube | still failing though | 17:50 |
*** jistr has joined #openstack-ironic | 17:56 | |
NobodyCam | dlaube: same error? | 18:00 |
dlaube | yes, but when I ran the exec line in my /etc/init/nova-api.conf, it was prompting me for sudo password so that nova could complete the iptables save | 18:00 |
dlaube | I added user nova to sudoers and nova-api is running now | 18:01 |
*** marcoemorais has quit IRC | 18:01 | |
dlaube | i think I'm all set now | 18:01 |
*** marcoemorais has joined #openstack-ironic | 18:01 | |
*** marcoemorais has quit IRC | 18:02 | |
*** marcoemorais has joined #openstack-ironic | 18:02 | |
*** marcoemorais has quit IRC | 18:03 | |
*** kincl has joined #openstack-ironic | 18:03 | |
dlaube | thanks NobodyCam and devananda | 18:03 |
*** marcoemorais has joined #openstack-ironic | 18:04 | |
devananda | dlaube: cheers | 18:04 |
dlaube | are you gents up in SF? | 18:05 |
dlaube | I think jroll is but not sure about the rest of you guys | 18:05 |
jroll | dlaube: I am, also JayF and JoshNang | 18:06 |
jroll | we all work at rackspace sf | 18:06 |
NobodyCam | dlaube: I'm in so cal atm | 18:06 |
dlaube | nice! | 18:07 |
dlaube | I'm down in santa cruz, but I'll have to buy you guys a beer sometime | 18:07 |
dlaube | do any of you attend the bay area openstack meetups? | 18:07 |
NobodyCam | dlaube: are we going to you at the summit? | 18:08 |
dlaube | unfortunately not | 18:08 |
NobodyCam | :( | 18:08 |
dlaube | can't make it this year :( | 18:08 |
NobodyCam | well maybe we can see you at the next one.. it is at least on the west cost :) | 18:09 |
jroll | no, I don't go to the meetups, they tend to be in south bay and I'm the opposite direction | 18:09 |
jroll | NobodyCam: where is it again? | 18:09 |
NobodyCam | jroll: Vancouver I believe | 18:10 |
jroll | ah yeah :) | 18:10 |
jroll | soudns fun, I've never been | 18:10 |
jroll | oh look, another openstack project name hijack https://www.kickstarter.com/projects/atomcomputer/neutron-a-full-blown-windows-pc-in-the-palm-of-you | 18:10 |
*** marcoemorais has quit IRC | 18:10 | |
NobodyCam | jroll: its the word "windows" that makes me not want to click it | 18:13 |
jroll | hehe | 18:13 |
*** pensu has quit IRC | 18:13 | |
jroll | it's like a little NUC | 18:13 |
jroll | but windows | 18:13 |
jroll | and they're naming it neutron | 18:13 |
devananda | neutron is (tm) now. someone should tell them | 18:13 |
rloo | +2 for vancouver :-) | 18:14 |
rloo | do we need to ironic (tm) first? | 18:15 |
*** pensu has joined #openstack-ironic | 18:15 | |
NobodyCam | I donated to this kickstarter: https://www.kickstarter.com/projects/194429923/star-trek-axanar?ref=nav_search | 18:16 |
dlaube | Vancouver? sweet! | 18:17 |
dlaube | jroll: I understand. I hate driving all the way up to SF from down here | 18:18 |
dlaube | ;) | 18:18 |
*** marcoemorais has joined #openstack-ironic | 18:18 | |
jroll | dlaube: :D | 18:20 |
jroll | devananda: have something I could link to them? | 18:20 |
jroll | or should I just point someone from the board/tc at it | 18:20 |
JayF | jroll: devananda is the TC | 18:21 |
jroll | s/\/tc// then | 18:22 |
marck | NobodyCam: back, did you see anything in the logs? | 18:22 |
NobodyCam | marck: can you execute "sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c" as the nova user? | 18:25 |
dlaube | NobodyCam: did you mean me? | 18:27 |
NobodyCam | gah yes I did | 18:27 |
dlaube | or maybe marck and I just went through the same ordeal | 18:27 |
dlaube | heh | 18:27 |
dlaube | yeah, I'm able to run that now | 18:27 |
NobodyCam | :-p | 18:27 |
dlaube | nova user did not have sufficient perms to run sudo | 18:27 |
dlaube | and my ownership perms were off on /etc/nova/rootwrap.d | 18:28 |
*** pelix has quit IRC | 18:28 | |
NobodyCam | dlaube: restart the nova services and see if the error changes.. | 18:29 |
NobodyCam | I would expect it to | 18:29 |
dlaube | nova-api starts just fine now | 18:31 |
dlaube | stays running too | 18:31 |
*** jistr has quit IRC | 18:31 | |
NobodyCam | :) | 18:31 |
*** marcoemorais has quit IRC | 18:33 | |
*** marcoemorais has joined #openstack-ironic | 18:33 | |
*** pensu has quit IRC | 18:33 | |
*** marcoemorais has quit IRC | 18:36 | |
*** marcoemorais has joined #openstack-ironic | 18:36 | |
NobodyCam | dlaube: how does nova hypervisor-stats look? better this time? | 18:43 |
*** marcoemorais has quit IRC | 18:44 | |
*** marcoemorais has joined #openstack-ironic | 18:44 | |
openstackgerrit | A change was merged to openstack/ironic-python-agent: Write image directly to disk https://review.openstack.org/129046 | 18:50 |
NobodyCam | I like that change ! | 19:01 |
NobodyCam | yjiang5: ^^^^^^^ | 19:01 |
NobodyCam | j* Nice one | 19:02 |
jroll | it's good for the project | 19:02 |
jroll | bad for spped P | 19:02 |
jroll | speed, even | 19:02 |
jroll | but not that bad | 19:02 |
NobodyCam | how much worse is it ? vs convert then write? | 19:02 |
NobodyCam | I would expect faster | 19:03 |
jroll | JayF put a comment with numbers | 19:03 |
jroll | well | 19:03 |
jroll | slower on our hardware, I should say | 19:03 |
jroll | :) | 19:03 |
jroll | the 64kb block size helped a lot on our hardware | 19:03 |
jroll | but it's like... 8m03s vs 8m15s | 19:03 |
jroll | or something | 19:03 |
NobodyCam | :) | 19:03 |
NobodyCam | iscsi block size vs ip packet conflict | 19:04 |
NobodyCam | ip packet size | 19:04 |
jroll | eh? | 19:04 |
jroll | this doesn't use iscsi :P | 19:05 |
NobodyCam | oh fiddle sticks | 19:05 |
NobodyCam | I was already looking at other code | 19:05 |
jroll | but that's interesting | 19:05 |
*** derekh has joined #openstack-ironic | 19:06 | |
*** andreykurilin_ has joined #openstack-ironic | 19:08 | |
NobodyCam | jroll: are you running large packets? If i have hardware that will support it I've usally bumped the ip packet size to 4K or 16K (based on what the hardware will support) for areas where traffic like pulling disc images from glance / (san type traffic) | 19:09 |
*** jistr has joined #openstack-ironic | 19:10 | |
jroll | NobodyCam: the dd is the slow part, not the download | 19:10 |
jroll | though I would love to stream straight to disk eventually | 19:10 |
NobodyCam | we use o direct? | 19:12 |
jroll | we were | 19:13 |
jroll | that patch uses qemu-img whatever direct | 19:13 |
jroll | we did a lot of work optimizing that dd for our hardware, I don't think it's going to get much faster | 19:13 |
jroll | also, that's test hardware, prod is faster | 19:13 |
*** BertieFulton has joined #openstack-ironic | 19:14 | |
NobodyCam | humm I don't have -t oprtion for qemu-img | 19:16 |
NobodyCam | http://manpages.ubuntu.com/manpages/gutsy/man1/qemu-img.1.html | 19:16 |
NobodyCam | never mind | 19:16 |
NobodyCam | :-p | 19:16 |
jroll | this branch could use some reviews :) https://review.openstack.org/#/q/status:open+branch:master+topic:bp/maintenance-reason,n,z | 19:18 |
marck | I put up a new paste, http://paste.openstack.org/show/122815/ that includes more info | 19:25 |
*** dprince has quit IRC | 19:28 | |
Shrews | jroll: the spec for that is merged, but the lp blueprint isn't approved. we just haven't done that yet? | 19:29 |
jroll | Shrews: I guess; I tend to ignore launchpad blueprints, I think only deva can approve/target anyway | 19:30 |
Shrews | jroll: i didn't +A b/c of that. not sure of the protocol there | 19:30 |
jroll | ¯\_(ツ)_/¯ | 19:31 |
NobodyCam | as I understand once spec is landed bp WILL be approved | 19:32 |
rloo | NobodyCam, jroll, Shrews: I think we will have to remind devananda about his duties wrt blueprints ;) | 19:33 |
jroll | hate launchpad. hate launchpad blueprints even more. | 19:33 |
NobodyCam | :-p he is in meeting all day today and tomorrow | 19:33 |
rloo | NobodyCam: yes, I think you're right. Shrews: I say go ahead and approve if you want to. | 19:33 |
NobodyCam | marck: extra_specs | {"cpu_arch": "{i686|x86_64}"} is that valid? | 19:33 |
rloo | NobodyCam: maybe we can ask devananda to give you or someone else that power | 19:34 |
Shrews | rloo: ok. we're stuck waiting on jenkins anyway | 19:34 |
NobodyCam | marck: replyed to your paste. | 19:35 |
NobodyCam | take a look at let me know | 19:35 |
marck | I tried 'x86_64' with no luck, https://bugzilla.mozilla.org/show_bug.cgi?id=963165 It's related to baremetal, but I though I'd give it a try | 19:35 |
Shrews | anyone know why the queue is so slow today, anyway? | 19:35 |
jroll | Shrews: provider quotas :( | 19:36 |
*** BertieFulton has quit IRC | 19:37 | |
jroll | omy, you're from mozilla, marck ? | 19:37 |
marck | no, just googling around | 19:37 |
jroll | ah | 19:38 |
jroll | I mean, x86_64 should work | 19:38 |
jroll | afaik | 19:38 |
NobodyCam | humm I recall something about amd64 | 19:39 |
marck | NobodyCam: replied to your paste | 19:40 |
jroll | amd64 should work now too | 19:41 |
jroll | but x86_64 is the canonical version | 19:41 |
jroll | (in nova) | 19:41 |
NobodyCam | marck: I don;t see your reply | 19:42 |
NobodyCam | humm | 19:42 |
jroll | you don't need baremetal:deploy_kernel_id anymore | 19:44 |
jroll | same for ramdisk | 19:44 |
marck | http://paste.openstack.org/show/122826/ | 19:44 |
marck | it gets to nova.scheduler.filters.compute_capabilities_filter, the "fails instance_type extra_specs requirements" | 19:45 |
jroll | oh | 19:45 |
marck | I have to go, thank you very much for all your help today. Hopefully we can figure it out | 19:46 |
jroll | hmm | 19:46 |
NobodyCam | marck: set the flavors extra spec cpu arch to just x86 | 19:46 |
NobodyCam | -64 | 19:46 |
NobodyCam | gah | 19:47 |
NobodyCam | x86_64 | 19:47 |
NobodyCam | jroll: take a look at the cpu arch on his flavor.. I think thats what he is hitting | 19:49 |
jroll | yeah indeed | 19:50 |
jroll | "I tried 'x86_64' with no luck," | 19:50 |
jroll | looks like ComputeCapabilitiesFilter is catching it | 19:51 |
jroll | isn't there something with like... baremetal capabilities? | 19:51 |
jroll | I might be completely off track here | 19:51 |
NobodyCam | looks like there is a disk size mis match from node-show to flavor-show... | 19:52 |
jroll | hmm | 19:53 |
jroll | maybe | 19:53 |
* jroll bbiab | 19:53 | |
NobodyCam | i too will brb.. | 19:54 |
*** boris-42 has quit IRC | 19:59 | |
*** jistr has quit IRC | 20:01 | |
*** derekh has quit IRC | 20:01 | |
rloo | Shrews, jroll: wrt 128645, since it hasn't yet been approved ;) I had a question https://review.openstack.org/#/c/128645/7/ironic/api/controllers/v1/node.py | 20:02 |
*** vdrok_ has joined #openstack-ironic | 20:05 | |
* NobodyCam is back | 20:09 | |
*** pensu has joined #openstack-ironic | 20:12 | |
Shrews | rloo: good question. depends on if we want that field to show up in a node collection or not. my initial reaction is to say "no, they can get the reason from querying the node" | 20:13 |
rloo | Shrews: it seems odd to show that, but not show 'maintenance'. | 20:14 |
Shrews | rloo: eh, not to me, really. the data in a node list is very trimmed down, but i can be convinced the other way | 20:15 |
Shrews | http://docs.openstack.org/developer/ironic/webapi/v1.html#NodeCollection | 20:16 |
rloo | Shrews: I had another question so I -1'd the patch. | 20:16 |
Shrews | rloo: cool | 20:16 |
rloo | Shrews: there should be a similar/generated page with maintenance-info. | 20:17 |
Shrews | eh? | 20:17 |
rloo | http://docs-draft.openstack.org/45/128645/6/check/gate-ironic-docs/f15904a/doc/build/html/webapi/v1.html#nodes | 20:18 |
rloo | Shrews: so, for full info on node, maintenance & maintenance_reason are shown. but for the trimmed version, only maintenance is shown. | 20:19 |
rloo | Shrews: so I think that's fine. I think I keep tripping up over the code with double negatives, 'if not expand: except_list...' | 20:21 |
rloo | Shrews: now, if someone can remind me what the NodePatchType stuff is for... | 20:22 |
*** yuanying has quit IRC | 20:25 | |
Shrews | rloo: check out https://review.openstack.org/#/c/128925/8/ironic/api/controllers/v1/node.py | 20:26 |
rloo | Shrews: so what it is doing (with maintenance_reason but not maintenance) is that it is allowing someone to update/modify maintence_reason but not maintenance. | 20:28 |
NobodyCam | rloo: I can see that | 20:31 |
NobodyCam | node already in maintenance but someone wants to update reason? | 20:31 |
Shrews | rloo: i think the intent is to NOT allow maintenance_reason to be updated via the PATCH (only through the new API lucas is creating) | 20:32 |
*** boris-42 has joined #openstack-ironic | 20:32 | |
rloo | Shrews: yes, that's it! Because I was fairly sure we could change maintenance mode via a node update. | 20:33 |
rloo | Shrews: thx! | 20:34 |
Shrews | np | 20:34 |
*** pensu has quit IRC | 20:39 | |
Shrews | @all: FYI, I'm going to be at the AllThingsOpen conference tomorrow and Thursday, so I won't be around. | 20:39 |
mrda | Morning Ironic | 20:40 |
Shrews | mrda: morning | 20:40 |
NobodyCam | morning mrda | 20:41 |
NobodyCam | Shrews: Enjoy | 20:41 |
Shrews | NobodyCam: thx! | 20:42 |
rloo | Shrews: have fun! | 20:43 |
rloo | morning mrda! | 20:43 |
Shrews | is this review showing jenkins results twice for anyone else, or has yosemite messed up my browser? https://review.openstack.org/#/c/129031/ | 20:44 |
Shrews | 3 times, actually | 20:44 |
* Shrews hurls angry wet ferrets at java-based review systems | 20:46 | |
NobodyCam | oh that sounds much worse then just the normal wet cats | 20:49 |
NobodyCam | that get tossed around | 20:49 |
* mrda thought it was all about wet fish, but is willing to learn | 20:50 | |
NobodyCam | lol mrda have you heard of wet vs dry code? | 20:51 |
*** foexle has quit IRC | 20:52 | |
NobodyCam | well really damp vs dry | 20:52 |
NobodyCam | lol | 20:52 |
rloo | Shrews: I see several jenkins for patch set 4. are you seeing double of jenkins, done at the same time? | 20:52 |
NobodyCam | but tossing damp cats makes little sense | 20:52 |
NobodyCam | Shrews: none of the times are dup for me | 20:53 |
mrda | NobodyCam: DRY as a principle is well known to me. But the cat reference isn't :) | 20:54 |
Shrews | times are all different. just didn't expect so many results. if someone wants to approve that and get it off my mind, that would be swell! | 20:54 |
Shrews | mrda: clearly you don't know mordred | 20:54 |
NobodyCam | lol ahh thats a monty thing | 20:54 |
NobodyCam | :) | 20:54 |
Shrews | and my ferrets will eat his cats, so i win | 20:54 |
mrda | lol | 20:54 |
mrda | I know mordred, but not that well :) | 20:55 |
NobodyCam | lol | 20:56 |
*** yjiang5 has left #openstack-ironic | 20:58 | |
Shrews | rloo: sqlalchemy.types.String is a base type for all string-based data types in a db (TEXT, VARCHAR, etc) | 21:01 |
Shrews | so, yeah, that's fine | 21:01 |
rloo | Shrews: ok. but to be more specific, TEXT would be better? | 21:02 |
rloo | cuz something could be a String but not Text? | 21:02 |
*** praneshp_ has joined #openstack-ironic | 21:02 | |
Shrews | rloo: String is abstract, TEXT is not (db dependent) | 21:02 |
NobodyCam | Shrews: theres no bug for the hash ring? | 21:03 |
Shrews | NobodyCam: not really a bug | 21:03 |
*** praneshp has quit IRC | 21:03 | |
*** praneshp_ is now known as praneshp | 21:03 | |
rloo | Shrews: ok thx. So the other test in that file should use String too, not TEXT. | 21:04 |
Shrews | NobodyCam: i mean, maybe it *could* be? | 21:04 |
NobodyCam | I was just checking | 21:04 |
*** ChuckC has quit IRC | 21:05 | |
Shrews | rloo: well, i dunno about those. types.TEXT derives from types.String | 21:06 |
rloo | Shrews: I am thinking I don't want to know anything more ;) | 21:06 |
Shrews | do we want to keep them more abstract, or closer to the actual db data type? i would argue abstract is better, but clearly either works | 21:07 |
NobodyCam | Shrews: 129031 done | 21:07 |
Shrews | NobodyCam: w00t! so am I | 21:07 |
Shrews | good night all | 21:08 |
NobodyCam | lol ... have a nice couple of days | 21:08 |
rloo | Shrews: I think I'm fine with either, but would be nice to be consistent. | 21:08 |
rloo | Shrews: night already? bye! | 21:08 |
*** vdrok_ has quit IRC | 21:09 | |
dlaube | I'm trying to nova boot a node using the ironic driver. I can see that the instance is in status "BUILD" and Task State as "spawning", but it's been this way for about 15-20 minutes | 21:09 |
dlaube | nothing in the nova-compute.log to suggest what is going on | 21:10 |
dlaube | anyone have some advice for other things I can look at to determine what's going on? | 21:10 |
*** ChuckC has joined #openstack-ironic | 21:11 | |
NobodyCam | dlaube: ironic node-show uuid | 21:11 |
NobodyCam | thou build sounds like it having issue pulling the image from glance. or maybe just supper slow | 21:12 |
*** lucas-dinner has quit IRC | 21:19 | |
*** yuanying has joined #openstack-ironic | 21:21 | |
NobodyCam | brb | 21:25 |
*** todd_dsm has quit IRC | 21:25 | |
*** yjiang5 has joined #openstack-ironic | 21:26 | |
*** yjiang5 has left #openstack-ironic | 21:26 | |
*** yjiang5 has joined #openstack-ironic | 21:27 | |
dlaube | http://pastie.org/private/rmjofznvozmr9yah1i0jsq | 21:28 |
NobodyCam | dlaube: humm last error is none on that. anything in the logs? | 21:33 |
NobodyCam | dlaube: ironic-conductor log should tell us why the deploy failed | 21:36 |
dlaube | nothing in logs at all | 21:36 |
dlaube | huh | 21:36 |
dlaube | I used to have working logs | 21:36 |
dlaube | lol | 21:36 |
dlaube | log_file = ironic.log log_dir = /var/log/ironic | 21:36 |
dlaube | crap, I think log_dir=/var/log/ironic/ is all I need | 21:39 |
NobodyCam | :-p | 21:44 |
dlaube | ok, must have forgot to set verbose=true and debug=true | 21:44 |
dlaube | I have logs again | 21:44 |
dlaube | let me nova boot this puppy again and see what is what | 21:45 |
NobodyCam | dlaube: also check what state the node is "waiting" at.. | 21:46 |
NobodyCam | ie is it waiting for call back? | 21:46 |
openstackgerrit | A change was merged to openstack/ironic: Improve hash ring value conversion https://review.openstack.org/129031 | 21:46 |
dlaube | will it say something about "waiting" in ironic-conductor.log ? | 21:47 |
dlaube | or should I eyeball to see where it left off or something | 21:47 |
dlaube | seeing a nice exception in ironic-conductor.log | 21:48 |
openstackgerrit | Jim Rollenhagen proposed a change to openstack/python-ironicclient: Add node-set-maintenance command https://review.openstack.org/129693 | 21:49 |
jroll | that should be good now | 21:49 |
jroll | and there's two patches here that just need +A https://review.openstack.org/#/q/status:open+project:openstack/ironic+branch:master+topic:bp/maintenance-reason,n,z | 21:50 |
jroll | (jenkins is done) | 21:50 |
dlaube | getting an exception is better then no exception in the logs :D http://pastie.org/private/a4aeckjm2cenaqxmnina | 21:51 |
*** andreykurilin_ has quit IRC | 21:51 | |
dlaube | except when everything works 100% of the time | 21:51 |
dlaube | hahaha | 21:51 |
*** yuanying has quit IRC | 21:55 | |
*** praneshp_ has joined #openstack-ironic | 22:03 | |
openstackgerrit | Josh Gachnang proposed a change to openstack/ironic-python-agent: Add command metrics to IPA API https://review.openstack.org/119981 | 22:03 |
NobodyCam | can any one think of a clean why to ask a conductor to rebuild it's tftpboot dir.. | 22:04 |
NobodyCam | I can do it with a aweful hack | 22:04 |
*** praneshp has quit IRC | 22:06 | |
*** praneshp_ is now known as praneshp | 22:06 | |
NobodyCam | dlaube: cruft in the db? Returning exception Node e9eff0a1-5971-4ddf-b0cb-e7d98f255fb6 is associated with instance 013d3157-f5fc-41c6-815f-8fc8e885fdf8. to caller | 22:07 |
dlaube | I issued multiple nova boot commands against that single ironic testing node, e9eff0a1-5971-4ddf-b0cb-e7d98f255fb6 | 22:08 |
NobodyCam | I can tell | 22:09 |
dlaube | seeing a handful of instances via "nova list" that ultimately reference e9eff0a1-5971-4ddf-b0cb-e7d98f255fb6 | 22:09 |
NobodyCam | :-p | 22:09 |
dlaube | could that be the cause of that exception? | 22:09 |
NobodyCam | oh ya | 22:09 |
NobodyCam | start fresh | 22:09 |
dlaube | trying to delete them with nova but its hung with Task State "deleting" | 22:11 |
dlaube | heh | 22:11 |
NobodyCam | :-p | 22:13 |
jroll | NobodyCam: I mean... just validate instance info for all nodes belonging to the conductor or something? | 22:14 |
jroll | and by validate I mean check that k/r are in cache and download if not | 22:14 |
dlaube | whats the easiest way to disassociated the two instances that want to own that ironic node? I can drop the tables in the nova DB and restart nova* | 22:14 |
NobodyCam | jroll: I have a case where a system has been updated and tftpboot dir wiped out | 22:15 |
jroll | NobodyCam: right, on conductor startup, make sure you have all instance k/r's there | 22:15 |
JayF | dlaube: you also have to detach the instance uuids from ironic as well | 22:15 |
dlaube | JayF: not sure how I do that | 22:17 |
NobodyCam | jroll: oh just restart and it should rebuild? | 22:17 |
jroll | NobodyCam: that's how the code should look, not sure if it works that way | 22:17 |
JayF | dlaube: I think it'd be something like # ironic node-update NodeUUID delete instance_uuid | 22:17 |
JayF | dlaube: but that's syntax from memory :) | 22:17 |
NobodyCam | let me see if I can check that | 22:17 |
jroll | instance_uuid is internal :( | 22:17 |
jroll | er wait | 22:17 |
jroll | it's not | 22:17 |
jroll | ignore me | 22:18 |
jroll | JayF is right | 22:18 |
JayF | if nova can set/unset it, so can an oper ;) | 22:18 |
*** mrmoje has joined #openstack-ironic | 22:18 | |
dlaube | cool, thanks JayF! | 22:18 |
dlaube | will give that a try | 22:18 |
JayF | dlaube: np, good luck | 22:18 |
dlaube | ty. | 22:21 |
dlaube | fyi; looks like it was ironic node-update NodeUUID remove instance_uuid | 22:21 |
JayF | ah | 22:23 |
JayF | I use replace (for maint/unmaint) much more often than delete | 22:23 |
JayF | er, I guess, remove, hah | 22:23 |
openstackgerrit | John Trowbridge proposed a change to openstack/python-ironicclient: Adds tty password entry for ironicclient https://review.openstack.org/129010 | 22:27 |
openstackgerrit | A change was merged to openstack/ironic: Add Node.maintenance_reason https://review.openstack.org/128645 | 22:32 |
NobodyCam | jroll: fyi I just tried restarting the conductor, it does not rebuild the tftpboot dir. | 22:34 |
NobodyCam | I have to hack the DB to do it | 22:34 |
jroll | NobodyCam: huh | 22:38 |
NobodyCam | jroll: I was looking into a issue where the tftpboot dir had been wiped out on a conductor | 22:39 |
jroll | right, I got that | 22:39 |
NobodyCam | just restarting the conductor did not rebuild the tftpdir | 22:40 |
NobodyCam | I can hack it, by adding a fake conductor to the conductors table as offline then assign all the node from the conductor I want to rebuild the tftpboot dir on to that offline conductor, | 22:41 |
NobodyCam | p | 22:41 |
NobodyCam | p_task comes along and rebuilds the tftpboot dir in just a monute or so | 22:42 |
NobodyCam | and ressigns the nodes back to the correct conductor | 22:42 |
JayF | You're saying, basically | 22:43 |
JayF | a conductor that restarts, if it's nodes are never taken over by another conductor | 22:43 |
JayF | almost needs to take_over() it's own nodes again | 22:44 |
JayF | Ironic is tying "hostname" to "state on disk" when that is not always true | 22:44 |
jroll | something like that | 22:45 |
jroll | I mean | 22:45 |
jroll | should we be writing code to work around an operator blowing away ironic's data? | 22:46 |
jroll | it's a crappy situation to get into, and maybe we should handle it for them | 22:46 |
jroll | idk | 22:47 |
*** jmank has joined #openstack-ironic | 22:47 | |
NobodyCam | JayF: its this that stops it if the node is not over taken over.. https://github.com/openstack/ironic/blob/master/ironic/conductor/manager.py#L917 | 22:47 |
*** mrmoje has quit IRC | 22:47 | |
JayF | I mean, I honestly don't like that conductors in the pxe driver have state on disk at all | 22:49 |
JayF | I don't know the best way to handle that, but it seems like right now the assumption Ironic makes is a conductor with the same hostname has the same ondisk state | 22:49 |
NobodyCam | so forcing a affinity change to a known offline conductor allows it to rebuild. I agree I don't think we should codify a work around. | 22:49 |
JayF | and we'd need to break that assumption everywhere to fix this bug, basically | 22:49 |
*** jgrimm is now known as zz_jgrimm | 22:49 | |
NobodyCam | the fix we used in this case was to save the tftpboot dir and restore it | 22:50 |
NobodyCam | but something to think about | 22:50 |
NobodyCam | i don't think allowing ironic to verify and rebuild the tftpboot dir is out of scope | 22:51 |
*** yuanying has joined #openstack-ironic | 22:51 | |
JayF | I don't think it is either, per se | 22:52 |
JayF | but I almost would prefer us point our brains at a model that wouldn't require us to keep state on disk | 22:52 |
NobodyCam | but howto do it | 22:52 |
JayF | but every thought I have about that leads me to us having Ironic be every damn service in the chain, lol | 22:52 |
NobodyCam | JayF: I was hoping this could be a pod topic? at the summit | 22:52 |
JayF | I mean, I'm interested from a general operations standpoint | 22:53 |
JayF | but I don't like or run the pxe driver | 22:53 |
NobodyCam | JayF: my first is a manual hash ring rebalance command | 22:53 |
JayF | so not sure my input is useful in this case :P | 22:53 |
NobodyCam | *first thought | 22:53 |
jroll | NobodyCam: I would just have it call take_over on its own nodes | 22:57 |
jroll | it should be fast if there's nothing to do | 22:58 |
jroll | maybe | 22:58 |
jroll | it might hit glance, I don't remember | 22:58 |
*** derekh has joined #openstack-ironic | 23:05 | |
NobodyCam | jroll: I'll look in to it. i don't really feel its a bug as right now there is now real way we can completly rebuild the tftpboot dir. ironic has no idea where pxelinux.0 is on a system, I supose we could search for it. | 23:06 |
jroll | hm, yeah | 23:07 |
jroll | idk. | 23:07 |
NobodyCam | :) fix is don't delete he tftpboot dir ...lol ... or if you do... restore it. | 23:07 |
jroll | ya | 23:07 |
JayF | NobodyCam: I mean, of all the reasons, that's not an awesome one TBH. Config var "pxelinux_rom=" which defaults to autodetection (looking for where the packages would put it in rhel/debian) | 23:09 |
JayF | NobodyCam: if Ironic needs and will modify things in the dir it should probably own all contents | 23:09 |
JayF | but things have been working with things as they are now, so ummv | 23:09 |
JayF | *ymmv | 23:09 |
NobodyCam | :-p JayF ya i'm not saying its not something we shouldn't address, just need to put some thought behind it. because I would like to be able to fix a "d'oh" moment | 23:11 |
JayF | I mean there are clearly buckets full of use case for this | 23:11 |
JayF | I just wonder if we can remove the need rather than fulfill it | 23:12 |
* JayF dreams of a utopia with no state | 23:12 | |
NobodyCam | :) | 23:12 |
NobodyCam | we will get there ... But I did see logans run, and I am over 30 :-p so utopia's are scarry to me ...lol | 23:14 |
JayF | the only utopic thing I expect to ever see | 23:15 |
JayF | is the next ubuntu | 23:15 |
NobodyCam | lol :-p | 23:15 |
*** Haomeng|2 has joined #openstack-ironic | 23:34 | |
*** Haomeng has quit IRC | 23:35 | |
yjiang5 | Hi, I'm trying to figure out the raw image conversion, and have several questions, can anyone give me some hints? | 23:43 |
*** zz_jgrimm is now known as jgrimm | 23:46 | |
JayF | Ask away | 23:47 |
NobodyCam | yjiang5: did you see the patch the IPA guys landed today | 23:47 |
JayF | NobodyCam: you're so happy about that :P | 23:47 |
JayF | NobodyCam: that's how it was done about 3 commits into the old teeth-agent :) | 23:48 |
JayF | NobodyCam: sans -t directsync | 23:48 |
yjiang5 | firstly, what's the exact usage case of "forced_raw_images"? It's used in converted_size() and image_to_raw(). If forced_raw_images is False, both of function will not do anything, especially the converted_size() will return 0. It's really a hack IMHO. The caller asking for image_to_raw(), the caller has more idea of it, we should really not hack that config in the callee. Secondly, why the create_boot_iso() will invoke the images.fetch_to_raw() | 23:48 |
yjiang5 | NobodyCam: sorry, not yet. | 23:49 |
*** takadayuiko has joined #openstack-ironic | 23:49 | |
NobodyCam | :) | 23:49 |
yjiang5 | NobodyCam: let me check, thanks | 23:49 |
jroll | "It's really a hack IMHO." | 23:49 |
jroll | honestly, half this project is a hack | 23:50 |
yjiang5 | jroll: :) | 23:50 |
jroll | I mean that with all love and respect | 23:50 |
NobodyCam | it removed the entire dd command I think thats good | 23:50 |
NobodyCam | yjiang5: fyi: https://review.openstack.org/129046 | 23:50 |
NobodyCam | :-p | 23:50 |
yjiang5 | NobodyCam: Cool! landed today means merged or in gerrit? | 23:50 |
yjiang5 | NobodyCam: thanks | 23:50 |
yjiang5 | NobodyCam: I don't use IPA yet, I simply use iscsi deploy. So the iscsi deploy will be replaced by IPA? | 23:52 |
NobodyCam | yjiang5: I think that same patch may work for iscsi | 23:52 |
NobodyCam | same == same consept | 23:53 |
jroll | oh that's interesting | 23:53 |
NobodyCam | for iscsi it would be uncompress over iscsi | 23:54 |
yjiang5 | NobodyCam: Yes, I have a small patch at hand, to convert the image on the fly when copy (i.e. execute 'qemu-image -O convert', instead of dd, if the image is not raw). | 23:54 |
JayF | yjiang5: right now IPA vs iscsi deploy is more about how you want machines deployed and what feature sets you need. I don't think we want that to always be true though | 23:54 |
NobodyCam | JayF: my goal is that all drivers (and agent) provide the same (core) functions | 23:55 |
yjiang5 | JayF: I didn't take IPA because I was using 12.04 when I begin try Ironic. Then I didn't switch to IPA when switch to 14.04 because iscsi works happily for me. | 23:56 |
JayF | yjiang5: your host OS doesn't matter to IPA | 23:57 |
yjiang5 | JayF: Devstack w/ ironic requires docker.io :) | 23:57 |
JayF | I get what you mean now | 23:57 |
JayF | devstack is a whole other ball of wax than real life :P | 23:57 |
openstackgerrit | Jay Faulkner proposed a change to openstack/ironic-python-agent: Improve docstrings for cmd/agent.py https://review.openstack.org/120662 | 23:59 |
yjiang5 | JayF: I have only 3 machines, so devstack meet my requirement, and in fact, I really don't know any method other than devstack to try ironic on my 3 machines (I have a patch to enable devstack to install on real hardware). | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!