Ask Your Question
0

run "openstack compute service list" and i not see one service on compute node.

asked 2016-08-16 08:36:26 -0500

shayb gravatar image

updated 2016-08-18 15:20:05 -0500

rbowen gravatar image

Hi when i run

openstack compute service list

i see this

+----+------------------+------------+----------+---------+-------+----------------------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  3 | nova-consoleauth | vm-y-ctrl1 | internal | enabled | up    | 2016-08-16T13:15:40.000000 |
|  4 | nova-scheduler   | vm-y-ctrl1 | internal | enabled | up    | 2016-08-16T13:15:36.000000 |
|  5 | nova-conductor   | vm-y-ctrl1 | internal | enabled | up    | 2016-08-16T13:15:37.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+

and i can't see the nova-compute .

my nova.conf in controller

[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
libvirt_use_virtio_for_bridges=True
#verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=osapi_compute,metadata

rpc_backend = rabbit
auth_strategy = keystone
my_ip = 10.25.97.181
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver



[api_database]

connection = mysql+pymysql://nova:vmadmin123@controller-test/nova_api

[database]

connection = mysql+pymysql://nova:vmadmin123@controller-test/nova

[oslo_messaging_rabbit]

rabbit_host = controller-test
rabbit_userid = openstack
rabbit_password = vmadmin123

[keystone_authtoken]

auth_uri = http://controller-test:5000
auth_url = http://controller-test:35357
memcached_servers = controller-test:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = vmadmin123


[vnc]

vncserver_listen=10.25.97.180
vncserver_proxyclient_address=10.25.97.181
enabled_apis=metadata

[glance]

api_servers = http://controller-test:9292

[oslo_concurrency]

lock_path = /var/lib/nova/tmp

#############################
 nova.conf  in compute 

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
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=osapi_compute,metadata
rpc_backend = rabbit

auth_strategy = keystone

my_ip = 10.25.97.181

use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

[oslo_messaging_rabbit]

rabbit_hosts=['controller-test:5672']
#rabbit_host = controller-test
rabbit_userid = openstack
rabbit_password = vmadmin123

debug = Enable
connection_debug = 0
use_syslog = 1


[keystone_authtoken]


auth_uri = http://controller-test:5000
auth_url = http://controller-test:35357
memcached_servers = controller-test:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = vmadmin123

[vnc]

enabled = True
vncserver_listen = 10.25.97.180
vncserver_proxyclient_address = $my_ip
enabled_apis=metadata


[glance]

api_servers = http://controller-test:9292

[oslo_concurrency]

lock_path = /var/lib/nova/tmp

###############################################

you can say to me what it"s worng ?

10.25.97.180    Vlan 714    Eth0    vm-y-ctrl1
10.25.97.181    Vlan 714    Eth0    Vm-y-comp1

cat /etc/hosts in vm-y-ctrl1
127.0.0.1       localhost vm-y-ctrl1
10.25.97.180    vm-y-ctrl1.bezeq.com    vm-y-ctrl1
10.25.97.181    vm-y-comp1.bezeq.com    vm-y-comp1

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# controller
10.25.97.180       controller-test

# compute1
10.25.97.181       compute1-test

# block1
10.25.97.180       block1-test

# object1
10.25.97.180       object1-test

# object2
10.25.97.180       object2-test

cat /etc/hosts in vm-y-comp1

127.0.0.1       localhost    vm-y-comp1
10.25.97.180    vm-y-ctrl1.bezeq.com    vm-y-ctrl1
10.25.97.180    vm-y-ctl1


# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

# controller
10.25.97.180       controller-test

# compute1
10.25.97.181       compute1-test

# block1
10.25.97.180       block1-test

# object1
10.25.97.180       object1-test

# object2
10.25.97.180       object2-test

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-08-19 08:04:03 -0500

Tiger gravatar image

please put these line in default session also.

[default]
rabbit_hosts=['controller-test:5672']
rabbit_host = controller-test
rabbit_userid = openstack
rabbit_password = vmadmin123 
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-16 08:36:26 -0500

Seen: 909 times

Last updated: Aug 18 '16