Wednesday, 2017-04-26

*** esikachev has quit IRC00:04
*** esikachev has joined #openstack-sahara00:57
*** esikachev has quit IRC01:01
*** esikachev has joined #openstack-sahara02:14
*** esikachev has quit IRC02:19
*** tuanluong has joined #openstack-sahara02:28
*** esikachev has joined #openstack-sahara02:38
*** esikachev has quit IRC02:42
*** esikachev has joined #openstack-sahara03:05
*** esikachev has quit IRC03:16
*** tuanluong_ has joined #openstack-sahara04:28
*** tuanluong has quit IRC04:32
*** tuanluong__ has joined #openstack-sahara04:34
*** tuanluong_ has quit IRC04:38
*** tnovacik has joined #openstack-sahara04:52
*** tuanluong has joined #openstack-sahara04:55
*** Poornima has joined #openstack-sahara04:55
*** tuanluong_ has joined #openstack-sahara04:57
*** tuanluong__ has quit IRC04:58
*** tuanluong has quit IRC05:00
*** tnovacik has quit IRC05:23
*** pgadiya has joined #openstack-sahara05:28
*** esikachev has joined #openstack-sahara06:13
*** Poornima has quit IRC06:31
*** Poornima has joined #openstack-sahara06:32
*** Poornima has quit IRC06:38
*** Poornima has joined #openstack-sahara06:39
*** Poornima has quit IRC06:44
*** Poornima has joined #openstack-sahara06:45
*** Poornima has quit IRC06:58
*** tesseract has joined #openstack-sahara07:04
*** pgadiya has quit IRC07:04
*** pcaruana has joined #openstack-sahara07:19
*** abalutoiu_ has quit IRC07:47
*** shuyingya has joined #openstack-sahara08:04
*** abalutoiu has joined #openstack-sahara08:05
*** anshul_ has joined #openstack-sahara08:25
*** esikachev has quit IRC08:38
openstackgerritLuigi Toscano proposed openstack/sahara-image-elements master: MapR: do not match "all" if a specific version is available  https://review.openstack.org/46000608:45
*** esikachev has joined #openstack-sahara08:48
*** yingwei has joined #openstack-sahara09:00
*** tosky has joined #openstack-sahara09:52
*** tuanluong_ has quit IRC10:15
*** esikachev has quit IRC11:16
*** esikachev has joined #openstack-sahara11:23
*** yingwei has quit IRC11:32
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Fixing env vars within bash scripts for image gen  https://review.openstack.org/44601712:37
*** shuyingya has quit IRC12:50
*** esikachev has quit IRC13:10
iwonkatellesnobrega: no, i have problems with floating ips13:23
iwonkai'm not sure how to get ID of the floating IP pool13:23
tellesnobregaiwonka, when you create a single instance (not a sahara cluster), can you access that vm? using internal ip?13:24
tellesnobregathat should be the public network id13:25
iwonkai don't know, i haven't tried to create single vm13:25
tellesnobregaiwonka, my suggestion is try creating a single vm, with a sample image (cirros) and see if it is accessible13:26
tellesnobregaiwonka, remember to open ssh on the security groups or you can just ping it13:27
*** shuyingya has joined #openstack-sahara13:28
iwonkatellesnobrega: so like this guide: https://docs.openstack.org/user-guide/dashboard-launch-instances.html ?13:28
tellesnobregayes13:29
tellesnobregathis will help out debug you network problem13:29
*** anshul_ has quit IRC13:29
tellesnobregaonce that is solved we can go back to sahara13:29
*** anshul has joined #openstack-sahara13:29
iwonkaor rather this one (i only have cli): https://docs.openstack.org/user-guide/cli-launch-instances.html ?13:30
tellesnobregathat should work yes13:32
tellesnobregano need to create flavor, you can just use m1.tiny13:32
*** shuyingya has quit IRC13:33
*** anshul has quit IRC13:42
*** shuyingya has joined #openstack-sahara13:51
*** chlong has joined #openstack-sahara13:58
*** dave-mccowan has joined #openstack-sahara14:47
openstackgerritMerged openstack/sahara master: Fixing env vars within bash scripts for image gen  https://review.openstack.org/44601714:51
openstackgerritMerged openstack/sahara-image-elements master: MapR: do not match "all" if a specific version is available  https://review.openstack.org/46000614:52
tellesnobregaiwonka, any success?15:06
*** abalutoiu has quit IRC15:24
iwonkatellesnobrega: yes, i ran a single instance from an image (the problem was my stack user wasn't int the kvm group, so i didn't have access to virtualisation) but i still can't get sahara to create a cluster15:52
iwonkathe error is Error during operating on cluster (reason: Heat stack failed with status Resource CREATE failed: MessagingTimeout: resources.vanilla-default-worker.resources[0]: Timed out waiting for a reply to message ID f6778025689e4dd69ef06fa89ec14cdf15:52
tellesnobregaso your controller has access to the vms15:53
tellesnobregathat is good15:53
tellesnobregaare you using keypair when you create the cluster?15:53
tellesnobregaiwonka, ^15:53
iwonkayes, the command i use is:15:54
iwonkaopenstack dataprocessing cluster create --name my-cluster-1 --cluster-template vanilla-default-cluster --user-keypair my_stack --neutron-network private --image sahara-vanilla-latest-ubuntu --wait15:54
iwonkai created the keypair with openstack keypair create command15:55
toskyiwonka: apart from running that single instance, where you ablt to ssh to it?15:56
toskythe other suggestion is to check the heat logs, to see which operation timed out15:57
iwonkatosky: user is ubuntu, right?15:58
toskyiwonka: for sahara-vanilla-latest-ubuntu, yes15:58
iwonkassh ubuntu@192.168.0.234 gives ssh: connect to host 192.168.0.234 port 22: No route to host15:58
iwonkaso either i cannot ssh to this instance or i got the wrong ip15:59
toskycheck what is the network of 192.168.0.23415:59
iwonkaopenstack server list shows it with network public=192.168.0.234, 2001:db8::615:59
iwonkaso i assumed it's the ip of this server16:00
toskydid you open port 22 in the default security group?16:00
* tosky be back in a while16:00
iwonkatosky: now i did, still cannot ssh, but maybe because i created the instance earlier without it. should i retry to create an instance?16:11
iwonkatosky: nevermind, recreated the server, pig and ssh still don't work, i have to debug that…16:20
*** Poornima has joined #openstack-sahara16:20
toskyiwonka: yeah, that's kind of basic16:26
toskyiwonka: when you test your instance, you need to open the ports in the security group; Sahara takes care of creating its own security groups16:27
toskybut ensuring that you can do that step (create instance, connect), outside sahara, is useful to ensure that the system is working16:28
*** jamielennox is now known as jamielennox|away16:31
iwonkatosky: i used that : https://docs.openstack.org/user-guide/cli-nova-configure-access-security-for-instances.html to allow ssh and pinging the vms, but it still doesn't work, so something went wrong i guess…16:33
toskyiwonka: and I guess that you assigned the newly created security group when you created the instance16:34
iwonkai assigned default security group16:34
iwonkaand there are four groups named default (i have no idea why so many)16:35
iwonkabut opened ports in all four16:35
toskyyou can check which one is assigned on the VM, just to be sure16:36
iwonkaopenstack server show myCirrosServer shows security_groups name='default'16:38
iwonkaso i guess it's in all of them16:38
toskyuhm, strange16:41
*** tesseract has quit IRC16:51
iwonkatosky: the weird part is taht i can create an instance with --security-group default, but cannot with --security-group <ID_OF_THE_GROUP>16:55
toskyiwonka: that's expected, as the help for the `openstack server create` command says:16:58
tosky  --security-group <security-group-name>16:58
toskyso name16:58
toskybut then I'm puzzled, as there should be just one default16:58
toskycan you try to cleanup the default groups, so that only one is available?16:58
toskymaybe coming from ./unstack /stack16:58
iwonkatosky: http://paste.openstack.org/show/608109/17:07
*** shuyingya has quit IRC17:07
iwonkait creates new groups, i don't know when or why17:07
toskyare there still instances running, for any possible project?17:09
toskybecause iirc it is not possible to remove a certain security group when an instance is using it17:10
toskybut not sure who could create new ones17:10
toskyoh, wait17:11
toskymaybe there is a default for each project17:11
toskywhich credentials are you using?17:11
iwonkayes, i ran a cluster and didn't delete it, it created one instance17:12
iwonkait'll delete it17:12
iwonkaand about credentials, i'm not sure17:13
*** esikachev has joined #openstack-sahara17:13
iwonkai authorise with source openrc admin admin17:13
toskyso you are working with the user admin (and project admin), which can see everything17:13
toskyif you do `openstack security group show <ID>`, you can see which project is a ssociated with17:14
iwonkayeah, i got a project id, but it tells me nothing17:15
toskyopenstack project list can tell you what project is what17:17
toskyyou are using the "admin" project, so you can find which is the proper default17:17
toskybut anyway, this means that when you specify "default", it will use the one named "default" for your current project17:18
iwonkaso my instance should be ina a security group?17:18
iwonkaand i just have to find out which one and make sure it has ports open17:19
iwonka?17:19
iwonkatosky: ok, now one had no project id and i could remove it so that i have only one security group named default17:22
toskyyour instance is in at least one security group, and by default it's the "default" security group for your project17:22
*** Poornima has quit IRC17:29
iwonkatosky: so my instance (a new one) is in a unique group default, which has ruler for both ssh and ping, but neither ssh nor ping work…17:37
iwonkarules17:37
toskyand did you assign the private network (for that project) as the network for that instance, and then created a floating IP and assigned to the instance?17:39
*** pcaruana has quit IRC17:40
iwonkano, i created the server with openstack server create --flavor 1 --image 2925131d-61b8-453f-a290-8805987f8b8d --key-name my_stack --security-group default myCirrosServer17:41
iwonkabut it has an ip17:41
iwonkaand openstack server list shows networks with public ip (both v4 and v6)17:43
iwonkaso i just assumed it was done automatically17:43
toskyensure that you have a public network and a private one (connected with a router) and that you associate the instance with the private one, and then you add the floating IP17:51
* tosky relocates17:51
*** tosky has quit IRC17:51
tellesnobregaiwonka, I suggest you also use the demo project instead of the admin17:53
tellesnobregaadmin won't work with private network iirc17:53
*** abalutoiu has joined #openstack-sahara17:58
iwonkatellesnobrega: so i have to authenticate with source openrc demo demo?18:01
tellesnobregaiwonka, I think so yes18:02
iwonkatellesnobrega: still doesn't work :(18:11
iwonkabut this time it got a strange ip18:11
tellesnobrega10.0.0.* ?18:11
tellesnobregaiwonka, ^18:11
iwonkanot starting with 192.168, but 10.0.018:11
iwonkatellesnobrega: yes18:11
tellesnobregathis is the internal network18:11
iwonkaso it's good?18:12
tellesnobregayes18:14
tellesnobregait is a good step18:14
iwonkaand now ping instead of giving destination host unreachable i just quiet18:15
iwonkaand ssh says connection timed out18:15
tellesnobregacan you run openstack router list18:15
tellesnobregaand them openstack router show <router_name>18:15
iwonkathere's only nova in availability_zones, no neutron18:17
iwonkais that okay?18:17
*** tosky has joined #openstack-sahara18:18
*** anshulbehl has joined #openstack-sahara18:57
*** esikachev has quit IRC19:33
*** esikachev has joined #openstack-sahara19:45
*** anshulbehl has quit IRC19:45
*** anshulbehl has joined #openstack-sahara19:46
*** esikachev has quit IRC19:49
*** jamielennox|away is now known as jamielennox19:52
*** anshulbehl has quit IRC19:58
*** esikachev has joined #openstack-sahara20:03
*** esikachev has quit IRC20:07
*** shuyingya has joined #openstack-sahara20:08
*** shuyingya has quit IRC20:12
*** esikachev has joined #openstack-sahara20:23
*** esikachev has quit IRC20:28
*** esikachev has joined #openstack-sahara20:51
*** esikachev has quit IRC20:55
*** abalutoiu has quit IRC21:12
*** abalutoiu has joined #openstack-sahara21:13
*** zhenguo has quit IRC21:22
*** abalutoiu_ has joined #openstack-sahara21:22
*** abalutoiu__ has joined #openstack-sahara21:25
*** abalutoiu has quit IRC21:26
*** esikachev has joined #openstack-sahara21:26
*** abalutoiu_ has quit IRC21:29
*** esikachev has quit IRC21:31
*** esikachev has joined #openstack-sahara21:33
*** esikachev has quit IRC21:39
*** chlong has quit IRC21:48
*** esikachev has joined #openstack-sahara21:56
*** esikachev has quit IRC22:00
*** esikachev has joined #openstack-sahara22:45
*** esikachev has quit IRC22:49
*** tosky has quit IRC23:50

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