Re: [openstack-dev] [Congress] hands on lab

2015-10-01 Thread Alex Yip
Hi all,

I updated the hands-on lab.


Here's the newest version of the instructions:

https://goo.gl/W0Rhcv


Here's the newest version of the VirtualBox image:

https://goo.gl/o062Kc​


Please give it a try and let me know if you run into any problems.

- Alex




From: Tim Hinrichs <t...@styra.com>
Sent: Monday, September 28, 2015 10:54 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [Congress] hands on lab

Hi Alex,

I went through the HOL.  Some feedback...

1.  When starting up, it paused for a while showing the following messages.  
Maybe that caused the issues I mention below.
Waiting for network configuration...
Waiting up to 60 more seconds for network configuration...

2.  Maybe spell out the first paragraph of "Starting the Devstack VM".  Maybe 
something like

To run the devstack VM, first install VirtualBox.  Then download the image from 
XXX and start the VM.  (From VirtualBox's File menu, Import Appliance and then 
choose the file you downloaded.)

Now you'll want to ssh to the VM from your laptop so it's easier to copy and 
paste.  (The VM is setup to use bridge networking with DHCP.) To find the IP 
address, login to the VM through the console.

username: congress
password: congress

Run ‘ifconfig’ to get the IP address of the VM for eth0

$ ifconfig eth0

Now open a terminal from your laptop and ssh to that IP address using the same 
username and password from above.



Now that devstack is running, you can point your laptop's browser to the VM's 
IP address you found earlier to use Horizon.

 3. Connection problems.
Horizon.  The browser brought up the login screen but gave me the message 
"Unable to establish connection to keystone endpoint." after I provided 
admin/password.

Congress.  From the congress log I see connection errors happening for keystone 
and neutron.

Looking at the Keystone screen log I don't see much of anything.  Here's the 
API log in its entirety.  Seems it hasn't gotten any requests today (Sept 28).


10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "POST /v2.0/tokens HTTP/1.1" 200 
4287 "-" "python-keystoneclient" 52799(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "GET /v3/auth/tokens HTTP/1.1" 200 
7655 "-" "python-keystoneclient" 65278(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "POST /v2.0/tokens HTTP/1.1" 200 
4287 "-" "python-keystoneclient" 63428(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "GET /v3/auth/tokens HTTP/1.1" 200 
7655 "-" "python-keystoneclient" 135994(us)

10.1.184.61 - - [17/Sep/2015:12:05:09 -0700] "POST /v2.0/tokens HTTP/1.1" 200 
4287 "-" "python-keystoneclient" 56581(us)

10.1.184.61 - - [17/Sep/2015:12:05:09 -0700] "GET /v3/auth/tokens HTTP/1.1" 200 
7655 "-" "python-keystoneclient" 55412(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/users HTTP/1.1" 200 
1679 "-" "python-keystoneclient" 13630(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/OS-KSADM/roles 
HTTP/1.1" 200 397 "-" "python-keystoneclient" 10940(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/tenants HTTP/1.1" 200 
752 "-" "python-keystoneclient" 12387(us)

The VM has eth0 bridged.  I can ping 
google.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__google.com=BQMFaQ=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=ljhoO2bNd5MUext7mNU0kFU56cbIs54xfSPMRX5C8As=Vs9VhbXru7JNzccLA0wFNrG1XIDBDtDWe5ia39s12PQ=>
 from inside the VM; I can ssh to the VM from my laptop.

Any ideas what's going on?  (I'm trying to unstack/clean/stack to see if that 
works, but it'll take a while.)

Tim




On Thu, Sep 17, 2015 at 6:05 PM Alex Yip 
<a...@vmware.com<mailto:a...@vmware.com>> wrote:
Hi all,
I have created a VirtualBox VM that matches the Vancouver handson-lab here:

https://drive.google.com/file/d/0B94E7u1TIA8oTEdOQlFERkFwMUE/view?usp=sharing<https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_file_d_0B94E7u1TIA8oTEdOQlFERkFwMUE_view-3Fusp-3Dsharing=BQMFaQ=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=ljhoO2bNd5MUext7mNU0kFU56cbIs54xfSPMRX5C8As=BduiBDRbMbjcRSkKCB6T0j4bG6w4QAoVxzIhWRKOXKk=>

There's also an updated instruction document here:

https://docs.google.com/document/d/1ispwf56bX8sy9T0KZyosdHrSR9WHEVA1oGEIYA22Orw/pub<https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.google.com_document_d_1ispwf56bX8sy9T0KZyosdHrSR9WHEVA1oGEIYA22Orw_pub=BQMFaQ=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=ljhoO2bNd5MUext7mNU0kFU56cbIs54xfSPMRX5C8As=ry42CniwDdvgI5a120RQY4tCreYfYmGVyeTAQXj3cXE=>

If you have some time, please try it out to see if 

Re: [openstack-dev] [Congress] hands on lab

2015-09-28 Thread Tim Hinrichs
Hi Alex,

I went through the HOL.  Some feedback...

1.  When starting up, it paused for a while showing the following
messages.  Maybe that caused the issues I mention below.
Waiting for network configuration...
Waiting up to 60 more seconds for network configuration...

2.  Maybe spell out the first paragraph of "Starting the Devstack VM".
Maybe something like

To run the devstack VM, first install VirtualBox.  Then download the image
from XXX and start the VM.  (From VirtualBox's File menu, Import Appliance
and then choose the file you downloaded.)

Now you'll want to ssh to the VM from your laptop so it's easier to copy
and paste.  (The VM is setup to use bridge networking with DHCP.) To find
the IP address, login to the VM through the console.

username: congress
password: congress

Run ‘ifconfig’ to get the IP address of the VM for eth0

$ ifconfig eth0

Now open a terminal from your laptop and ssh to that IP address using the
same username and password from above.



Now that devstack is running, you can point your laptop's browser to the
VM's IP address you found earlier to use Horizon.

 3. Connection problems.
Horizon.  The browser brought up the login screen but gave me the message
"Unable to establish connection to keystone endpoint." after I provided
admin/password.

Congress.  From the congress log I see connection errors happening for
keystone and neutron.

Looking at the Keystone screen log I don't see much of anything.  Here's
the API log in its entirety.  Seems it hasn't gotten any requests today
(Sept 28).

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "POST /v2.0/tokens HTTP/1.1"
200 4287 "-" "python-keystoneclient" 52799(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "GET /v3/auth/tokens HTTP/1.1"
200 7655 "-" "python-keystoneclient" 65278(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "POST /v2.0/tokens HTTP/1.1"
200 4287 "-" "python-keystoneclient" 63428(us)

10.1.184.61 - - [17/Sep/2015:12:05:08 -0700] "GET /v3/auth/tokens HTTP/1.1"
200 7655 "-" "python-keystoneclient" 135994(us)

10.1.184.61 - - [17/Sep/2015:12:05:09 -0700] "POST /v2.0/tokens HTTP/1.1"
200 4287 "-" "python-keystoneclient" 56581(us)

10.1.184.61 - - [17/Sep/2015:12:05:09 -0700] "GET /v3/auth/tokens HTTP/1.1"
200 7655 "-" "python-keystoneclient" 55412(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/users HTTP/1.1" 200
1679 "-" "python-keystoneclient" 13630(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/OS-KSADM/roles
HTTP/1.1" 200 397 "-" "python-keystoneclient" 10940(us)

10.1.184.61 - - [17/Sep/2015:12:05:12 -0700] "GET /v2.0/tenants HTTP/1.1"
200 752 "-" "python-keystoneclient" 12387(us)

The VM has eth0 bridged.  I can ping google.com from inside the VM; I can
ssh to the VM from my laptop.

Any ideas what's going on?  (I'm trying to unstack/clean/stack to see if
that works, but it'll take a while.)

Tim




On Thu, Sep 17, 2015 at 6:05 PM Alex Yip  wrote:

> Hi all,
> I have created a VirtualBox VM that matches the Vancouver handson-lab here:
>
>
> https://drive.google.com/file/d/0B94E7u1TIA8oTEdOQlFERkFwMUE/view?usp=sharing
>
> There's also an updated instruction document here:
>
>
> https://docs.google.com/document/d/1ispwf56bX8sy9T0KZyosdHrSR9WHEVA1oGEIYA22Orw/pub
>
> If you have some time, please try it out to see if it all works as
> expected.
> thanks, Alex
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Congress] hands on lab

2015-09-21 Thread Alex Yip
Thanks for the feedback David!

This VM does use the network, but only so that you can use the browser to 
connect to Horizon, and your own terminal to connect via SSH.  That is 
actually, not necessary, but it does make the user experience more responsive 
and makes cutting and pasting work.

I don't know why you encountered the error in your browser.  Were you able to 
debug that problem at all?

thanks, Alex


From: KARR, DAVID <dk0...@att.com>
Sent: Monday, September 21, 2015 1:50 PM
To: Alex Yip
Subject: RE: [Congress] hands on lab

Alex, I'm going to step through this.  I'll mention some issues or questions 
here.

I imported this OVA on a CentOS7 laptop, and when I tried to start it, it 
failed with:

"Could not start the machine devstack-congress
because the following physical network interfaces
were not found:

en0: Wi-Fi (AirPort)(adapter 1)

..."

Note that this laptop was not connected to the internet at this point in time.

I then connected it to a Wifi hotspot (all I have right now is my cell phone as 
a hotspot) and reopened it, which succeeded.  If a network connection is 
required, the doc should probably mention this.

I then was able to ssh into the VM, using the ip I got from ifconfig in the VM, 
which was 192.168.122.1.  However, when I tried "You can also point your 
browser to the IP address to use Horizon on the devstack VM", by trying to 
visit 
"https://urldefense.proofpoint.com/v2/url?u=http-3A__192.168.122.1=BQIFAg=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=02Z4gmeF5zku2_PehZe2cUAOGiPmJAe0gxBmxx34Xrg=rlCFKv9aIfiM-L0tHfhNdtFtodSzVee_6JiOqf3_wcc=
 " (or 
"https://urldefense.proofpoint.com/v2/url?u=https-3A__192.168.122.1=BQIFAg=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=02Z4gmeF5zku2_PehZe2cUAOGiPmJAe0gxBmxx34Xrg=YoPOPcZQR31zL_iE2RuzhNZuqqgzrMZLWrVInhNrppk=
 " or 
"https://urldefense.proofpoint.com/v2/url?u=https-3A__192.168.122.1_dashboard=BQIFAg=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=02Z4gmeF5zku2_PehZe2cUAOGiPmJAe0gxBmxx34Xrg=L68PZtLGvb8HCd4A63M26pUfrv8UUamOMq-c2RxIxrI=
 ") from the sam
 e laptop, it either failed immediately or eventually timed out.

I haven't yet ran the "rejoin-stack.sh" script.

> -Original Message-
> From: Alex Yip [mailto:a...@vmware.com]
> Sent: Thursday, September 17, 2015 6:04 PM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: [openstack-dev] [Congress] hands on lab
>
> Hi all,
> I have created a VirtualBox VM that matches the Vancouver handson-
> lab here:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__drive.google.com_file_d_0B94E7u1TIA8oTEdOQlFERkFwMUE_view-3Fu=BQIFAg=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=02Z4gmeF5zku2_PehZe2cUAOGiPmJAe0gxBmxx34Xrg=c3AoOYZEQmPPjdVclbwbOPILxWvEwyc0S9YVTKCNTHE=
> sp=sharing
>
> There's also an updated instruction document here:
>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__docs.google.com_document_d_1ispwf56bX8sy9T0KZyosdHrSR9WHEVA=BQIFAg=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs=djA1lFdIf0--GIJ_8gr44Q=02Z4gmeF5zku2_PehZe2cUAOGiPmJAe0gxBmxx34Xrg=4cWofXZgZ6YTIXb0FRNFFWa_89Gn0X5b5xz1E1YdLuM=
> 1oGEIYA22Orw/pub
>
> If you have some time, please try it out to see if it all works as
> expected.
> thanks, Alex
>
> ___
> ___
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-
> requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] hands on lab

2015-09-17 Thread Alex Yip
Hi all,
I have created a VirtualBox VM that matches the Vancouver handson-lab here:

https://drive.google.com/file/d/0B94E7u1TIA8oTEdOQlFERkFwMUE/view?usp=sharing

There's also an updated instruction document here:

https://docs.google.com/document/d/1ispwf56bX8sy9T0KZyosdHrSR9WHEVA1oGEIYA22Orw/pub

If you have some time, please try it out to see if it all works as expected.
thanks, Alex

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Congress] Hands-on-lab setup instructions

2015-06-24 Thread Tim Hinrichs
At the IRC this week, Bryan asked how he could replicate the environment we
used at the Vancouver hands-on-lab.  So we added some basic instructions at
the end of the lab write-up.

https://docs.google.com/document/u/1/d/1lXmMkUhiSZYK45POd5ungPjVR--Fs_wJHeQ6bXWwP44/pub

Bryan: hope that helps.  Let us know if you have trouble.  We're happy to
help.  And if you're interested, it'd be great to work with you to get
those instructions in better shape!

Tim
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev