IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    [原]OpenStack(4)

    wonder4发表于 2016-03-17 22:46:15
    love 0

    My local.conf:先下载后在改为offline


    [[local|localrc]]
    # Define images to be automatically downloaded during the DevStack built process.
    IMAGE_URLS="http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"

    #change github to trystack
    #GIT_BASE=${GIT_BASE:-http://git.trystack.cn}
    #NOVNC_REPO=${NOVNC_REPO:-http://git.trystack.cn/kanaka/noVNC.git}

    # Credentials
    DATABASE_PASSWORD=pass
    ADMIN_PASSWORD=pass
    SERVICE_PASSWORD=pass
    SERVICE_TOKEN=pass
    RABBIT_PASSWORD=pass
    #FLAT_INTERFACE=eth0


    HOST_IP=192.168.2.53
    SERVICE_HOST=192.168.2.53
    MYSQL_HOST=192.168.2.53
    RABBIT_HOST=192.168.2.53
    GLANCE_HOSTPORT=192.168.2.53:9292


    ## Neutron options
    #Q_USE_SECGROUP=True
    #FLOATING_RANGE="192.168.2.0/24"
    #FIXED_RANGE="10.0.0.0/24"
    #Q_FLOATING_ALLOCATION_POOL=start=192.168.2.10,end=192.168.2.20
    #PUBLIC_NETWORK_GATEWAY="192.168.2.1"
    #Q_L3_ENABLED=True
    #PUBLIC_INTERFACE=enp0s3


    #Q_USE_PROVIDERNET_FOR_PUBLIC=True
    #OVS_PHYSICAL_BRIDGE=virbr0
    #PUBLIC_BRIDGE=virbr0
    #OVS_BRIDGE_MAPPINGS=public:virbr0


    # Work offline
    OFFLINE=True
    # Reclone each time

    # Branches Now the devstack have bug in keystone and neutron for liberty. so we need use master
    #KEYSTONE_BRANCH=stable/liberty
    #NOVA_BRANCH=stable/liberty
    #NEUTRON_BRANCH=stable/liberty
    #SWIFT_BRANCH=stable/liberty

    #GLANCE_BRANCH=stable/liberty
    #CINDER_BRANCH=stable/liberty
    #HEAT_BRANCH=stable/liberty
    #TROVE_BRANCH=stable/liberty
    #HORIZON_BRANCH=stable/liberty
    #SAHARA_BRANCH=stable/liberty
    #CEILOMETER_BRANCH=stable/liberty


    # Logging
    # -------
    # By default ``stack.sh`` output only goes to the terminal where it runs. It can
    # be configured to additionally log to a file by setting ``LOGFILE`` to the full
    # path of the destination log file. A timestamp will be appended to the given name.

    LOGFILE=/opt/stack/logs/stack.sh.log
    VERBOSE=True
    LOG_COLOR=True
    SCREEN_LOGDIR=/opt/stack/logs

    # the number of days by setting ``LOGDAYS``.
    LOGDAYS=1
    # Database Backend MySQL
    enable_service mysql
    # RPC Backend RabbitMQ
    enable_service rabbit


    # Enable Keystone - OpenStack Identity Service

    enable_service key
    # Horizon - OpenStack Dashboard Service
    enable_service horizon
    # Enable Swift - Object Storage Service without replication.
    enable_service s-proxy s-object s-container s-account
    SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
    SWIFT_REPLICAS=1
    # Enable Glance - OpenStack Image service
    enable_service g-api g-reg

    # Enable Cinder - Block Storage service for OpenStack
    #VOLUME_GROUP="cinder-volumes"
    enable_service cinder c-api c-vol c-sch c-bak
    # Enable Heat (orchestration) Service
    #enable_service heat h-api h-api-cfn h-api-cw h-eng
    # Enable Trove (database) Service

    # Enable Cinder - Block Storage service for OpenStack
    #VOLUME_GROUP="cinder-volumes"
    enable_service cinder c-api c-vol c-sch c-bak
    # Enable Heat (orchestration) Service
    #enable_service heat h-api h-api-cfn h-api-cw h-eng
    # Enable Trove (database) Service
    enable_service trove tr-api tr-tmgr tr-cond
    # Enable Sahara (data_processing) Service
    #enable_service sahara

    # Enable Tempest - The OpenStack Integration Test Suite
    #enable_service tempest

    # Enabling Neutron (network) Service
    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 q-metering
    enable_service neutron


    ## Neutron - Load Balancing
    #enable_service q-lbaas
    ## Neutron - Firewall as a Service
    #enable_service q-fwaas
    ## Neutron - VPN as a Service

    # Enable Ceilometer - Metering Service (metering + alarming)
    enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api
    enable_service ceilometer-alarm-notify ceilometer-alarm-eval
    enable_service ceilometer-anotification
    ## Enable NoVNC
    enable_service n-novnc



    


沪ICP备19023445号-2号
友情链接