*** david-lyle has quit IRC | 00:02 | |
*** david-lyle has joined #openstack-sahara | 00:03 | |
*** shakamunyi has joined #openstack-sahara | 00:18 | |
*** shakamunyi has quit IRC | 00:23 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara: Updated from global requirements https://review.openstack.org/302887 | 00:33 |
---|---|---|
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara-tests: Updated from global requirements https://review.openstack.org/303002 | 00:34 |
*** sgotliv has quit IRC | 01:07 | |
*** sgotliv has joined #openstack-sahara | 01:10 | |
*** tmckay has joined #openstack-sahara | 01:12 | |
*** shakamunyi has joined #openstack-sahara | 01:18 | |
*** shakamunyi has quit IRC | 01:23 | |
*** sgotliv has quit IRC | 01:26 | |
*** dave-mccowan has quit IRC | 01:45 | |
*** shakamunyi has joined #openstack-sahara | 02:19 | |
*** openstackstatus has quit IRC | 02:19 | |
*** shakamunyi has quit IRC | 02:24 | |
*** esikachev has joined #openstack-sahara | 02:58 | |
*** esikachev has quit IRC | 03:03 | |
*** jrevote has quit IRC | 03:07 | |
*** shakamunyi has joined #openstack-sahara | 03:18 | |
*** shakamunyi has quit IRC | 03:23 | |
*** jrevote has joined #openstack-sahara | 03:49 | |
*** links has joined #openstack-sahara | 03:53 | |
*** shakamunyi has joined #openstack-sahara | 04:18 | |
*** shakamunyi has quit IRC | 04:22 | |
*** sgotliv has joined #openstack-sahara | 04:38 | |
*** shakamunyi has joined #openstack-sahara | 04:40 | |
*** shakamunyi has quit IRC | 04:45 | |
*** rcernin has joined #openstack-sahara | 04:54 | |
*** esikachev has joined #openstack-sahara | 04:59 | |
*** esikachev has quit IRC | 05:04 | |
*** links has quit IRC | 05:07 | |
*** shakamunyi has joined #openstack-sahara | 05:18 | |
*** shakamunyi has quit IRC | 05:23 | |
*** links has joined #openstack-sahara | 05:24 | |
*** nkrinner has joined #openstack-sahara | 05:27 | |
*** hdd has joined #openstack-sahara | 05:29 | |
*** sgotliv_ has joined #openstack-sahara | 05:33 | |
*** sgotliv has quit IRC | 05:35 | |
*** links has quit IRC | 06:03 | |
*** jrevote has quit IRC | 06:04 | |
*** jrevote has joined #openstack-sahara | 06:07 | |
*** jrevote has quit IRC | 06:07 | |
*** jrevote has joined #openstack-sahara | 06:09 | |
*** shakamunyi has joined #openstack-sahara | 06:18 | |
*** links has joined #openstack-sahara | 06:18 | |
*** shakamunyi has quit IRC | 06:23 | |
*** sgotliv_ has quit IRC | 06:25 | |
openstackgerrit | Merged openstack/sahara-dashboard: Add testcase Update nodegroup in cluster template https://review.openstack.org/277305 | 06:32 |
*** vgridnev has joined #openstack-sahara | 06:32 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/sahara-dashboard: Imported Translations from Zanata https://review.openstack.org/303244 | 06:34 |
openstackgerrit | Merged openstack/sahara-dashboard: Fixing font and style of close buttons https://review.openstack.org/302420 | 06:35 |
*** jrevote has quit IRC | 06:59 | |
*** jrevote has joined #openstack-sahara | 07:02 | |
*** NikitaKonovalov_ has joined #openstack-sahara | 07:08 | |
*** vgridnev has quit IRC | 07:09 | |
*** NikitaKonovalov_ has quit IRC | 07:13 | |
*** jrevote has quit IRC | 07:13 | |
*** vgridnev has joined #openstack-sahara | 07:14 | |
*** esikachev has joined #openstack-sahara | 07:15 | |
*** shakamunyi has joined #openstack-sahara | 07:18 | |
*** shakamunyi has quit IRC | 07:23 | |
openstackgerrit | Merged openstack/sahara: SPI Method to Validate Images https://review.openstack.org/263424 | 07:27 |
openstackgerrit | Merged openstack/sahara: Updated from global requirements https://review.openstack.org/302887 | 07:27 |
openstackgerrit | Merged openstack/sahara: Change property for auto creating schema https://review.openstack.org/301742 | 07:28 |
openstackgerrit | Merged openstack/sahara: Define context.roles with base class https://review.openstack.org/302343 | 07:28 |
openstackgerrit | Merged openstack/sahara: Fix Hue integration with Spark and Hive https://review.openstack.org/297323 | 07:39 |
*** pcaruana has joined #openstack-sahara | 07:49 | |
*** jamielennox is now known as jamielennox|away | 07:53 | |
*** witlessb has joined #openstack-sahara | 08:00 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 08:32 |
*** openstackgerrit has quit IRC | 08:33 | |
*** openstackgerrit has joined #openstack-sahara | 08:33 | |
*** vgridnev has quit IRC | 08:42 | |
*** akuznetsov has joined #openstack-sahara | 08:43 | |
openstackgerrit | Merged openstack/sahara: Remove unsupported services from 5.1.0 https://review.openstack.org/297313 | 09:09 |
openstackgerrit | Merged openstack/sahara: Correctly configure Spark with Hive, HBase https://review.openstack.org/295270 | 09:09 |
*** akuznetsov has quit IRC | 09:13 | |
*** vgridnev has joined #openstack-sahara | 09:25 | |
*** sgotliv_ has joined #openstack-sahara | 09:26 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 09:29 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 09:39 |
openstackgerrit | Merged openstack/sahara-dashboard: Imported Translations from Zanata https://review.openstack.org/303244 | 09:39 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Added ability use variables from environment https://review.openstack.org/297757 | 09:42 |
openstackgerrit | Merged openstack/sahara-dashboard: Fix time values of cluster provision steps https://review.openstack.org/301597 | 09:44 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add Hive jobs for CDH and Vanilla https://review.openstack.org/280701 | 09:44 |
*** sgotliv_ has quit IRC | 09:45 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Remove unused yaml files https://review.openstack.org/297173 | 09:46 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add Hive job for Ambari https://review.openstack.org/299358 | 09:51 |
*** iberezovskiy_ is now known as iberezovskiy | 10:01 | |
openstackgerrit | Luigi Toscano proposed openstack/sahara: Enable optional sahara-tests installation from devstack https://review.openstack.org/303332 | 10:05 |
*** esikachev has quit IRC | 10:05 | |
*** _degorenko|afk is now known as degorenko | 10:16 | |
*** esikachev has joined #openstack-sahara | 10:26 | |
*** tosky has joined #openstack-sahara | 10:27 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 10:32 |
openstackgerrit | Merged openstack/sahara-tests: Updated from global requirements https://review.openstack.org/303002 | 10:34 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 10:41 |
openstackgerrit | Merged openstack/sahara-tests: Move default templates to framework repo https://review.openstack.org/295110 | 11:12 |
*** shakamunyi has joined #openstack-sahara | 11:18 | |
openstackgerrit | Merged openstack/sahara-ci-config: Change location of yaml files https://review.openstack.org/295111 | 11:22 |
*** shakamunyi has quit IRC | 11:23 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 11:54 |
*** sgotliv_ has joined #openstack-sahara | 12:13 | |
*** shakamunyi has joined #openstack-sahara | 12:18 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Added ability use variables from environment https://review.openstack.org/297757 | 12:21 |
*** shakamunyi has quit IRC | 12:23 | |
*** _crobertsrh is now known as crobertsrh | 12:26 | |
*** raildo-afk is now known as raildo | 12:26 | |
*** sgotliv has joined #openstack-sahara | 12:28 | |
*** sgotliv_ has quit IRC | 12:28 | |
*** sgotliv has quit IRC | 12:29 | |
*** sgotliv_ has joined #openstack-sahara | 12:29 | |
*** sgotliv_ has quit IRC | 12:29 | |
*** sgotliv has joined #openstack-sahara | 12:29 | |
tosky | esikachev: you are going to kill me but... the modindex option in index.rst leads to a broken link, and I'm not sure how to generate it, or even if that macro makes sense for our use case | 12:34 |
esikachev | hm | 12:35 |
esikachev | You're safe. you're far away :) | 12:35 |
esikachev | ok, let's fix it :) | 12:36 |
esikachev | but i have some problem with sahara-ci right now :( working on fixing | 12:36 |
vgridnev | tosky, are you going to the summit? | 12:37 |
vgridnev | in addition, do you know exact list of RedHat folks who are going to the summit | 12:38 |
elmiko | vgridnev: i know me, crobertsrh, tmckay, and egafford will be there | 12:39 |
crobertsrh | Indeed, I will | 12:39 |
vgridnev | ok, good to know | 12:39 |
vgridnev | we are planning our works sessions right know | 12:40 |
elmiko | great | 12:40 |
tosky | esikachev: thanks :) | 12:41 |
esikachev | np :) | 12:41 |
tosky | vgridnev: unfortunately no, not at this round (it's definitely more likely for Barcelona, not 100% yet of course) | 12:41 |
tosky | (at least now I understand reno a bit better) | 12:42 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Update path for default templates https://review.openstack.org/303392 | 12:48 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add Hive jobs for CDH and Vanilla https://review.openstack.org/280701 | 12:52 |
*** tmckay has quit IRC | 13:00 | |
*** tmckay has joined #openstack-sahara | 13:00 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add yaml's with all processes Ambari https://review.openstack.org/292248 | 13:00 |
*** tmckay has quit IRC | 13:02 | |
vgridnev | elmiko, do you remember some links for etherpads of the last summit? | 13:03 |
elmiko | vgridnev: let me look | 13:03 |
*** NikitaKonovalov_ has joined #openstack-sahara | 13:04 | |
elmiko | https://etherpad.openstack.org/p/mitaka-sahara-session-plans | 13:04 |
elmiko | https://etherpad.openstack.org/p/sahara-liberty-proposed-sessions | 13:04 |
elmiko | vgridnev: i think that's all i have | 13:06 |
vgridnev | elmiko, big thanks | 13:06 |
elmiko | np =) | 13:06 |
crobertsrh | https://etherpad.openstack.org/p/sahara-mitaka-ui | 13:06 |
crobertsrh | https://wiki.openstack.org/wiki/Design_Summit/Mitaka/Etherpads#Sahara | 13:07 |
crobertsrh | vgridnev: ^^^^ | 13:07 |
elmiko | forgot about the wiki link, good spot | 13:08 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Update path for default templates https://review.openstack.org/303392 | 13:17 |
*** rodrigods has quit IRC | 13:22 | |
*** vgridnev has quit IRC | 13:22 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Update path for default templates https://review.openstack.org/303392 | 13:22 |
*** NikitaKonovalov_ has quit IRC | 13:22 | |
*** rodrigods has joined #openstack-sahara | 13:22 | |
*** NikitaKonovalov_ has joined #openstack-sahara | 13:24 | |
*** nkrinner has quit IRC | 13:25 | |
*** NikitaKonovalov_ has quit IRC | 13:38 | |
*** vgridnev has joined #openstack-sahara | 13:38 | |
*** gokhan has quit IRC | 13:40 | |
*** NikitaKonovalov_ has joined #openstack-sahara | 13:43 | |
*** egafford has joined #openstack-sahara | 13:43 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Fix name of cdh and spark jobs https://review.openstack.org/303433 | 13:48 |
pino|work | egafford: wee congrats for https://review.openstack.org/#/c/263424/ | 13:48 |
elmiko | +1 | 13:48 |
*** links has quit IRC | 13:51 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Fix name of cdh and spark jobs https://review.openstack.org/303433 | 13:54 |
egafford | pino|work: Woot! Sadly, I didn't get any actual recipes in this cycle. Still, it's now possible. | 13:58 |
*** NikitaKonovalov_ has quit IRC | 14:06 | |
*** NikitaKonovalov_ has joined #openstack-sahara | 14:07 | |
*** tmckay has joined #openstack-sahara | 14:12 | |
*** dave-mccowan has joined #openstack-sahara | 14:16 | |
openstackgerrit | Merged openstack/sahara-ci-config: Fix name of cdh and spark jobs https://review.openstack.org/303433 | 14:16 |
*** NikitaKonovalov_ has quit IRC | 14:25 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Fix CDH master job name https://review.openstack.org/303460 | 14:35 |
*** NikitaKonovalov_ has joined #openstack-sahara | 14:36 | |
*** sgotliv has quit IRC | 14:41 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Fix CDH master job name https://review.openstack.org/303460 | 14:48 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 14:57 |
esikachev | tosky: ^^ | 14:57 |
openstackgerrit | Merged openstack/sahara-ci-config: Fix CDH master job name https://review.openstack.org/303460 | 15:15 |
tosky | esikachev: notices, yes, thanks | 15:15 |
*** BassT has joined #openstack-sahara | 15:17 | |
BassT | tmckay: Hey you got a second to talk about https://bugs.launchpad.net/sahara/+bug/1561153 | 15:19 |
openstack | Launchpad bug 1561153 in Sahara "Use of dnf or yum in Fedora images should be determined at runtime" [Wishlist,Triaged] - Assigned to BassT (mt104b) | 15:19 |
elmiko | BassT: he /may/ have gone to lunch, not sure | 15:19 |
BassT | Alright, I will hang around in the chat until he comes back. Thanks. | 15:20 |
*** BassT has quit IRC | 15:24 | |
*** BassT has joined #openstack-sahara | 15:24 | |
tmckay | BassT, hey there | 15:39 |
crobertsrh | Can I get some more love on: https://review.openstack.org/#/c/301789/ Same great fix, but *now* with working integration tests. | 15:39 |
BassT | tmckay: Hey I got some question on https://bugs.launchpad.net/sahara/+bug/1561153. I am trying to figure out where to put the methods for this. Should I just create a new file ? | 15:41 |
openstack | Launchpad bug 1561153 in Sahara "Use of dnf or yum in Fedora images should be determined at runtime" [Wishlist,Triaged] - Assigned to BassT (mt104b) | 15:41 |
tmckay | hmm | 15:41 |
tmckay | let me take a quick look | 15:42 |
*** BassT has quit IRC | 15:43 | |
*** BassT has joined #openstack-sahara | 15:44 | |
BassT | sorry my internet is terrible right now > < | 15:44 |
tmckay | you're back :) so, yum is touched in service/shares and service/volumes, as well as the plugins, and the utils/ssh_remote. I think I would add a utils/rh_helper.py | 15:45 |
*** Bass has joined #openstack-sahara | 15:45 | |
tmckay | elimiko, crobertsrh, what do you think? ^^ | 15:45 |
crobertsrh | I don't think I'd object to that | 15:46 |
tmckay | not sure of the state of yum/dnf in centos/rhel currently | 15:46 |
tmckay | and rh_helper avoids any issue on using the name directly | 15:47 |
crobertsrh | I think they're still yum, right? | 15:47 |
*** BassT has quit IRC | 15:47 | |
tmckay | yeah, prob, and will move to dnf someday | 15:47 |
crobertsrh | Right | 15:47 |
tmckay | so they might as well use the calls | 15:47 |
crobertsrh | for sure | 15:47 |
crobertsrh | Seems like a reasonable location for that functionality | 15:47 |
tmckay | BassT, ^^, okay, this seems like a good path, and if there is some objection folks can fight on the patch review | 15:47 |
Bass | I am sorry I might've missed that what is a good location for the patch ? | 15:48 |
tmckay | so, yum is touched in service/shares and service/volumes, as well as the plugins, and the utils/ssh_remote. I think I would add a utils/rh_helper.py | 15:48 |
Bass | got it | 15:48 |
Bass | Should i limit it to fedora? | 15:49 |
tmckay | Bass, and I would make it work for the whole rh family -- rhel, centos, along with Fedora | 15:49 |
crobertsrh | +1 to rhel, centos and fedora | 15:49 |
tmckay | Bass, no, I wouldn't limit it to just Fedora. For now rhel and centos will always just return yum. We can change that if/when they migrate | 15:50 |
tmckay | For Fedora, you can actually check the release number | 15:50 |
Bass | above 22 use dnf | 15:50 |
Bass | correct ? | 15:50 |
crobertsrh | Yes, I think that's right | 15:50 |
pino|work | yes, it's correct | 15:50 |
tmckay | Yes. just thinking out loud, but it might be nice to cache the release for an instance somewhere so we don't have to run a command to check all the time | 15:51 |
pino|work | and cache the package manager command too | 15:51 |
tmckay | yeah, good idea | 15:52 |
tmckay | Bass, tosky and pino|work will be good reviewers for this | 15:52 |
tmckay | they are very OS/bash-savvy | 15:52 |
Bass | So now, my issue is this. I can easily figure out how to get the distros and the releases and then cache them. My issue is this line in the bug "package installation commands". What lines exactly am I supposed to return based on the distro? Like save somewhere that it's running yum for example and just have the method return that ? | 15:54 |
Bass | I pretty much got the figuring out part on point, just don't know what to do for it afterwards. | 15:54 |
Bass | Thanks for the info, I will hit them up once I get a patch out | 15:54 |
pino|work | Bass: yes, something like that | 15:54 |
pino|work | if os == fedora && version_major >= 22 then "dnf | 15:55 |
pino|work | " else "yum" | 15:55 |
pino|work | (excuse me the unwanted newline) | 15:55 |
Bass | but then just return that I thought there were actual install commands I needed to run | 15:55 |
tmckay | the tricky part will be if the options for yum and dnf are not 1 to 1 | 15:55 |
Bass | good to know | 15:55 |
tmckay | if options are 1 to 1, then all we need is the actual command and the rest of the existing lines can stay as they are | 15:56 |
tmckay | pino|work, ^^ how close are dnf and yum? | 15:56 |
pino|work | it depends | 15:56 |
Bass | Exactly, but are there situations where it's not 1 to 1? I use ubuntu only so dunno | 15:56 |
pino|work | in basic/medium stuff, dnf is a yum dropin | 15:57 |
pino|work | *drop-in | 15:57 |
tmckay | ok. I bet our cases are all basic/medium | 15:57 |
pino|work | for the documentations on the migration, there's the yum2dnf(8) man page | 15:57 |
tmckay | but Bass, you'll have to check on a case by case basis | 15:57 |
tmckay | ooo, nice | 15:57 |
pino|work | if it's just "yum install" or "yum remove", that's easy to do | 15:57 |
openstackgerrit | Merged openstack/sahara-dashboard: Fix job and data sources time values https://review.openstack.org/299230 | 15:58 |
Bass | So another question. I noticed the bug https://bugs.launchpad.net/sahara/+bug/1498496 I assume I should just call on their methods instead of rewriting them correct? | 15:58 |
openstack | Launchpad bug 1498496 in Sahara "Ssh remote utils should be refactored" [Wishlist,Fix released] - Assigned to Julian Sy (syjulian) | 15:58 |
pino|work | https://www.mankier.com/8/yum2dnf | 15:59 |
tmckay | Bass, that other bug was the genesis for the one you're working on | 16:11 |
tmckay | so, I wouldn't rewrite the associated methods per se, but where they have embedded yum or dnf for fedora/centos/rhel I would call out to your new stuff to build the command | 16:12 |
tmckay | make sense? | 16:12 |
tmckay | Bass, for example https://git.openstack.org/cgit/openstack/sahara/tree/sahara/utils/ssh_remote.py?id=fe7adb52cda101d8849e9b3dc08470a383a058cf#n377 | 16:13 |
tmckay | The method is fine, just the "yum clean all" needs to handle yum/dnf | 16:13 |
Bass | That's pretty much what I am doing. I am making a package install and an update repo that does the same thing but makes the distinction between the different versions of fedora. Do I need more methods than those two and the appropriate unit tests for them ? | 16:16 |
tmckay | I don't think so, sounds good to me | 16:16 |
Bass | good. thanks for your help y'all. It's so daunting at first getting into this. I appreciate the help | 16:17 |
*** shakamunyi has joined #openstack-sahara | 16:18 | |
tmckay | hey, no problem. Just jump in, the review process is designed for iterative refinement. If you miss something, someone will notice :) | 16:19 |
tmckay | no worries | 16:19 |
*** hdd has quit IRC | 16:21 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: [wip]Mapr with volumes https://review.openstack.org/303525 | 16:21 |
*** vgridnev has quit IRC | 16:22 | |
*** shakamunyi has quit IRC | 16:23 | |
*** NikitaKonovalov_ has quit IRC | 16:25 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Update path in filtres for default templates https://review.openstack.org/303392 | 16:37 |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-tests: Add missed file with mapr-5.1.0 to mitaka https://review.openstack.org/303534 | 16:44 |
esikachev | tosky: ^^ | 16:44 |
tosky | oh, uh | 16:44 |
esikachev | blocker for ci | 16:44 |
tosky | ma;r | 16:44 |
tosky | mapr-5.1? Ah, right, it landed in master | 16:45 |
tosky | but not in mitaka | 16:45 |
*** pcaruana has quit IRC | 16:46 | |
*** sgotliv has joined #openstack-sahara | 16:51 | |
openstackgerrit | Merged openstack/sahara-tests: Add reno to sahara-test https://review.openstack.org/295717 | 16:55 |
*** rcernin has quit IRC | 16:55 | |
*** sgotliv_ has joined #openstack-sahara | 17:01 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara-ci-config: Update path in filtres for default templates https://review.openstack.org/303392 | 17:05 |
*** sgotliv_ has quit IRC | 17:08 | |
*** esikachev has quit IRC | 17:15 | |
*** sgotliv has quit IRC | 17:20 | |
*** degorenko is now known as _degorenko|afk | 17:34 | |
*** aquino has joined #openstack-sahara | 17:40 | |
aquino | Hello, i had a problem during the image creation for a sahara plugin. it is asking for a file sahara_version that does not exists. | 17:40 |
elmiko | aquino: is that an error from sahara-image-elements? | 17:41 |
*** esikachev has joined #openstack-sahara | 17:44 | |
aquino | yes | 17:48 |
aquino | from the .sh script for image creation | 17:48 |
elmiko | aquino: could you copy the output from your command and paste it into paste.openstack.org ? | 17:49 |
elmiko | also, are you using tox to run the image creation? | 17:49 |
aquino | run the image creation direct from the .sh script, not using tox | 17:50 |
aquino | i'll paste the error output | 17:50 |
aquino | just a moment | 17:50 |
elmiko | k | 17:50 |
elmiko | i think you want to be using tox if possible | 17:50 |
*** esikachev has quit IRC | 17:52 | |
aquino | http://paste.openstack.org/show/493519/ | 17:52 |
aquino | i tried with tox as well, but not with success. i don't remember what problem i had with tox | 17:53 |
elmiko | ok, so if you aren't using tox have you installed the sahara-image-elements package into a venv or something? | 17:54 |
elmiko | it is expecting the element directories to all be in specific places | 17:55 |
elmiko | if you don't want to use tox, then i would suggest creating a virtualenv (or using a virtual machine) so that you can properly install the sahara-image-elements pacakge | 17:56 |
elmiko | using pip | 17:56 |
elmiko | also, double check to make sure that the elements/sahara-version directory is present | 17:57 |
aquino | i am using a vbox with ubuntu 14.04 and i was using pip to install the requested packages | 17:57 |
elmiko | ok, sounds good | 17:57 |
aquino | but i did not create a virtual env | 17:57 |
aquino | inside the vbox | 17:58 |
elmiko | it's not necessary if you install the package to your system | 17:58 |
aquino | oh, ok | 17:58 |
elmiko | but, you will need to debug the sahara-image-create script to determine where it is looking for the elements directory | 17:58 |
elmiko | the problem is that the sahara-image-elements script could be passing a bad value to diskimage-create.sh for the elements directory, or perhaps the elements aren't installed | 17:59 |
elmiko | this is why we have tried to simplify usage with tox | 17:59 |
aquino | i'll try to use tox and see what happens | 18:00 |
elmiko | ok, good luck! | 18:00 |
*** tellesnobrega is now known as tellesnobrega_af | 18:00 | |
*** tellesnobrega_af is now known as tellesnobrega | 18:00 | |
aquino | http://paste.openstack.org/show/493523/ | 18:03 |
aquino | the output using tox | 18:03 |
elmiko | k | 18:03 |
elmiko | does that machine have git installed? | 18:04 |
aquino | yes it has | 18:05 |
elmiko | what version of tox are you using? | 18:05 |
aquino | let me check | 18:05 |
aquino | 2.3.1 | 18:05 |
elmiko | ok, let me check mine | 18:05 |
elmiko | hmm, i'm not able to reproduce this | 18:08 |
elmiko | i have 2.3.1 as well | 18:08 |
elmiko | but, i am using fedora 23 as my distro | 18:08 |
aquino | i executed this line tox -e venv -- sahara-image-create | 18:09 |
aquino | with and without sudo | 18:09 |
aquino | and both had problems | 18:09 |
elmiko | you shouldn't need sudo | 18:09 |
elmiko | and that is the correct command to build all images | 18:09 |
elmiko | are you able to run `tox -e venv -- sahara-image-create -h` ? | 18:09 |
*** esikachev has joined #openstack-sahara | 18:10 | |
aquino | http://paste.openstack.org/show/493524/ | 18:10 |
aquino | the output from this line, without sudo | 18:11 |
elmiko | right, the sudo messed up the directory permissions in .tox | 18:11 |
elmiko | maybe, try removing the .tox directory and running again | 18:11 |
aquino | ok | 18:11 |
elmiko | this will clear the virtualenv that tox created | 18:11 |
aquino | let me try | 18:11 |
*** aquino has quit IRC | 18:24 | |
*** aquino has joined #openstack-sahara | 18:46 | |
aquino | elmiko: i had a problem with my internet here. | 18:46 |
aquino | i executed the line you asked | 18:46 |
aquino | http://paste.openstack.org/show/493528/ | 18:46 |
aquino | here is the output | 18:46 |
elmiko | aquino: huh, that seems really short | 18:48 |
elmiko | i'm not even sure why that failed | 18:50 |
elmiko | aquino: what happens if you run `.tox/venv/bin/python setup.py --name` ? | 18:51 |
*** itisha has joined #openstack-sahara | 18:51 | |
aquino | elmiko: it is asking for git, but i have git installed | 18:53 |
aquino | i'll paste it | 18:54 |
elmiko | k | 18:54 |
aquino | http://paste.openstack.org/show/493529/ | 18:54 |
tosky | aquino: how did you get sahara-image-elements? Is it a git clone? | 18:56 |
aquino | i downloaded the .zip from git | 18:56 |
elmiko | tosky: are you wondering if pbr is failing to find the version? | 18:56 |
*** vgridnev has joined #openstack-sahara | 18:57 | |
tosky | aquino: please try to clone the repository instead | 18:57 |
aquino | ok | 18:57 |
aquino | i'll try | 18:57 |
aquino | ok, so i think the whole problem was that i did not clone the repository | 19:00 |
elmiko | yea, seems like it | 19:00 |
elmiko | pbr will try to deduce the package version by looking at the git history | 19:00 |
aquino | it's executing, i'll tell if it succeed | 19:00 |
elmiko | good luck | 19:00 |
aquino | thanks | 19:00 |
elmiko | tosky++ | 19:00 |
tosky | the other way would have been using pip to install it (I think it's available on pip) | 19:01 |
elmiko | nice, didn't realize that | 19:01 |
tosky | or you can pip install <git+URL_of_the_git_repository> | 19:01 |
tosky | in a virtualenv of course | 19:01 |
aquino | what's the difference of download the project as a zip and clone the repository? | 19:01 |
elmiko | i was kinda thinking from the pbr errors that it might be git repo | 19:01 |
elmiko | zip isn't a true repo | 19:01 |
elmiko | it's just the files in the repo, when you clone it you get the hisotry | 19:02 |
elmiko | and pbr will use the history to determine the version | 19:02 |
aquino | i see | 19:03 |
*** egafford has quit IRC | 19:04 | |
aquino | i got an error, i'll send the paste | 19:04 |
*** egafford1 has joined #openstack-sahara | 19:04 | |
aquino | http://paste.openstack.org/show/493530/ | 19:04 |
elmiko | looks like some error downloading that package | 19:04 |
*** hdd has joined #openstack-sahara | 19:05 | |
aquino | yeah, looks like it. so i think the repository thing was the big problem | 19:06 |
aquino | thank you very much | 19:06 |
elmiko | i'm getting the same error :/ | 19:06 |
elmiko | np, the real thanks go to tosky, he found the shortcut solution ;) | 19:07 |
aquino | hahahaha the idea of you was to everyone that helped | 19:07 |
aquino | thank you tosky | 19:07 |
elmiko | hehe, np =) | 19:08 |
aquino | i think that the problem is when trying to download the plugin or something, i was trying to create a spark image and the problem was when trying to download SPARK | 19:10 |
elmiko | yea, i'm seeing errors trying to download hadoop from the apache servers | 19:11 |
*** egafford1 has quit IRC | 19:11 | |
tosky | as a general note, I think that at some sahara-image-elements will run diskimage-builder which will require root access | 19:13 |
elmiko | it is usually pretty good about asking for creds though | 19:14 |
*** dave-mccowan has quit IRC | 19:15 | |
aquino | yeah it asks for sudo password. during the execution | 19:22 |
*** esikachev has quit IRC | 19:42 | |
openstackgerrit | Luigi Toscano proposed openstack/sahara-ci-config: Install Sahara-tests in the Tempest virtualenv https://review.openstack.org/303595 | 19:43 |
openstackgerrit | Luigi Toscano proposed openstack/sahara-tests: Convert the imported API tests to Tempest Plugin interface https://review.openstack.org/303597 | 19:45 |
vgridnev | tosky, running sahara-image-elements doesn't need root access | 19:59 |
vgridnev | as I remember, there are might be some problems with running image-create with sudo | 20:01 |
tosky | vgridnev: but doesn't it use the loopback device, mount directories, and so on? | 20:03 |
tosky | passwordless sudo access is root access :) | 20:03 |
vgridnev | tosky, we use sudo in several specific places, as I know, but we don't need sudo in general | 20:04 |
vgridnev | as I remember running image-create with sudo will leads to problems with cache: several packages with cached using root access, and then it can't accessed without root | 20:05 |
*** Bass has quit IRC | 20:07 | |
elmiko | also, running `sudo tox -e venv -- sahara-image-create` will make the .tox/venv files be owned by root :/ | 20:09 |
*** dave-mccowan has joined #openstack-sahara | 20:10 | |
vgridnev | elmiko, have you saw draft schedule? | 20:11 |
vgridnev | for summit, I meant | 20:11 |
elmiko | vgridnev: yes, thanks for putting that together. i'm going to add comments by monday for the sessions i will run | 20:12 |
openstackgerrit | BassT proposed openstack/sahara: Helper method to use dnf instead of yum on fedora >=22 https://review.openstack.org/303601 | 20:20 |
*** BassT has joined #openstack-sahara | 20:22 | |
*** tellesnobrega is now known as tellesnobrega_af | 20:26 | |
BassT | Hey, just stopping by to let y'all know that I have a patch out https://review.openstack.org/#/c/303601/ . I still need to work on the unit tests. Can't seem to figure out why it still crashes. Any input is greatly appreciated. It's late so I am off but feel free to post on the review and I will work on it on monday. Thanks :) | 20:26 |
*** BassT has quit IRC | 20:26 | |
openstackgerrit | Merged openstack/sahara-tests: Add missed file with mapr-5.1.0 to mitaka https://review.openstack.org/303534 | 20:30 |
*** vgridnev has quit IRC | 20:36 | |
*** esikachev has joined #openstack-sahara | 20:37 | |
*** vgridnev has joined #openstack-sahara | 20:40 | |
*** esikachev has quit IRC | 20:42 | |
*** vgridnev has quit IRC | 20:42 | |
*** NikitaKonovalov_ has joined #openstack-sahara | 20:45 | |
*** crobertsrh is now known as _crobertsrh | 20:47 | |
*** esikachev has joined #openstack-sahara | 21:00 | |
*** raildo is now known as raildo-afk | 21:07 | |
openstackgerrit | Evgeny Sikachev proposed openstack/sahara: wip https://review.openstack.org/302964 | 21:19 |
*** NikitaKonovalov_ has quit IRC | 21:24 | |
*** hdd has quit IRC | 21:26 | |
*** vgridnev has joined #openstack-sahara | 21:27 | |
*** vgridnev has quit IRC | 21:32 | |
*** hdd has joined #openstack-sahara | 21:47 | |
*** hdd has quit IRC | 21:54 | |
*** esikachev has quit IRC | 21:56 | |
*** aquino has quit IRC | 22:05 | |
*** witlessb has quit IRC | 22:10 | |
*** shakamunyi has joined #openstack-sahara | 22:18 | |
*** shakamunyi has quit IRC | 22:22 | |
*** egafford has joined #openstack-sahara | 22:31 | |
*** shakamunyi has joined #openstack-sahara | 23:18 | |
*** shakamunyi has quit IRC | 23:23 | |
*** tosky has quit IRC | 23:30 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!