Monday, 2016-01-18

*** xiayu has joined #openstack-astara00:50
*** davidlenwell has quit IRC01:05
*** davidlenwell has joined #openstack-astara01:07
stupidnicOkay. I got past the 500 errors on the metadata proxy. I figured out what the issue was.01:10
stupidnicI was following these instructions from adam_g: https://etherpad.openstack.org/p/astara-installation-docs01:10
stupidnicThe problem is... the ipv6_address_mode=slaac in the subnet creation01:10
stupidnicIt causes rug instance port to get an IP address other than the default fdca:3ba5:a17a:acda::101:11
stupidnicSince that is hard coded in the astara-appliance as the IP address of the rug's proxy service it was throwing a 500 error when it couldn't be reached01:12
stupidnicRemoving the subnet and recreating it without a gateway and without the slaac mode made the rug get the correct IP address01:13
stupidnicMy new problem is that that metadata requests are now being proxied to the controller, however they are unable to locate the instance-id. It returns a 404 (only slightly better than a 500)01:14
stupidnicThis could be related to the code base though... as I changed code base versions in an attempt to try and address the 500 errors from before. I am going to try a fresh installation now of astara now on the stable/liberty build01:14
stupidnicI still have the DCHP issue with security groups, but I know how to work around that now01:15
stupidnicThinking about the hard coded IP address issue for the metadata proxy, it might be a good idea to include the IP address of the orchestrator in the configdrive build and write it to a config file in /etc/ or something that the various processes can use as a reference01:18
*** yanghy has joined #openstack-astara01:34
*** leonstack1 has joined #openstack-astara02:51
*** leonstack has quit IRC02:52
*** xiayu has quit IRC03:12
*** leonstack1 has quit IRC03:13
*** xiayu has joined #openstack-astara03:17
openstackgerritYang Hongyang proposed openstack/astara: trival: remove redundant code  https://review.openstack.org/26884903:21
*** leonstack has joined #openstack-astara03:24
stupidnicJust a heads up... I got my 404 errors on the metadata proxy sorted out as well. I had the service_metadata_proxy = True in the [DEFAULT] section of nova.conf. It needs to be in the [neutron] section.03:32
*** Liuqing has joined #openstack-astara03:54
openstackgerritYang Hongyang proposed openstack/astara: Remove unused class method  https://review.openstack.org/26885803:55
*** tangchen__ has joined #openstack-astara05:37
*** leonstack1 has joined #openstack-astara05:56
openstackgerritxiayu proposed openstack/astara: Automatically generate etc/orchestrator.ini file  https://review.openstack.org/26557605:56
*** leonstack has quit IRC05:58
*** leonstack has joined #openstack-astara06:08
*** leonstack1 has quit IRC06:10
*** leonstack has quit IRC07:56
openstackgerritYang Li proposed openstack/astara: Fix a bug for default provider and add an unittest  https://review.openstack.org/26808510:05
openstackgerritYang Li proposed openstack/astara: Fix a bug for default provider and add an unittest  https://review.openstack.org/26808510:49
openstackgerritYang Li proposed openstack/astara: Fix a bug for default provider and add an unittest  https://review.openstack.org/26808511:18
*** phil_h has joined #openstack-astara13:34
openstackgerritYang Hongyang proposed openstack/astara-appliance: trival: deprecate assertEquals  https://review.openstack.org/26905513:50
*** Liuqing has quit IRC13:54
openstackgerritPhil Hopkins proposed openstack/astara: Corrects doc to build appliance using jessie release  https://review.openstack.org/26906714:06
*** yanghy has quit IRC15:30
*** justinlund1 has quit IRC17:22
*** prithiv has joined #openstack-astara17:41
*** davidlenwell has quit IRC18:22
*** davidlenwell has joined #openstack-astara18:24
*** prithiv has quit IRC19:25
*** prithiv has joined #openstack-astara19:26
*** prithiv has quit IRC19:26
adam_gstupidnic, hi, catching up on a bunch of backscroll from the weekend19:43
adam_gstupidnic, a couple of things19:43
stupidnicshoot19:43
adam_gstupidnic, stable/liberty has all kinds of hard-coded assumptions made about addresses and subnets for the management network. we've only just started unwinding that in mitaka with a big patch stack that'll eventually need to be backported to liberty, but still hasnt landed completely in master yet19:44
adam_gthat allows the orchestrator to use an address form the mgt subnet dynamically allocated by neutron, and then passed into the appliance so the  appliance knows where it should be proxy'ing metadata to19:44
stupidnicAlright. That explains that portion of it... I am glad it is an issue that you are aware of19:44
adam_gstupidnic, re the issues you were having with the appliance image only having /usr/local/bin/akanda-configure-management, but the orchestrator requesting astara-configure-management---that sounds like you were using the mitaka/master orchestrator against a stable/liberty appliance image19:46
stupidnicHighly probable. A simple symlink can fix that issue.19:46
stupidniccosts nothing19:46
adam_gthat actually work, but you need to specify 'astara_boot_command=akanda-configure-management' to support legacy19:47
adam_gso you shouldn't need to hack in a symlink for that19:47
stupidnicis that in the config?19:47
adam_gya, in the astara config19:47
stupidnicor in the build process?19:47
stupidnick19:47
adam_galso, for metadata, make sure in nova.conf's [neutron] section you have service_metadata_proxy=True to allow nova to resolve instance metadata from HTTP header's instead of SNAT19:48
adam_g(not sure if thats in that installation doc i whipped up before)19:48
stupidnicYeah, I figured that out later19:48
stupidnicIt says DEFAULT19:48
stupidnicbut I might have added that and it applies to one of the config options but not the other19:49
stupidnicOn the plus side... I learned a lot about how Astara operates under the hood, as well as how it communicates. So a good training course if nothing else.19:53
stupidnicI still have a couple of minor questions...19:53
stupidnicOne is how do I operate multiple router images? I spoke with Mark about the metadata option for injecting custom iptable rules, but I don't think that is going to be viable based on my understanding from the this weekend19:54
stupidnicso operating multiple images might be better19:54
stupidnichow would I accomplish something like that19:55
stupidnicalso... what is required to enable the loadbalancer portion of the astara project? I know there are some options in the orchestrator.ini file, but not sure what else would be needed19:55
*** phil_h has quit IRC19:58
*** phil_h has joined #openstack-astara19:59
*** phil_h has quit IRC20:00
*** phil_h has joined #openstack-astara20:01
phil_hadam_g: service_metadata_proxy=True is in the docs20:02
adam_gphil_h, ah, cool thanks20:02
adam_gif anyone has any installation docs they'd like to convert into a patch to astara/docs/ this week for mitaka-2 it would be greatly appreciated20:02
openstackgerritAdam Gandelman proposed openstack/astara-horizon: Fix E501 pep8 violation  https://review.openstack.org/26925620:04
phil_hI am working on some20:04
phil_hI need to get them done before Friday since I am going on the road next week20:04
adam_gphil_h, that would be great. was planning on cutting the m2 milestone tag thurs or fri20:05
phil_hI have dos on how to install astara in a non-devstack environment20:05
adam_gi'd *love* to have those in our official doc20:05
phil_hso folks can use them to install astara in an package or source intall environment.20:06
phil_hThey should work on both Ubuntu and Red Hat installs20:06
adam_gcool20:06
adam_greminds me that i need to finish the debian packages i was working on20:06
phil_hI just need to convert them into rst format20:06
phil_hI have contacted Eric about doing a joint presentation at the summit20:08
adam_gphil_h, \o/ that'd be great20:08
*** phil_hop has joined #openstack-astara20:16
openstackgerritAdam Gandelman proposed openstack/astara: Drop astara.openstack and astara.service  https://review.openstack.org/26713020:16
*** prithiv has joined #openstack-astara20:28
*** prithiv has quit IRC20:28
*** prithiv has joined #openstack-astara20:28
openstackgerritMerged openstack/astara: Automatically generate etc/orchestrator.ini file  https://review.openstack.org/26557620:55
openstackgerritMerged openstack/astara-neutron: Updated from global requirements  https://review.openstack.org/26842820:59
*** justinlund has joined #openstack-astara21:12
openstackgerritMerged openstack/astara: Remove unnecessary nosetest param  https://review.openstack.org/26790421:15
*** shashank_hegde has joined #openstack-astara21:50
openstackgerritAdam Gandelman proposed openstack/astara: Add astara-ctl + API functional tests  https://review.openstack.org/24387421:52
openstackgerritAdam Gandelman proposed openstack/astara: fail func tests early (do not merge)  https://review.openstack.org/26666621:52
*** phil_hopk has joined #openstack-astara21:57
*** smartshader has joined #openstack-astara22:00
*** phil_hop has quit IRC22:01
smartshaderGuys I am testing astara in a devstack environment22:03
smartshaderwhen I create a new router, I don't see a new VM created in instances22:04
smartshaderam I missing something?22:04
openstackgerritMerged openstack/astara: gate fixer: Fix devstack auth issue and new PEP8 violation  https://review.openstack.org/26786222:06
adam_gsmartshader, can you confirm astara is receiving the event notification? you should see a flury of log activity in astara's log when you create the neutron router22:08
smartshaderadam_g, here is the logs in astara.log when I create a new router http://pasted.co/762284ee22:15
adam_gsmartshader, hmm. can you also paste the resulting log output after you run 'astara-ctl workers debug'? it should dump a bunch of stuff into there, too22:16
*** phil_hop has joined #openstack-astara22:21
*** phil_hopk has quit IRC22:24
smartshaderadam_g, here you go http://pasted.co/473353fd btw thanks for your help I am just starting with astara22:26
adam_gsmartshader, hmm so astara's getting the message but dropping it b/c it doesnt hash to the local orchestrator in the cluster's hash ring... but debug-works shows it hasn't registered any hosts in the cluster so the hash ring is empty22:27
adam_g2016-01-18 22:19:13.223 INFO astara.worker:18416:p01:tmain [req-996744e9-90d5-48fe-a562-77cb4121a1e4 None None] Peer astara-orchestrator hosts: set([])22:27
adam_gnot sure what would cause that--can you confirm memcached is up and listening?22:27
adam_gyou might restart the orchestrator and look for some errors in startup that would suggest some issue connecting to that22:28
adam_gor, you can simply turn off all the clustering capabilities (set enabled=False in [coordination] section of config) if you dont feel like debugging this22:29
openstackgerritMerged openstack/astara: Corrects doc to build appliance using jessie release  https://review.openstack.org/26906722:29
openstackgerritOpenStack Proposal Bot proposed openstack/astara: Updated from global requirements  https://review.openstack.org/26842522:39
openstackgerritOpenStack Proposal Bot proposed openstack/astara-neutron: Updated from global requirements  https://review.openstack.org/26931522:39
smartshaderadam_g, thanks it is working now22:40
smartshaderI add 127.0.0.1 localhost in /etc/hosts22:40
adam_gsmartshader, ah!22:41
smartshadermemcached in orchestrator was configured as localhost:11211 and localhost was not resolvable22:41
*** phil_hopk has joined #openstack-astara22:56
openstackgerritMerged openstack/astara-horizon: Fix E501 pep8 violation  https://review.openstack.org/26925622:57
*** phil_hop has quit IRC22:59
*** phil_hop has joined #openstack-astara23:02
*** phil_hopk has quit IRC23:05
openstackgerritMerged openstack/astara: Drop astara.openstack and astara.service  https://review.openstack.org/26713023:05
*** prithiv has quit IRC23:09
*** phil_hopk has joined #openstack-astara23:19
*** phil_hop has quit IRC23:22
*** davidlenwell has quit IRC23:38
openstackgerritMerged openstack/astara-neutron: allow DHCP from router interfaces  https://review.openstack.org/26658623:44
*** davidlenwell has joined #openstack-astara23:58

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