[Openstack] Not able to deploy a instance from controller node
Nick Maslov
azpekt at gmail.com
Tue Mar 25 10:45:39 UTC 2014
Enable debug and verbose logs on nova, and check the scheduler; I had few cases, when RAM on compute nodes is not enough to spin up a VM
Cheers,
NM
--
Nick Maslov
Sent with Airmail
On March 21, 2014 at 9:34:31 AM, Mahardhika Gilang (mahardika.gilang at andalabs.com) wrote:
Hi, please chat the output of #tail -f /var/log/nova/nova-compute.log
in your compute node
On 3/21/2014 1:55 PM, Manoj K wrote:
Hello OpenStack,
I have simple dual-node OpenStack, On both node all service works fine.
#nova-manage service list
Binary Host Zone Status State Updated_At
nova-cert controller internal enabled :-) 2014-03-21 06:49:18
nova-consoleauth controller internal enabled :-) 2014-03-21 06:49:18
nova-scheduler controller internal enabled :-) 2014-03-21 06:49:18
nova-conductor controller internal enabled :-) 2014-03-21 06:49:17
nova-compute compute1 nova enabled :-) 2014-03-21 06:49:17
nova-network compute1 internal enabled :-) 2014-03-21 06:49:17
When i try to launch a instance from controller, I am getting this error "2014-03-21 00:38:58.677 865 WARNING nova.scheduler.driver [req-acb89cd9-e435-45bd-9e3d-ec5763448139 08b7690d9a434f09a9617e5a3da9b1dd 17663b2a7f7447348d04b0fa2d370b21] [instance: f24b6f13-9233-4db3-be25-703d88eaf32c] Setting instance to ERROR state.
".
Am not able to solve this please guide me.
Thanks in advance.
Mysetup:
Controller - 192.168.0.10
Compute1 - 192.168.0.11
Controller:
nova.conf
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = nova.rpc.impl_kombu
rabbit_host = controller
rabbit_password = RABBIT_PASS
my_ip=192.168.0.10
vncserver_listen=192.168.0.10
vncserver_proxyclient_address=192.168.0.10
auth_strategy=keystone
[database]
connection = mysql://nova:NOVA_DBPASS@controller/nova
[keystone_authtoken]
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = NOVA_PASS
Compute1:
[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = nova.rpc.impl_kombu
rabbit_host = controller
rabbit_password = RABBIT_PASS
auth_strategy=keystone
my_ip=192.168.0.11
vnc_enabled=True
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.0.11
novncproxy_base_url=http://controller:6080/vnc_auto.html
glance_host=controller
network_manager=nova.network.manager.FlatDHCPManager
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
flat_network_bridge=br100
flat_interface=eth0
public_interface=eth0
[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:NOVA_DBPASS@controller/nova
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
--
Regards,
Mahardhika Gilang
PT. Andalabs Technology
Gedung Gravira
Jl. Cideng Barat no. 54
Jakarta Pusat 10150
Mobile : 0852 139 55861
Email : mahardika.gilang at andalabs.com
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140325/63b72f30/attachment.html>
More information about the Openstack
mailing list