Ask Your Question

alaludan's profile - activity

2018-05-03 02:45:37 -0600 received badge  Famous Question (source)
2017-09-22 00:04:43 -0600 received badge  Famous Question (source)
2017-09-16 04:47:20 -0600 received badge  Enthusiast
2017-09-15 20:49:20 -0600 asked a question how to configuration SSL on newton?

how to configuration SSL on newton?

2017-08-04 11:20:44 -0600 received badge  Notable Question (source)
2017-07-17 02:57:06 -0600 received badge  Popular Question (source)
2017-07-13 23:16:20 -0600 received badge  Notable Question (source)
2017-07-12 20:53:40 -0600 asked a question OSError: [Errno 13] Permission denied: '/var/lib/nova/tmp'

I'm installing newton on centos7.3 and when i try to start openstack-nova-api.service return as below error: i try to execute as below command

chmod -R 777 /var/lib/nova chown -R nova.nova /var/lib/nova

but the issue still exists.

2017-07-12 15:45:03.062 3609 ERROR nova do_log=False, semaphores=semaphores, delay=delay): 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ 2017-07-12 15:45:03.062 3609 ERROR nova return self.gen.next() 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 216, in lock 2017-07-12 15:45:03.062 3609 ERROR nova ext_lock.acquire(delay=delay) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 151, in acquire 2017-07-12 15:45:03.062 3609 ERROR nova self._do_open() 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 115, in _do_open 2017-07-12 15:45:03.062 3609 ERROR nova made_basedir = _ensure_tree(basedir) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib/python2.7/site-packages/fasteners/process_lock.py", line 37, in _ensure_tree 2017-07-12 15:45:03.062 3609 ERROR nova os.makedirs(path) 2017-07-12 15:45:03.062 3609 ERROR nova File "/usr/lib64/python2.7/os.py", line 157, in makedirs 2017-07-12 15:45:03.062 3609 ERROR nova mkdir(name, mode) 2017-07-12 15:45:03.062 3609 ERROR nova OSError: [Errno 13] Permission denied: '/var/lib/nova/tmp' 2017-07-12 15:45:03.062 3609 ERROR nova

2017-07-12 20:39:23 -0600 answered a question [Newton/Ocata]Instance can not boot and power status is paused

This issue was solved. The causes is flavor's memory too small. Modify the memory size the issue was solved.

2017-07-12 20:38:08 -0600 received badge  Popular Question (source)
2017-06-24 03:33:00 -0600 commented answer [Newton/Ocata]Instance can not boot and power status is paused

I use this command to reset-state but the issue still unsolved and i think this command only reset the status to active not power status to active.

2017-06-22 07:15:48 -0600 asked a question [Newton/Ocata]Instance can not boot and power status is paused

Hi All: I was installed Newton and Ocata and found as the same issue. Instance can not start up when i boot instance and found the power status is paused. I check nova-compuet.log found as below info: During _sync_instance _power_state the DB power_state(1) does not match the vm_power_state from the hypervisor (3).Updateing power_state in the DB to match the hypervisor. Instance is paused unexpectedly.Ignore

2016-10-20 04:48:59 -0600 received badge  Popular Question (source)
2016-08-23 00:46:10 -0600 asked a question how to configuration tenant use vlan mode with linux briage on liberty

Dear Expert: Who has been configuration tenant use vlan mode with linux briage on liberty? I follow official install guide to install liberty with centos7.1 and the network i use the Self-service networks model. Now i can create network and boot instance but the instance can not get id from dhcp. I don't know how to check this issue.As below is my config: controller nova.conf: [DEFAULT] rpc_backend = rabbit auth_strategy = keystone my_ip = 192.168.0.254 network_api_class = nova.network.neutronv2.api.API security_group_api = neutron linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver firewall_driver = nova.virt.firewall.NoopFirewallDriver enabled_apis = osapi_compute,metadata verbose = True state_path = /home/nova

[database] connection = mysql://nova:123456@192.168.0.254/nova

[vnc] vncserver_listen = 192.168.0.254 vncserver_proxyclient_address = 192.168.0.254

[oslo_concurrency] lock_path = /var/lib/nova/tmp

[oslo_messaging_rabbit] rabbit_host = 192.168.0.254 rabbit_userid = openstack rabbit_password = 123456

[keystone_authtoken] auth_uri = http://192.168.0.254:5000/ auth_url = http://192.168.0.254:35357/ auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = nova password = 123456

[glance] host = 192.168.0.254

[neutron] url = http://192.168.0.254:9696/ auth_url = http://192.168.0.254:35357/

admin_auth_url=http://192.168.0.254:35357/v2.0

auth_plugin = password project_domain_id = default user_domain_id = default region_name = RegionOne project_name = service username = neutron password = 123456 service_metadata_proxy = True metadata_proxy_shared_secret = 123456

controller neutron.conf [DEFAULT] core_plugin = ml2 service_plugins = router allow_overlapping_ips = True rpc_backend = rabbit auth_strategy = keystone notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://192.168.0.254:8774/v2 verbose = True

[database] connection = mysql://neutron:123456@192.168.0.254/neutron

[oslo_messaging_rabbit] rabbit_host = 192.168.0.254 rabbit_userid = openstack rabbit_password = 123456

[keystone_authtoken] auth_uri = http://192.168.0.254:5000 auth_url = http://192.168.0.254:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = service username = neutron password = 123456

[nova] auth_url = http://192.168.0.254:35357 auth_plugin = password project_domain_id = default user_domain_id = default region_name = RegionOne project_name = service username = nova password = 123456

[oslo_concurrency] lock_path = /var/lib/neutron/tmp

controller ml2_conf.ini [ml2] type_drivers = flat,vlan,vxlan tenant_network_types = vlan mechanism_drivers = linuxbridge,l2population extension_drivers = port_security

[ml2_type_vlan] network_vlan_ranges = physnet:98:98

[securitygroup] enable_ipset = True

controller linuxbridge_agent.ini [linux_bridge] physical_interface_mappings = physnet:eth1

[vxlan] enable_vxlan = False

[agent] prevent_arp_spoofing = True

[securitygroup] enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

i use as below command to create net,subnet and boot instance.

neutron subnet-create --allocation-pool start=192.168.1.2,end=192.168.1.250 --name MCAS-SUBNET NET98 192.168.1.0/24 --enable-dhcp

neutron net-create NET98 --provider:network_type vlan --provider:physical_network physnet --provider:segmentation_id 98 --shared

nova boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=c737a174-c6b6-4ff7-a1aa-4708c321114b --security-group default --key-name admin-key test

neutron net-list

+--------------------------------------+-------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+-------+-----------------------------------------------------+ | c737a174-c6b6-4ff7-a1aa-4708c321114b | NET98 | 513993ed-dec8-48f4-a59b-a07ead75bbac 192.168.1.0/24 | +--------------------------------------+-------+-----------------------------------------------------+

nova list

+--------------------------------------+------+--------+------------+-------------+-------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+------+--------+------------+-------------+-------------------+ | 7efcee57-ab65-4f0d-af12-0da7ad7788ae | test | ACTIVE | - | Running | NET98=192.168.1.3 | +--------------------------------------+------+--------+------------+-------------+-------------------+

2016-08-21 21:53:32 -0600 asked a question liberty nova boot instance return ERROR (ClientException): Unexpected API Error.

Dear expert: I follow the official install guide of liberty and met as below issue when i use nova boot to start an instance: nova boot instance return ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. (HTTP 500) (Request-ID: req-6eeeb03c-6df6-40c1-bd67-f47a163710b2)

nova-api.log: 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions [req-6eeeb03c-6df6-40c1-bd67-f47a163710b2 1d36b9c5da054434ae96d3db819602f9 0ef15fbe398446509019de34154d64aa - - -] Unexpected exception in API method 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions Traceback (most recent call last): 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/extensions.py", line 478, in wrapped 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions return f(args, kwargs) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/validation/__init__.py", line 73, in wrapper 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions return func(args, *kwargs) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/api/openstack/compute/servers.py", line 611, in create 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions *create_kwargs) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/hooks.py", line 149, in inner 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions rv = f(args, *kwargs) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1587, in create 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions check_server_group_quota=check_server_group_quota) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 1187, in _create_instance 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions auto_disk_config, reservation_id, max_count) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 923, in _validate_and_build_base_options 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions requested_networks, max_count) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/compute/api.py", line 533, in _check_requested_networks 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions max_count) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 1204, in validate_networks 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions context, neutron, requested_networks) 2016-08-22 10:41:44.707 41931 ERROR nova.api.openstack.extensions File "/usr/lib/python2.7 ... (more)

2016-07-22 01:20:04 -0600 asked a question nova imgae-create snapshot failed on kilo

Hi: I try to create snapshot for instance on kilo and both failed via cli and dashboard. from clia keeping return:"Server snapshotting... 0% complete"

nova image-create test test-snapshot --poll

Server snapshotting... 0% complete

from dashboard: return create successful but the staus is deleted and size is 0 byte.

I check compute node and find as below error from /var/log/nova/nova-compute.log 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 399, in decorated_function 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher args, *kwargs) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 399, in decorated_function 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher args, *kwargs) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3291, in snapshot_instance 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher task_states.IMAGE_SNAPSHOT) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 3321, in _snapshot_instance 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher update_task_state) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1332, in snapshot 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher context, self._image_api, base_image_ref, instance) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/utils.py", line 204, in get_image_metadata 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher image = image_api.get(context, image_id_or_uri) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/image/api.py", line 93, in get 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher show_deleted=show_deleted) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 309, in show 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher include_locations=include_locations) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 483, in _translate_from_glance 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher include_locations=include_locations) 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/image/glance.py", line 545, in _extract_attributes 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher queued = getattr(image, 'status') == 'queued' 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 491, in __getattr__ 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher self.get() 2016-07-15 14:13:32.342 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 509, in get 2016-07-15 14:13 ... (more)

2016-07-15 09:42:58 -0600 asked a question nova image-create test test-snapshot --poll error

Hi All: I want to create an snapshot for instance via cli or dashboard. I execute "nova image-create test test-snapshot --poll" but the command return as below info: Server snapshotting... 0% complete

when i use dashboard to create snapshot return create successful but the status is delete and size is 0 byte.

i check the log from compute node and get as below error: 2016-07-15 20:01:01.869 13214 ERROR oslo_messaging.rpc.dispatcher [req-708df780-2db2-49f4-9bb9-f2fc316adace 37332214ce7e47158872482ed548101c 595851df3184478a9a38dc68378d1f9b - - -] Exception during message handling: id 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher executor_callback)) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher executor_callback) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher result = func(ctxt, *new_args) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6933, in snapshot_instance 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher return self.manager.snapshot_instance(ctxt, image_id, instance) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher payload) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__ 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher return f(self, context, *args, *kw) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 333, in decorated_function 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher LOG.warning(msg, e, instance_uuid=instance_uuid) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__ 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher six.reraise(self.type_, self.value, self.tb) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 304, in decorated_function 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher return function(self, context, args, *kwargs) 2016-07-15 20:01:01.869 13214 TRACE oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/site-packages/nova/compute/manager ... (more)