<div dir="ltr">Hi Tim<div><br></div><div>Thank you so much for your response.</div><div> I will try to install mitaka later on, seems interesting.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4" face="monospace, monospace"><b>Regards,</b></font><div><font size="4" face="monospace, monospace"><b>Yue</b></font></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 2 June 2016 at 12:05, Tim Hinrichs <span dir="ltr"><<a href="mailto:tim@styra.com" target="_blank">tim@styra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Yue,<div><br></div><div>Sorry it took so long to get back to you.  I wanted to run your script to see the errors myself.  The authorization failed errors you're seeing are coming from the datasources, right?  In Mitaka, we changed several of the datasource drivers to use a newer feature of Keystone when talking to other OpenStack projects, to solve some lingering problems.  If I remember right, that newer functionality in Keystone wasn't available in all the projects back in kilo/liberty.  So it seems you'll want to upgrade those as well.</div><div><br></div><div>In summary, you want to use the PushDriver from Congress, which is only available in Mitaka.  And the Congress Mitaka datasource drivers require Mitaka functionality from several of the other projects.   So it seems you'll need to set up a Mitaka version of OpenStack.  Since it sounds like you're experimenting, I'd suggest grabbing a VM and setting up a devstack installation using the instructions in our README:</div><div><a href="https://github.com/openstack/congress#41-devstack-install" target="_blank">https://github.com/openstack/congress#41-devstack-install</a><br></div><div><br></div><div>The only thing the README instructions don't tell you is how to run the Mitaka version of the code.  (The instructions tell you how to run the tip of master.)<span style="line-height:1.5"> So to check out the Mitaka version of the code, change the line where you clone devstack to check out the stable/mitaka branch, such as follows.</span></div><div><span style="line-height:1.5"><br></span></div><div><pre style="font-family:consolas,'liberation mono',menlo,courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;border-radius:3px;color:rgb(51,51,51);background-color:rgb(247,247,247)">git clone <a href="https://git.openstack.org/openstack-dev/devstack.git" target="_blank">https://git.openstack.org/openstack-dev/devstack.git</a> -b stable/mitaka</pre></div><div>Here's a video that goes over how to install Mitaka OpenStack on Ubuntu.</div><div><a href="https://www.youtube.com/watch?v=NR3Ye13vdls" target="_blank">https://www.youtube.com/watch?v=NR3Ye13vdls</a><br></div><div><br></div><div>Hope that helps,</div><div>Tim</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Mon, May 30, 2016 at 7:46 AM Yue Xin <<a href="mailto:xinyuefeiyang@gmail.com" target="_blank">xinyuefeiyang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tim,<div><br></div><div>I have solved the previous questions, now the problem stuck in the keystone. (the solving script is attached)</div><div>now the problem error is: "authorization failed"</div></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4" face="monospace, monospace"><b>Regards,</b></font><div><font size="4" face="monospace, monospace"><b>Yue</b></font></div></div></div></div></div></div></div></div></div><div class="gmail_extra">
<br><div class="gmail_quote">On 27 May 2016 at 20:06, Tim Hinrichs <span dir="ltr"><<a href="mailto:tim@styra.com" target="_blank">tim@styra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Yue,<div><br></div><div>I tried it myself and hit the same problem.  I didn't find a workaround.  So it seems we have a bug.  Any chance you could install Mitaka using the DevStack instructions in the ReadMe while we find time to fix the bug?</div><div><br></div><div><a href="https://github.com/openstack/congress" target="_blank">https://github.com/openstack/congress</a><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><br></div><div>Tim</div></font></span></div><div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 25, 2016 at 8:43 PM Yue Xin <<a href="mailto:xinyuefeiyang@gmail.com" target="_blank">xinyuefeiyang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"> Hi Tim,<div><br></div><div>Thanks for the instruction. But I face some problem here. </div><div><br></div><div>The code path of congress is /opt/stack/congress; I go to this path and run the command "git fetch origin" the error comes  :</div><div><img src="cid:ii_154eabfa135dcd4d" alt="Inline images 1" width="472" height="68"><br></div><div>but I can successfully ping the address <a href="http://git.openstack.org" target="_blank">git.openstack.org</a></div><div><img src="cid:ii_154eac0f0671cb31" alt="Inline images 2" width="472" height="153"><br></div><div><br></div><div>I solve this problem by</div><div> </div><div><img src="cid:ii_154eb25e5abf658e" alt="Inline images 1" width="472" height="325"></div><div>change 'origin' url to https:</div><div>this somehow works for me.</div><div><br></div><div>But when I run the command "sudo congress-db-manage --config-file /etc/congress/congress.conf upgrade head"</div><div>the error is :</div><div><img src="cid:ii_154eb285a8b8d34b" alt="Inline images 2" width="453" height="472"><br></div><div>now I have no clue how to solve it?</div><div><br></div><div>Thans a lot for any advice.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4" face="monospace, monospace"><b>Regards,</b></font><div><font size="4" face="monospace, monospace"><b>Yue</b></font></div></div></div></div></div></div></div></div></div><div class="gmail_extra">
<br><div class="gmail_quote">On 24 May 2016 at 16:44, Tim Hinrichs <span dir="ltr"><<a href="mailto:tim@styra.com" target="_blank">tim@styra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Yue,<div><br></div><div>That version of Congress definitely doesn't have the Push driver.  The Push driver code was implemented only in the latest release (Mitaka).  </div><div><br></div><div>Here are the upgrade instructions.  They SHOULD work, but let us know if you run into problems, both so we can help you and so we can correct the instructions.</div><div><br></div><div><a href="https://review.openstack.org/#/c/320652/2/README.rst" target="_blank">https://review.openstack.org/#/c/320652/2/README.rst</a><span><font color="#888888"><br></font></span></div><span><font color="#888888"><div><br></div><div>Tim</div></font></span></div><div><div><br><div class="gmail_quote"><div dir="ltr">On Tue, May 24, 2016 at 3:40 AM Yue Xin <<a href="mailto:xinyuefeiyang@gmail.com" target="_blank">xinyuefeiyang@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tim and all,<div><br></div><div>May I ask how to update the congress version with the Tokyo Hands on Lab environment? cause I use the command "openstack congress list version" it show the congress is 2013's version.</div><div><br></div><div>The reason why I want to update it is that I write a demo driver, which I want to push data into the datasource table, but when I use 'curl -i -g -X PUT ' command , the error is "501 not implemented" , same error comes with 'curl -X PUSH', I am not sure whether it comes from the version of congress or not(I thought maybe congress is too old so it doesn't support push data).</div><div><br></div><div>Thank you very much for your response.</div><div><br></div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4" face="monospace, monospace"><b>Regards,</b></font><div><font size="4" face="monospace, monospace"><b>Yue</b></font></div></div></div></div></div></div></div></div>
</div></div>
</blockquote></div>
</div></div></blockquote></div><br></div></blockquote></div>
</div></div></blockquote></div><br></div></blockquote></div>
</div></div></blockquote></div><br></div>