Hi All:

Hi All:


I am installing Icehouse Openstack all in one machine with one single vlan interface (binded to a physical interface), 
I am facing the problem while executing the neturon commnads, but keystone,glance and few nova commands works fine ,But nova commands related to network and neutron ommands gives 401 Error.

Can some one please help me.

. Below is my configurations,First interface configurtaoins Interface configuration:

 
VLAN1 (VLAN ) Physical Device Configuration
------------ ----------------------------------
VLAN=yes TYPE=Ethernet
TYPE=Vlan BOOTPROTO=dhcp
PHYSDEV=phynet1 DEFROUTE=yes
VLAN_ID=1 PEERDNS=yes
REORDER_HDR=0 PEERROUTES=yes
BOOTPROTO=static IPV4_FAILURE_FATAL=no
DOMAIN=eng.myorg.com IPV6INIT=yes
DEFROUTE=yes IPV6_AUTOCONF=yes
IPV4_FAILURE_FATAL=no IPV6_DEFROUTE=yes
IPV6INIT=no IPV6_PEERDNS=yes
IPV6_AUTOCONF=yes IPV6_PEERROUTES=yes
IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no
IPV6_FAILURE_FATAL=no NAME=phynet1
NAME=VLAN1 UUID=5ba6c8d1-8fe7-3fec-ae8c-ad67081547dc
UUID=9cbf88dc-456c-1234-9876-12bece795678 DEVICE=phynet1
ONBOOT=yes ONBOOT=no
DEVICE=MyVLAN1
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPADDR=1.2.3.4
PREFIX=32
GATEWAY=1.2.3.1
DNS1=1.2.9.5
PEERDNS=yes
PEERROUTES=yes

 
I got the keystone installed and working  ( all keystone commands work). Below is the example:

 keystone user-list
 
  +----------------------------------+---------+---------+-------------------------+
  |                id                |   name  | enabled |          email          |
  +----------------------------------+---------+---------+-------------------------+
  | 04e35d08fcfc472ab50801f1c188a7b0 |  admin  |   True  | myname@myrog.com
  | 9d46f9a3082448daa2dad3de3e754d92 |  glance |   True  | myname@myrog.com |
  | 937dbd7372bb4c92a207a9f415d062c6 | neutron |   True  | myname@myrog.com |
  | a4e28e658d784000862dc4503c9b0003 |   nova  |   True  | myname@myrog.com |
  | 04bba2d189b341c88bf2765db0ae05db |  myname |   True  | myname@myrog.com |
  +----------------------------------+---------+---------+-------------------------+
  
  Got Glance installed and working (it gives empty results as I dont have the images which is fine with me )
  
  glance image-list
  +----+------+-------------+------------------+------+--------+
  | ID | Name | Disk Format | Container Format | Size | Status |
  +----+------+-------------+------------------+------+--------+
  
  installed nova-api and nova image-list also works gives empty results which is fine with me .
  
  nova image-list
  
  +----+------+--------+--------+
  | ID | Name | Status | Server |
  +----+------+--------+--------+
  +----+------+--------+--------+
  
  But When I try to do some other commands wiht NOVA I get 400 error like below:
  
   nova net-list
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-b25d79ae-8739-49ff-8fa6-a8ed1d078e7b)
Attahced nova-net-list.log (this has the debug version of above command )
 
 All neutron commands gives me error like below
  Authentication required
Attached the file neutron-net-list.log which has the debug version of the above command.Also I see same mulitple requests to the same endpoints.

if I do ifconfig, i dont see the networks I configured br-ex and br-int on the same single ip.

How do I see them, I just installed it till neutron did not go further as I was getting the Authentcation problem.

NOTE:While running the neutron and nova commands  I sources all the OS keystone parameters.

Also attached the keystone,glance,nova and neutron conf files and tenants,users,services,endpoints configured in keystone AND Give below in email as well.

   Keystone env variables:
   export OS_USERNAME=admin
   export OS_PASSWORD=mypassword
   export OS_TENANT_NAME=admin
   export OS_AUTH_URL=http://1.2.3.4:35357/v2.0
   
   nova.conf
   
   rpc_backend = qpid
   qpid_hostname = 1.2.3.4
   my_ip = 1.2.3.4
   vncserver_listen = 1.2.3.4
   vncserver_proxyclient_address = 1.2.3.4
   auth_strategy = keystone
   network_api_class = nova.network.neutronv2.api.API
   neutron_url = http://1.2.3.4:9696
   neutron_auth_strategy = keystone
   neutron_admin_tenant_name = service
   neutron_admin_username = nova
   neutron_admin_password = nova123
   neutron_admin_auth_url = http://1.2.3.4:35357/v2.0
   linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
   firewall_driver = nova.virt.firewall.NoopFirewallDriver
   security_group_api = neutron
   service_neutron_metadata_proxy = true
   neutron_metadata_proxy_shared_secret = myOSsetUp
   
   [keystone_authtoken]
   auth_uri = http://1.2.3.4:5000
   auth_host = 1.2.3.4
   auth_protocol = http
   auth_port = 35357
   admin_user = nova
   admin_tenant_name = service
   admin_password = nova123
   
   
   Neutron.conf
   [DEFAULT]
   auth_strategy = keystone
   rpc_backend = neutron.openstack.common.rpc.impl_qpid
   qpid_hostname = 1.2.3.4
   notify_nova_on_port_status_changes = True
   notify_nova_on_port_data_changes = True
   nova_url = http://1.2.3.4:8774/v2
   nova_admin_username = nova
   nova_admin_tenant_id = 1ecb20c295a04b45b19f88bed22fd9f8
   nova_admin_password = nova123
   nova_admin_auth_url = http://1.2.3.4:35357/v2.0
   core_plugin = ml2
   service_plugins = router
   
   [keystone_authtoken]
   auth_uri = http://1.2.3.4:5000
   auth_host = 1.2.3.4
   auth_protocol = http
   auth_port = 35357
   admin_tenant_name = service
   admin_user = neutron
   admin_password = neutron123

metadata_agent.ini

auth_url = http://1.2.3.4:5000/v2.0
auth_region = regionOne
# Turn off verification of the certificate for ssl
# auth_insecure = False
# Certificate Authority public key (CA cert) file for ssl
# auth_ca_cert =
admin_tenant_name = service
admin_user = neutron
admin_password = neutron123
nova_metadata_ip = 1.2.3.4
metadata_proxy_shared_secret = myOSsetUp
   
   
   Keystone Outputs:
   
   
 keystone tenant-list
 
+----------------------------------+---------+---------+
|                id                |   name  | enabled |
+----------------------------------+---------+---------+
| 0f3e717860444ca9bda45710940de033 |  admin  |   True  |
| f01c350959d24c63a467cea3875ba9f8 |   demo  |   True  |
| 1ecb20c295a04b45b19f88bed22fd9f8 | service |   True  |
+----------------------------------+---------+---------+

keystone service-list
+----------------------------------+----------+----------+----------------------+
|                id                |   name   |   type   |     description      |
+----------------------------------+----------+----------+----------------------+
| 838524a98a8b45a7961615ace1d65576 |  glance  |  image   |    Image Service     |
| 4e97c66d9be64056a63bdc6469b0cabf | keystone | identity |  OpenStack Identity  |
| 0f569363f59444d88aaf32589307c1b1 | neutron  | network  | OpenStack Networking |
| ae4e5d0cd58e4bf6bfe71a861ff3db32 |   nova   | compute  |  OpenStack Compute   |
+----------------------------------+----------+----------+----------------------+

keystone eddpoint-list

+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
|                id                |   region  |                 publicurl                  |                internalurl                 |                  adminurl                  |            service_id            |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| 467f893cb1c848a2bb98826895bc7a35 | regionOne |         http://1.2.3.4:9696          |         http://1.2.3.4:9696          |         http://1.2.3.4::9696         | 0f569363f59444d88aaf32589307c1b1 |
| a47f40ebadbc454e8e56ff976fc43ca6 | regionOne | http://1.2.3.4:8774/v2/%(tenant_id)s | http://1.2.3.4:8774/v2/%(tenant_id)s | http://1.2.3.4:8774/v2/%(tenant_id)s | ae4e5d0cd58e4bf6bfe71a861ff3db32 |
| bdca2ca89ad6423caa47fc5ef6e7a34c | regionOne |       http://1.2.3.4:5000/v2.0       |       http://1.2.3.4:5000/v2.0       |      http://1.2.3.4:35357/v2.0       | 4e97c66d9be64056a63bdc6469b0cabf |
| e71ea58bafae4c818577e74bbf26e002 | regionOne |       http://1.2.3.4:9292/v2.0       |       http://1.2.3.4:9292/v2.0       |       http://1.2.3.4:9292/v2.0       | 838524a98a8b45a7961615ace1d65576 |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+


keystone user-list

+----------------------------------+---------+---------+-------------------------+
|                id                |   name  | enabled |          email          |
+----------------------------------+---------+---------+-------------------------+
| 04e35d08fcfc472ab50801f1c188a7b0 |  admin  |   True  | myname@myrog.com |
| 9d46f9a3082448daa2dad3de3e754d92 |  glance |   True  | myname@myrog.com |
| 937dbd7372bb4c92a207a9f415d062c6 | neutron |   True  | myname@myrog.com |
| a4e28e658d784000862dc4503c9b0003 |   nova  |   True  | myname@myrog.com |
| 04bba2d189b341c88bf2765db0ae05db |  myname |   True  | myname@myrog.com |
+----------------------------------+---------+---------+-------------------------+