Ask Your Question

SSK's profile - activity

2019-07-16 10:22:35 -0600 received badge  Famous Question (source)
2019-07-16 10:22:35 -0600 received badge  Notable Question (source)
2019-07-16 10:22:35 -0600 received badge  Popular Question (source)
2018-11-03 14:56:56 -0600 received badge  Good Question (source)
2017-07-27 07:14:48 -0600 received badge  Nice Question (source)
2017-04-27 08:31:14 -0600 received badge  Student (source)
2017-02-24 01:08:45 -0600 received badge  Popular Question (source)
2017-02-23 01:40:00 -0600 received badge  Famous Question (source)
2017-02-22 06:35:28 -0600 commented question Issue with Instance Creation using API.

I'm new to the Openstack, can you please tell me what command i need to execute it?

2017-02-22 03:05:32 -0600 asked a question Issue with Instance Creation using API.

Whenever I'm trying to create the Instance using the API, I'm getting the following error.

 #General Error:You can't use this block storage device status:error#Volume Delete:Volume 2cc0e135-8079-4b96-a5ba-88752aa9f29e could not be found.

What would be issue ?

2017-02-21 22:25:17 -0600 commented question nova_policy.json issues while creating instances

Thanks. Totally understood.

2017-02-21 12:19:15 -0600 asked a question nova_policy.json issues while creating instances

I'm trying to execute the Create Instance through the OpenStack API but it giving me following error.

 #General Error:Policy doesn't allow os_compute_api:os-flavor-manage to be performed.#Flavor Delete:Policy doesn't allow os_compute_api:os-flavor-manage to be performed.

The interesting part is Ive made changes to following file and still getting the same error.

/etc/openstack-dashboard/nova_policy.json:    "os_compute_api:os-flavor-manage:discoverable": "@",
/etc/openstack-dashboard/nova_policy.json:"os_compute_api:os-flavor-manage": "",

Once I changed I've restarted the following services.

systemctl restart openstack-nova-api.service
systemctl restart openstack-nova-cert.service
systemctl restart openstack-nova-consoleauth.service
systemctl restart openstack-nova-scheduler.service
systemctl restart openstack-nova-conductor.service
systemctl restart libvirtd.service
systemctl restart openstack-nova-compute.service

Please suggest

2017-02-21 03:35:53 -0600 received badge  Notable Question (source)
2017-02-21 03:01:00 -0600 commented answer Block Device Mapping is Invalid.

Perfect!! Working :-)

2017-02-21 03:00:43 -0600 received badge  Scholar (source)
2017-02-21 03:00:41 -0600 received badge  Supporter (source)
2017-02-21 01:16:21 -0600 commented question Block Device Mapping is Invalid.

I found three log files in /var/log/cinder/

api.log  backup.log  cinder-manage.log  scheduler.log  volume.log

Which one you would like me to check.

2017-02-21 00:17:30 -0600 received badge  Popular Question (source)
2017-02-20 16:29:56 -0600 asked a question Block Device Mapping is Invalid.

Recently, I've installed OpenStack and Using the Horizon I tried to create the instance. Server responding with following error. However, only Cirros is working perfectly, when I try to create the instance and other any image uploaded file is getting failed.

If I try to create the instance using same image file which is getting failed at Horizon but it works at command prompt. So I was able to create instance using command prompt but not form the Horizon.

Message
    Build of instance 5a583a47-1f53-462f-8199-4efabcad5144 aborted: Block Device Mapping is Invalid.
Code        500
Details
    File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1779, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1939, in _build_and_run_instance 'create.error', fault=e) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1904, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2066, in _build_resources reason=e.format_message()) 
Created
    Feb. 20, 2017, 5:44 p.m.

What would be the issues ? I tried couple of things but it is not working.