[Openstack] Creating nova-network in Havana with doesn't respect specified VLAN number

Mike Smith mismith at overstock.com
Fri Nov 1 20:24:13 UTC 2013


Here are my (Havana) nova configs (credentials removed).

-------------
Nova.conf:
-------------

[DEFAULT]
qpid_hostname = openstack-qpid.stage.ostk.com
vncserver_proxyclient_address = 10.14.120.12
vncserver_listen = 0.0.0.0
auth_strategy = keystone
api_paste_config = /etc/nova/api-paste.ini
network_manager = nova.network.manager.VlanManager
vlan_interface = bond0
host = openstack-controller.stage.ostk.com
routing_source_ip = 10.14.120.23
enabled_apis = osapi_compute
send_arp_for_ha = true
dns_server = 10.1.4.21
iscsi_ip_prefix = 10.14.120
dhcp_domain = ostk.com
cache_images = true
glance_api_servers = openstack-glance.stage.ostk.com:9292
dnsmasq_config_file=/etc/dnsmasq.conf
novncproxy_base_url=http://openstack-vncproxy.stage.ostk.com:6080/vnc_auto.html

[database]
connection=mysql://nova:XXXXXXX@openstack-mysql.stage.ostk.com/nova

[keystone_authtoken]
auth_host = openstack-keystone.stage.ostk.com
admin_user = admin
admin_tenant_name = admin

-------------
api-paste.ini:
-------------

[composite:metadata]
use = egg:Paste#urlmap
/: meta
[pipeline:meta]
pipeline = ec2faultwrap logrequest metaapp
[app:metaapp]
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
[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
[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
noauth = faultwrap sizelimit noauth_v3 ratelimit_v3 osapi_compute_app_v3
keystone = faultwrap sizelimit authtoken keystonecontext ratelimit_v3 osapi_compute_app_v3
keystone_nolimit = 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:ratelimit_v3]
paste.filter_factory = nova.api.openstack.compute.plugins.v3.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
[filter:keystonecontext]
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
admin_tenant_name = admin
admin_user = admin
auth_host = openstack-keystone.stage.ostk.com


On Nov 1, 2013, at 12:22 PM, amit gupta  wrote:

>
> Please post your configuration files for proper response (nova.conf and api conf files etc with passwords removed)
>
> On 11/1/2013 10:21 AM, Mike Smith wrote:
>> I’m using nova-network with Havana and noticed an odd thing when creating networks.  When I create a network, either with “nova network-create” or “nova-manage network-create”, the VLAN number I specify isn’t being used.  Instead, it seems to be assigning only odd-numbered VLANs, which is causing my numbering to be off.  This is causing me problems, because I haven’t tagged those random VLANs on my equipment.
>>
>> For example, the following command caused this network to be added with br811 and vlan811 bridge and interface instead of the expected br806 and vlan806:
>>
>> # nova network-create —fixed-range-v4=10.14.126.0/24 —vlan=806 --dns1=10.14.4.21 --project-id=fbb371b9c5cb4f849c40a45eaacc4457 my_new_tenant
>>
>>
>> # ifconfig -a
>>>> br811     Link encap:Ethernet  HWaddr FA:16:3E:9E:89:64
>>           inet addr:10.14.126.1  Bcast:10.14.126.255  Mask:255.255.255.0
>>
>> vlan811   Link encap:Ethernet  HWaddr FA:16:3E:9E:89:64
>>           UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
>>
>>
>> # nova-manage network list
>> id      IPv4                    IPv6            start address   DNS1            DNS2            VlanID          project         uuid
>>>> 7       10.14.126.0/24          None            10.14.126.3     10.14.4.21      None            811             fbb371b9c5cb4f849c40a45eaacc4457        20ab5507-abe3-457f-b66c-1891d1e62f87
>>
>> This does not happen with my Folsom installation.   Any help would be appreciated.
>>
>>
>>


________________________________

CONFIDENTIALITY NOTICE: This message is intended only for the use and review of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message solely to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify sender immediately by telephone or return email. Thank you.




More information about the Openstack mailing list