shrey_chauhan's profile - activity

2020-06-27 04:23:09 -0600 received badge  Famous Question (source)
2020-06-25 02:09:40 -0600 received badge  Notable Question (source)
2020-06-25 02:09:40 -0600 received badge  Popular Question (source)
2020-06-24 04:42:22 -0600 commented question python-openstackclient not working 'ImportError: No module named queue'

I have python2.7, centos 7 I tried installing using 'pip install python-openstackclient' it got installed but i am getting this error

2020-06-23 06:40:36 -0600 asked a question python-openstackclient not working 'ImportError: No module named queue'

Tried installing python-openstackclient==3.14.3, but the python client is giving error....tried the latest version as well

Error:

[root@test-001test]# openstack
Traceback (most recent call last):
  File "/usr/bin/openstack", line 5, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 23, in <module>
    from osc_lib import shell
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 33, in <module>
    from osc_lib.cli import client_config as cloud_config
  File "/usr/lib/python2.7/site-packages/osc_lib/cli/client_config.py", line 18, in <module>
    from openstack.config import exceptions as sdk_exceptions
  File "/usr/lib/python2.7/site-packages/openstack/__init__.py", line 16, in <module>
    import openstack.config
  File "/usr/lib/python2.7/site-packages/openstack/config/__init__.py", line 17, in <module>
    from openstack.config.loader import OpenStackConfig  # noqa
  File "/usr/lib/python2.7/site-packages/openstack/config/loader.py", line 33, in <module>
    from openstack.config import cloud_region
  File "/usr/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 44, in <module>
    from openstack import proxy
  File "/usr/lib/python2.7/site-packages/openstack/proxy.py", line 24, in <module>
    from openstack import resource
  File "/usr/lib/python2.7/site-packages/openstack/resource.py", line 49, in <module>
    from openstack import utils
  File "/usr/lib/python2.7/site-packages/openstack/utils.py", line 13, in <module>
    import queue
ImportError: No module named queue

Can someone help with this? stuck here

Thanks

2020-06-21 19:07:39 -0600 received badge  Famous Question (source)
2020-04-01 06:13:46 -0600 received badge  Famous Question (source)
2020-03-02 00:05:17 -0600 received badge  Famous Question (source)
2020-02-23 14:01:51 -0600 received badge  Notable Question (source)
2020-02-18 02:17:09 -0600 received badge  Popular Question (source)
2020-02-16 01:26:22 -0600 asked a question Create volume from snapshot with a different volume type than snapshot volume type

I am trying to create volumes from snapshot with a volume type, but my new volume is showing the same volume type which was the volume type of the original volume from which the snapshot was taken. I thought when I create a volume from snap I can give any type, but its not happening? Am I doing something wrong here. Any suggestion on this

2020-01-16 09:29:03 -0600 received badge  Notable Question (source)
2020-01-15 00:11:01 -0600 received badge  Enthusiast
2020-01-14 08:02:21 -0600 commented answer Not able to take full volume backup, if there is a chain of backups exists

Is there any alternative for this, I want to keep 15 days of backup of a volume and delete older, but because of this constraint I am not able to. Can we remove/update any database entry somehow to break the dependency

2020-01-14 07:59:13 -0600 commented answer Not able to take full volume backup, if there is a chain of backups exists

Are you serious its not there before Stein release, but I went through queens docs of backup/restore nothing like this is mentioned over there that full backup cant be taken after incremental backup for ceph backend I am using queens version of openstack and yes ceph backend

2020-01-13 05:03:39 -0600 received badge  Popular Question (source)
2020-01-13 04:35:58 -0600 received badge  Popular Question (source)
2020-01-11 02:02:11 -0600 asked a question Not able to take full volume backup, if there is a chain of backups exists

There is a scenario where I want to remove dependencies from older backups of one of the volume, but when I try to take full backup using: openstack volume backup create --force VOLUME(without giving the incremental flag), It still shows as incremental backup as there is a chain of backups already exists which I want to break by creating a full backup. Hence I am unable to delete older backups. What am I doing wrong here, how do I take a full when I have an existing full backup and few incremental backups of a volume.

2019-12-12 03:20:46 -0600 asked a question If I create volume heat resource using a backup_id, can we resize it after creation

When I create a volume resource using backup_id I do not mention size attribute, now there is a use case where I want to resize the volume but not able to as there is no size attribute. How do I resize my volume in this case?

2019-12-12 03:11:17 -0600 received badge  Notable Question (source)
2019-12-12 03:10:42 -0600 received badge  Notable Question (source)
2019-12-12 03:10:42 -0600 received badge  Famous Question (source)
2019-12-12 03:10:42 -0600 received badge  Popular Question (source)
2019-11-14 23:04:43 -0600 received badge  Popular Question (source)
2019-10-29 02:38:26 -0600 asked a question Why can not we delete a volume with snapshot, what is the dependency?

I understand A Cinder snapshot is a point-in-time, read-only copy of a Cinder volume. Once the snapshot is created, why is it not allowed to delete the parent volume.

2019-09-25 06:38:41 -0600 asked a question In Queens, how can we resize boot volume through heat, as in my template when I change size it says cant resize "in-use" volume

When I change size of volume resource in my template, when I change size it says cant resize "in-use" volume

2017-06-22 01:36:02 -0600 asked a question Hostname of vms, how they are assigned? if the VM name gets updated, what happens to the hostname

Hi I have a doubt here, if I have VM with name: 'instance1', if I do a service call on this with this OS-EXT-SRV-ATTR:host, what should it return the host name of the VM or the hostname on which it is hosted and what would OS-EXT-SRV-ATTR:hypervisor_hostname will return what I am experiencing is OS-EXT-SRV-ATTR:host and ATTR:hypervisor_hostname both are returning the same, and neither is "instance1.domain.com"

How can I get the host name of a virtual machine?