Wednesday, 2013-10-23

*** openstack has joined #openstack-ironic22:47
neo_will get back to you NobodyCam after i do that. you dont suspect anything else wrong right?22:47
NobodyCamno every thing elese looks good22:50
neo_thanks :) will get back to you in a bit.22:51
neo_loong bit.22:51
NobodyCamneo_ are you working with CerealBox?22:51
neo_yes we work in same team.... but different projects.22:51
NobodyCamahhh :) ok22:51
neo_we will buy you double beers22:52
neo_:)22:52
NobodyCamlol22:52
neo_thank you soo much.22:52
NobodyCam:) happy to help22:52
NobodyCamwhile you rebuild ... I'll brb22:53
neo_sure, thanks :)22:54
Haomengdevananda:ping23:01
HaomengNobodyCam: do you know if there is other fix for our Ironic Driver, I see this is canceled - https://review.openstack.org/#/c/51328/23:03
HaomengI like to see our Ironic driver23:03
NobodyCamhey Haomeng :) let me take a look23:08
Haomengthank you23:08
NobodyCamahh yes he forgot to mark that WIP23:09
NobodyCamit will be picked up again23:09
NobodyCamwe are working on some things that needed to be fixed for that23:09
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Support uniform MAC address with colons  https://review.openstack.org/5276123:10
HaomengAnd letme check if it is existing in our Nova already23:12
*** clarkb has joined #openstack-ironic23:12
NobodyCamHaomeng: minor nit but can you add your name to the TODO so if there are questions we know who to ask23:12
clarkbNobodyCam: not sure if you noticed by openstack joined this channel, it is logged now23:12
NobodyCamclarkb: woo hoo the eavsdrop parch laneded23:13
NobodyCamlanded even23:13
clarkbyeah I had to wait for a gap in meetings as adding channels currently requires a bot restart, we should fix that23:13
NobodyCamheheheh :) awesome Thank you clarkb23:14
NobodyCamHaomeng: lol looks like mr jenkins is going to force that. ./ironic/api/controllers/v1/port.py:160:15: H101  Use TODO(NAME)23:18
Haomeng:)23:19
Haomengletme fix23:20
HaomengI run flake8 in my local dev env, lookslike it cannot befound such todo validation23:21
NobodyCamyou prob have h101 disabled23:22
* clarkb chimes in. This is actually a big reason for using tox -r. It makes sure that you see what jenkins sees (there is still a small race between versions and stuff but that is minor)23:23
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Support uniform MAC address with colons  https://review.openstack.org/5276123:23
Haomengyes, let me enable this option23:23
NobodyCamclarkb: Good point23:23
clarkbgranted it is slower23:24
Haomengshoud I add H101 into ./tox.ini?23:25
clarkbHaomeng: to ignore H101? I wouldn't do that, especially if ironic is currently passing that test23:27
NobodyCamI usaly add add to ignore23:28
NobodyCamthere23:28
NobodyCamclarkb: :)23:28
NobodyCamya not there23:28
NobodyCamit shouldbe enabled by default23:28
HaomengI change code to" # TODO (whaom) - create a custom SQLAlchemy type like"23:28
NobodyCam:)23:28
Haomengbut for this round , still report 101:  ./ironic/api/controllers/v1/port.py:160:15: H101  Use TODO(NAME)23:29
Haomengany idea?23:29
HaomengNot sure if additional space isnot required ?23:29
clarkbit may not like the space between TODO and the (23:29
Haomengok23:29
Haomenggot23:29
NobodyCam:)23:29
Haomenghow to enable such 101 inmy local flake8 checking23:29
Haomengthank you clarkb23:30
openstackgerritHaomeng,Wang proposed a change to openstack/ironic: Support uniform MAC address with colons  https://review.openstack.org/5276123:31
HaomengMy local flake8 cannot check such 101 issue out23:31
Haomengstrange23:31
HaomengOne more question, I use devstack toenable our VIRT_DRIVER=baremetal and ENABLED_SERVICES="$ENABLED_SERVICES,baremetal", but the devstack failed23:34
Haomeng2013-10-23 20:20:13 dnsmasq: unknown interface br9923:34
clarkbHaomeng: how are you running flake8 and what version is it?23:34
Haomenglet me check flake8 version23:34
clarkboh I know what the problem is23:35
clarkbyou are running flake8 directly without the hacking plugin/extension installed probably23:35
clarkb(tox would take care of this)23:35
Haomengroot@ubuntu1:~/ironic# flake8 --version23:35
Haomeng2.0 (pep8: 1.4.6, pyflakes: 0.7.3, mccabe: 0.2.1)23:35
Haomengroot@ubuntu1:~/ironic#23:35
clarkbyeah, I think you need to install hacking23:35
Haomengclarkb: my flake8 is 2.023:35
NobodyCamfailed how?23:36
Haomengok, just run "pip install hacking" right23:36
clarkbHaomeng: yes that should do it23:36
HaomengJenkins is not failed now, my local flake8 cannot check such todo issue out23:36
Haomengclarkb: I installed 'hacking',now flake8 cancheck H101 issue,thankyou very much23:38
Haomengthank you NobodyCam23:38
NobodyCam:)23:38
clarkbHaomeng: protip, install the test-requirements and requirements files to get the dependencies23:39
* NobodyCam always heeds clarkb's tips23:40
clarkbor use tox :)23:40
Haomengyes,I have followed -http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html23:41
Haomengmaybe this doc missed 'hacking' in "Install prerequisites:" section23:42
NobodyCam:-p23:42
NobodyCam*(blush)*23:42
Haomengor it missed in test-req , because I run "testr run" already23:43
Haomeng"testr init" will check test-requirement andinstall the reqlibs I think23:43
Haomengshould I fix this document issue? howdoyou think?23:43
NobodyCamHaomeng: that would be awesome23:44
Haomengbut not sure if I should add 'hacking' into "Install prerequisites:" section or add it into test-requirement ?23:45
Haomenganyy comments?23:45
clarkbHaomeng: I think the install prerequisites section shouldn't have that third part23:46
clarkbit should have directions for installing system prereqs then rely on tox for testing23:46
Haomengyes23:47
Haomengclarkb, you mean we change tox? not sure how tofix23:48
Haomeng'tox' is in current "Install prerequisites:" section23:49
clarkbHaomeng: tox is already in the docuemntation, just remove the stale bits about using easy_install to install noce and pip to install flake8 and friends23:49
Haomengyes23:49
clarkb*nose23:49
Haomengyou mean I remove 'nose' to reinstall the dev env?23:49
Haomengandhave a test?23:49
clarkbno you don't have to remove it, but you don't need to install it23:50
clarkbso that line in the documentation is old and not necessary23:50
clarkbit can just be removed, unless you guys are using nose? I think ironic forked from nova after it switched to testr23:50
Haomengto remove "tox -evenv -- echo 'done'" this line?23:51
Haomengyes Ironic use Nova env23:51
HaomengI just want to fix thedocument to avoid other guys encounter such issue23:52
HaomengI just follow the document tosetup dev env23:52
Haomengwill be backlater, to take care by baby:)23:52
clarkbHaomeng: https://git.openstack.org/cgit/openstack/ironic/tree/doc/source/dev/dev-quickstart.rst#n29 lines 29 and 3023:53
clarkbthose can be removed23:53
clarkbwell 29 can be removed, 30 should be edit to just install tox23:53
Haomengok, thank you clarkb23:55
Haomengwill  commit change and help me review:)23:55

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