Ask Your Question
0

instance build

asked 2017-09-14 17:35:32 -0500

Costas gravatar image

Hello,

I have followed all steps about openstack newton on ubuntu 16.04 and now I am not able to launch the "provider" instance.

I get "BUILD" on dashboard.

Here is the instruction that I follow:

https://docs.openstack.org/newton/install-guide-ubuntu/launch-instance-provider.html (link text)

Any idea?

Thanks, Costas

edit retag flag offensive close merge delete

Comments

Hi Costas, Dashboard doesn't give too much fault information. You need to start checking log files. The link in your question explain how to create instance via CLI. If you use CLI, you can add "--debug" parameter in to the command to see what is going wrong while your command is running.

Senol Erdogan gravatar imageSenol Erdogan ( 2017-09-15 01:30:38 -0500 )edit

Hello Senol,

Could you see below the output of ifconfig after my try to create the instance and the --debug parameter.

Also I am not able to ping on step 4 from the instructions below. https://docs.openstack.org/newton/install-guide-ubuntu/launch-instance-networks-selfservice.html (https://docs.openstack.org/newton/ins...)

Thanks, Costas

Costas gravatar imageCostas ( 2017-09-16 18:49:18 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-16 18:46:35 -0500

Costas gravatar image

Hello Senol,

Thanks fro your reply!

Could you see below the out put of --debug parameter. I dont understand whats going wrong and I am not able to launch instance successfully.

root@Controller:~# openstack server create --flavor m1.nano --image cirros --nic net-id=b867329a-e7ec-4e61-99ad-abf3cd3ef5ff --security-group default --key-name mykey provider-instance --debug

START with options: [u'server', u'create', u'--flavor', u'm1.nano', u'--image', u'cirros', u'--nic', u'net-id=b867329a-e7ec-4e61-99ad-abf3cd3ef5ff', u'--security-group', u'default', u'--key-name', u'mykey', u'provider-instance', u'--debug'] options: Namespace(access_key='', access_secret='', access_token='', access_token_endpoint='', access_token_type='', aodh_endpoint='', auth_type='', auth_url='http://controller:5000/v3', cacert=None, cert='', client_id='', client_secret='', cloud='', code='', consumer_key='', consumer_secret='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', key='', log_file=None, old_profile=None, openid_scope='', os_alarming_api_version='2', os_beta_command=False, os_clustering_api_version='1', os_compute_api_version='', os_container_infra_api_version='1', os_data_processing_api_version='1.1', os_data_processing_url='', os_database_api_version='1', os_dns_api_version='2', os_identity_api_version='3', os_image_api_version='2', os_key_manager_api_version='1', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_queues_api_version='2', os_volume_api_version='', os_workflow_api_version='2', passcode='', password='', profile=None, project_domain_id='', project_domain_name='Default', project_id='', project_name='demo', protocol='', redirect_uri='', region_name='', roles='', timing=False, token='', trust_id='', url='', user_domain_id='', user_domain_name='Default', user_id='', username='demo', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'clustering_api_version': '1', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': '1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'queues_api_version': '2', 'auth': {'user_domain_name': 'Default', 'project_name': 'demo', 'project_domain_name': 'Default'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': '', u'application_catalog_api_version': u'1', 'cacert': None, u'key_manager_api_version': '1', u'metering_api_version': u'2', 'deferred_help': False, u'identity_api_version': '3', 'workflow_api_version': '2', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'status': u'active', 'alarming_api_version': '2', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'container_infra_api_version': u'1', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'application_catalog_api_version': u'1', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': '1', 'data_processing_api_version': '1.1', 'auth_url': 'http://controller:5000/v3', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': '2', 'clustering_api_version': '1', 'verify': True, u'dns_api_version': '2', u'object_store_api_version': u'1', 'username': 'demo', u'container_infra_api_version': '1', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, u'baremetal_api_version': u'1', 'queues_api_version': '2', 'auth ... (more)

edit flag offensive delete link more

Comments

What compute logs say? Before the creation command;

  • On the controller node; tail -f /var/log/nova/nova-api.log /var/log/nova/nova-conductor.log /var/log/nova/nova-scheduler.log |grep ERROR

  • On the compute nodes; tail -f /var/log/nova/nova-compute.log |grep ERROR

Senol Erdogan gravatar imageSenol Erdogan ( 2017-09-17 13:52:10 -0500 )edit

Senol, root@Controller:~#tail -f /var/log/nova/nova-api.log | grep ERROR 2017-09-18 00:38:45.923 3406 ERROR nova.compute.api [req-64f30ae9-bd34-4c5f-bb50-21904f8d56e4 42926646ba9e44f78821909af39ac946 d680cfd5345a4406983fdf7bc70a8992 - default default] No cells are configured, unable to list instance

Costas gravatar imageCostas ( 2017-09-17 16:57:20 -0500 )edit

root@Controller:~# tail -f /var/log/nova/nova-scheduler.log | grep ERROR

root@Controller:~# tail -f /var/log/nova/nova-conductor.log | grep ERROR

root@Compute:~# tail -f /var/log/nova/nova-api.log | grep ERROR

Costas gravatar imageCostas ( 2017-09-17 16:57:34 -0500 )edit

Senol you are able to see the output of all.

keep in mind that the specific output is after the creation command. I will send you and the before creation command

Costas gravatar imageCostas ( 2017-09-17 17:00:52 -0500 )edit

The error that you see is related to the Placement service, which in your case is missing. However, this service is optional in Newton, so you can disable it if you want to save some headache by now. Take a look if in nova.conf you have anything uncommented under [placement].

unusualfor gravatar imageunusualfor ( 2017-09-17 17:29:11 -0500 )edit

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: 2017-09-14 17:35:32 -0500

Seen: 174 times

Last updated: Sep 16 '17