Friday, 2015-09-11

*** chlong has quit IRC00:19
*** hdd has quit IRC00:43
crobertsrhtmckay:  I agree...we did talk about protected and public when originally looking at default templates.  Might be a way to simplify things a bit.00:46
*** crobertsrh is now known as _crobertsrh00:46
*** chen12 has joined #openstack-sahara00:47
*** chlong has joined #openstack-sahara01:02
*** chlong has quit IRC01:08
*** chlong has joined #openstack-sahara01:20
*** tiny-hands has joined #openstack-sahara01:49
*** EinstCrazy has joined #openstack-sahara02:00
*** egafford has quit IRC02:07
*** dave-mccowan has joined #openstack-sahara02:35
*** dave-mccowan has quit IRC02:35
*** hdd has joined #openstack-sahara02:40
*** macjack has joined #openstack-sahara02:52
*** tiny-hands has quit IRC02:53
*** larainema has quit IRC03:01
*** larainema has joined #openstack-sahara03:02
*** tiny-hands has joined #openstack-sahara03:03
*** dongc_ has joined #openstack-sahara03:03
*** dongc_ is now known as dongc03:04
*** tiny-hands has quit IRC03:05
*** larainema has quit IRC03:07
*** larainema has joined #openstack-sahara03:08
*** links has joined #openstack-sahara03:41
*** EinstCrazy has quit IRC04:03
*** vgridnev has joined #openstack-sahara04:22
*** dongc_ has joined #openstack-sahara04:33
*** dongc has quit IRC04:36
*** stanchan_ has joined #openstack-sahara04:47
*** dongc_ has quit IRC04:47
*** hdd has quit IRC05:08
*** larainema has quit IRC05:20
*** EinstCrazy has joined #openstack-sahara05:33
*** Poornima has joined #openstack-sahara05:34
*** nkrinner has joined #openstack-sahara05:48
*** hdd has joined #openstack-sahara05:55
*** vgridnev has quit IRC05:56
openstackgerritAndrey Pavlov proposed openstack/python-saharaclient: Adding sahara_url and endpoint_type to OpenstackClient CLI  https://review.openstack.org/22094605:57
*** vgridnev has joined #openstack-sahara06:07
*** hdd has quit IRC06:17
*** vgridnev has quit IRC06:33
*** vgridnev has joined #openstack-sahara06:45
*** macjack has quit IRC07:06
*** EinstCrazy has quit IRC07:07
*** stanchan_ has quit IRC07:27
*** vgridnev has quit IRC07:40
*** witlessb has joined #openstack-sahara07:54
*** stanchan has joined #openstack-sahara08:03
*** IBerezovskiy has joined #openstack-sahara08:39
openstackgerritAndrey Pavlov proposed openstack/python-saharaclient: Adding update and minor fixes to Data Sources CLI  https://review.openstack.org/22171408:44
*** ashishb has joined #openstack-sahara08:47
openstackgerritlvdongbing proposed openstack/sahara-specs: Add instance_meta to node group template  https://review.openstack.org/22252808:55
*** vgridnev has joined #openstack-sahara08:57
openstackgerritlvdongbing proposed openstack/sahara-specs: Add instance_meta to node group template  https://review.openstack.org/22252809:11
openstackgerritVitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required  https://review.openstack.org/22053809:14
*** chlong has quit IRC09:16
openstackgerritVitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required  https://review.openstack.org/22053809:22
openstackgerritVitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required  https://review.openstack.org/22053809:23
openstackgerritVitaly Gridnev proposed openstack/sahara: Remove mountpoint from heat stack because it always null  https://review.openstack.org/22217709:33
*** tosky has joined #openstack-sahara09:35
openstackgerritVitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition  https://review.openstack.org/22255810:13
openstackgerritVitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref definition  https://review.openstack.org/22255810:16
openstackgerritVitaly Gridnev proposed openstack/sahara: Add more information about configuring NTP service  https://review.openstack.org/22093810:27
openstackgerritMerged openstack/puppet-sahara: acceptance: switch RDO to CBS repositories  https://review.openstack.org/22227710:27
openstackgerritVitaly Gridnev proposed openstack/sahara: Add more information about configuring NTP service  https://review.openstack.org/22093810:29
*** dave-mccowan has joined #openstack-sahara10:57
openstackgerritDenis Egorenko proposed openstack/puppet-sahara: Revert "Fixed /etc/sahara handling"  https://review.openstack.org/22214211:00
*** Poornima has quit IRC11:34
openstackgerritVitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition  https://review.openstack.org/22255811:59
*** tiny-hands has joined #openstack-sahara12:02
openstackgerritMerged openstack/sahara: Fixed Hive 1.0 failure on MapR plugin  https://review.openstack.org/22128712:16
*** raildo-afk is now known as raildo12:33
*** tmckay has joined #openstack-sahara12:40
openstackgerritVitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field  https://review.openstack.org/22258812:41
openstackgerritVitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field  https://review.openstack.org/22258812:43
openstackgerritAndrey Pavlov proposed openstack/sahara: Improving node group templates validation  https://review.openstack.org/22259212:53
*** _crobertsrh is now known as crobertsrh13:00
*** nkrinner has quit IRC13:11
*** logan2 has quit IRC13:15
*** nkrinner has joined #openstack-sahara13:16
openstackgerritVitaly Gridnev proposed openstack/sahara: New doc about autoconfiguration policy  https://review.openstack.org/22102613:17
openstackgerritAndrey Pavlov proposed openstack/sahara: Increasing time for cluster creation/deletion in grenade  https://review.openstack.org/22259713:19
*** tmckay has quit IRC13:21
*** hdd has joined #openstack-sahara13:30
openstackgerritMichael McCune proposed openstack/sahara: cleanup spark plugin documentation  https://review.openstack.org/22146813:33
openstackgerritAndrey Pavlov proposed openstack/sahara: Increasing time for cluster creation/deletion in grenade  https://review.openstack.org/22259713:36
*** links has quit IRC13:38
*** tmckay has joined #openstack-sahara13:38
openstackgerritVitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition  https://review.openstack.org/22255813:39
*** logan2 has joined #openstack-sahara13:43
*** tosky has quit IRC13:45
openstackgerritVitaly Gridnev proposed openstack/sahara: New doc about autoconfiguration policy  https://review.openstack.org/22102613:48
rickflaregood morning13:49
crobertsrhGood morning rickflare13:50
rickflareI am having tough time with the sahara image creation script13:52
crobertsrhrickflare:  You are not the first person to have trouble with it.  What are you seeing?13:53
rickflarelet me post it13:53
rickflareone sec13:53
rickflarehttp://pastebin.com/9QWNTR0S13:54
crobertsrhWell, at least it fails quickly13:55
crobertsrhIs there a particular image that you're trying to build?13:55
crobertsrhOh, wait.  Are you running this from a centos machine?13:56
rickflareyes13:57
rickflareI am13:57
vgridnevtellesnobrega, multiple cluster creation was merged to Horizon13:58
crobertsrhrickflare:  Ok...I'm trying to quickly fire-up a centos vm to see what I can discover.14:00
crobertsrhcentos7?14:00
rickflareyes sir14:01
crobertsrhOf course, my centos vm wouldn't want to work today :(14:02
crobertsrhlooking at script itself to see if I can spot a quick fix14:04
rickflareok14:05
crobertsrhHmm, which version of sahara-image-elements are you using?14:05
rickflarehow would I determine that?14:06
rickflaresorry im sory of a newbie14:06
crobertsrhno problem14:06
crobertsrhdid you check out sahara-image-elements from a git repository?14:06
rickflareyes14:07
crobertsrhOk, can you do a "git log" and tell me the commit of the first entry?14:08
rickflaresure14:08
crobertsrhI just want to be sure I'm looking at the same version that you have14:08
rickflaregit log14:08
rickflarecommit bd64337f9d648cdf65605dbc361bd7723bd9fa9514:08
rickflareMerge: 8d5e5a3 1f468cd14:08
rickflareAuthor: Jenkins <jenkins@review.openstack.org>14:08
rickflareDate:   Tue Sep 8 09:47:26 2015 +000014:08
rickflare    Merge "Add $JAVA_HOME/bin to PATH"14:08
crobertsrhOk14:08
crobertsrhYou seem to be bombing out at line 327, which is strange14:09
*** larainema has joined #openstack-sahara14:10
crobertsrhsince "centos" is supposed to be caught in the case above "rhel" | "centos"14:10
rickflarewhere is it pulling centos?14:10
crobertsrhIt executes...   cat /etc/os-release | awk -F= '/^ID=/ {print tolower($2);}'14:11
crobertsrhoh..wait14:11
crobertsrhhead -1 /etc/system-release14:11
crobertsrhwhat do you see when you execute that?  ^^14:11
*** ashishb has quit IRC14:12
rickflareCentOS Linux release 7.1.1503 (Core)14:15
rickflareis casing casing an issue14:15
rickflarecausing14:16
crobertsrhNot in this case14:17
crobertsrhThe line that sets $platform actuall takes "CentOS"*14:17
tellesnobregavgridnev, i saw, thanks :)14:18
pino|workrickflare: which system are you on? centos6 or 7?14:18
rickflare714:18
crobertsrhBased on your paste, it looks like $platform is getting set to "centos"14:18
pino|worki'm the one who recently refactored the platform code in diskimage-create.sh, bt14:19
pino|workw14:19
crobertsrhah, hooray for pino|work!14:19
pino|workand it should set $platform based on /etc/os-release, since it's there in c714:19
pino|workcat /etc/os-release | awk -F= '/^ID=/ {print tolower($2);}'14:19
pino|workwhat does ^ print for you?14:19
crobertsrhpino|work:  Here is his paste.  http://pastebin.com/9QWNTR0S14:20
pino|workah, i see what's the issue here14:20
pino|workgive me few minutes, and i'll open a merge request14:21
rickflareweeee I found a bug14:24
*** hdd has quit IRC14:25
elmikohehe14:26
crobertsrhLeave it to the new guys to come in and break everything14:27
*** nkrinner has quit IRC14:27
rickflarelol14:29
pino|workrickflare: want your name to be thanked in commit message?14:31
*** tosky has joined #openstack-sahara14:31
rickflareplease sir14:31
pino|workjust tell then :)14:31
rickflaremy full real name?14:31
pino|worky14:32
rickflareBrandon14:32
openstackgerritPino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: remove quotes from os-release's ID  https://review.openstack.org/22263314:35
pino|workrickflare: ^ feel free to test14:35
*** larainema has quit IRC14:35
*** larainema has joined #openstack-sahara14:36
rickflarehas it been merged?14:37
pino|workno, just proposed for review14:37
openstackgerritMerged openstack/sahara: Remove mountpoint from heat stack because it always null  https://review.openstack.org/22217714:37
crobertsrhrickflare: if you want to try it, you can do the following from your sahara-image-elements directory....14:38
crobertsrhgit fetch ssh://croberts@review.openstack.org:29418/openstack/sahara-image-elements refs/changes/33/222633/1 && git checkout FETCH_HEAD14:38
crobertsrhthat will checkout the patched version.  You can run as normal after that.14:38
crobertsrhoops14:38
pino|workor use git-review to download a review locally14:38
crobertsrhyour fetch link obviously wouldn't include my uesrid :)14:38
crobertsrhYes....use git-review...thanks pino|work :)14:39
pino|workcrobertsrh: why? give me your ssh key, so your username will work for me too :P14:39
crobertsrhHmm....you do make some pretty fancy patches.  Maybe that's a good idea for me :)14:40
rickflareok now encountered another issue14:41
crobertsrhOk, that is progress14:42
crobertsrhpaste?14:42
rickflarehttp://pastebin.com/0CuHWF7E14:42
*** egafford has joined #openstack-sahara14:42
pino|workhint: when invoking sahara-image-create, pass -x to it14:42
rickflareshould I manually install those packages?14:43
pino|workyes, or pass -u to disk-image-create to install them14:43
pino|workinstalling them is a one-time operation14:44
rickflareso would tox -e venv -- sahara-image-create -x -u be the correct command?14:44
pino|workpossibly, yes14:44
pino|workbetter to just14:45
pino|workyum install qemu-kvm qemu-img kpartx git python-argparse14:45
rickflareok14:45
pino|workoutside of the build, then launch sahara-image-create as before14:45
rickflarethose packages are already installed14:46
pino|workall of them?14:46
rickflareyup14:46
pino|workhm14:47
rickflarethe parsing of those packages must not be catching them14:48
pino|workcan you please launch it again, passsing -x to sahara-image-create?14:48
rickflareyes14:48
rickflarehttp://pastebin.com/ghAx2jYi14:49
*** larainema has quit IRC14:51
egaffordrickflare: Heyup! Thanks for finding the bug that is fixed in https://review.openstack.org/#/c/222633!14:51
*** larainema has joined #openstack-sahara14:51
egaffordrickflare: Would you like to file that bug, so we can link it in the code review and packagers can have a paper trail?14:51
rickflaresure14:52
rickflarecould you pm me14:52
rickflarei might need some help walking though the process14:52
pino|workah, i see, python-argsparse on centos7 is in python 2.7 directly14:54
pino|workrickflare: for now, you can go pass -u to "install" the missing dependencies14:58
pino|workwill not do anything though, since everything is there14:58
rickflareok14:59
rickflarelet me try that14:59
crobertsrhAlso....are you looking to build any one image in particular?  I think by default, it will build "everything", which could take awhile.15:00
pino|workyeah15:01
*** tmckay has quit IRC15:01
pino|workand a lot of space for caches and images, too15:01
rickflareim fine with that15:01
rickflarei got 500gb15:01
crobertsrhHeh, ok :)15:01
rickflareok15:01
rickflareits building15:01
rickflarethank you so much guys15:01
pino|workthere, fixed15:05
egaffordpino|work: https://bugs.launchpad.net/sahara/+bug/1494789 is your bug.15:06
openstackLaunchpad bug 1494789 in Sahara "sahara-image-create fails to detect the operating system correctly on CentOS 7" [Undecided,New]15:06
rickflareyup15:06
rickflareand15:06
rickflare https://bugs.launchpad.net/sahara/+bug/149479015:06
openstackLaunchpad bug 1494790 in Sahara "sahara-create-image.sh fails to detect several packages on CentOS 7" [Undecided,New]15:06
pino|work(just one, not several :) )15:07
*** vgridnev has quit IRC15:07
*** stanchan has quit IRC15:08
*** vgridnev has joined #openstack-sahara15:09
elmikoanyone seeing this test fail "utils.openstack.test_images.TestImages.test_list_registered_images"15:09
elmiko?15:09
openstackgerritPino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: try harder with provides in rpm check  https://review.openstack.org/22265715:11
openstackgerritPino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: remove quotes from os-release's ID  https://review.openstack.org/22263315:12
pino|workthere you go15:12
pino|workmore broken things? :D15:12
elmikoi dunno, i just started to see this test fail in tox15:13
rickflareright now im good15:13
elmikoi'm wondering if anyone else can reproduce15:13
pino|workah shap, i should have used bug/NNN as topic15:14
pino|workwhatever, will be for the next time15:14
rickflarecrap pino15:16
rickflareyou are right15:16
rickflarei forgot about that15:16
rickflarethat would be in the commit correct?15:16
pino|worknah, don't worry -- commit (patch and message) is correct, it's just the "topic" information of the review request15:17
elmikoyea, very minor detail15:17
pino|workthe only practical effect is that opening a new review with a bug/NNN topic will send a notification to that bug saying that there is a review fixing it15:18
pino|workbut since the reviews have Closes-Bug: #NNN, the bugs will be closed when their reviews are merged15:18
pino|workso all is good, really :)15:18
rickflareok cool15:19
toskypino|work: can't you edit the topic directly from gerrit?15:23
pino|worktosky: yeah, but that won't change anything15:23
pino|workthe notification is sent only at review creation15:23
*** vgridnev has quit IRC15:28
*** vgridnev has joined #openstack-sahara15:28
openstackgerritMichael McCune proposed openstack/sahara: Fix incorrect function name in swift client  https://review.openstack.org/22267315:29
rickflarecrap15:31
rickflarebuild faild15:31
rickflarehttp://pastebin.com/SKdT62RF15:32
openstackgerritVitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field  https://review.openstack.org/22258815:32
*** AlexeyElagin has quit IRC15:33
pino|worksigh yum15:33
*** AlexeyElagin has joined #openstack-sahara15:35
rickflareany ideas pino?15:52
*** chlong has joined #openstack-sahara16:04
*** devlaps has joined #openstack-sahara16:06
*** tmckay has joined #openstack-sahara16:07
*** vgridnev has quit IRC16:17
*** tmckay has quit IRC16:21
*** tmckay has joined #openstack-sahara16:22
pino|workrickflare: not really -- it seems like rpm is exiting with failure if a package is already installed16:28
rickflare:(16:28
rickflareany ideas on anything I can do about it16:29
openstackgerritMichael McCune proposed openstack/sahara: Change nova client util to use proper client  https://review.openstack.org/22269616:39
elmikotmckay, egafford, crobertsrh, please take a look at that change ^16:41
*** IBerezovskiy has quit IRC16:41
elmikoi think we are about to see a bunch of errors with the py27 unittests and that will fix it16:41
elmikothanks tellesnobrega ;)16:42
tellesnobregano problem16:42
*** hdd has joined #openstack-sahara16:46
crobertsrhelmiko:  ack16:55
tmckayelmiko, is this a known issue? or just pre-emptive?16:57
elmikotmckay: just found it17:00
elmikotmckay: the novaclient change just went in 2 days ago, but its causing issues for our tox tests17:01
elmikojust try running `tox -epy27` from a fresh sahara master17:02
tmckayI believe you17:02
*** vgridnev has joined #openstack-sahara17:03
*** stanchan has joined #openstack-sahara17:15
rickflareanyone know why I would get failures on registry?17:24
rickflaresahara image-register --id c7e61160-411b-402a-97ca-aa74b0af3c93  --username centos17:24
rickflareERROR: Failed to register image c7e61160-411b-402a-97ca-aa74b0af3c9317:24
*** stanchan has quit IRC17:27
crobertsrhrickflare:  There was recently a bug related to image registry.  I think that the fix merged though.17:27
crobertsrhAre there any errors in your sahara log file?17:28
tmckayI might know17:29
rickflarelet me look17:30
tmckayI never realized that say if "admin" owns an image, and makes it public, and you try to register it from "demo", it won't work17:30
tmckayat least, when you try to add tags17:30
tellesnobregahey, i'm looking for a way to create an image with a file already embedded into it, can i do that with sahara-image-elements?17:30
tmckayyou have to tag it as the admin user17:30
egaffordI think rickflare's trying to tag as admin, though, from the cmd line.17:31
egafford(Also failing through Horizon, but.)17:31
tmckayk, ignore me17:31
egaffordtmckay: Nah, it was a good hypothesis.17:31
tmckaynext stop, pdb inserted into Sahara :) that's what I would do (if the logs are fruitless)17:31
rickflarehttp://pastebin.com/tJTftpkw17:32
tmckayor just hack glance to tag the images on creation ;-)17:32
egaffordOh Hey.17:32
rickflareI was the admin user17:32
rickflarein horizon when I first tried it17:32
tmckaydoh17:32
rickflarethen i did it from the command line17:32
egaffordOkay, so right now Sahara is broadly incapable of connecting to its own DB.17:32
rickflareand had the same response17:32
egaffordThat's gonna put a damper on a lot of things. :)17:32
tmckayyeah, some python package missing17:33
egaffordSahara doesn't require a DB python client backend (because we don't know what you want to use and we support multiple backends.)17:33
tmckayis it python-mysqldb? I forget17:33
egaffordI think pip install MySQL-python will do you.17:33
tmckayyeah, that's the one17:33
tmckayI get bit by this all the time and I can never remember17:34
*** chlong has quit IRC17:34
tmckayso, not really "My" sql after all, is it?17:34
egaffordtmckay: +1 to getting bit by this all the time and not remembering.17:34
egaffordHeh.17:34
rickflareok17:34
rickflaretrying now17:34
rickflaredid the pip install17:34
egaffordHappily, it does no damage and is easily fixable, as Sahara is incapable of messing itself up in that scenario, as it can't connect to its own DB. :p17:35
tmckayhelp me pip Kenobi, you're my only hope17:35
egaffordpip is kind of amazing.17:36
egaffordI remember first learning about pip coming from Java.17:36
egaffordI cannot easily describe how awesome that was.17:36
rickflaresame error17:36
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task     return __import__('MySQLdb')17:36
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task ImportError: No module named MySQLdb17:36
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task17:36
rickflare(END)17:36
tmckaymeanwhile, I am trying to understand how my working manila/sahra/neutron devstack is different from my non-working manila/sahara/neutron packstack17:36
egaffordrickflare: Restart sahara.17:36
*** tosky has quit IRC17:36
tmckaygott restart?17:36
egaffordYou can just kill the process and then do `sahara-all --config-file /etc/sahara/sahara.conf --debug` or wherever your conf is, if you like.17:37
egaffordAlso, if you don't have MySQLdb, I suspect you haven't been able to create your DB schema yet.17:38
rickflarewhats the best way to restart17:38
tmckayoh, yes.  sahara-db-manage --config-file <sahara config> upgrade head17:38
tmckayI think17:38
egaffordStep 1: ps aux | grep sahara; kill the proc.17:39
egaffordStep 2: `sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head`17:39
egaffordStep 3: `sahara-all --config-file /etc/sahara/sahara.conf --debug`17:39
egaffordThat's what I think I'd do.17:39
tellesnobregapino|work, is there a way to force the .cache folder to be create in a specific place? (using sahara-image-elements)17:39
tellesnobregasahara-image-create17:39
egaffordIf your sahara.conf is in a different location (like under your git root at etc/sahara/sahara.conf, just change the config-file path in each case.17:39
rickflareits in /etc/sahara17:42
egaffordNice; as you were.17:42
rickflare ERROR sahara.utils.api [req-22953a2d-b5d6-4bcd-9079-ad18646e171b admin admin] Validation Error occurred: error_code=400, error_message=Operation get wasn't executed correctly after 0 attempts17:43
rickflareError ID: f83e399c-f8de-4374-ae7a-72a3e77b147c, error_name=MAX_RETRIES_EXCEEDED17:43
egaffordDoes a sahara DB exist in MySQL?17:43
egaffordmysql << _EOF_17:43
egaffordDROP DATABASE IF EXISTS sahara;17:43
egaffordCREATE DATABASE IF NOT EXISTS sahara;17:43
egaffordUSE sahara;17:43
egaffordGRANT ALL ON sahara.* TO 'sahara'@'localhost' IDENTIFIED BY 'password';17:43
egafford_EOF_17:43
egaffordSorry for textblat.17:43
rickflarethere is a sahara db17:44
rickflarein MariaDb17:44
egaffordHm; wait, sahara.utils.api... do you have tables in sahara? Did sahara-db-manage complete?17:45
rickflarenot sure17:45
rickflarehow would I know17:45
rickflareor could I run it again17:45
rickflare?17:45
egaffordDid it show a bunch of db schema changes in order when you ran sahara-db-manage?17:46
egafford(And when you do mysql; use sahara; show tables; does it show you a bunch of tables or is it empty?)17:46
rickflaredont think I ever ran sahara-db-manage17:46
rickflarewhat do I pass to it17:47
egaffordI posted it above.17:47
rickflare sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head17:47
rickflareINFO  [alembic.runtime.migration] Context impl MySQLImpl.17:47
rickflareINFO  [alembic.runtime.migration] Will assume non-transactional DDL.17:47
rickflarebunch of tables do show up17:48
egaffordCool.17:48
rickflarebrb17:50
vgridnevrickflare, can you show connection string in sahara.conf file?18:00
rickflaresure18:01
rickflareconnection = mysql+pymysql://root:password@127.0.0.1/sahara?charset=utf818:01
rickflarewhen I run mysql it does not prompt me for a password btw18:01
vgridnevWe have such errors: ImportError: No module named MySQLdb if python-MySQL is not installed (or MySQL-python not sure)18:03
rickflareits def installed18:05
rickflarePackage MySQL-python-1.2.3-11.el7.x86_64 already installed and latest version18:05
vgridnevrickflare, what about pymysql module, is it installed?18:07
rickflarevia pip?18:09
rickflarepip install --upgrade pymysql18:10
rickflare  InsecurePlatformWarning18:10
rickflareRequirement already up-to-date: pymysql in /usr/lib/python2.7/site-packages18:10
rickflare?18:21
openstackgerritMichael McCune proposed openstack/sahara: Change nova client util to use proper client  https://review.openstack.org/22269618:27
elmikosigh... pep8, why do you hate me18:27
elmikocrobertsrh: do you think we should use the novaclient APIVersion object on that change?18:28
tmckaypep8 is a total hater18:28
elmiko+118:28
crobertsrhelmiko:  I could go either way.  It seems to be built to accept whatever really.18:28
crobertsrhIt's surely an upgrade from the way they warn, "Don't do it like that"18:29
elmikoheh, yea18:30
elmikoi was just thinking maybe we could use APIVersion('latest') or something, but that might be too bleeding edge18:30
elmikobut i suppose its a push if we use '2' or APIVersion('2')18:31
crobertsrhYeah, I don't think 'latest' is what we will ever want.18:31
elmikolol18:32
crobertsrhmight as well just add a bool to totally break everything at that point :)18:32
crobertsrhif True:  divide infinity by -018:32
elmikohaha, i'll get right on that ;)18:32
rickflareanyone have any clue on my issue?18:37
rickflarewith registering an image18:37
* elmiko looks at the readback18:38
elmikorickflare: maybe i missed it, do you have an error trace for the failed register?18:39
crobertsrhrickflare:  same error trace as http://pastebin.com/tJTftpkw still?18:45
rickflareyes18:46
rickflaresame error18:46
elmikowhat happens if you run the python repl and try to import MySQLdb?18:46
rickflarepython repl?18:47
crobertsrhThat error trace seems to not be from a register_image call really, but rather the periodic tasks that sahara tries to do.18:47
rickflareelmiko what is the command I should run?18:47
elmikojust typing `python` brings up the repl, read-evaluate-print-loop18:47
elmikothen in the repl type `import MySQLdb`18:48
rickflareworks fine18:48
elmikoand are you running python in a virtualenv or something?18:48
rickflarei have devstack18:49
rickflarenot that I setup18:49
elmikohmm, odd18:49
crobertsrhMaybe try restarting Sahara?18:49
rickflaredid that18:49
crobertsrhperhaps the package got installed after Sahara was fired-up?18:49
crobertsrhah, ok18:49
rickflarekill the process18:49
rickflareand re ran it in debug18:49
crobertsrhI think I almost have a centos7 devstack vm up.  I'm hoping that it fails for me there too.18:50
elmikowell, if you are using devstack, you might need to use the rejoin-stack.sh script, then find the terminal that is running sahara, then do a ctrl-c and re-run the command to start it18:50
elmikorickflare: are you familiar with the `screen` tool?18:51
rickflareyea18:51
rickflareso I ran rejoin18:51
rickflareand it failed18:51
elmikoso, rejoin-stack.sh will dump you into a screen session with all the services18:51
elmikoouch, never seen that happen18:52
rickflareoh wait18:52
rickflareno it didnt18:52
rickflareit give me a screen18:52
rickflare ./rejoin-stack.sh18:53
rickflareAttaching to already started screen session..18:53
rickflareThere is a screen on:18:53
rickflare        17620.stack     (Attached)18:53
rickflareThere is no screen to be resumed matching stack.18:53
elmikoif sahara was started through stack.sh, then you should be able to find the screen session that is running sahara-all18:54
elmikoyou just need to ctrl-c in that session, then up-arrow to the last command and re-run sahara-all18:54
crobertsrhHmm, image-register did seem to work for me.  We should be able to steer you down the right path.18:57
rickflarewait18:57
rickflarewhen I run rejoin.stack.sh18:58
rickflareit outputs this18:58
rickflare ./rejoin-stack.sh18:58
rickflareAttaching to already started screen session..18:58
rickflareThere is a screen on:18:58
rickflare        17620.stack     (Attached)18:58
rickflareThere is no screen to be resumed matching stack.18:58
rickflarewhat do I do?18:58
elmikoi'd try restacking, ./unstack.sh && ./stack.sh18:58
crobertsrh+1 to that....something seems wonky18:58
rickflareok18:59
rickflareon it18:59
rickflarestack running18:59
*** pino|work_ has joined #openstack-sahara19:08
rickflareok done19:10
rickflarenow should I re add the image19:10
crobertsrhYep, add to glance19:11
crobertsrhyou might need to source openrc again19:11
rickflareopenrc?19:11
rickflareyou mean the setenv19:11
crobertsrhto get the credentials19:11
crobertsrhwhatever you do to set your openstack username/password/etc19:12
*** pino|work has quit IRC19:12
rickflarerunning register now19:19
rickflaredammit19:20
rickflareit failed again19:20
rickflaresighes19:20
crobertsrhsame thing?19:20
crobertsrhOk...now, hopefully you are in better shape to see the sahara log19:21
crobertsrh./rejoin-stack.sh19:21
rickflare15-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task     dbapi = dialect_cls.dbapi(**dbapi_args)19:21
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task   File "/home/bjames/sahara/.tox/venv/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 92, in dbapi19:21
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task     return __import__('MySQLdb')19:21
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task ImportError: No module named MySQLdb19:21
rickflare2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task19:21
crobertsrhAre you running Sahara outside of devstack?19:23
rickflareno19:23
crobertsrhStrange...the trace above seems to be trying to use a venv under your home directory19:24
crobertsrhwhat do you get when you type "which sahara"19:24
crobertsrhI would expect the "devstack sahara" to use something from /opt/stack/sahara or things from the machine's site-packages19:25
rickflarei get /usr/bin/sahara19:25
rickflarecan I blow aware the mysql19:26
rickflaresahara db?19:26
crobertsrhIs there any chance that you have installed sahara packages outside of devstack at some point?19:27
rickflarenaw19:27
rickflarenope19:28
rickflarefollowed instructions19:28
crobertsrhOk19:28
crobertsrhThe line /home/bjames/sahara/.tox/venv/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py  in your trace is what is troubling me19:28
crobertsrhIt makes me think that your env is picking up the wrong bits from somewhere.19:29
rickflarewell19:29
rickflareI just unstacked19:29
rickflareand blew away the db19:29
rickflarewhat else could be storing that19:29
rickflaregot to run19:30
rickflareill try this again later19:30
crobertsrhOk19:30
rickflarethanks for the help19:30
crobertsrhSomeone is always around here19:30
crobertsrhhopefully someone smarter than me next time.19:30
crobertsrhgood luck19:30
*** pino|work has joined #openstack-sahara19:34
*** pino|work_ has quit IRC19:34
*** pino|work_ has joined #openstack-sahara19:37
*** pino|work has quit IRC19:40
*** tmckay has quit IRC20:05
*** tmckay has joined #openstack-sahara20:06
tellesnobregapino|work_, ping20:11
tellesnobregaanyone here with experience with sahara-image-create?20:11
elmikoa little bit, i've used it plenty20:11
openstackgerritVitaly Gridnev proposed openstack/sahara: [Test commit]  https://review.openstack.org/22275520:11
tellesnobregaelmiko, is there a way to change the .cache folder?20:12
tellesnobregafix it to a specific directory?20:13
elmikohmm, i think yes20:14
openstackgerritVitaly Gridnev proposed openstack/sahara: Test commit #2  https://review.openstack.org/22275720:16
elmikotellesnobrega: i don't remember how, but i think there is a way20:17
tellesnobregaelmiko, i'm looking for it20:17
tellesnobregai have no sudo permission on my home and i need to create an image a bit different, i want it to have a file embedded to it20:18
*** dave-mccowan has quit IRC20:18
elmikotellesnobrega: weird, so you can't write to ~/.cache ?20:24
tellesnobregai can, but sudo can't20:24
tellesnobregai need this file in because we are experimenting with it and it is a 3GB file, it is not really fast to copy everytime20:25
elmikooh, hmm20:25
elmikoi'll dig a little bit, but as you know pino|work_ is the expert ;)20:28
*** crobertsrh is now known as _crobertsrh20:33
*** pino|work_ has quit IRC20:37
*** pino|work_ has joined #openstack-sahara20:37
*** raildo is now known as raildo-afk20:42
*** tellesnobrega is now known as tellesnobrega_af20:42
*** tellesnobrega_af is now known as tellesnobrega20:43
*** tiny-hands has quit IRC21:03
elmikotellesnobrega: DIB_IMAGE_CACHE maybe?21:05
elmikotellesnobrega: another way to handle this would be to use your own diskimage-builder, point sahara-image-elements at, and hack the diskimage-create script to use another path.21:33
*** vgridnev has quit IRC21:50
-openstackstatus- NOTICE: 30 minute warning, Gerrit will be offline from 23:00 to 23:30 UTC while some projects are renamed http://lists.openstack.org/pipermail/openstack-dev/2015-September/074235.html22:32
*** witlessb has quit IRC22:54
*** egafford has quit IRC22:54
-openstackstatus- NOTICE: Gerrit is offline from 23:00 to 23:30 UTC while some projects are renamed. http://lists.openstack.org/pipermail/openstack-dev/2015-September/074235.html23:03
*** ChanServ changes topic to "Gerrit is offline from 23:00 to 23:30 UTC while some projects are renamed. http://lists.openstack.org/pipermail/openstack-dev/2015-September/074235.html"23:03
*** ChanServ changes topic to "OpenStack Sahara // IRC Meetings - http://eavesdrop.openstack.org/#OpenStack_Data_Processing_(Sahara)_Team_Meeting"23:39
*** openstackgerrit has quit IRC23:46
*** openstackgerrit has joined #openstack-sahara23:46

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