Openstack devstack icehouse中的实例创建
我想创建几个使用openstack安装ubuntu的实例 我尝试了以下步骤 方法1Openstack devstack icehouse中的实例创建,openstack,devstack,openstack-horizon,openstack-neutron,Openstack,Devstack,Openstack Horizon,Openstack Neutron,我想创建几个使用openstack安装ubuntu的实例 我尝试了以下步骤 方法1 已安装的冰室devstack git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git cd devstack ./stack.sh git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git cd devstack vi loca
git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
cd devstack
./stack.sh
git clone -b stable/icehouse https://github.com/openstack-dev/devstack.git
cd devstack
vi localrc
glance image-create --name Ubuntu --disk-format iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso
glance image-create --name Ubuntu --disk-format iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso
我的localrc看起来像
DEST=/opt/stack
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True
LOG_COLOR=False
SCREEN_LOGDIR=$DEST/logs/screen
ADMIN_PASSWORD=password
MYSQL_PASSWORD=openstack
RABBIT_PASSWORD=openstack
SERVICE_PASSWORD=openstack
SERVICE_TOKEN=tokentoken
GLANCE_BRANCH=stable/icehouse
HORIZON_BRANCH=stable/icehouse
KEYSTONE_BRANCH=stable/icehouse
NOVA_BRANCH=stable/icehouse
NEUTRON_BRANCH=stable/icehouse
HEAT_BRANCH=stable/icehouse
CEILOMETER_BRANCH=stable/icehouse
DISABLED_SERVICES=n-net ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-metering,neutron
ENABLED_SERVICES+=,q-lbaas
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
HEAT_STANDALONE=True
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval
此后
./stack.sh
glance image-create --name Ubuntu --disk-format iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso
glance image-create --name Ubuntu --disk-format iso --container-format bare <~/sumit/images/ubuntu-14.04.2-desktop-amd64.iso
每次我列出实例时,它都会显示相同的错误有人能帮我解决所有这些问题吗?这样我就可以启动一些实例并在上面安装ubuntu。无法连接可能是因为中子服务没有运行。通过仪表板,您无法创建没有网络的实例。使用devstack中的screen命令检查中子是否正常运行。您将只从前端/命令输出中获得一般错误消息。您需要检查日志以了解详细的错误消息和异常。尾中子测井和nova计算测井在两个终端。然后尝试启动实例。您将得到正确的错误消息。使用该错误消息进行搜索可能会找到解决方案。发出命令中子代理列表并确保所有组件都处于活动状态。