New Attempt. Same as before, but this time attempted to start with a clean VM without pre-installing Apache, PostgreSQL and MariaDB. By doing this, it allows the Quickstart Demo Setup script to install and configure components on its own. The Quickstart Demo Setup script ran a little further this time, instead of the authentication error in my last post, the script continues and hangs as follows. This is a consistent problem, I ran into it earlier also in two previous attempt to install with less VM memory configured. I don't know why it's hanging, one of the things I'm very unhappy about the OpenStack project as a whole is the lack of instrumentation and automatic logging. This Quickstart is only one place where this is a problem, the Horizon app for example is another. By default there is no logging, after digging into the Django documentation, it describes how the application has provided for instrumentation but with nothing enabled. Even if you enable logging, your specific logs will likely be different than anything anyone else would configure so mindshare based on any logs is likely next to impossible (no standardization!). The following stdout are the entries which start from the <successful> reading of the quantum network configuration Tony + quantum net-list + [[ 0 -eq 0 ]] + break ++ get_service_tenant_id +++ OS_SERVICE_TOKEN=999888777666 +++ keystone tenant-get service +++ awk '/id/ { print $4 } ' ++ id=a6b94fce324d436c9bad22dc65f54f0c ++ echo a6b94fce324d436c9bad22dc65f54f0c + SERVICE_TENANT_ID=a6b94fce324d436c9bad22dc65f54f0c + quantum net-create fixed --shared --provider:network_type flat --provider:physical_network root-bridge <And that is where the script hangs...> On Sat, Aug 24, 2013 at 3:37 PM, Tony Su <tonysu@su-networking.com> wrote:
Curiously, I'm getting different errors installing different ways... In this message I'll just post the error when installing into a KVM Guest. Later, after trying to install into KVM I'll re-visit the issues I ran into installing into LXC.
If someone has an idea how to address, appreciate the ideas. Otherwise, if someone really has been successful running the quickstart on openSUSE 12.3 on bare metal or any type of VM, I'd appreciate the <exact> steps you might have done to conclusion.
Thx, Tony *****************************************************************************
KVM Guest openSUSE 12.3/XFCE with one processor and 1.6GB RAM and 8GB disk space, fully updated (zypper up)
Normal 12.3/XFCE install and update, then Installed Apache, configured to run as a service and started Installed Mariadb, configured to run as a service and started Installed postgresql-server, configured to run as a service and started
Note: I <did not> create admin/root accounts for use on MariaDB or PostgreSQL, to my knowledge that should not be done.
Listed the OpenStack patterns (with the Grizzly repo installed) zypper se openstack | grep patterns
Then, using zypper installed <all> the patterns and openstack-quickstart without issue.
Then ran openstack-quickstart, it runs just fine until it tries to read the quantum network configuration (btw - isn't it supposed to be called neutrino now?) I can post the entire stdout but the following is the critical part... Starting with line line 306 where quantum is restarted
+ insserv openstack-quantum + /etc/init.d/openstack-quantum restart redirecting to systemctl restart openstack-quantum + . /etc/bash.bashrc.local ++ export HOST_IP=127.0.0.1 ++ HOST_IP=127.0.0.1 ++ . /etc/bash.openstackrc +++ export NOVA_URL=http://127.0.0.1:5000/v2.0/ +++ NOVA_URL=http://127.0.0.1:5000/v2.0/ +++ export NOVA_VERSION=1.1 +++ NOVA_VERSION=1.1 +++ export NOVA_REGION_NAME=RegionOne +++ NOVA_REGION_NAME=RegionOne +++ export NOVA_AUTH_STRATEGY=keystone +++ NOVA_AUTH_STRATEGY=keystone +++ export EC2_URL=http://127.0.0.1:8773/services/Cloud +++ EC2_URL=http://127.0.0.1:8773/services/Cloud +++ export SERVICE_ENDPOINT=http://127.0.0.1:35357/v2.0 +++ SERVICE_ENDPOINT=http://127.0.0.1:35357/v2.0 ++ setcreds admin openstack ++ export NOVA_PROJECT_ID=admin ++ NOVA_PROJECT_ID=admin ++ '[' -z admin ']' ++ export NOVA_USERNAME=admin ++ NOVA_USERNAME=admin ++ export NOVA_API_KEY=openstack ++ NOVA_API_KEY=openstack ++ '[' -z openstack ']' ++ export EC2_ACCESS_KEY=admin ++ EC2_ACCESS_KEY=admin ++ export EC2_SECRET_KEY=openstack ++ EC2_SECRET_KEY=openstack ++ export OS_AUTH_USER=admin ++ OS_AUTH_USER=admin ++ export OS_USERNAME=admin ++ OS_USERNAME=admin ++ export OS_TENANT_NAME=admin ++ OS_TENANT_NAME=admin ++ export OS_AUTH_KEY=openstack ++ OS_AUTH_KEY=openstack ++ export OS_PASSWORD=openstack ++ OS_PASSWORD=openstack ++ export OS_AUTH_TENANT=admin ++ OS_AUTH_TENANT=admin ++ export OS_AUTH_URL=http://127.0.0.1:5000/v2.0/ ++ OS_AUTH_URL=http://127.0.0.1:5000/v2.0/ ++ export OS_AUTH_STRATEGY=keystone ++ OS_AUTH_STRATEGY=keystone + cnt=0 + : + [[ 0 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=1 + sleep 2 + : + [[ 1 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=2 + sleep 2 + : + [[ 2 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=3 + sleep 2 + : + [[ 3 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=4 + sleep 2 + : + [[ 4 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=5 + sleep 2 + : + [[ 5 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=6 + sleep 2 + : + [[ 6 -gt 6 ]] + quantum net-list {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Not Authorized"}} + [[ 1 -eq 0 ]] + cnt=7 + sleep 2 + : + [[ 7 -gt 6 ]] + echo 'Can'\''t reach quantum server. Exiting !!!' Can't reach quantum server. Exiting !!! + exit 1 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org