
如何看是否安装好openstack
1个回答
展开全部
旧版本的 OpenStack Nova 提供了 version 的接口,不过只是针对开发人员,命令行工具没有面向系统管理员的接口,所以只能通过 python 调取 nava API 来获得version 信息:
# nova-manage shell python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from nova import version
>>> version.version_string()
'2011.2'
>>> version.version_string_with_vcs()
u'2011.2-workspace:tarmac-20110415024701-a9bdb77vaatk99lh'
>>>
新版本的 OpenStack Nova 提供了简单的管理员接口,不再需要通过 API 调用了:
# nova-manage version list
2011.3-dev (2011.3-workspace:tarmac-20110428165803-elcz2wp2syfzvxm8)
发表评论(6 Comments)分类:Cloud | Virtualization | Thin | HPC
评论 (6 Comments)
siyrle - September 29th, 2011 12:55 pm
vpsee,你好,我用root登陆vps时提示access denied,但输入密码后能登陆成功,这是为何?
otter - October 9th, 2011 9:30 pm
@vpsee 请问怎么安装2011.3版本的openstack?用apt-get安装的还是2011.2版本的……
vpsee - October 13th, 2011 2:42 pm
@otter
可以下载源代码直接安装。
longhudou - October 16th, 2011 5:39 pm
vpsee,你好,我在安装时候使用这条命令:kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso -drive file=ubuntu.img,if=scsi,index=0,boot=on -boot d -net user -nographic -vnc :0
遇到这样一个问题(因为可能装的是32位系统所以最大只能分配2G RAM而不是4G)
Warning: vlan 0 with no nics
inet_listen_opts: bind(ipv4,0.0.0.0,5900): Address already in use
inet_listen_opts: FAILED
是不是网桥配置部分出现了错误呢?(附上/etc/network.interfaces和/etc/nova/nova.conf)
#####################
auto lo
iface lo inet loopback
auto br100
iface br100 inet dhcp
bridge_ports eth0
bridge_stop off
bridge_maxwait 0
bredge_fd 0
######################
–s3_host=192.168.1.8
–rabbit_host=192.168.1.8
–cc_host=192.168.1.8
–ec2_url=http://192.168.1.8:8773/services/Cloud
–fixed_range=10.0.0.0/24
–floating_range=192.168.1.0/24
–networl_size=256
–FAKE_subdomain=ec2
–routing_source_ip=192.168.1.8
–sql_connection=mysql://nova:nova@192.168.1.8/nova
–glance_host=192.168.1.8
–image_service=nova.image.glance.GlanceImageService
–network_manager=nova.network.manager.FlatDHCPManager
–flat_naework_dhcp_start=10.0.0.2
–public_interface=eth0
–flat_interface=eth1
vpsee - October 17th, 2011 3:56 pm
@longhudou
inet_listen_opts: bind(ipv4,0.0.0.0,5900): Address already in use
看上去好像 vnc:0 已经被使用了(你是否已经输入这条命令启动了一个虚拟机?用 vnc client 登录 5900 端口看看),你换个 vnc:1 试一下呢?比如,kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso …-vnc :1
hui540 - July 4th, 2013 2:24 pm
@longhudou
端口被占用,把虚拟机关了,换个端口开开重新试试 例如:kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso -drive file=ubuntu.img,if=scsi,index=0,boot=on -boot d -net user -nographic -vnc :9
# nova-manage shell python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from nova import version
>>> version.version_string()
'2011.2'
>>> version.version_string_with_vcs()
u'2011.2-workspace:tarmac-20110415024701-a9bdb77vaatk99lh'
>>>
新版本的 OpenStack Nova 提供了简单的管理员接口,不再需要通过 API 调用了:
# nova-manage version list
2011.3-dev (2011.3-workspace:tarmac-20110428165803-elcz2wp2syfzvxm8)
发表评论(6 Comments)分类:Cloud | Virtualization | Thin | HPC
评论 (6 Comments)
siyrle - September 29th, 2011 12:55 pm
vpsee,你好,我用root登陆vps时提示access denied,但输入密码后能登陆成功,这是为何?
otter - October 9th, 2011 9:30 pm
@vpsee 请问怎么安装2011.3版本的openstack?用apt-get安装的还是2011.2版本的……
vpsee - October 13th, 2011 2:42 pm
@otter
可以下载源代码直接安装。
longhudou - October 16th, 2011 5:39 pm
vpsee,你好,我在安装时候使用这条命令:kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso -drive file=ubuntu.img,if=scsi,index=0,boot=on -boot d -net user -nographic -vnc :0
遇到这样一个问题(因为可能装的是32位系统所以最大只能分配2G RAM而不是4G)
Warning: vlan 0 with no nics
inet_listen_opts: bind(ipv4,0.0.0.0,5900): Address already in use
inet_listen_opts: FAILED
是不是网桥配置部分出现了错误呢?(附上/etc/network.interfaces和/etc/nova/nova.conf)
#####################
auto lo
iface lo inet loopback
auto br100
iface br100 inet dhcp
bridge_ports eth0
bridge_stop off
bridge_maxwait 0
bredge_fd 0
######################
–s3_host=192.168.1.8
–rabbit_host=192.168.1.8
–cc_host=192.168.1.8
–ec2_url=http://192.168.1.8:8773/services/Cloud
–fixed_range=10.0.0.0/24
–floating_range=192.168.1.0/24
–networl_size=256
–FAKE_subdomain=ec2
–routing_source_ip=192.168.1.8
–sql_connection=mysql://nova:nova@192.168.1.8/nova
–glance_host=192.168.1.8
–image_service=nova.image.glance.GlanceImageService
–network_manager=nova.network.manager.FlatDHCPManager
–flat_naework_dhcp_start=10.0.0.2
–public_interface=eth0
–flat_interface=eth1
vpsee - October 17th, 2011 3:56 pm
@longhudou
inet_listen_opts: bind(ipv4,0.0.0.0,5900): Address already in use
看上去好像 vnc:0 已经被使用了(你是否已经输入这条命令启动了一个虚拟机?用 vnc client 登录 5900 端口看看),你换个 vnc:1 试一下呢?比如,kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso …-vnc :1
hui540 - July 4th, 2013 2:24 pm
@longhudou
端口被占用,把虚拟机关了,换个端口开开重新试试 例如:kvm -m 1024 -cdrom ubuntu-11.04-desktop-i386.iso -drive file=ubuntu.img,if=scsi,index=0,boot=on -boot d -net user -nographic -vnc :9
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询