Ask Your Question
0

Neutron Service missing when installing OpenStack using devstack

asked 2014-08-22 03:00:38 -0500

fhussain gravatar image

Hi,

I have installed OpenStack Icehouse on a single-machine using devstack. However, under the Project Tab on the dashboard only two services are being shown: Compute and Orchestration...

What happens to the rest of the services especially Neutron? Are they not installed using devstack?

My local.conf file looks like this:

    [[local|localrc]] 
    FLOATING_RANGE=192.168.1.224/27
    FIXED_RANGE=10.3.12.0/24
    FIXED_NETWORK_SIZE=256
    FLAT_INTERFACE=eth0
    ADMIN_PASSWORD=password
    MYSQL_PASSWORD=password
    RABBIT_PASSWORD=password
    SERVICE_PASSWORD=password

    SERVICE_TOKEN= password


    disable_service n-net
    enable_service q-svc
    enable_service q-agt
    enable_service q-dhcp
    enable_service q-l3
    enable_service q-meta
    enable_service neutron
    # Optional, to enable tempest configuration as part of devstack
    enable_service tempest


    #Core services
    ENABLED_SERVICES=general,mysql,rabbit

    # Nova services
    ENABLED_SERVICES="$ENABLED_SERVICES,nova,n-api,n-crt,n-obj,n-cpu,n-vol,n-sch,n-novnc,n-xvnc,n-cauth"

    # Keystone services
    ENABLED_SERVICES="$ENABLED_SERVICES,key"

    # Glance services (image management)
    ENABLED_SERVICES="$ENABLED_SERVICES,g-api,g-reg"

    # Swift (Object storage) services 
    ENABLED_SERVICES="$ENABLED_SERVICES,swift,stunnel"

    # Web GUI stuff (horizon)
    ENABLED_SERVICES="$ENABLED_SERVICES,horizon"

    # Virtual switching/networking (quantum)
    ENABLED_SERVICES="$ENABLED_SERVICES,neutron,q-svc,q-agt"


    HOST_IP=10.3.12.22

    Q_PLUGIN=ml2
    ENABLE_TENANT_VLANS=True
    ML2_VLAN_RANGES=mynetwork:100:200

    DEST=/opt/stack
    LOGFILE=$DEST/logs/stack.sh.log

    LOGDAYS=2

    SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5


    SWIFT_REPLICAS=1

   .
    SWIFT_DATA_DIR=$DEST/data
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-08-24 13:10:12 -0500

Hi fhussain,

I had faced the similar issue. I haven't looked at the code but it seems if you specify ENABLED_SERVICES in your localrc, it doesn't really look into services specified in "enable_service". This was perhaps the reason why the networking services remained disabled.

# disable_service n-net
# enable_service q-svc
# enable_service q-agt
# enable_service q-dhcp
# enable_service q-l3
# enable_service q-meta
# enable_service neutron
# Optional, to enable tempest configuration as part of devstack
# enable_service tempest
ENABLED_SERVICES += neutron,q-meta,q-l3,q-dhcp,q-agt,q-svc
ENABLED_SERVICES -= n-net

^This should help you solve your problem. Make sure ENABLED_SERVICES has been initialized before using it. Or put it afer # Services.

Let us know if this helps.

-Prasoon

edit flag offensive delete link more

Comments

I had already commented out the portion which you have pointed out. But no use. I added the lines ENABLED_SERVICES += neutron,q-meta,q-l3,q-dhcp,q-agt,q-svc ENABLED_SERVICES -= n-net to the stackrc file and it worked. Neutron is now installed successfully and it is accessible via dashboard

fhussain gravatar imagefhussain ( 2014-08-26 00:41:57 -0500 )edit
1

answered 2014-08-22 03:47:52 -0500

SGPJ gravatar image

There must be some issues with Engineering build. I would recommend to use stable version of devstack. For havana: git clone https://github.com/openstack-dev/devs... -b stable/havana

For Icehouse:

[[local|localrc]]

# Credentials
DATABASE_PASSWORD=devstack
ADMIN_PASSWORD=devstack
SERVICE_PASSWORD=devstack
SERVICE_TOKEN=devstack
RABBIT_PASSWORD=devstack

# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
ENABLED_SERVICES+=,horizon

# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img"
# Use this image when working with Orchestration (Heat)
IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F17-x86_64-cfntools.qcow2"

# Branches
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
SWIFT_BRANCH=stable/icehouse
GLANCE_BRANCH=stable/icehouse
CINDER_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
TROVE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse

# Swift Configuration
SWIFT_REPLICAS=1
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5

# Enable Logging
LOGFILE=/opt/stack/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=True
SCREEN_LOGDIR=/opt/stack/logs
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-08-22 02:59:40 -0500

Seen: 3,849 times

Last updated: Aug 24 '14