fnawaz's profile - activity

2016-02-09 01:07:11 -0600 received badge  Famous Question (source)
2016-01-21 01:59:15 -0600 received badge  Famous Question (source)
2015-12-24 07:33:02 -0600 answered a question how to obtain username and password for dashboard login?

Change the user password via keystone and then access the dashboard

keystone user-password-update [--pass new_password] username

2015-12-24 07:28:28 -0600 answered a question VM creation failure :NovaException: Unexpected vif_type=binding_failed

to set the hostname do the following edit /etc/hosts and add the line below your_ip hostname_desired edit /etc/hostname file and put your desired hostname there .. done..

2015-12-24 07:24:38 -0600 commented question Private network can not access internet?

not enough input for us to solve .. you need to provide your openvswitch bridge configurations ..

2015-12-24 07:15:43 -0600 answered a question configure horizon to use openstack client

Make sure to put same admin token as in keystone.conf to admin-openrc.sh or keystone-rc.sh. Check the endpoints. I think the keystone is giving authorization failure errors. So make sure you use proper credentials everywhere including endpoints and admin name and service name.. check OS_TENANT_NAME also try with admin and service which ever you used while creation.

2015-12-24 01:30:15 -0600 answered a question How to change the size of the vnc window?

edit the iframe in
/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/instances/templates/instances/_detail_console.html

2015-12-24 01:16:38 -0600 answered a question [Error: No valid host was found. There are not enough hosts available.].

since in logs the error was too many connections in db.. try modify the mysql configuration file my.cnf .... add the following "max_connections = 1000" in [mysqld] section ..

2015-12-24 00:41:22 -0600 commented answer How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

now I am able to store created images in remote machine also .. we need to give the mounted directory path to filesystem_store_data_datadir .. in controller

mount 192.168.1.20:/tmp/images /images

then in glance api-conf filesystem_store_datadir=/images thats it..

2015-12-24 00:41:22 -0600 received badge  Commentator
2015-12-24 00:37:38 -0600 commented answer How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

Hey I found where the created images are being stored .. the path which you give in filesystem_store_datadir in glance-api.conf the created images will be stored in that folder only.. I knew before but it was not storing in /images becauses it was unmounted .. I mounted /images and now all fine

2015-12-24 00:33:04 -0600 received badge  Enthusiast
2015-12-23 22:28:23 -0600 received badge  Notable Question (source)
2015-12-23 09:50:56 -0600 received badge  Student (source)
2015-12-22 23:50:54 -0600 received badge  Scholar (source)
2015-12-22 23:50:50 -0600 received badge  Supporter (source)
2015-12-22 23:48:36 -0600 commented answer How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

Worked like a charm .. but where the created image is getting stored .. I checked /var/lib/glance/images in controller.. the created image was not there.. do you have any idea where it might be?? although from the dashboard the generated image is accessible .. :-)

2015-12-22 20:37:50 -0600 received badge  Popular Question (source)
2015-12-22 08:14:19 -0600 answered a question live migration fails, the status of VM keeps showing migrating and it can not change to active any more

To enable live migration you must have shared storage for both compute nodes .. Also you need to configure ssh to enable passwordless access between the compute nodes .. Note that nova user of compute node 1 should be able to log in via ssh to compute node 2 's nova

2015-12-22 08:06:14 -0600 commented question Problem nova-network

I think ip route add default via x.x.x.x command should be given in interfaces file .. then try to restart the services

2015-12-22 07:52:34 -0600 commented question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

here is what I am getting while running "ls -l / | grep images" in controller .. drwxrwxrwx. 2 1001 1001 41 Dec 22 08:47 images

I changed the ownership of mounted folder to glance but it is showing 1001.. For your reference..

2015-12-22 07:41:53 -0600 commented question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

yeah .. I created text files in /images(192.168.1.10) and the saved changes is reflected immediately in 192.168.1.20..

2015-12-22 07:39:02 -0600 commented question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

This is the URL which I tried https://ask.openstack.org/en/question/81632/glance-error-in-store-configuration-adding-images-to-store-is-disabled/ (https://ask.openstack.org/en/question...). I created a user in 192.168.1.20 glance and changed the owner ship of /images folder from root to glance . still same error while image create command

2015-12-22 07:14:12 -0600 received badge  Editor (source)
2015-12-22 07:07:59 -0600 commented question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

The log from /var/log/glance/api.log .. but donno what is the solution for the above :-(

2015-12-22 07:01:24 -0600 commented question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

yes it is running ... I restarted glance api and regitry services both.. after modifying the glance-api.conf file

2015-12-22 06:48:31 -0600 asked a question How to configure glance to store images created by "glance image-create" in a remote machine which have nfs server?

I have configured openstack controller in 192.168.1.10

I have NFS server configured in 192.168.1.20 and in the same machine /images I want to store all the images which will be created by "glance image-create" command .. I have put cirros-0.3.3-x86_64-disk.img file in /images folder in 192.168.1.20 and /images folder is mountable...

Currently the default path of the "glance image-create" is /var/lib/glance/images (which is openstack's default) in 192.168.1.10 where I have configured the controller

The NFS server at 192.168.1.20 will be dedicated for images..

In controller that is 192.168.1.10 I have mounted 192.168.1.20's/images folder in /images.

So to configure as above I changed the glance-api.conf file as " .... [glance_store] ..... filesystem_store_datadir = /images ..... " So now cirros-0.3.3-x86_64-disk.img is available in /images in 192.168.1.10 Now when I am doing glance image-create --name "cirros-0.3.3-x86_64_nfs" --file /images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --is-public True --progress at the terminal of controller

It is giving error

<html> <head> <title>410 Gone</title> </head> <body>

410 Gone

Error in store configuration. Adding images to store is disabled.

</body> </html> (HTTP N/A)

So how to configure the glance for my above situation ??

Here is my glance-api.conf

[DEFAULT] notification_driver = noop verbose = True

[database] connection = mysql://glance:myglance@controller/glance

[keystone_authtoken] auth_uri = http://controller:5000/v2.0 identity_uri = http://controller:35357 admin_tenant_name = service admin_user = glance admin_password = glance96

[paste_deploy] flavor = keystone

[store_type_location_strategy]

[profiler] [task] [glance_store] default_store = file filesystem_store_datadir = /images/

Is that configuration Okay??

Here is the log file /var/log/glance/api.log

2015-12-22 08:35:18.644 27277 ERROR glance.api.v1.upload_utils [aad9aa3e-273e-406d-b708-610194d445fb 721760a70dd64d00b3c4bb341d004a15 408336c84c1347eea93b826eca46c82f - - -] Error in store configuration. Adding images to store is disabled. 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils Traceback (most recent call last): 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance/api/v1/upload_utils.py", line 113, in upload_data_to_store 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils context=req.context) 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance_store/backend.py", line 331, in store_add_to_backend 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils context=context) 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils File "/usr/lib/python2.7/site-packages/glance_store/driver.py", line 128, in add_disabled 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils raise exceptions.StoreAddDisabled 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils StoreAddDisabled: None 2015-12-22 08:35:18.644 27277 TRACE glance.api.v1.upload_utils 2015-12-22 08:35:18.869 27277 INFO glance.wsgi.server [aad9aa3e-273e-406d-b708-610194d445fb 721760a70dd64d00b3c4bb341d004a15 408336c84c1347eea93b826eca46c82f - - -] 135.249.35.68 - - [22/Dec/2015 08:35:18] "POST /v1/images HTTP/1.1" 410 386 0.929409

2015-12-22 06:26:00 -0600 received badge  Notable Question (source)
2015-12-21 00:17:50 -0600 received badge  Popular Question (source)
2015-12-18 02:47:10 -0600 commented answer how to use openstack to take snapshot of existing windows lab and redploy using openstack?

Ok I will update after implementing .. thank you :-)

2015-12-18 02:46:05 -0600 answered a question how to use openstack to take snapshot of existing windows lab and redploy using openstack?

Ok .. I will update here after implementing as you suggested.. ..Thanks

2015-12-16 23:58:45 -0600 asked a question how to use openstack to take snapshot of existing windows lab and redploy using openstack?

Hi ..

I have a lab of 30 computers with windows.

I have this high end server with openstack installed.

I want to take the snapshot of current windows lab and then I want to use openstack to manae those images so that current lab settings will not be hampered and people working in the labs will feel no difference.

Obviously the current machine will only be used to access openstack managed windows os's

What is the sequence of steps I need to do for the above to make it possible?