[Openstack-operators] Openstack Manual install with nova-network

Baruch, Ohad Ohad.Baruch at emc.com
Wed Sep 3 11:31:32 UTC 2014


Hi Edgar,

This is my nova.conf file:
[DEFAULT]
auth_strategy = keystone
sql_connection = mysql://nova:Pass@opnstck-controller/nova
rpc_backend = rabbit
rabbit_host = opnstck-controller
rabbit_port = 5672
rabbit_userid = nova
rabbit_password = Pass
network_api_class = nova.network.api.API
security_group_api = nova
network_manager = nova.network.manager.FlatDHCPManager
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
network_size = 254
allow_same_net_traffic = False
multi_host = True
send_arp_for_ha = True
share_dhcp_address = True
force_dhcp_release = True
flat_network_bridge = br100
flat_interface = ens224
public_interface = ens192
enabled_apis=ec2,osapi_compute

----------------------------------------------------------------

My api-paste.ini:

############
# Metadata #
############
[composite:metadata]
use = egg:Paste#urlmap
/: meta

[pipeline:meta]
pipeline = ec2faultwrap logrequest metaapp

[app:metaapp]
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory

#######
# EC2 #
#######

[composite:ec2]
use = egg:Paste#urlmap
/services/Cloud: ec2cloud

[composite:ec2cloud]
use = call:nova.api.auth:pipeline_factory
noauth = ec2faultwrap logrequest ec2noauth cloudrequest validator ec2executor
keystone = ec2faultwrap logrequest ec2keystoneauth cloudrequest validator ec2executor

[filter:ec2faultwrap]
paste.filter_factory = nova.api.ec2:FaultWrapper.factory

[filter:logrequest]
paste.filter_factory = nova.api.ec2:RequestLogging.factory

[filter:ec2lockout]
paste.filter_factory = nova.api.ec2:Lockout.factory

[filter:ec2keystoneauth]
paste.filter_factory = nova.api.ec2:EC2KeystoneAuth.factory

[filter:ec2noauth]
paste.filter_factory = nova.api.ec2:NoAuth.factory

[filter:cloudrequest]
controller = nova.api.ec2.cloud.CloudController
paste.filter_factory = nova.api.ec2:Requestify.factory

[filter:authorizer]
paste.filter_factory = nova.api.ec2:Authorizer.factory

[filter:validator]
paste.filter_factory = nova.api.ec2:Validator.factory

[app:ec2executor]
paste.app_factory = nova.api.ec2:Executor.factory

#############
# OpenStack #
#############

[composite:osapi_compute]
use = call:nova.api.openstack.urlmap:urlmap_factory
/: oscomputeversions
/v1.1: openstack_compute_api_v2
/v2: openstack_compute_api_v2
/v3: openstack_compute_api_v3

[composite:openstack_compute_api_v2]
use = call:nova.api.auth:pipeline_factory
noauth = faultwrap sizelimit noauth ratelimit osapi_compute_app_v2
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_compute_app_v2
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v2

[composite:openstack_compute_api_v3]
use = call:nova.api.auth:pipeline_factory_v3
noauth = faultwrap sizelimit noauth_v3 osapi_compute_app_v3
keystone = faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v3

[filter:faultwrap]
paste.filter_factory = nova.api.openstack:FaultWrapper.factory

[filter:noauth]
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory

[filter:noauth_v3]
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddlewareV3.factory

[filter:ratelimit]
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory

[filter:sizelimit]
paste.filter_factory = nova.api.sizelimit:RequestBodySizeLimiter.factory

[app:osapi_compute_app_v2]
paste.app_factory = nova.api.openstack.compute:APIRouter.factory

[app:osapi_compute_app_v3]
paste.app_factory = nova.api.openstack.compute:APIRouterV3.factory

[pipeline:oscomputeversions]
pipeline = faultwrap oscomputeversionapp

[app:oscomputeversionapp]
paste.app_factory = nova.api.openstack.compute.versions:Versions.factory

##########
# Shared #
##########

[filter:keystonecontext]
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory

[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
auth_host = opnstck-controller
admin_tenant_name = admin
admin_user = admin
admin_password = <Password>


I would've sent the whole files but they come out really unreadable...

Regards,
Ohad

From: Edgar Magana [mailto:edgar.magana at workday.com]
Sent: Tuesday, September 02, 2014 6:44 PM
To: Baruch, Ohad; openstack-operators at lists.openstack.org
Subject: Re: [Openstack-operators] Openstack Manual install with nova-network

It will help if you include your nova.conf file.

Thanks,

Edgar

From: <Baruch>, Ohad <Ohad.Baruch at emc.com<mailto:Ohad.Baruch at emc.com>>
Date: Tuesday, September 2, 2014 at 1:07 AM
To: "openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>" <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: [Openstack-operators] Openstack Manual install with nova-network

Hi guys,

I have a 2 node(1 controller + 1 compute nodes) architecture that I installed manually, all of my compute services, including nova network, are on the compute node.
I tried logging to the dashboard but I received this message:

ConnectionFailed at /admin/
Connection to neutron failed: Maximum attempts reached
Request Method:

GET


Request URL:

http://<IP>/dashboard/admin/<http://%3cIP%3e/dashboard/admin/>


Django Version:

1.6.5


Exception Type:

ConnectionFailed


Exception Value:

Connection to neutron failed: Maximum attempts reached


Exception Location:

/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py in retry_request, line 1228



I don't even have a neutron client or server installed, and I configured my nova.conf to use nova networking.
This is really frustrating, can somebody please assist?

Regards,
Ohad





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140903/6f9dfa55/attachment.html>


More information about the OpenStack-operators mailing list