Tag: openstack

  • Openstack Server

    Openstack Server

    I’ve been playing with Openstack a bit at work and at home. I purchased an Lenovo TD340 a while ago and have been playing a bit with Devstack. Right now I have neutron networking and glusterfs installed on it. It took a bit of work to get it working so I thought I’d share my local.conf file showing how to add a plugin to devstack and how to configure networking, since the documentation for me was not complete. I’m on a 10.0.0.0/8 network at home, the openstack devstack server is 10.0.0.5, and my router is 10.0.0.1.


    [[local|localrc]]
    enable_plugin devstack-plugin-glusterfs https://github.com/stackforge/devstack-plugin-glusterfs

    #Enable heat services
    enable_service h-eng h-api h-api-cfn h-api-cw

    # Minimal Contents
    # ----------------
    ADMIN_PASSWORD=securepassword
    DATABASE_PASSWORD=stackdb
    RABBIT_PASSWORD=stackqueue
    SERVICE_PASSWORD=$ADMIN_PASSWORD
    HOST_IP=10.0.0.5

    # Logging
    # -------
    LOGFILE=$DEST/logs/stack.sh.log
    LOGDAYS=2

    # Swift
    # -----
    SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
    SWIFT_REPLICAS=1
    SWIFT_DATA_DIR=$DEST/data

    # Neutron options
    # ---------------

    # Do not use Nova-Network
    disable_service n-net

    # Enable Neutron
    ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron,q-lbaas

    Q_USE_SECGROUP=True
    FLOATING_RANGE="10.0.5.0/8"
    FIXED_RANGE="192.168.0.0/24"
    Q_FLOATING_ALLOCATION_POOL=start=10.0.5.10,end=10.0.5.250
    PUBLIC_NETWORK_GATEWAY="10.0.0.1"
    Q_L3_ENABLED=True
    PUBLIC_INTERFACE=enp7s0
    Q_USE_PROVIDERNET_FOR_PUBLIC=True
    OVS_PHYSICAL_BRIDGE=br-ex
    PUBLIC_BRIDGE=br-ex
    OVS_BRIDGE_MAPPINGS=public:br-ex
    #NETWORK_GATEWAY=10.0.0.1
    NETWORK_GATEWAY=192.168.0.1

    # Glusterfs
    # ---------
    CINDER_ENABLED_BACKENDS=glusterfs
    CONFIGURE_GLUSTERFS_GLANCE=True
    CONFIGURE_GLUSTERFS_NOVA=True
    CONFIGURE_GLUSTERFS_CINDER=True
    CONFIGURE_GLUSTERFS_MANILA=True