*** chlong has quit IRC | 00:19 | |
*** hdd has quit IRC | 00:43 | |
crobertsrh | tmckay: 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 _crobertsrh | 00:46 | |
*** chen12 has joined #openstack-sahara | 00:47 | |
*** chlong has joined #openstack-sahara | 01:02 | |
*** chlong has quit IRC | 01:08 | |
*** chlong has joined #openstack-sahara | 01:20 | |
*** tiny-hands has joined #openstack-sahara | 01:49 | |
*** EinstCrazy has joined #openstack-sahara | 02:00 | |
*** egafford has quit IRC | 02:07 | |
*** dave-mccowan has joined #openstack-sahara | 02:35 | |
*** dave-mccowan has quit IRC | 02:35 | |
*** hdd has joined #openstack-sahara | 02:40 | |
*** macjack has joined #openstack-sahara | 02:52 | |
*** tiny-hands has quit IRC | 02:53 | |
*** larainema has quit IRC | 03:01 | |
*** larainema has joined #openstack-sahara | 03:02 | |
*** tiny-hands has joined #openstack-sahara | 03:03 | |
*** dongc_ has joined #openstack-sahara | 03:03 | |
*** dongc_ is now known as dongc | 03:04 | |
*** tiny-hands has quit IRC | 03:05 | |
*** larainema has quit IRC | 03:07 | |
*** larainema has joined #openstack-sahara | 03:08 | |
*** links has joined #openstack-sahara | 03:41 | |
*** EinstCrazy has quit IRC | 04:03 | |
*** vgridnev has joined #openstack-sahara | 04:22 | |
*** dongc_ has joined #openstack-sahara | 04:33 | |
*** dongc has quit IRC | 04:36 | |
*** stanchan_ has joined #openstack-sahara | 04:47 | |
*** dongc_ has quit IRC | 04:47 | |
*** hdd has quit IRC | 05:08 | |
*** larainema has quit IRC | 05:20 | |
*** EinstCrazy has joined #openstack-sahara | 05:33 | |
*** Poornima has joined #openstack-sahara | 05:34 | |
*** nkrinner has joined #openstack-sahara | 05:48 | |
*** hdd has joined #openstack-sahara | 05:55 | |
*** vgridnev has quit IRC | 05:56 | |
openstackgerrit | Andrey Pavlov proposed openstack/python-saharaclient: Adding sahara_url and endpoint_type to OpenstackClient CLI https://review.openstack.org/220946 | 05:57 |
*** vgridnev has joined #openstack-sahara | 06:07 | |
*** hdd has quit IRC | 06:17 | |
*** vgridnev has quit IRC | 06:33 | |
*** vgridnev has joined #openstack-sahara | 06:45 | |
*** macjack has quit IRC | 07:06 | |
*** EinstCrazy has quit IRC | 07:07 | |
*** stanchan_ has quit IRC | 07:27 | |
*** vgridnev has quit IRC | 07:40 | |
*** witlessb has joined #openstack-sahara | 07:54 | |
*** stanchan has joined #openstack-sahara | 08:03 | |
*** IBerezovskiy has joined #openstack-sahara | 08:39 | |
openstackgerrit | Andrey Pavlov proposed openstack/python-saharaclient: Adding update and minor fixes to Data Sources CLI https://review.openstack.org/221714 | 08:44 |
*** ashishb has joined #openstack-sahara | 08:47 | |
openstackgerrit | lvdongbing proposed openstack/sahara-specs: Add instance_meta to node group template https://review.openstack.org/222528 | 08:55 |
*** vgridnev has joined #openstack-sahara | 08:57 | |
openstackgerrit | lvdongbing proposed openstack/sahara-specs: Add instance_meta to node group template https://review.openstack.org/222528 | 09:11 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required https://review.openstack.org/220538 | 09:14 |
*** chlong has quit IRC | 09:16 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required https://review.openstack.org/220538 | 09:22 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Create ResourceGroup with volumes only if it is required https://review.openstack.org/220538 | 09:23 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Remove mountpoint from heat stack because it always null https://review.openstack.org/222177 | 09:33 |
*** tosky has joined #openstack-sahara | 09:35 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition https://review.openstack.org/222558 | 10:13 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref definition https://review.openstack.org/222558 | 10:16 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Add more information about configuring NTP service https://review.openstack.org/220938 | 10:27 |
openstackgerrit | Merged openstack/puppet-sahara: acceptance: switch RDO to CBS repositories https://review.openstack.org/222277 | 10:27 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Add more information about configuring NTP service https://review.openstack.org/220938 | 10:29 |
*** dave-mccowan has joined #openstack-sahara | 10:57 | |
openstackgerrit | Denis Egorenko proposed openstack/puppet-sahara: Revert "Fixed /etc/sahara handling" https://review.openstack.org/222142 | 11:00 |
*** Poornima has quit IRC | 11:34 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition https://review.openstack.org/222558 | 11:59 |
*** tiny-hands has joined #openstack-sahara | 12:02 | |
openstackgerrit | Merged openstack/sahara: Fixed Hive 1.0 failure on MapR plugin https://review.openstack.org/221287 | 12:16 |
*** raildo-afk is now known as raildo | 12:33 | |
*** tmckay has joined #openstack-sahara | 12:40 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field https://review.openstack.org/222588 | 12:41 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field https://review.openstack.org/222588 | 12:43 |
openstackgerrit | Andrey Pavlov proposed openstack/sahara: Improving node group templates validation https://review.openstack.org/222592 | 12:53 |
*** _crobertsrh is now known as crobertsrh | 13:00 | |
*** nkrinner has quit IRC | 13:11 | |
*** logan2 has quit IRC | 13:15 | |
*** nkrinner has joined #openstack-sahara | 13:16 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: New doc about autoconfiguration policy https://review.openstack.org/221026 | 13:17 |
openstackgerrit | Andrey Pavlov proposed openstack/sahara: Increasing time for cluster creation/deletion in grenade https://review.openstack.org/222597 | 13:19 |
*** tmckay has quit IRC | 13:21 | |
*** hdd has joined #openstack-sahara | 13:30 | |
openstackgerrit | Michael McCune proposed openstack/sahara: cleanup spark plugin documentation https://review.openstack.org/221468 | 13:33 |
openstackgerrit | Andrey Pavlov proposed openstack/sahara: Increasing time for cluster creation/deletion in grenade https://review.openstack.org/222597 | 13:36 |
*** links has quit IRC | 13:38 | |
*** tmckay has joined #openstack-sahara | 13:38 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Use get_resource instead of Ref defenition https://review.openstack.org/222558 | 13:39 |
*** logan2 has joined #openstack-sahara | 13:43 | |
*** tosky has quit IRC | 13:45 | |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: New doc about autoconfiguration policy https://review.openstack.org/221026 | 13:48 |
rickflare | good morning | 13:49 |
crobertsrh | Good morning rickflare | 13:50 |
rickflare | I am having tough time with the sahara image creation script | 13:52 |
crobertsrh | rickflare: You are not the first person to have trouble with it. What are you seeing? | 13:53 |
rickflare | let me post it | 13:53 |
rickflare | one sec | 13:53 |
rickflare | http://pastebin.com/9QWNTR0S | 13:54 |
crobertsrh | Well, at least it fails quickly | 13:55 |
crobertsrh | Is there a particular image that you're trying to build? | 13:55 |
crobertsrh | Oh, wait. Are you running this from a centos machine? | 13:56 |
rickflare | yes | 13:57 |
rickflare | I am | 13:57 |
vgridnev | tellesnobrega, multiple cluster creation was merged to Horizon | 13:58 |
crobertsrh | rickflare: Ok...I'm trying to quickly fire-up a centos vm to see what I can discover. | 14:00 |
crobertsrh | centos7? | 14:00 |
rickflare | yes sir | 14:01 |
crobertsrh | Of course, my centos vm wouldn't want to work today :( | 14:02 |
crobertsrh | looking at script itself to see if I can spot a quick fix | 14:04 |
rickflare | ok | 14:05 |
crobertsrh | Hmm, which version of sahara-image-elements are you using? | 14:05 |
rickflare | how would I determine that? | 14:06 |
rickflare | sorry im sory of a newbie | 14:06 |
crobertsrh | no problem | 14:06 |
crobertsrh | did you check out sahara-image-elements from a git repository? | 14:06 |
rickflare | yes | 14:07 |
crobertsrh | Ok, can you do a "git log" and tell me the commit of the first entry? | 14:08 |
rickflare | sure | 14:08 |
crobertsrh | I just want to be sure I'm looking at the same version that you have | 14:08 |
rickflare | git log | 14:08 |
rickflare | commit bd64337f9d648cdf65605dbc361bd7723bd9fa95 | 14:08 |
rickflare | Merge: 8d5e5a3 1f468cd | 14:08 |
rickflare | Author: Jenkins <jenkins@review.openstack.org> | 14:08 |
rickflare | Date: Tue Sep 8 09:47:26 2015 +0000 | 14:08 |
rickflare | Merge "Add $JAVA_HOME/bin to PATH" | 14:08 |
crobertsrh | Ok | 14:08 |
crobertsrh | You seem to be bombing out at line 327, which is strange | 14:09 |
*** larainema has joined #openstack-sahara | 14:10 | |
crobertsrh | since "centos" is supposed to be caught in the case above "rhel" | "centos" | 14:10 |
rickflare | where is it pulling centos? | 14:10 |
crobertsrh | It executes... cat /etc/os-release | awk -F= '/^ID=/ {print tolower($2);}' | 14:11 |
crobertsrh | oh..wait | 14:11 |
crobertsrh | head -1 /etc/system-release | 14:11 |
crobertsrh | what do you see when you execute that? ^^ | 14:11 |
*** ashishb has quit IRC | 14:12 | |
rickflare | CentOS Linux release 7.1.1503 (Core) | 14:15 |
rickflare | is casing casing an issue | 14:15 |
rickflare | causing | 14:16 |
crobertsrh | Not in this case | 14:17 |
crobertsrh | The line that sets $platform actuall takes "CentOS"* | 14:17 |
tellesnobrega | vgridnev, i saw, thanks :) | 14:18 |
pino|work | rickflare: which system are you on? centos6 or 7? | 14:18 |
rickflare | 7 | 14:18 |
crobertsrh | Based on your paste, it looks like $platform is getting set to "centos" | 14:18 |
pino|work | i'm the one who recently refactored the platform code in diskimage-create.sh, bt | 14:19 |
pino|work | w | 14:19 |
crobertsrh | ah, hooray for pino|work! | 14:19 |
pino|work | and it should set $platform based on /etc/os-release, since it's there in c7 | 14:19 |
pino|work | cat /etc/os-release | awk -F= '/^ID=/ {print tolower($2);}' | 14:19 |
pino|work | what does ^ print for you? | 14:19 |
crobertsrh | pino|work: Here is his paste. http://pastebin.com/9QWNTR0S | 14:20 |
pino|work | ah, i see what's the issue here | 14:20 |
pino|work | give me few minutes, and i'll open a merge request | 14:21 |
rickflare | weeee I found a bug | 14:24 |
*** hdd has quit IRC | 14:25 | |
elmiko | hehe | 14:26 |
crobertsrh | Leave it to the new guys to come in and break everything | 14:27 |
*** nkrinner has quit IRC | 14:27 | |
rickflare | lol | 14:29 |
pino|work | rickflare: want your name to be thanked in commit message? | 14:31 |
*** tosky has joined #openstack-sahara | 14:31 | |
rickflare | please sir | 14:31 |
pino|work | just tell then :) | 14:31 |
rickflare | my full real name? | 14:31 |
pino|work | y | 14:32 |
rickflare | Brandon | 14:32 |
openstackgerrit | Pino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: remove quotes from os-release's ID https://review.openstack.org/222633 | 14:35 |
pino|work | rickflare: ^ feel free to test | 14:35 |
*** larainema has quit IRC | 14:35 | |
*** larainema has joined #openstack-sahara | 14:36 | |
rickflare | has it been merged? | 14:37 |
pino|work | no, just proposed for review | 14:37 |
openstackgerrit | Merged openstack/sahara: Remove mountpoint from heat stack because it always null https://review.openstack.org/222177 | 14:37 |
crobertsrh | rickflare: if you want to try it, you can do the following from your sahara-image-elements directory.... | 14:38 |
crobertsrh | git fetch ssh://croberts@review.openstack.org:29418/openstack/sahara-image-elements refs/changes/33/222633/1 && git checkout FETCH_HEAD | 14:38 |
crobertsrh | that will checkout the patched version. You can run as normal after that. | 14:38 |
crobertsrh | oops | 14:38 |
pino|work | or use git-review to download a review locally | 14:38 |
crobertsrh | your fetch link obviously wouldn't include my uesrid :) | 14:38 |
crobertsrh | Yes....use git-review...thanks pino|work :) | 14:39 |
pino|work | crobertsrh: why? give me your ssh key, so your username will work for me too :P | 14:39 |
crobertsrh | Hmm....you do make some pretty fancy patches. Maybe that's a good idea for me :) | 14:40 |
rickflare | ok now encountered another issue | 14:41 |
crobertsrh | Ok, that is progress | 14:42 |
crobertsrh | paste? | 14:42 |
rickflare | http://pastebin.com/0CuHWF7E | 14:42 |
*** egafford has joined #openstack-sahara | 14:42 | |
pino|work | hint: when invoking sahara-image-create, pass -x to it | 14:42 |
rickflare | should I manually install those packages? | 14:43 |
pino|work | yes, or pass -u to disk-image-create to install them | 14:43 |
pino|work | installing them is a one-time operation | 14:44 |
rickflare | so would tox -e venv -- sahara-image-create -x -u be the correct command? | 14:44 |
pino|work | possibly, yes | 14:44 |
pino|work | better to just | 14:45 |
pino|work | yum install qemu-kvm qemu-img kpartx git python-argparse | 14:45 |
rickflare | ok | 14:45 |
pino|work | outside of the build, then launch sahara-image-create as before | 14:45 |
rickflare | those packages are already installed | 14:46 |
pino|work | all of them? | 14:46 |
rickflare | yup | 14:46 |
pino|work | hm | 14:47 |
rickflare | the parsing of those packages must not be catching them | 14:48 |
pino|work | can you please launch it again, passsing -x to sahara-image-create? | 14:48 |
rickflare | yes | 14:48 |
rickflare | http://pastebin.com/ghAx2jYi | 14:49 |
*** larainema has quit IRC | 14:51 | |
egafford | rickflare: Heyup! Thanks for finding the bug that is fixed in https://review.openstack.org/#/c/222633! | 14:51 |
*** larainema has joined #openstack-sahara | 14:51 | |
egafford | rickflare: 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 |
rickflare | sure | 14:52 |
rickflare | could you pm me | 14:52 |
rickflare | i might need some help walking though the process | 14:52 |
pino|work | ah, i see, python-argsparse on centos7 is in python 2.7 directly | 14:54 |
pino|work | rickflare: for now, you can go pass -u to "install" the missing dependencies | 14:58 |
pino|work | will not do anything though, since everything is there | 14:58 |
rickflare | ok | 14:59 |
rickflare | let me try that | 14:59 |
crobertsrh | Also....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|work | yeah | 15:01 |
*** tmckay has quit IRC | 15:01 | |
pino|work | and a lot of space for caches and images, too | 15:01 |
rickflare | im fine with that | 15:01 |
rickflare | i got 500gb | 15:01 |
crobertsrh | Heh, ok :) | 15:01 |
rickflare | ok | 15:01 |
rickflare | its building | 15:01 |
rickflare | thank you so much guys | 15:01 |
pino|work | there, fixed | 15:05 |
egafford | pino|work: https://bugs.launchpad.net/sahara/+bug/1494789 is your bug. | 15:06 |
openstack | Launchpad bug 1494789 in Sahara "sahara-image-create fails to detect the operating system correctly on CentOS 7" [Undecided,New] | 15:06 |
rickflare | yup | 15:06 |
rickflare | and | 15:06 |
rickflare | https://bugs.launchpad.net/sahara/+bug/1494790 | 15:06 |
openstack | Launchpad 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 IRC | 15:07 | |
*** stanchan has quit IRC | 15:08 | |
*** vgridnev has joined #openstack-sahara | 15:09 | |
elmiko | anyone seeing this test fail "utils.openstack.test_images.TestImages.test_list_registered_images" | 15:09 |
elmiko | ? | 15:09 |
openstackgerrit | Pino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: try harder with provides in rpm check https://review.openstack.org/222657 | 15:11 |
openstackgerrit | Pino Toscano proposed openstack/sahara-image-elements: diskimage-create.sh: remove quotes from os-release's ID https://review.openstack.org/222633 | 15:12 |
pino|work | there you go | 15:12 |
pino|work | more broken things? :D | 15:12 |
elmiko | i dunno, i just started to see this test fail in tox | 15:13 |
rickflare | right now im good | 15:13 |
elmiko | i'm wondering if anyone else can reproduce | 15:13 |
pino|work | ah shap, i should have used bug/NNN as topic | 15:14 |
pino|work | whatever, will be for the next time | 15:14 |
rickflare | crap pino | 15:16 |
rickflare | you are right | 15:16 |
rickflare | i forgot about that | 15:16 |
rickflare | that would be in the commit correct? | 15:16 |
pino|work | nah, don't worry -- commit (patch and message) is correct, it's just the "topic" information of the review request | 15:17 |
elmiko | yea, very minor detail | 15:17 |
pino|work | the 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 it | 15:18 |
pino|work | but since the reviews have Closes-Bug: #NNN, the bugs will be closed when their reviews are merged | 15:18 |
pino|work | so all is good, really :) | 15:18 |
rickflare | ok cool | 15:19 |
tosky | pino|work: can't you edit the topic directly from gerrit? | 15:23 |
pino|work | tosky: yeah, but that won't change anything | 15:23 |
pino|work | the notification is sent only at review creation | 15:23 |
*** vgridnev has quit IRC | 15:28 | |
*** vgridnev has joined #openstack-sahara | 15:28 | |
openstackgerrit | Michael McCune proposed openstack/sahara: Fix incorrect function name in swift client https://review.openstack.org/222673 | 15:29 |
rickflare | crap | 15:31 |
rickflare | build faild | 15:31 |
rickflare | http://pastebin.com/SKdT62RF | 15:32 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Always refresh heat_stack field https://review.openstack.org/222588 | 15:32 |
*** AlexeyElagin has quit IRC | 15:33 | |
pino|work | sigh yum | 15:33 |
*** AlexeyElagin has joined #openstack-sahara | 15:35 | |
rickflare | any ideas pino? | 15:52 |
*** chlong has joined #openstack-sahara | 16:04 | |
*** devlaps has joined #openstack-sahara | 16:06 | |
*** tmckay has joined #openstack-sahara | 16:07 | |
*** vgridnev has quit IRC | 16:17 | |
*** tmckay has quit IRC | 16:21 | |
*** tmckay has joined #openstack-sahara | 16:22 | |
pino|work | rickflare: not really -- it seems like rpm is exiting with failure if a package is already installed | 16:28 |
rickflare | :( | 16:28 |
rickflare | any ideas on anything I can do about it | 16:29 |
openstackgerrit | Michael McCune proposed openstack/sahara: Change nova client util to use proper client https://review.openstack.org/222696 | 16:39 |
elmiko | tmckay, egafford, crobertsrh, please take a look at that change ^ | 16:41 |
*** IBerezovskiy has quit IRC | 16:41 | |
elmiko | i think we are about to see a bunch of errors with the py27 unittests and that will fix it | 16:41 |
elmiko | thanks tellesnobrega ;) | 16:42 |
tellesnobrega | no problem | 16:42 |
*** hdd has joined #openstack-sahara | 16:46 | |
crobertsrh | elmiko: ack | 16:55 |
tmckay | elmiko, is this a known issue? or just pre-emptive? | 16:57 |
elmiko | tmckay: just found it | 17:00 |
elmiko | tmckay: the novaclient change just went in 2 days ago, but its causing issues for our tox tests | 17:01 |
elmiko | just try running `tox -epy27` from a fresh sahara master | 17:02 |
tmckay | I believe you | 17:02 |
*** vgridnev has joined #openstack-sahara | 17:03 | |
*** stanchan has joined #openstack-sahara | 17:15 | |
rickflare | anyone know why I would get failures on registry? | 17:24 |
rickflare | sahara image-register --id c7e61160-411b-402a-97ca-aa74b0af3c93 --username centos | 17:24 |
rickflare | ERROR: Failed to register image c7e61160-411b-402a-97ca-aa74b0af3c93 | 17:24 |
*** stanchan has quit IRC | 17:27 | |
crobertsrh | rickflare: There was recently a bug related to image registry. I think that the fix merged though. | 17:27 |
crobertsrh | Are there any errors in your sahara log file? | 17:28 |
tmckay | I might know | 17:29 |
rickflare | let me look | 17:30 |
tmckay | I never realized that say if "admin" owns an image, and makes it public, and you try to register it from "demo", it won't work | 17:30 |
tmckay | at least, when you try to add tags | 17:30 |
tellesnobrega | hey, 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 |
tmckay | you have to tag it as the admin user | 17:30 |
egafford | I think rickflare's trying to tag as admin, though, from the cmd line. | 17:31 |
egafford | (Also failing through Horizon, but.) | 17:31 |
tmckay | k, ignore me | 17:31 |
egafford | tmckay: Nah, it was a good hypothesis. | 17:31 |
tmckay | next stop, pdb inserted into Sahara :) that's what I would do (if the logs are fruitless) | 17:31 |
rickflare | http://pastebin.com/tJTftpkw | 17:32 |
tmckay | or just hack glance to tag the images on creation ;-) | 17:32 |
egafford | Oh Hey. | 17:32 |
rickflare | I was the admin user | 17:32 |
rickflare | in horizon when I first tried it | 17:32 |
tmckay | doh | 17:32 |
rickflare | then i did it from the command line | 17:32 |
egafford | Okay, so right now Sahara is broadly incapable of connecting to its own DB. | 17:32 |
rickflare | and had the same response | 17:32 |
egafford | That's gonna put a damper on a lot of things. :) | 17:32 |
tmckay | yeah, some python package missing | 17:33 |
egafford | Sahara 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 |
tmckay | is it python-mysqldb? I forget | 17:33 |
egafford | I think pip install MySQL-python will do you. | 17:33 |
tmckay | yeah, that's the one | 17:33 |
tmckay | I get bit by this all the time and I can never remember | 17:34 |
*** chlong has quit IRC | 17:34 | |
tmckay | so, not really "My" sql after all, is it? | 17:34 |
egafford | tmckay: +1 to getting bit by this all the time and not remembering. | 17:34 |
egafford | Heh. | 17:34 |
rickflare | ok | 17:34 |
rickflare | trying now | 17:34 |
rickflare | did the pip install | 17:34 |
egafford | Happily, 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. :p | 17:35 |
tmckay | help me pip Kenobi, you're my only hope | 17:35 |
egafford | pip is kind of amazing. | 17:36 |
egafford | I remember first learning about pip coming from Java. | 17:36 |
egafford | I cannot easily describe how awesome that was. | 17:36 |
rickflare | same error | 17:36 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task return __import__('MySQLdb') | 17:36 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task ImportError: No module named MySQLdb | 17:36 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task | 17:36 |
rickflare | (END) | 17:36 |
tmckay | meanwhile, I am trying to understand how my working manila/sahra/neutron devstack is different from my non-working manila/sahara/neutron packstack | 17:36 |
egafford | rickflare: Restart sahara. | 17:36 |
*** tosky has quit IRC | 17:36 | |
tmckay | gott restart? | 17:36 |
egafford | You 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 |
egafford | Also, if you don't have MySQLdb, I suspect you haven't been able to create your DB schema yet. | 17:38 |
rickflare | whats the best way to restart | 17:38 |
tmckay | oh, yes. sahara-db-manage --config-file <sahara config> upgrade head | 17:38 |
tmckay | I think | 17:38 |
egafford | Step 1: ps aux | grep sahara; kill the proc. | 17:39 |
egafford | Step 2: `sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head` | 17:39 |
egafford | Step 3: `sahara-all --config-file /etc/sahara/sahara.conf --debug` | 17:39 |
egafford | That's what I think I'd do. | 17:39 |
tellesnobrega | pino|work, is there a way to force the .cache folder to be create in a specific place? (using sahara-image-elements) | 17:39 |
tellesnobrega | sahara-image-create | 17:39 |
egafford | If 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 |
rickflare | its in /etc/sahara | 17:42 |
egafford | Nice; 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 attempts | 17:43 |
rickflare | Error ID: f83e399c-f8de-4374-ae7a-72a3e77b147c, error_name=MAX_RETRIES_EXCEEDED | 17:43 |
egafford | Does a sahara DB exist in MySQL? | 17:43 |
egafford | mysql << _EOF_ | 17:43 |
egafford | DROP DATABASE IF EXISTS sahara; | 17:43 |
egafford | CREATE DATABASE IF NOT EXISTS sahara; | 17:43 |
egafford | USE sahara; | 17:43 |
egafford | GRANT ALL ON sahara.* TO 'sahara'@'localhost' IDENTIFIED BY 'password'; | 17:43 |
egafford | _EOF_ | 17:43 |
egafford | Sorry for textblat. | 17:43 |
rickflare | there is a sahara db | 17:44 |
rickflare | in MariaDb | 17:44 |
egafford | Hm; wait, sahara.utils.api... do you have tables in sahara? Did sahara-db-manage complete? | 17:45 |
rickflare | not sure | 17:45 |
rickflare | how would I know | 17:45 |
rickflare | or could I run it again | 17:45 |
rickflare | ? | 17:45 |
egafford | Did 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 |
rickflare | dont think I ever ran sahara-db-manage | 17:46 |
rickflare | what do I pass to it | 17:47 |
egafford | I posted it above. | 17:47 |
rickflare | sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head | 17:47 |
rickflare | INFO [alembic.runtime.migration] Context impl MySQLImpl. | 17:47 |
rickflare | INFO [alembic.runtime.migration] Will assume non-transactional DDL. | 17:47 |
rickflare | bunch of tables do show up | 17:48 |
egafford | Cool. | 17:48 |
rickflare | brb | 17:50 |
vgridnev | rickflare, can you show connection string in sahara.conf file? | 18:00 |
rickflare | sure | 18:01 |
rickflare | connection = mysql+pymysql://root:password@127.0.0.1/sahara?charset=utf8 | 18:01 |
rickflare | when I run mysql it does not prompt me for a password btw | 18:01 |
vgridnev | We have such errors: ImportError: No module named MySQLdb if python-MySQL is not installed (or MySQL-python not sure) | 18:03 |
rickflare | its def installed | 18:05 |
rickflare | Package MySQL-python-1.2.3-11.el7.x86_64 already installed and latest version | 18:05 |
vgridnev | rickflare, what about pymysql module, is it installed? | 18:07 |
rickflare | via pip? | 18:09 |
rickflare | pip install --upgrade pymysql | 18:10 |
rickflare | InsecurePlatformWarning | 18:10 |
rickflare | Requirement already up-to-date: pymysql in /usr/lib/python2.7/site-packages | 18:10 |
rickflare | ? | 18:21 |
openstackgerrit | Michael McCune proposed openstack/sahara: Change nova client util to use proper client https://review.openstack.org/222696 | 18:27 |
elmiko | sigh... pep8, why do you hate me | 18:27 |
elmiko | crobertsrh: do you think we should use the novaclient APIVersion object on that change? | 18:28 |
tmckay | pep8 is a total hater | 18:28 |
elmiko | +1 | 18:28 |
crobertsrh | elmiko: I could go either way. It seems to be built to accept whatever really. | 18:28 |
crobertsrh | It's surely an upgrade from the way they warn, "Don't do it like that" | 18:29 |
elmiko | heh, yea | 18:30 |
elmiko | i was just thinking maybe we could use APIVersion('latest') or something, but that might be too bleeding edge | 18:30 |
elmiko | but i suppose its a push if we use '2' or APIVersion('2') | 18:31 |
crobertsrh | Yeah, I don't think 'latest' is what we will ever want. | 18:31 |
elmiko | lol | 18:32 |
crobertsrh | might as well just add a bool to totally break everything at that point :) | 18:32 |
crobertsrh | if True: divide infinity by -0 | 18:32 |
elmiko | haha, i'll get right on that ;) | 18:32 |
rickflare | anyone have any clue on my issue? | 18:37 |
rickflare | with registering an image | 18:37 |
* elmiko looks at the readback | 18:38 | |
elmiko | rickflare: maybe i missed it, do you have an error trace for the failed register? | 18:39 |
crobertsrh | rickflare: same error trace as http://pastebin.com/tJTftpkw still? | 18:45 |
rickflare | yes | 18:46 |
rickflare | same error | 18:46 |
elmiko | what happens if you run the python repl and try to import MySQLdb? | 18:46 |
rickflare | python repl? | 18:47 |
crobertsrh | That error trace seems to not be from a register_image call really, but rather the periodic tasks that sahara tries to do. | 18:47 |
rickflare | elmiko what is the command I should run? | 18:47 |
elmiko | just typing `python` brings up the repl, read-evaluate-print-loop | 18:47 |
elmiko | then in the repl type `import MySQLdb` | 18:48 |
rickflare | works fine | 18:48 |
elmiko | and are you running python in a virtualenv or something? | 18:48 |
rickflare | i have devstack | 18:49 |
rickflare | not that I setup | 18:49 |
elmiko | hmm, odd | 18:49 |
crobertsrh | Maybe try restarting Sahara? | 18:49 |
rickflare | did that | 18:49 |
crobertsrh | perhaps the package got installed after Sahara was fired-up? | 18:49 |
crobertsrh | ah, ok | 18:49 |
rickflare | kill the process | 18:49 |
rickflare | and re ran it in debug | 18:49 |
crobertsrh | I think I almost have a centos7 devstack vm up. I'm hoping that it fails for me there too. | 18:50 |
elmiko | well, 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 it | 18:50 |
elmiko | rickflare: are you familiar with the `screen` tool? | 18:51 |
rickflare | yea | 18:51 |
rickflare | so I ran rejoin | 18:51 |
rickflare | and it failed | 18:51 |
elmiko | so, rejoin-stack.sh will dump you into a screen session with all the services | 18:51 |
elmiko | ouch, never seen that happen | 18:52 |
rickflare | oh wait | 18:52 |
rickflare | no it didnt | 18:52 |
rickflare | it give me a screen | 18:52 |
rickflare | ./rejoin-stack.sh | 18:53 |
rickflare | Attaching to already started screen session.. | 18:53 |
rickflare | There is a screen on: | 18:53 |
rickflare | 17620.stack (Attached) | 18:53 |
rickflare | There is no screen to be resumed matching stack. | 18:53 |
elmiko | if sahara was started through stack.sh, then you should be able to find the screen session that is running sahara-all | 18:54 |
elmiko | you just need to ctrl-c in that session, then up-arrow to the last command and re-run sahara-all | 18:54 |
crobertsrh | Hmm, image-register did seem to work for me. We should be able to steer you down the right path. | 18:57 |
rickflare | wait | 18:57 |
rickflare | when I run rejoin.stack.sh | 18:58 |
rickflare | it outputs this | 18:58 |
rickflare | ./rejoin-stack.sh | 18:58 |
rickflare | Attaching to already started screen session.. | 18:58 |
rickflare | There is a screen on: | 18:58 |
rickflare | 17620.stack (Attached) | 18:58 |
rickflare | There is no screen to be resumed matching stack. | 18:58 |
rickflare | what do I do? | 18:58 |
elmiko | i'd try restacking, ./unstack.sh && ./stack.sh | 18:58 |
crobertsrh | +1 to that....something seems wonky | 18:58 |
rickflare | ok | 18:59 |
rickflare | on it | 18:59 |
rickflare | stack running | 18:59 |
*** pino|work_ has joined #openstack-sahara | 19:08 | |
rickflare | ok done | 19:10 |
rickflare | now should I re add the image | 19:10 |
crobertsrh | Yep, add to glance | 19:11 |
crobertsrh | you might need to source openrc again | 19:11 |
rickflare | openrc? | 19:11 |
rickflare | you mean the setenv | 19:11 |
crobertsrh | to get the credentials | 19:11 |
crobertsrh | whatever you do to set your openstack username/password/etc | 19:12 |
*** pino|work has quit IRC | 19:12 | |
rickflare | running register now | 19:19 |
rickflare | dammit | 19:20 |
rickflare | it failed again | 19:20 |
rickflare | sighes | 19:20 |
crobertsrh | same thing? | 19:20 |
crobertsrh | Ok...now, hopefully you are in better shape to see the sahara log | 19:21 |
crobertsrh | ./rejoin-stack.sh | 19:21 |
rickflare | 15-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task dbapi = dialect_cls.dbapi(**dbapi_args) | 19:21 |
rickflare | 2015-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 dbapi | 19:21 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task return __import__('MySQLdb') | 19:21 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task ImportError: No module named MySQLdb | 19:21 |
rickflare | 2015-09-10 22:43:51.986 24922 ERROR oslo_service.periodic_task | 19:21 |
crobertsrh | Are you running Sahara outside of devstack? | 19:23 |
rickflare | no | 19:23 |
crobertsrh | Strange...the trace above seems to be trying to use a venv under your home directory | 19:24 |
crobertsrh | what do you get when you type "which sahara" | 19:24 |
crobertsrh | I would expect the "devstack sahara" to use something from /opt/stack/sahara or things from the machine's site-packages | 19:25 |
rickflare | i get /usr/bin/sahara | 19:25 |
rickflare | can I blow aware the mysql | 19:26 |
rickflare | sahara db? | 19:26 |
crobertsrh | Is there any chance that you have installed sahara packages outside of devstack at some point? | 19:27 |
rickflare | naw | 19:27 |
rickflare | nope | 19:28 |
rickflare | followed instructions | 19:28 |
crobertsrh | Ok | 19:28 |
crobertsrh | The line /home/bjames/sahara/.tox/venv/lib/python2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py in your trace is what is troubling me | 19:28 |
crobertsrh | It makes me think that your env is picking up the wrong bits from somewhere. | 19:29 |
rickflare | well | 19:29 |
rickflare | I just unstacked | 19:29 |
rickflare | and blew away the db | 19:29 |
rickflare | what else could be storing that | 19:29 |
rickflare | got to run | 19:30 |
rickflare | ill try this again later | 19:30 |
crobertsrh | Ok | 19:30 |
rickflare | thanks for the help | 19:30 |
crobertsrh | Someone is always around here | 19:30 |
crobertsrh | hopefully someone smarter than me next time. | 19:30 |
crobertsrh | good luck | 19:30 |
*** pino|work has joined #openstack-sahara | 19:34 | |
*** pino|work_ has quit IRC | 19:34 | |
*** pino|work_ has joined #openstack-sahara | 19:37 | |
*** pino|work has quit IRC | 19:40 | |
*** tmckay has quit IRC | 20:05 | |
*** tmckay has joined #openstack-sahara | 20:06 | |
tellesnobrega | pino|work_, ping | 20:11 |
tellesnobrega | anyone here with experience with sahara-image-create? | 20:11 |
elmiko | a little bit, i've used it plenty | 20:11 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: [Test commit] https://review.openstack.org/222755 | 20:11 |
tellesnobrega | elmiko, is there a way to change the .cache folder? | 20:12 |
tellesnobrega | fix it to a specific directory? | 20:13 |
elmiko | hmm, i think yes | 20:14 |
openstackgerrit | Vitaly Gridnev proposed openstack/sahara: Test commit #2 https://review.openstack.org/222757 | 20:16 |
elmiko | tellesnobrega: i don't remember how, but i think there is a way | 20:17 |
tellesnobrega | elmiko, i'm looking for it | 20:17 |
tellesnobrega | i 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 it | 20:18 |
*** dave-mccowan has quit IRC | 20:18 | |
elmiko | tellesnobrega: weird, so you can't write to ~/.cache ? | 20:24 |
tellesnobrega | i can, but sudo can't | 20:24 |
tellesnobrega | i need this file in because we are experimenting with it and it is a 3GB file, it is not really fast to copy everytime | 20:25 |
elmiko | oh, hmm | 20:25 |
elmiko | i'll dig a little bit, but as you know pino|work_ is the expert ;) | 20:28 |
*** crobertsrh is now known as _crobertsrh | 20:33 | |
*** pino|work_ has quit IRC | 20:37 | |
*** pino|work_ has joined #openstack-sahara | 20:37 | |
*** raildo is now known as raildo-afk | 20:42 | |
*** tellesnobrega is now known as tellesnobrega_af | 20:42 | |
*** tellesnobrega_af is now known as tellesnobrega | 20:43 | |
*** tiny-hands has quit IRC | 21:03 | |
elmiko | tellesnobrega: DIB_IMAGE_CACHE maybe? | 21:05 |
elmiko | tellesnobrega: 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 IRC | 21: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.html | 22:32 | |
*** witlessb has quit IRC | 22:54 | |
*** egafford has quit IRC | 22: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.html | 23: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 IRC | 23:46 | |
*** openstackgerrit has joined #openstack-sahara | 23:46 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!