Friday, 2014-04-04

dhellmannthat should be easy to fix00:00
adam_germ, also defaults00:00
adam_gyea00:00
adam_gnova/openstack/common/log.py gets synced in, no?00:00
*** dwalleck has joined #openstack-ironic00:01
dhellmannyeah00:03
dhellmannif the default has "nova" or "ironic" in it, then you won't be able to make them match00:03
adam_gdhellmann, yeah--the logging stuff seems easys enough to fix but not so much for others ,eg rootwrap_config00:05
dhellmannyou're not using oslo.rootwrap, I guess?00:07
dhellmann(the lib)00:07
dhellmannadam_g: I have to take off. I'll try to help some more tomorrow.00:08
adam_gdhellmann, hmm, listed in the requirements.txt00:08
dhellmannI guess if you both have options to specify the default file, though...00:08
adam_gdhellmann, thanks, have a goood one00:09
*** dwalleck has quit IRC00:10
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Refactor nova.virt.ironic.driver get_host_stats  https://review.openstack.org/8385300:12
* NobodyCam starts a test with 83853 and walks afk for a bit....00:15
ShrewsNobodyCam: make sure you're using that latest patchset00:16
NobodyCamShrews: xport DIB_REPOREF_ironic=refs/changes/53/83853/5 :-p lazy late in the day test00:17
Shrews++00:18
NobodyCam:)00:18
ShrewsSo, this unit test memory hog issue is consistenly repeatable on my hp vm, but I have not seen it on my laptop. HP vm has 2 cores, running 12.04. Laptop has 4 and 13.10.00:35
ShrewsI suspect the # of cores might be the key there since the test runner appears to split up tests for each core00:36
Shrewsadam_g: how many cpu cores on the machine you saw this problem?00:37
adam_gShrews, 400:38
adam_gShrews, i was able to hit it with --concurrency=1 as well00:38
adam_gFWIW00:38
Shrewshrm. os?00:38
adam_gShrews, ubuntu 14.0400:41
Shrewsi'm seeing it with concurrency=1 too00:42
Shrews*sigh*00:42
*** rloo has quit IRC01:10
*** eghobo has joined #openstack-ironic01:17
*** nosnos has joined #openstack-ironic01:33
NobodyCamShrews: [2014-04-03 18:47:20]   undercloud : 1939 s01:54
NobodyCamworked :)01:54
Shrewswoohoo!01:54
NobodyCamand woo hoo the tripleo tests are running again :)01:55
*** eghobo has quit IRC01:56
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403301:58
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403301:58
adam_gdevananda, ^ slightly better approach that gets rid of that shell script enitrely01:59
adam_gstill a bit hacky in tox.ini01:59
Shrewsadam_g: i find that i can reproduce that memory bug by running this:  discover -t ./ -v02:01
adam_gShrews, before the tests even run?02:01
Shrewsthe api tests all fail for some reason, then it just hangs02:01
Shrewsduring02:02
Shrewsi'm no unit testing framework expert, so learning how this stuff works as i go02:02
*** mynameisdeleted has joined #openstack-ironic02:02
mynameisdeletedhi all02:02
adam_gShrews, im with you, just spent the last hour or so deep into testr/subunit/testtools02:03
mynameisdeletedso.. ironic is good for a giant-storage ubuntu machien provisioning like 30 gaming pc's in an internet cafe?02:03
mynameisdeletedI want to use adobe for an hour.. I can buy time, and have an adobe image sent to me whcih I rent which has a cloud license for adobe02:03
mynameisdeletedI want to rn the latest video game I rent an image iwth that installed also licensed for cloud node use02:04
mynameisdeletedI want linux I can tell the front desk person to send me that02:04
mynameisdeleteddoes this project launch windows on iscsi targets well?02:05
adam_gShrews, runnig discover gets me hung up at ironic.tests.drivers.test_seamicro.SeaMicroPrivateMethodsTestCase.test__power_off_fail ...02:06
adam_gShrews, ive run the suite a bunch via tox directly without issue, at least out of that nova unit test review above02:06
Shrewsweird02:07
*** dwalleck has joined #openstack-ironic02:14
*** _LXXIII_ has quit IRC02:14
*** eghobo has joined #openstack-ironic02:28
*** eghobo has quit IRC02:47
*** matsuhas_ has joined #openstack-ironic02:53
*** matsuhashi has quit IRC02:53
*** matsuhas_ has quit IRC02:54
*** matsuhashi has joined #openstack-ironic02:56
*** matsuhashi has quit IRC03:02
*** matsuhashi has joined #openstack-ironic03:04
*** hemna_ has quit IRC03:11
*** nosnos has quit IRC03:17
openstackgerritRussell Haering proposed a change to openstack/ironic: Version agent lookup payloads  https://review.openstack.org/8522803:19
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403303:33
*** eghobo has joined #openstack-ironic03:33
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403303:34
*** eghobo has quit IRC03:58
*** eghobo has joined #openstack-ironic04:00
*** matsuhashi has quit IRC04:01
*** eghobo has quit IRC04:02
*** harlowja is now known as harlowja_away04:03
*** matsuhashi has joined #openstack-ironic04:05
*** rameshg87 has joined #openstack-ironic04:06
*** dwalleck has quit IRC04:20
*** nosnos has joined #openstack-ironic04:20
openstackgerritJenkins proposed a change to openstack/ironic: Updated from global requirements  https://review.openstack.org/8347104:20
openstackgerritJenkins proposed a change to openstack/ironic-python-agent: Updated from global requirements  https://review.openstack.org/8523304:20
*** zelenyuk has joined #openstack-ironic04:31
*** killer_prince2 has joined #openstack-ironic04:34
*** killer_prince2 is now known as lazy_prince04:46
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403304:57
*** harlowja_away has quit IRC05:29
*** vkozhukalov has joined #openstack-ironic05:31
openstackgerritJenkins proposed a change to openstack/ironic: Imported Translations from Transifex  https://review.openstack.org/8395606:09
*** mrda is now known as mrda_weekend06:47
*** vkozhukalov has quit IRC06:50
*** romcheg has joined #openstack-ironic06:53
*** zelenyuk has quit IRC06:57
*** romcheg has quit IRC07:03
*** matsuhashi has quit IRC07:07
*** saju_m has joined #openstack-ironic07:12
*** ifarkas has joined #openstack-ironic07:16
*** max_lobur has joined #openstack-ironic07:34
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Fix messages formatting for _sync_power_states  https://review.openstack.org/8504407:34
dtantsurMorning Ironic07:47
lifelesso/07:53
Mikhail_D_wkMorning all! :)07:53
*** matsuhashi has joined #openstack-ironic08:04
*** martyntaylor has joined #openstack-ironic08:04
*** martyntaylor has quit IRC08:09
*** jistr has joined #openstack-ironic08:10
*** derekh has joined #openstack-ironic08:10
*** vkozhukalov has joined #openstack-ironic08:15
*** max_lobur has quit IRC08:24
*** martyntaylor has joined #openstack-ironic08:25
*** lucasagomes has joined #openstack-ironic08:26
Mikhail_D_wkcomstud: Are you here? :)08:26
*** Mikhail_D_wk has left #openstack-ironic08:34
*** stevehuang has quit IRC08:34
*** stevehuang has joined #openstack-ironic08:34
*** matsuhashi has quit IRC08:35
*** Mikhail_D_wk has joined #openstack-ironic08:36
*** athomas has joined #openstack-ironic08:37
openstackgerritYuriy Zveryanskyy proposed a change to openstack/ironic: Remove 'persistent' parameter for boot device in PXE driver  https://review.openstack.org/8526708:52
*** matsuhashi has joined #openstack-ironic08:53
*** max_lobur has joined #openstack-ironic09:07
*** max_lobur1 has joined #openstack-ironic09:07
lucasagomeslifeless, if you have a time can you take a look at 85267? I put a comment there, but I'd like to see the opnion of someone with a more sysadim background09:09
*** max_lobur has quit IRC09:11
openstackgerritA change was merged to openstack/ironic: Change admin_url help in ironic driver  https://review.openstack.org/8414809:19
*** matsuhashi has quit IRC09:47
*** matsuhashi has joined #openstack-ironic09:47
lifelesslucasagomes: reviewed09:54
lucasagomeslifeless, ta much!09:55
*** saju_m has quit IRC09:56
*** saju_m has joined #openstack-ironic10:09
*** overlayer has joined #openstack-ironic10:11
*** saju_m has quit IRC10:14
*** matsuhashi has quit IRC10:23
*** saju_m has joined #openstack-ironic10:30
*** matsuhashi has joined #openstack-ironic10:30
*** nosnos has quit IRC10:33
*** saju_m has quit IRC10:35
*** saju_m has joined #openstack-ironic10:35
*** jistr has quit IRC10:37
*** matsuhashi has quit IRC10:38
*** nosnos has joined #openstack-ironic10:39
*** saju_m has quit IRC10:40
*** saju_m has joined #openstack-ironic10:40
*** matsuhas_ has joined #openstack-ironic10:41
openstackgerritA change was merged to openstack/ironic: Reduce logging output from non-Ironic libraries  https://review.openstack.org/8449610:49
*** matsuhas_ has quit IRC10:52
*** matsuhashi has joined #openstack-ironic10:52
*** yuriyz has quit IRC10:54
*** matsuhashi has quit IRC10:57
*** jistr has joined #openstack-ironic10:58
rameshg87hello lucasagomes:11:03
lucasagomesrameshg87, hi there!11:03
rameshg87regarding the bug https://bugs.launchpad.net/ironic/+bug/130197511:03
rameshg87Fix sleep() workaround for the "device is busy" problem11:04
rameshg87i think we can make use of https://pypi.python.org/pypi/psutil/11:04
rameshg87how about using the library, it provides lsof functionality11:04
lucasagomesrameshg87, ah, looks good! We also think that maybe adding a new dependency to the project just because of that small problem might be overkill11:06
lucasagomesalso have to think*11:06
lucasagomesrameshg87, I can't reproduce the device is busy problem in my env tho :( even removing that sleep things works11:07
lucasagomesbut someone might have hit this problem11:07
rameshg87yeah, i agree11:11
rameshg87so do you suggest waiting for more votes who have faced this issue ?11:12
rameshg87even i haven't faced this issue :-)11:12
lucasagomesrameshg87, oh no, I mean, as I haven't hit this problem and don't have the right experience/knowledge to know how to best avoid the problem I just opened the bug and left it there11:15
lucasagomesbut if you feel like you can fix it in a nice way11:15
lucasagomesthat would be great11:15
*** yuriyz has joined #openstack-ironic11:15
lucasagomesrameshg87, I'm sure sleeping is not the right way to avoid it11:16
lucasagomesheh11:16
rameshg87lucasagomes, :-).  okay, i just thought of checking with you since you submitted the bug11:16
lucasagomesrameshg87, :)11:17
*** athomas has quit IRC11:18
*** rameshg87 has left #openstack-ironic11:23
*** lucasagomes is now known as lucas-hungry11:27
openstackgerritDavid Shrewsbury proposed a change to openstack/ironic: Encapsulate Ironic client retry logic  https://review.openstack.org/8310511:29
*** nosnos has quit IRC11:30
*** jbjohnso_ has joined #openstack-ironic11:33
*** athomas has joined #openstack-ironic11:33
*** eghobo has joined #openstack-ironic11:36
*** saju_m has quit IRC11:38
openstackgerritJenkins proposed a change to openstack/ironic: Updated from global requirements  https://review.openstack.org/8347111:49
ShrewsHappy Friday, everyone. A good reason to be excited. Another good reason... only 2 days until Game of Thrones season premiere.12:03
openstackgerritMikhail Durnosvistov proposed a change to openstack/ironic: Old value 'updated_at' field returned after update  https://review.openstack.org/7543012:04
*** saju_m has joined #openstack-ironic12:10
*** saju_m has quit IRC12:14
*** romcheg has joined #openstack-ironic12:15
*** saju_m has joined #openstack-ironic12:15
*** eghobo has quit IRC12:21
*** linggao has joined #openstack-ironic12:22
romchegMorning guys12:39
romchegPlease don't approve 85135, it still does not fix compatibility errors for mac12:40
lucas-hungrymorning romcheg  Shrews12:40
lucas-hungryShrews, GOT stills good?12:40
lucas-hungryromcheg, ack, can u -1 it please? I didn't know hw to test it on mac12:41
lucas-hungryso12:41
lucas-hungryromcheg, and I saw some projects already approved that so I +2 with that warning12:41
*** lucas-hungry is now known as lucasagomes12:41
romcheglucas-hungry: I'm going to -1 it after I detect where the problem is12:41
* lucasagomes is not hungry anymore12:41
lucasagomesromcheg, ack12:41
lucasagomesromcheg, I will remove my vote12:41
Shrewslucasgomes: yes. i'm hoping for even better things this season  :)12:41
romcheglucasagomes: aparently check_uptodate.sh fails12:42
lucasagomesShrews, :) I read the first book12:42
lucasagomesShrews, and started the second... but tihngs changed a lot12:43
lucasagomesI prefered when they didn't have a lot of magic stuff and it was more about the human behavior12:43
lucasagomesromcheg, ack12:43
lucasagomesromcheg, changed my vote there12:43
*** jdob has joined #openstack-ironic12:44
lazy_princelucasagomes: can you review https://blueprints.launchpad.net/ironic/+spec/uefi-gpt-support12:49
lucasagomeslazy_prince, sure :) thanks for that12:49
lazy_princewelcome.. :)12:50
lucasagomeslazy_prince, I haven't played with UEFI at all, but the steps there looks good12:51
lazy_princethanks.. i guess, if there is any change in future, we can always update the bp..12:52
*** dwalleck has joined #openstack-ironic12:52
lucasagomesyup12:53
*** saju_m has quit IRC12:57
*** dwalleck_ has joined #openstack-ironic13:00
*** dwalleck has quit IRC13:04
*** dwalleck has joined #openstack-ironic13:04
*** dwalleck_ has quit IRC13:05
dtantsurGuys, how do you run unit tests manually? Running tox recreates virtualenv every time, running " setup.py testr -t test_name" results in terrible binary backtrace13:13
romchegdtantsur: tox should not recreate venvs13:13
dtantsurromcheg, well, it does. And always fails the first time. Any ideas, why?13:13
dtantsurso, first run "OSError: [Errno 2] No such file or directory"13:14
dtantsurthe second run: py27 installdeps: -r/home/dtantsur/ironic/requirements.txt, -r/home/dtantsur/ironic/test-requirements.txt  (for some time)13:14
romchegMaybe some deps are not installed?13:14
romchegCould you please post a log to paste.openstack.org13:14
dtantsurwhere is it's log?13:14
Shrewsdtantsur: it shouldn't be recreating each time. i've found that if i have multiple venvs, using tox from a different venv will cause it to recreate. so just be consistent13:14
dtantsurShrews, I'm in it's own venv, I think13:15
dtantsur(at least it's own from previous runs)13:16
Shrewsdtantsur: i follow the steps from the quick start (http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html). works fine for me13:17
Shrewsand the OSError seems very suspicious13:17
dtantsurShrews, me too. I'll try again. I think OSError is because when recreating it kills something it needs. Not sure though13:18
dtantsurShrews, ok I followed guide, and on the "tox" step got again: py27 recreate: /home/dtantsur/ironic/.tox/py2713:22
Shrewsdtantsur: let it finish, then run tox again13:22
Shrewsif it still recreates, then there is definitely a problem13:23
*** krtaylor has joined #openstack-ironic13:24
dtantsurI think I found the cause in pip logs. It tries to recreate some egg-info (setuptools, brrrr) and fails because this file already exists and is owned by root13:24
dtantsurIt's hard to tell how I like the practice of using the same temporary files for every invocation...13:25
dtantsurWell, it wasn't owned by root, nut anyway it no longer seems to recreate the env, so thanks everyone, problem is somehow solved13:27
*** matty_dubs|gone is now known as matty_dubs13:28
dtantsurBUT I still get "binary" log, even from tox :(13:29
Haomeng|2lucasagomes: morning13:33
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534413:34
Haomeng|2lucasagomes: I am working on API i18n support for our ironic, want to check with you do you know if our api have common handler to catch the api exceptions?13:34
Haomeng|2lucasagomes: this patch - https://review.openstack.org/#/c/84362/ , it still missing the  gettextutils.get_localized_message call for the locale on the api request13:37
Haomeng|2lucasagomes: my question is, if we have common api exception handler to process api exception, that we have chance to call gettextutils.get_localized_message to translate the api exception error message based on the request Accept-Language parameter13:38
Haomeng|2lucasagomes: I debuged our api call for the case which node id is not existing one - http://paste.openstack.org/show/75083/13:40
Haomeng|2lucasagomes: we can see the exception stack, it is raised to high level code - /opt/stack/ironic/ironic/api/app.py(85)__call__()13:41
Haomeng|2lucasagomes: take other project as reference, they have common wsgi exception handler - https://github.com/openstack/glance/blob/master/glance/common/wsgi.py#L647  which can forward the translate_exception13:43
Haomeng|2lucasagomes: so any ideas about our api exception translation enablement solutions?13:44
lucasagomesHaomeng|2, hey buddy, 1sec I will read it in 10 min (I'm on a hangout right now)13:45
Haomeng|2lucasagomes: no rush, thanks13:45
Haomeng|2lucasagomes: when you have time, leave offline words to me:)13:46
Haomeng|2lucasagomes: :)13:47
*** mdbooth has joined #openstack-ironic13:56
mdboothI just posted this on #openstack-nova, but I'll repeat it here13:57
mdboothgrep suggests that HostMaanger.service_states is never set, except to {}. This means that capabilities in get_all_host_states will always be None. That seems to be the only place a host state is created, which means that the capabilities passed to new_host_state in baremetal_host_manager will always be None, which means they will never contain 'baremetal_driver', which means that a BaremetalNodeState will never13:57
mdbooth be instantiated13:58
mdboothIt's quite possible I missed something in the above chain13:58
mdboothHowever, if I didn't this might have some interesting implications13:58
mdboothPotentially including the scheduler attempting to put more than 1 instance on a single baremetal host13:59
Haomeng|2lucasagomes: the point is that we need to take back the  error - pecan.response.translatable_error = error before any exception raised during api call14:07
Haomeng|2lucasagomes: I will be away, leave ideas here and I will check on my Saturday morning, nice weekend:)14:09
NobodyCamGood Morning Ironic and TGIF!!!14:10
romchegMorning NobodyCam14:12
*** derekh has quit IRC14:13
NobodyCamGood Morning romcheg :)14:13
Mikhail_D_wkNobodyCam: morning! :)14:13
NobodyCammorning Mikhail_D_wk :)14:13
*** jgrimm has joined #openstack-ironic14:15
*** jdob_ has joined #openstack-ironic14:16
*** linggao has quit IRC14:20
*** linggao has joined #openstack-ironic14:20
* Shrews pokes NobodyCam in the eye with an anchovie14:22
NobodyCamlol14:27
NobodyCamhuh14:27
NobodyCamheheheheh14:27
NobodyCamgood morning Shrews :)14:28
* NobodyCam wounders why Shrews has anchovie's14:29
jrollmorning ironic14:29
NobodyCamgood morning jroll :)14:29
*** jdob_ has quit IRC14:30
yuriyzmorning/evening all14:30
NobodyCammorning yuriyz :)14:30
*** saju_m has joined #openstack-ironic14:31
*** ndipanov_ has quit IRC14:32
jrollNobodyCam, devananda: would love to hear your thoughts on vkozhukalov's email about the agent and rootwrap14:32
NobodyCamjroll: just saw it...14:33
NobodyCamneed coffee ...14:33
jrollno rush, I'm just checking in on things before heading to the office :)14:33
NobodyCam:)14:34
jrolland coffee+++++++14:34
*** saju_m has quit IRC14:34
*** saju_m has joined #openstack-ironic14:35
lucasagomesmorning NobodyCam yuriyz jroll14:38
NobodyCamlucasagomes: your testing failed with https://review.openstack.org/#/c/83471 too.. did you get a chance to look at why yet?14:38
NobodyCamand good morning :)14:38
lucasagomesHaomeng|2, right so yeah we have a common handle to catch the exceptions in the api14:39
lucasagomesHaomeng|2, but that lives in the wsme code14:39
lucasagomesHaomeng|2, https://github.com/stackforge/wsme/blob/master/wsmeext/pecan.py#L74-L10714:39
jrollmorning lucas :)14:39
*** jistr is now known as jistr|biab14:40
lucasagomesHaomeng|2, basically this wsexpose decorator will caputre all the exception, serialize them and return as a response :/14:40
lucasagomesNobodyCam, oh not yet, I had too meetings in a row today14:40
lucasagomesNobodyCam, didn't have much time, I will take a look14:40
lucasagomestwo*14:41
NobodyCamwas just checking14:41
lucasagomesHaomeng|2, so pecan does have a hook called on_error() which would allow u to handle the error message14:42
*** mkerrin has quit IRC14:42
*** dwalleck has quit IRC14:42
lucasagomesHaomeng|2, but when used with wsme, this hook never gets trigged :( I opened a bug about it awhile ago https://bugs.launchpad.net/wsme/+bug/125604214:42
lucasagomesit's confirmed but there's no fix for that yet14:42
lucasagomes:/14:43
lucasagomeswe might need to fix that in wsme before14:43
lucasagomesHaomeng|2, I see there's a guy assigned to that bug, maybe worth talking to him14:43
*** mdbooth has left #openstack-ironic14:49
*** lsmola_ has quit IRC14:56
NobodyCamhummm setting debug=True in our conf file didn't seem to give me the logging I was looking for... looks in why14:58
ShrewsNobodyCam: what output are you looking for?15:00
ShrewsNobodyCam: my log cleanup change merged today. wondering if it's related15:01
*** ewindisch has quit IRC15:04
openstackgerritChris Krelle proposed a change to openstack/ironic: Add INFO level logging to ssh.py  https://review.openstack.org/8512415:05
devanandag'morning, all15:06
devanandajroll: simply, "no."15:06
NobodyCamShrews: nope. my log had no debug in it at all15:06
NobodyCamgood morning devananda :)15:06
*** ewindisch has joined #openstack-ironic15:07
devanandajroll: i have said since the project started, ironic's responsibility ends where the host OS begins15:07
jrolldevananda: +115:07
jrolldevananda: figured you were on board with that sentiment, but wanted to double check15:07
* devananda sits down with a latte and a GF muffin15:08
NobodyCam:)15:08
NobodyCamdevananda: which office are you in this morning15:08
devanandaNobodyCam: Victrola on cap hill15:09
devanandaNobodyCam: if by "office" you mean which cafe15:09
NobodyCam:) oh that's a nice one...15:09
NobodyCam:) hear they have really good coffee there15:09
NobodyCam:)15:09
lucasagomesmorning devananda15:10
devanandayep15:10
devanandaafternoon, lucasagomes !15:10
NobodyCamlucasagomes: https://review.openstack.org/#/c/83471 just deployed for me. but I can not atest to what my test env is atm... so I am going to rebuild and test again15:13
lucasagomesNobodyCam, ack I'm finishin one patch and then I will give it a go here as well15:13
*** dwalleck has joined #openstack-ironic15:22
*** ilives has quit IRC15:25
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Implement caching for master images  https://review.openstack.org/8538715:25
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add a blacklist mechanism for drivers  https://review.openstack.org/8538815:27
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534415:27
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534415:28
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add a blacklist mechanism for drivers  https://review.openstack.org/8538815:29
dtantsurlucasagomes, may I reupload https://review.openstack.org/#/c/84396/1 with offset = 1? That will save you a tiny bit of time, I guess :)15:29
lucasagomesdtantsur, <slaps my head> yeah if u can do that would help15:29
lucasagomessorry forgot :/15:29
dtantsurack15:29
lucasagomesI'm using the other patch in my env15:29
NobodyCam:-p15:30
NobodyCamis that going to be backported?15:30
lucasagomesheh we don't know yet15:31
lucasagomespossible15:31
lucasagomesI will mark it as WIP after dtantsur fix it15:31
NobodyCamif we're not going to BP it.. I think the other set of parted patches is what we should loand15:32
NobodyCamland even15:32
openstackgerritDmitry Tantsur proposed a change to openstack/ironic: Replace sfdisk with parted  https://review.openstack.org/8439615:33
devanandaya'll might want to see a recent email to -dev by Matt Booth15:33
devanandawe just talked in -nova and it looks like he may be right15:33
dtantsurNobodyCam, I'm not sure that without this landed partitioning will work...15:33
NobodyCamack15:34
NobodyCamdevananda: link by chance?15:34
*** ifarkas has quit IRC15:35
lucasagomesdevananda, about the host_manager yeah I saw15:35
lucasagomesdidn't reply yet tho15:35
*** saju_m has quit IRC15:35
NobodyCamreading now15:35
dtantsurlucasagomes, the side effect of my upload is that it assigned bug on me. Feel free to assign back on you15:38
lucasagomesdtantsur, heh ack will do15:40
lucasagomesdtantsur, thanks for the fix :D15:41
dtantsurlucasagomes, np :)15:41
*** martyntaylor has left #openstack-ironic15:42
NobodyCami am being told that it is bbt... lol... so I will brb..15:51
devanandaso, i just had a terrible idea15:54
devanandaand i'd like someone to tell me why it's bad15:54
devananda(you know, to convince me it's actually as bad as I think it is)15:54
*** coolsvap has joined #openstack-ironic15:54
*** jistr|biab is now known as jistr15:55
devanandawhat if the deploy ramdisk used $(insert favorite configuration management service)15:55
openstackgerritA change was merged to openstack/ironic: Refactor nova.virt.ironic.driver get_host_stats  https://review.openstack.org/8385315:55
devanandafor the hardware config bits15:55
NobodyCamhumm15:57
*** Mikhail_D_ltp has joined #openstack-ironic15:58
openstackgerritLucas Alvares Gomes proposed a change to openstack/ironic: Add a blacklist mechanism for drivers  https://review.openstack.org/8538815:59
NobodyCamdevananda: my consern with $(insert favorite configuration management service here) is that is more the configuration side and not deployment16:01
lucasagomesdevananda, what are the hardware config bits?16:02
devanandaflash firmware, change bios, build raid16:02
devanandathat sort of thing16:02
NobodyCami can see how it would be helpful for us16:02
NobodyCambut would be a fine line16:02
devanandaCMs already have tooling for doing hw config, right? the IPA folks are creating tooling for doing hw config, too.16:03
*** eghobo has joined #openstack-ironic16:04
devanandawhy are we recreating it? why not just reuse it?16:04
* lucasagomes don't know whether CMs does have it or not16:04
lucasagomesbut if they do sounds like a good plan16:05
devanandajroll: g'morning!16:05
lucasagomesone problem is, it's a ramdisk16:05
comstudMikhail_D_wk: I am now :)16:05
lucasagomesso! unless you want to do an image that uses squahfs or something like that16:05
lucasagomesit's going to run everythin on the memory16:05
lucasagomessquashfs16:05
devanandalucasagomes: i don't see that as a problem16:05
*** comstud is now known as bearhands16:06
*** russellb is now known as rustlebee16:06
devanandalucasagomes: as it is, IPA is fairly large. they are chaining into iPXE and fetching the image over HTTP(S)16:06
lucasagomesit's not if you have enough memory available16:06
NobodyCamfyi lucasagomes 83471 is working for me now.16:06
lucasagomesdevananda, yeah its required to be http when transferring the image16:07
lucasagomesI'm thinking about it running, and depending on idk 2GB ram to run a ramdisk16:07
lucasagomeswhich might be fine :/16:07
NobodyCamwhat do the gate vm's have for memory16:08
devanandaNobodyCam: 8 today16:09
lucasagomesdevananda, well yeah doesn't sounds like a terrible idea :)16:11
lucasagomesI'm not expert in CMs tho16:11
lucasagomesbut at a first glance sounds good, not reinventing the wheel16:12
NobodyCamas long as we stay out of the use salt, no use puppet, no no use chef, no no no use CF_engine wars16:13
lucasagomesyeah16:13
devanandaheh16:13
lucasagomeswe can have a pluggable design and support one of them16:13
devanandalucasagomes: you're supposed to tell me why it's bad16:13
devananda:)16:13
lucasagomesdevananda, :P I tried16:13
NobodyCamwhat kinda size wouldwe be adding to the ramdisk for this...16:14
NobodyCampicking salt as an example only16:14
NobodyCamhow much blot would be need to carry16:15
devanandadunno16:15
NobodyCamlol google keeps taking me to http://www.saltstack.com16:17
NobodyCamlol16:17
bearhandsi'm guessing when teeth team wakes up, we'll be able to confirm how bad we think it is16:17
bearhands:)16:17
* bearhands rubs his eyes.16:17
NobodyCambearhands: watch your eye's Shrews is poking people with anchovie's16:18
NobodyCam:-p16:18
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534416:18
lucasagomesheh16:19
bearhandshah16:19
devanandalucasagomes: https://review.openstack.org/#/c/85044/2 -- did you test this before the patch? I thought it worked fine16:19
bearhandsdevananda, lucasgomes: The format before the patch should work fine16:20
bearhandsand actually tends to be what we prefer in nova16:20
devanandayea16:20
bearhandsthere's a speciifc reason why too, but I don't recall it16:20
devanandaparse time interpolation16:20
devanandavs run time16:21
devanandaiirc16:21
bearhandsoh16:21
devanandaer, not parse time16:21
bearhandsactually, that's broken, i guess16:21
devanandawrong word16:21
bearhandsit's msg =16:21
bearhandsnot in the LOG()16:21
devanandaahh yea. that's wrong16:21
bearhandsLOG(msg, {}) is what is fine16:21
bearhandshehe16:21
devanandait should be msg=_(), LOG(msg, {...})16:22
devanandaright16:22
bearhandsgenerally, except it's used for last_error here16:23
bearhandsthe 2nd fix in this patch is correct16:23
*** matty_dubs is now known as matty_dubs|lunch16:23
bearhands(as well)16:23
lucasagomesdevananda, I think the "," can be used with logging16:24
lucasagomesbut not with msg =16:24
* bearhands throws a +1 on16:24
lucasagomesI did a quick testing16:24
* lucasagomes pastes16:24
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add timeout param for execution_thread.join  https://review.openstack.org/8541116:24
openstackgerritAleksandr Gordeev proposed a change to openstack/ironic-python-agent: Add FlowExtension  https://review.openstack.org/8541216:24
lucasagomesdevananda, http://paste.openstack.org/show/75094/16:24
bearhandslucasagomes: yes16:24
bearhandsit was creating a tuple before16:24
lucasagomesexactly16:24
russell_hJoshNang: at risk of contradicting my own code, on 84303 IMO there should be only one jitter parameter16:26
lucasagomesNobodyCam, 83471 worked for me as well16:26
NobodyCamlucasagomes: I have +2'd it16:26
lucasagomes[stack@localhost devstack]$ pip list | grep keystoneclient16:26
lucasagomespython-keystoneclient (0.7.1.18.gb6cdfff, /opt/stack/python-keystoneclient)16:26
lucasagomesand I deployed a machine16:26
ShrewsNobodyCam: I'm too busy obtaining lunch to poke any eyes with tasty dish right now. :)16:26
lucasagomesright I will remove my -116:26
Shrewsfish, too16:27
devanandalucasagomes: oi ...16:27
devanandaadam_g: "from nova.objects.flavor import Flavor as flavor_obj" ?16:27
JoshNangrussell_h: would it still use a random number related to the jitter then? like a range around the jitter number?16:27
russell_hJoshNang: something similar to this: http://twistedmatrix.com/trac/browser/tags/releases/twisted-13.2.0/twisted/internet/protocol.py#L33016:27
NobodyCamShrews: LOL :)16:27
russell_hJoshNang: http://twistedmatrix.com/trac/browser/tags/releases/twisted-13.2.0/twisted/internet/protocol.py#L39816:27
lucasagomesdevananda, heh  oi == hi, in portuguese16:27
russell_hI dont' even know what normalvariate does16:27
pquernarussell_h: it does math.16:28
russell_hexactly16:28
JoshNangah that is much cleaner16:28
pquernarussell_h: http://golang.org/src/pkg/math/rand/normal.go16:28
bearhandshaha16:28
bearhandshttp://en.wikipedia.org/wiki/Normal_distribution16:29
bearhandsi hate math16:29
russell_hJoshNang: pquerna is right, you should rewrite the agent in go16:30
JoshNanghackday project!16:30
russell_hvar fn = [128]float3216:30
russell_hmakes sense16:30
russell_hpquerna: pretty sure these constants were generated with a python script16:31
*** romcheg has quit IRC16:31
openstackgerritVladimir Kozhukalov proposed a change to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534416:31
pquernarussell_h: http://hg.python.org/cpython/file/2.7/Lib/random.py#l381  <- probaly16:31
jrollmorning devananda and ironic16:36
bearhandsdevananda: thoughts on https://review.openstack.org/#/c/84862/1/ironic/conductor/manager.py,unified ?16:41
bearhandsdevananda: if this is the case, there's actually an existing bug here16:41
bearhands(race in syncing power states grabbing lock vs deploy wanting lock)16:42
*** yuriyz has quit IRC16:43
NobodyCamdevananda: just lost connection16:44
NobodyCamhe'll be bck in 1/2 an hour or so16:44
bearhandsok16:44
JayFI really don't think config management software overlaps much if at all with what IPA is doing. Most of what I've used config management for, and what it's built to do, is maintain configs over a period of time16:44
JayFand is usually used to manage a 'host OS' rather than managing the hardware itself16:44
bearhandsthat was my basically my reaction.. I'm not sure I've seen it used to manage hardware in this way16:47
bearhandsi'm not sure i view "firmware" and "config" as the same thing.16:48
bearhands:)16:48
JayF+900116:48
jrollthat number brings back memories of ISO certification16:49
* jroll shudders16:49
JayFjroll: the point was more that it's over 900016:50
jrollsure16:50
jrollyou haven't seen the horrors that I've seen :P16:50
*** jistr is now known as jistr|afk16:58
*** harlowja has joined #openstack-ironic17:04
openstackgerritJosh Gachnang proposed a change to openstack/ironic-python-agent: Add BackOffLoopingCall with jitter  https://review.openstack.org/8430317:05
*** matty_dubs|lunch is now known as matty_dubs17:11
*** lucasagomes is now known as lucas-afk17:25
*** romcheg has joined #openstack-ironic17:29
*** lazy_prince has quit IRC17:32
NobodyCamquick walkies time... brb17:34
*** romcheg has quit IRC17:43
*** romcheg has joined #openstack-ironic17:49
devanandaback17:49
devanandathat walk took longer than i expected, but it's beautiful outside, so i'm not complaining17:50
*** romcheg has quit IRC17:50
bearhandsdevananda: /win 3817:58
bearhandsoops17:58
bearhandslol, not exactly what i meant17:58
bearhandsi have no idea what your window 38 is17:58
*** openstackgerrit has quit IRC18:01
*** openstackgerrit has joined #openstack-ironic18:02
bearhandsdevananda: so, i have a question regarding do_node_deploy() grabbing the lock in conductor18:06
bearhandsdevananda: periodic tasks could have the node locked when it is called. it seems like maybe it should retry, or we need some additional synchronization or something.18:07
*** Mikhail_D_ltp has quit IRC18:07
*** romcheg has joined #openstack-ironic18:08
*** romcheg has quit IRC18:08
bearhandsdevananda: additionally, the sync power states periodic task tries to not lock if in DEPLOYWAIT, but there's a race there as well with a callback trying to lock18:08
bearhandsThe latter can be solved if we put some optional additional constraints on the reserve_nodes DB call18:09
adam_gdevananda,  from nova.objects.flavor import Flavor as flavor_obj  <- a change in nova requires this. similar to https://review.openstack.org/#/c/71364/18:09
bearhandsdevananda: thoughts?18:10
adam_gactually https://review.openstack.org/#/c/78686/18:10
devanandaadam_g: ah, thanks18:12
devanandabearhands: there are probably some races in there which you're finding... we definitely need better retry in the clients18:12
bearhandsit seems like this should be on the server side18:13
bearhandsafter all, it's periodic tasks causing this not 2 clients talking simultaneously18:13
bearhands(i'm not sure that retries are the right solution server side -- one of these can be done with better constraints on the DB call that reserves)18:14
bearhandsi could see maybe deploy failing because the node is locked being acceptable18:15
bearhandsalthough it's kinda crappy because it's just a periodic task trying to do a power state sync18:15
bearhandsbest solution is if we can avoid locking in the periodic task18:17
devanandaso from client's perspective, what's the difference if18:17
devanandarequest fails because another client already locked the node18:17
devanandaor server locked the node for some maintenance task?18:17
bearhandsi guess it would be 'maintenance', but yeah18:17
bearhandsfor something extremely simple like syncing power state18:17
bearhandsBut also.. what makes the callback in a DEPLOYWAIT state.. is it the client?18:18
bearhandsI view the callback case for DEPLOYWAIT is worse than just a new deploy18:18
bearhandsis/as18:19
devanandadeploy driver may set state to deploywait if it depends on an agent to finish the work18:20
devanandaagent then POSTs back to initiate the deploy driver continuing the work18:20
bearhandsso the agent is the client in that case18:20
devanandayea18:20
bearhandsThis has come up because of that extra DB query we're doing in _sync_power_states18:22
bearhandsI put up a review to remove it, however, it makes the race condition potential larger18:22
bearhandshttps://review.openstack.org/#/c/84862/1/ironic/conductor/manager.py,unified18:22
bearhandswell, larger for the DEPLOYWAIT case.  although this is the case that can be solved by adding a constraint to the reserve_nodes DB call to say.. 'only lock if provision_state != DEPLOYWAIT'18:26
*** vkozhukalov has quit IRC18:30
*** jistr|afk has quit IRC18:32
*** romcheg has joined #openstack-ironic18:38
*** coolsvap has quit IRC18:42
NobodyCamahh ha!18:51
* NobodyCam thinks he may have found his logging issue.18:51
*** overlayer has quit IRC18:54
*** rwsu has quit IRC18:57
*** dwalleck has quit IRC19:00
*** dwalleck has joined #openstack-ironic19:08
*** rwsu has joined #openstack-ironic19:13
*** romcheg has quit IRC19:14
*** max_lobur1 has quit IRC19:22
*** praefect has joined #openstack-ironic19:24
*** mgagne1 has joined #openstack-ironic19:24
*** mgagne1 is now known as mgagne19:25
NobodyCamdevananda: fyi: https://review.openstack.org/8545519:27
praefectHi guys, there's a bit of confusion here regarding the future of ironic, is it suppose to become a full-fledge baremetal system that could be used to sell baremetal to clients in a provider environment or will it become a bare metal provisioning system geared more towards undercloud provisioning..? I don't wanna get all philosophical here but I'd really like to know..19:35
jrollpraefect: yes. :)19:35
praefectI was in HK summit and I think I've heard stuff there that might be responsible for my confusion..19:36
praefectjroll: thanks, that's what I was looking for =)19:36
jroll:)19:36
praefectseriously is it still a question you guys are pondering?19:36
jrollto clarify, there is a ton of things to work on and consider for real multi-tenant deployments19:37
praefectjroll: any pointer as to where I could read on these obstacles? the only problem I remember is the possibility for a client to poison the BIOS and the resulting security implications19:40
jrollyes, there's that, as well as poisoning firmware on other devices (e.g. disks)19:42
jrolland networking is hard (TM)19:43
jrollI'm not sure if there's anything formal written up19:43
praefectjroll: thanks19:43
NobodyCampraefect: het19:43
NobodyCamhey19:43
NobodyCameven19:43
NobodyCamfull-fledge baremetal system ?? not sure I get that19:44
jrollpraefect: of course :)19:44
praefectNobodyCam: I mean, not just to build an openstack cloud from metal but more to rent the resulting bare metal server to a client...19:44
NobodyCambut there are many many security concerns with muli users on barematel19:45
jrollNobodyCam: we were just talking about this :)19:45
NobodyCam:)19:46
NobodyCamjust so many explots that baremetal is up agenst19:46
jrollyeah, it depends a lot on operational things19:46
praefectI'm not security guys but beside the firmware situation (which could be fixed by reflashing the BIOS in the disk scrubbing process...) I don't see many other security issues, but jroll is right, it depends on operational things... if you end up with a baremetal in its own VLAN and no access to any iscsi target.. then it's safe (I think)19:47
NobodyCampraefect: no it can not19:48
NobodyCamI can write a FW that tells you it is flashing while bit bucketing any data you send to it19:48
mgagneNobodyCam: how is it different from what thousands of providers around the world has been doing for years, renting baremetal servers. Is it the ability to massively compromise/rootkit all servers of a provider in a short period of time?19:48
jrollNobodyCam: what if your BIOS only accepts signed updates? :)19:49
NobodyCamI'll use the nic cards, or the usb port, or the fan controller19:49
jrollpraefect: btw, you might be interested to hear that we're working on an agent-based deployment method that can do things like firmware updates: https://wiki.openstack.org/wiki/Ironic-python-agent19:50
jrollNobodyCam: right right19:50
JayFI think the answer is; just like with dedicated server hosting that /isn't/ automated, there's a heck of a lot of attack vectors to think abuot and mitigate. Having software do that isn't any more or less scary than having humans do it.19:50
*** dkehn_ has joined #openstack-ironic19:50
JayFCrytography + signed updates helps a ton though19:50
jrollNobodyCam: we went through this at the mid-cycle already :)19:50
NobodyCamheheheh19:51
NobodyCamjroll: your laptop got a mic... https://www.security.nl/posting/366329/Onderzoeker+ontdekt+mysterieuze+BIOS-malware  <- ultra sonic virus19:52
jrollyeah, security is hard19:53
JayFeverything is hard. Security is hard and dangerous ;)19:53
NobodyCamhummm may just have to attend http://openstacksummitmay2014atlanta.sched.org/event/754c3678d31f9f74e020b9a1e6f4dece#.Uz8N6tzL8Xc19:54
*** dkehnx has quit IRC19:54
*** eguz has joined #openstack-ironic19:54
jrollJayF: idk, this chair is pretty soft19:54
jrollso, clearly not everything is hard19:55
jrollNobodyCam: you should, that's russell_h speaking19:55
NobodyCamJayF: just so many attack vectors on baremetal19:55
praefectwill definitely attend...19:56
NobodyCamI suspose one could deply the end user in a lxc container as the only tenant on the box.19:56
jrollthat still leaves you open to kernel exploits, AIUI19:58
NobodyCambut all that said .. the HW mfg's are dealing with many of these issuses as we type.19:58
jrollyep :)19:58
JayFNobodyCam: does HP do signed firmware/bios updates yet?19:58
*** eghobo has quit IRC19:58
NobodyCamwe support currently and i think is going to be default soon19:59
JayFnice19:59
*** dwalleck has quit IRC20:00
NobodyCamofc tat depends on what gen servers your running20:00
JayFI was just asking generally, i.e. if stuff shipping today did20:01
jbjohnso_incidently, that presumably applies to your core firmware and such, I don't imagine you have all firmware updates similarly protected20:03
NobodyCamsupports it but you have check the enable box I believe... (don't hold me to that) I have not looked at what is currently shipping inthe server line :-p20:03
JayFIt's fine, was just a general question :)20:04
jbjohnso_e.g. IBM servers now always have signed firmware, no option, but if you pop a network card in, that firmware cannot be reasonably protected20:04
NobodyCamyep20:04
*** vkozhukalov has joined #openstack-ironic20:04
jbjohnso_that's one of the challenges of baremetal, even as the core platform is intact, there are still lots of potentially sneaky places for stuff to hide20:05
*** dwalleck has joined #openstack-ironic20:06
jbjohnso_I personally am doubtful the x86 space can be safe for untrusted baremetal tenants without losing the soul of the x86 space20:09
jbjohnso_E.g. secureboot hands the keys of the kingdom to MS, who in turn is signing shims they can't possibly realistically validate the full stack of20:09
jbjohnso_so you have all the inconvenience of a security attempt with a pretty high likelihood of it being circumventable20:10
russell_hjbjohnso_: I mean, it doesn't need to involve MS20:10
NobodyCami dont want my computer to phone home jsut to boot up!20:10
russell_hjbjohnso_: but yeah, someone needs to sign things and its difficult to validate everything20:10
russell_hjbjohnso_: I don't see this as unique to hardware though. If a determined attacker with time and resources _wants_ to pwn you, you're going to get pwned20:11
russell_hlike if you buy a server, install ubuntu on it and run a java app20:12
NobodyCamrussell_h: ++ so true20:12
russell_hI could compromise your hardware manufacturer, who probably emails firmwares about internally for signing20:12
jbjohnso_russell_h, yeah, though a software environment has some pretty well defined 'start from scratch' state20:12
russell_hI could compromise your OS at any of a hundred spots20:12
russell_hI could compromise the JVM20:12
russell_hI could compromise a maven server (afaik most maven packages are still unsigned)20:13
jbjohnso_russell_h, for server hardware/firmware, it theoretically also exists, but practically speaking the number of non-volatile storage places20:13
russell_hand so on20:13
jbjohnso_is not as well characterized20:13
russell_hyeah20:13
russell_hI guess I see it as more that hardware companies are still a bit ghettoer in terms of how they handle software development, packaging and distribution20:14
jbjohnso_and trying to bring all those under some 'trusted' authority while at the same time that authority meaningfully auditing the ecosystem is a pretty big beast for something like x8620:14
*** dwalleck has quit IRC20:14
JayFWell you have to do it p2p, not centralized style20:14
JayFwhere you choose what entities you trust rather than having that selected for me20:15
JayFfor instance, NobodyCam said HP signs firmwares. To accept that as secure, I have to trust HP20:15
JayFor with MS secureboot, you trust MS to keep the keys secure, etc20:15
jbjohnso_right, but the x86 ecosystem gets convoluted20:15
russell_hright20:15
jbjohnso_so you trust HP, but you have a QLogic SoC in there as part of an adapter20:15
russell_hreally the problem is that to successfully boot a computer, I need a bunch of hardware and firmware20:16
JayFSo what you're saying is, don't buy that cheap Intel NIC being sold on eBay from SleeperAgent34?20:16
russell_hand realistically I have no way to actually validate most of it20:16
russell_hand even if HP, for example, isn't actively backdooring their gear20:16
russell_hsomeone is probably doing it for them at the factory20:16
jbjohnso_right.  Secureboot made the fundamental mistake of having the firmware hard-bake one vendor key rather than having a vendor claim it at install time20:16
jbjohnso_so I get the decentralized thing, but there's a lot of entry points to cover... it's a massive ecosystem that in order to work was permissive by default for decades20:17
jbjohnso_not in terms of network access, but in terms of things like PCI conversations, SMBus stuff, all sorts of nifty things20:18
russell_hand HP is probably like the 4th most trustworthy of a hundred entities in whom I'm placing similar trust20:18
jbjohnso_yeah, though it's also true that being a tenant on a baremetal system is roughly like buying used server equipment20:18
jbjohnso_both can hypothetically be trojaned in a way a user is unlikely to detect20:19
russell_heh, I'd argue that being a tenant on a baremetal system is roughly like using any other computer in the world20:20
russell_hin that you certainly could be compromised if someone cares enough to do so, but you probably aren't20:20
russell_hlike its not like the NSA is going to go pwning some baremetal thing20:20
russell_hbut throw up their hands when you buy a brand new server20:20
jbjohnso_well, NSA and such are one thing20:21
jbjohnso_they can get in to the supply chain20:21
jbjohnso_there are a class of potential attackers for whom supply chain isn't as feasible20:21
russell_hyeah, but so can most anyone else20:21
russell_hsure, I mean I guess its fair that there are a ton of people who can't reasonably attack the supply chain20:21
jbjohnso_well, I personally for example wouldn't be able to infect HP systems off their manufacturing line20:22
jbjohnso_it's a matter of risk mitigation rather than elimination in that case20:22
*** dwalleck has joined #openstack-ironic20:23
russell_hfair20:24
russell_hthe real problem, to me, is that at some point you're going to put software on your box20:25
russell_hand if someone can't compromise you at a lower level, they still have plenty of surface area left to focus on20:25
jbjohnso_that is true20:25
russell_hits actually absurd that (we believe) firmware is a larger surface area than software20:26
jbjohnso_but at least on the higher levels, you can proverbially throw the disks out and start over20:26
jbjohnso_but of course that relies upon the assertion that you even know there is a problem20:26
russell_hright20:26
russell_hand that you have a way to get clean software when you start over20:27
jbjohnso_I think it's not that the surface area is perceived as 'larger', just that it is perceived as a bit sneakier20:27
russell_hmy take, we just need to drag hardware into the present so we can focus on interesting problems20:27
russell_hwell, yeah, and its a lot less transparent20:27
russell_hlike its not like I can compile my own firmware for most gear20:28
*** praefect has quit IRC20:31
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Make tests pass for Python 3.3  https://review.openstack.org/8548120:32
*** romcheg has joined #openstack-ironic20:33
*** romcheg has quit IRC20:35
NobodyCamhumm20:35
russell_hJayF: isn't that going to break the global requirements stuff?20:38
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Make tests pass for Python 3.3  https://review.openstack.org/8548120:40
*** dwalleck has quit IRC20:41
JayFrussell_h: global reqs want eventlet=>0.13, which this technically would be20:41
JayFrussell_h: but if you look I commented we might not wanna merge it yet for that reason20:41
*** jdob has quit IRC20:47
russell_hJayF: huh, cool20:49
*** linggao has quit IRC20:50
openstackgerritA change was merged to openstack/ironic-python-agent: Add timeout param for execution_thread.join  https://review.openstack.org/8541120:51
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Make tests pass for Python 3.3  https://review.openstack.org/8548120:55
JayFrussell_h: ^ even if we pull out the eventlet requirements.txt change, I think we should merge the stuff that adds python 3.3 compat, even though we know it won't be complete until eventlet fully supports py3320:56
JayFOr I could even create a separate requirements.txt file for python 3.320:56
JoshNangJayF: I think I've seen that in a few projects20:58
JayFeventlet still isn't python 3.3 compat though, according to that issue, which means while tests pass, I'm not sure I'd want to ship an ramdisk with 3.3 on it until after they have a version released that declares support for 3.320:59
JayFthat being said, getting our tests passing and adding a python33 job that passed would be great in insuring we keep 3.3 support in our code while eventlet finishes up their fixes20:59
jroll+120:59
*** florentflament has quit IRC21:00
*** florentflament has joined #openstack-ironic21:02
NobodyCamlol devananda I was just about to approve 8504421:03
NobodyCam:-p21:03
devanandaheh21:03
devanandathat's adam_g's patch? I can add the comment in a follow on21:04
devanandawait, no, that's a different #21:04
NobodyCamhtat was yuriy's fix missing %21:04
devanandaah21:04
NobodyCam:-p21:04
*** matty_dubs is now known as matty_dubs|gone21:05
*** romcheg has joined #openstack-ironic21:08
openstackgerritA change was merged to openstack/ironic: Fix messages formatting for _sync_power_states  https://review.openstack.org/8504421:18
NobodyCambrb21:23
*** romcheg has quit IRC21:26
russell_hdevananda: what do you want to do on https://review.openstack.org/#/c/81919/21:27
russell_hs/to do/me to do/21:27
openstackgerritA change was merged to openstack/ironic: Updated from global requirements  https://review.openstack.org/8347121:27
*** romcheg has joined #openstack-ironic21:29
openstackgerritA change was merged to openstack/ironic-python-agent: Added execute util  https://review.openstack.org/8534421:32
*** romcheg has quit IRC21:33
openstackgerritAdam Gandelman proposed a change to openstack/ironic: Update tox.ini to also run nova tests  https://review.openstack.org/8403321:36
adam_gdevananda, note ^ after making ironic/nova/tests/* importable, i had to exclude ironic/nova/* from flake8, which also does an 'import everything under the sun at load' similar to testr (but without the config flexibility) and hits the same oslo.config issues21:37
adam_gneed to run out21:38
*** jrist is now known as jrist-afk21:41
*** jrist-afk is now known as jrist21:41
openstackgerritChris Krelle proposed a change to openstack/ironic: Add Logging.  https://review.openstack.org/8512421:41
devanandaadam_g: right, i saw that. not too keen on it as i'd like to flake8 those files as well as run unit tests21:51
devanandaadam_g: but adding unit tests is a good improvement from where it's at21:51
NobodyCambrb21:51
devanandabearhands: audit-level logging should be done for actual changes, not for requested changes, right?21:59
devanandabearhands: eg, RPC request for change_node_power_state vs. the state was actually successfully changed.22:00
devanandafirst case => debug log. second case => audit log.22:00
devanandayesno?22:00
*** vkozhukalov has quit IRC22:06
* devananda steps away for a bit22:16
*** eguz has quit IRC22:20
*** eghobo has joined #openstack-ironic22:21
*** jgrimm has quit IRC22:24
NobodyCambearhands: its ? on 8512422:32
openstackgerritJay Faulkner proposed a change to openstack/ironic-python-agent: Compatibility fixes for Python 3.3  https://review.openstack.org/8548123:08
NobodyCamoh now this is strange. http://paste.openstack.org/show/ElhQeS9M5Ojr4RzSXITX/23:18
NobodyCamok this the error in gate undercloud http://paste.openstack.org/show/SglUwAkk8PDNEEl4Da4S23:41
NobodyCamare the nodes in the gatetests left on...23:42
*** eghobo has quit IRC23:43
bearhandsdevananda: I'm not aware of any 'rule' regarding audit logging23:44
NobodyCamwhy yes they do!23:48
*** eghobo has joined #openstack-ironic23:57
*** eghobo has quit IRC23:59

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