OpenStack常用命令

cinder service-list
openstack service list
openstack service status | grep failed   重启相关服务
nova service-list
neutron agent-list
neutron port-list 
neutron net-list
 
neutron port-list
neutron net-ip-availability-list
openstack network agent list
openstack-service status
ip netns exec qdhcp-f5da7ba3-f6d7-4f41-8434-ae57edb8fca0 ping 172.17.2.253
ip netns exec qdhcp-f5da7ba3-f6d7-4f41-8434-ae57edb8fca0 ip a
 
# 删除已不存在的volume
cinder reset-state --attach-status detached 5df46ece-c2a1-4a01-9677-f67890ea62f9
openstack volume delete 5df46ece-c2a1-4a01-9677-f67890ea62f9
 
# 查看全部project里的所有虚拟机
openstack server list --all-projects
  • virtualization/openstack/常用命令.txt
  • 最后更改: 2019/04/29 11:31
  • 由 mrco