Wednesday, 2018-09-26

*** Bhujay has joined #openstack-sahara02:49
*** Bhujay has quit IRC03:07
openstackgerritLeopard Ma proposed openstack/sahara master: Add Blueprints notes link to README.rst  https://review.openstack.org/60532003:25
*** dave-mccowan has quit IRC03:44
*** dave-mccowan has joined #openstack-sahara03:46
*** pcaruana has joined #openstack-sahara04:14
*** pcaruana has quit IRC04:38
openstackgerritJeremy Freudberg proposed openstack/python-saharaclient master: [WIP] Refresh saharaclient doc  https://review.openstack.org/60533004:44
*** Bhujay has joined #openstack-sahara05:26
*** Bhujay has quit IRC05:32
*** dave-mccowan has quit IRC05:39
*** pcaruana has joined #openstack-sahara05:43
*** Bhujay has joined #openstack-sahara05:49
*** rcernin has quit IRC07:02
*** rcernin has joined #openstack-sahara07:56
*** tosky has joined #openstack-sahara08:48
*** rcernin has quit IRC09:16
*** pcaruana has quit IRC11:15
*** guimaluf has quit IRC12:21
*** guimaluf has joined #openstack-sahara12:26
tellesnobregatosky, we could, but does it make sense to?13:18
toskytellesnobrega: the idea is not to lose the tests for the validation feature in the sahara core13:21
toskyotherwise you would need specific unit tests for validation for each plugin, which may work too, depending on what the unit tests were checking13:22
tellesnobregayeah, I'm not sure we want to have too much on the fake plugin thou. I will take a look13:22
*** tellesnobrega has quit IRC13:56
*** Bhujay has quit IRC14:44
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM test only - url curl in a failing image build job  https://review.openstack.org/60250714:46
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM test only - more debug for the error on image build  https://review.openstack.org/60250414:47
*** pcaruana has joined #openstack-sahara15:01
openstackgerritLuigi Toscano proposed openstack/sahara master: DNM test only - more debug for the error on image build  https://review.openstack.org/60250415:06
Gaasmann2018-09-26 15:10:00.527 19 ERROR sahara.service.ops [req-a8e39ef7-27ec-471a-89ad-5b443c397bb7 c2d70c68ef50422f84add4a7b107f8ae 43850a29dfee4b70b02edbfbc8d7c1eb - - -] [instance: none, cluster: 41fce076-fdbd-44d1-9c74-1211a56866d0] Error during operating on cluster (reason: 'Operation with name 'Await starting Cloudera Manager'' timed out after 300 second(s) and following timeout was violated:15:28
GaasmannTimeout for Cloudera Manager starting15:28
GaasmannIs there a way to increase this timeout?15:28
toskyGaasmann: there should be an option in the cluster template configuration15:40
*** Bhujay has joined #openstack-sahara15:46
guimalufI'm getting the same thing as Gaasmann, "WaitConditionTimeout: 0 of 1 received" on heat-engine. This probably is related to the excess of resourcers I'm using. What seems odd is that nova overprovision are very flexible, since I'm using a large value for overprovision.15:46
toskyuhm, that's a more generic error and it happens before15:48
toskysahara asks heat "give me few machines with the following features", and here is guimaluf 's error; when heat is done, sahara starts to configure the systems15:49
toskyincluding starting services like cloudera manager, and here is Gaasmann's error15:50
guimaluftosky, I'm investigatin and seems that my image is throwing disk error... maybe that's why the timeout happen15:51
toskyuh15:51
guimaluftosky, where can I find details on sahara internals?15:52
toskythe documentation should give some general details15:52
toskybut which kind of disk errors? At which stage?15:52
guimaluftosky, vm booting...15:53
guimalufSerious errors were found while checking the disk drive for /.15:53
guimalufkeys:Press I to ignore, S to skip mounting, or M for manual recovery15:53
toskyguimaluf: can you boot those images with nova, outside sahara?15:53
toskyuhm, no15:53
toskyso the images are dead15:53
*** dave-mccowan has joined #openstack-sahara15:53
toskywhich kind of image is that?15:53
guimaluftosky, I figure out that this is happening when I boot outside sahara15:53
guimaluftosky, the one I build using sahara-image-elements on stable/pike15:54
toskycentos7? Ubuntu?15:54
guimalufubuntu15:54
toskyhow did you run sahara-image-create? (I may have already asked it)15:54
guimalufthe same happen with another image I generated15:54
toskywhich plugin?15:54
guimaluftosky, no, u didn't :)15:54
toskyI mean, the environment15:55
guimaluf-p spark -i ubuntu15:55
toskyok, a spark image15:55
guimalufyeah15:55
guimalufMy goal is to use spark15:55
guimalufso I leave hadoop vanilla behind heheh15:55
toskythe image about how is: where did you run sahara-image-create? Do you have the full log? Did you run with tox -e ... from the stable/pike sources?15:56
guimaluftox -e venv -- sahara-iamge-create -p spark -i ubuntu15:56
guimaluftosky, I ran in my gentoo machine15:56
*** dave-mccowan has quit IRC15:57
toskyuh15:57
toskycan you please create a ubuntu (xenial) local VM and run sahara-image-create from it?15:57
toskyor an instance of ubuntu somewhere15:57
toskyin general, I don't reccomend to run diskimage-builder on production systems, but on isolated machines15:58
guimaluftosky, I've seen this recommendation but ignored xD15:58
toskyand while it should not matter, I don't think we ever tried to run sahara-image-create from outside ubuntu, centos and sometimes fedora15:58
*** tellesnobrega has joined #openstack-sahara16:00
guimaluftosky, I'll do this way16:00
*** dave-mccowan has joined #openstack-sahara16:01
Gaasmanntosky: thanks, I'll take a look16:05
*** Bhujay has quit IRC16:29
GaasmannThe key user-facing interface to this feature is the CLI script sahara-image-pack. This script will be installed with all other Sahara binaries.16:48
GaasmannWhere is sahara-image-pack?16:48
Gaasmannwith python-saharaclient or sahara-image-elements ?16:49
GaasmannI can't find it16:49
*** dave-mccowan has quit IRC16:49
tellesnobregaits within sahara16:49
tellesnobregahttps://github.com/openstack/sahara/tree/master/sahara/cli/image_pack16:50
Gaasmannho ok, does it need a working cluster or I can put that on a VM just to build images?16:51
toskyyou can put it in a separate VM16:51
toskyor even if your local system16:51
toskyin RDO we package it in a separate package, which only depends on the common python modules of sahara, so it's a standalone command16:52
Gaasmannok perfect, thanks16:52
guimaluftosky, building the image through ubuntu works outside sahara, now I'll test inside :)17:10
toskyyay17:12
tellesnobregagoood17:14
guimaluf| spark-teste-02 | c7507a28-496f-4796-b49b-c245845193be | spark       | 2.1.0          | Active |17:45
guimalufuhhuuhuhuh17:45
guimalufnow I've to learn how to use spark cluster xD17:47
tosky:D18:07
openstackgerritMerged openstack/sahara stable/rocky: Add template param for ambari pkg install timeout  https://review.openstack.org/60522618:07
toskyfrom time to time we have bugs too, but many many times is not sahara's fault :)18:09
*** pcaruana has quit IRC18:24
GaasmannCan I use sahara-image-pack to build images for vanilla,spark and storm plugins? I only see cdh,ambari and mapr as available plugins18:26
toskynot yet18:29
toskythere is a WIP patch for spark18:30
toskyand the idea is to port the others too18:30
toskypatches welcome :)18:30
Gaasmannok cool :-)18:31
toskywhen we add the support for sahara-image-pack to all plugins, we can drop sahara-image-elements18:36
guimaluftosky, is it possible to run spark with yarn? how could I generate that image, or run any job with yarn?18:50
*** dave-mccowan has joined #openstack-sahara19:05
Gaasmannsahara-image-pack uses kvm on qcow2 images only right?19:07
toskyGaasmann: it should be able to use everything supported by libguestfs19:16
toskyguimaluf: uh, I think we discussed that during the PTG, I think it's not possible with that image, but you can do it with other Hadoop distributions which ships spark19:17
* tosky ping tellesnobrega for double checking the sentence above19:17
guimaluftosky, checking the vanilla elements I realized it comes with spark... :) I think it will be enough19:18
Gaasmanntosky: I don't know how to pass the arguments then. It tries to spawn a VM but I'm already on a VM to build the images, so it complains about that and the raw format.19:24
toskyGaasmann: which VM, and which error?19:25
toskyGaasmann: the qcow2 format is the easy part (just get the qcow2 cloud image for the distribution, it's even easier), even if I was mostly sure that it would work with any supported format19:26
toskyuh, no19:26
toskyok, we hardcode it to qcow219:26
toskythat's something that we could change19:26
toskybut for now you need a qcow2 image19:26
Gaasmannok, and the process spawn a vm19:26
Gaasmannwith -machine accel=kvm:tcg19:27
toskythe other error may be related to ubuntu, which does not have few kernel files readable by users19:27
GaasmannI'm on a VM already, I don't have VT-x19:27
toskywhich VM?19:27
toskyubuntu?19:27
GaasmannYep I got the permission denied on vmlinuz also19:27
toskysudo dpkg-statoverride --add --update root root 0644 /boot/vmlinuz-$(uname -r)19:27
GaasmannXenial yes19:27
toskythe ubuntu kernel maintainer decided something weird, hence:  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/75972519:28
openstackLaunchpad bug 759725 in linux (Ubuntu) "The kernel is no longer readable by non-root users" [Medium,Won't fix]19:28
*** rcernin has joined #openstack-sahara22:35
*** tosky has quit IRC22:37
*** rcernin has quit IRC22:53
*** rcernin has joined #openstack-sahara22:55
*** rcernin_ has joined #openstack-sahara23:41
*** rcernin has quit IRC23:43
*** openstackgerrit has quit IRC23:49

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