Ask Your Question

Sibasankar's profile - activity

2019-03-15 08:56:19 -0500 answered a question ImportError: cannot import name decorate

Thank you. pip upgrade has solved the issue.

2019-03-15 08:53:09 -0500 received badge  Notable Question (source)
2019-03-15 08:53:09 -0500 received badge  Popular Question (source)
2019-03-15 02:35:04 -0500 asked a question ImportError: cannot import name decorate

Hi Friends,

After successfully re-installation of multi node open stack deployment, we are getting error in last command. Now we are stuck and not found the way to resolve it. Kindly help us to resolve the below mentioned issue.

[root@deployment tools]# ./init-runonce

Traceback (most recent call last):
  File "/usr/bin/openstack", line 7, 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 17, in <module>
    import openstack.connection
  File "/usr/lib/python2.7/site-packages/openstack/connection.py", line 166, in <module>
    from openstack.cloud import openstackcloud as _cloud
  File "/usr/lib/python2.7/site-packages/openstack/cloud/openstackcloud.py", line 35, in <module>
    import dogpile.cache
  File "/usr/lib/python2.7/site-packages/dogpile/cache/__init__.py", line 1, in <module>
    from .region import CacheRegion, register_backend, make_region  # noqa
  File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 15, in <module>
    **from decorator import decorate
ImportError: cannot import name decorate**
Checking for locally available cirros image.
Creating glance image.
Traceback (most recent call last):
  File "/usr/bin/openstack", line 7, 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 17, in <module>
    import openstack.connection
  File "/usr/lib/python2.7/site-packages/openstack/connection.py", line 166, in <module>
    from openstack.cloud import openstackcloud as _cloud
  File "/usr/lib/python2.7/site-packages/openstack/cloud/openstackcloud.py", line 35, in <module>
    import dogpile.cache
  File "/usr/lib/python2.7/site-packages/dogpile/cache/__init__.py", line 1, in <module>
    from .region import CacheRegion, register_backend, make_region  # noqa
  File "/usr/lib/python2.7/site-packages/dogpile/cache/region.py", line 15, in <module>
    from decorator import decorate
ImportError: cannot import name decorate
Configuring neutron.
Traceback (most recent call last):
  File "/usr/bin/openstack", line 7, 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 17, in <module>
    import openstack.connection
  File "/usr/lib/python2.7/site-packages/openstack/connection ...
(more)
2019-03-11 10:34:38 -0500 received badge  Popular Question (source)
2019-03-11 05:33:14 -0500 answered a question Please specify data store No default data store is defined

Hi,

We go through the above link and we are gating error. Please find below the error.

trove create mysql_instance_1 6 --size 50 --databases mysqlDB --users dbuser:mydb123 --datastore_version mysql-5.5 --datastore mysql

ERROR: Validation error: instance['volume']['type'] None is not of type 'string' (HTTP 400)

2019-03-08 03:13:57 -0500 asked a question Please specify data store No default data store is defined

Hi Openstack, We are trying to make trove database instance in devstack rocky, but we are getting error. Please find below the error details.

COMMAND:- trove create my-inst a51184af-9646-4f86-8978-0edaa955502d --size 100 --volume_type lvmdriver-1

ERROR: Please specify datastore. No default datastore is defined. (HTTP 400)

2019-02-19 01:55:43 -0500 received badge  Popular Question (source)
2019-02-06 05:19:57 -0500 commented question Cinder volume keep going down after few seconds.

How to configure as mount.nfs. Can you please share any document regarding this.

2019-02-06 05:19:57 -0500 answered a question Cinder volume keep going down after few seconds.

Please find the storage node configuration

[root@compute1 ~]# pvdisplay --- Physical volume --- PV Name /dev/md126p3 VG Name rhel PV Size <139.71 GiB / not usable 4.00 MiB Allocatable yes PE Size 4.00 MiB Total PE 35764 Free PE 1 Allocated PE 35763 PV UUID Vdt4IJ-XQrc-bYmI-iAuH-MbIZ-IrU4-w5wD0S

--- Physical volume --- PV Name /dev/md126p2 VG Name cinder-volumes PV Size <232.84 GiB / not usable 4.00 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 59605 Free PE 0 Allocated PE 59605 PV UUID H2DwKr-HzEY-eH1v-enPT-ZXJr-qd2G-eTcJYl

[root@compute1 ~]# vgdisplay --- Volume group --- VG Name rhel System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size 139.70 GiB PE Size 4.00 MiB Total PE 35764 Alloc PE / Size 35763 / <139.70 GiB Free PE / Size 1 / 4.00 MiB VG UUID 4omb9k-dwxg-FF89-FHRf-Mj6z-CQqv-epvcOS

--- Volume group --- VG Name cinder-volumes System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 2 VG Access read/write VG Status resizable MAX LV 0 Cur LV 1 Open LV 1 Max PV 0 Cur PV 1 Act PV 1 VG Size 232.83 GiB PE Size 4.00 MiB Total PE 59605 Alloc PE / Size 59605 / 232.83 GiB Free PE / Size 0 / 0 VG UUID 63Kpwf-Qc6z-t3XU-2LHS-l2KL-SK6e-0D0F8l

[root@compute1 ~]#

2019-02-06 01:02:00 -0500 asked a question Cinder volume keep going down after few seconds.

Hi we are first time installed devstack on RHEL 7 and We observe cinder-volume and cinder-backup going down after few seconds. Kindly help us we are stuck.

Please find below the logs of cinder-volume,cinder-backup and cinder-scheduler logs.

cinder-volume

(cinder-volume)[cinder@compute1 /]$ vi /var/log/kolla/cinder/cinder-volume.log 2019-02-06 11:43:20.568 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:43:30.568 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:43:31.402 33 WARNING cinder.volume.manager [req-ddc20724-8ced-4b4b-b8eb-09ab65fb59f4 - - - - -] Update driver status failed: (config name lvm-1) is uninitialized. 2019-02-06 11:43:40.569 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:43:50.569 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:00.570 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:10.571 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:20.571 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:30.572 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:31.403 33 WARNING cinder.volume.manager [req-ddc20724-8ced-4b4b-b8eb-09ab65fb59f4 - - - - -] Update driver status failed: (config name lvm-1) is uninitialized. 2019-02-06 11:44:40.573 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:44:50.573 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:45:00.574 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:45:10.574 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:45:20.575 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:45:30.576 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down". 2019-02-06 11:45:31.404 33 WARNING cinder.volume.manager [req-ddc20724-8ced-4b4b-b8eb-09ab65fb59f4 - - - - -] Update driver status failed: (config name lvm-1) is uninitialized. 2019-02-06 11:45:40.576 33 ERROR cinder.service [-] Manager for service cinder-volume compute1@lvm-1 is reporting problems, not sending heartbeat. Service will appear "down".

cinder-backup

(cinder-volume)[cinder@compute1 /]$ vi /var/log/kolla/cinder/cinder-backup.log 2019-02-06 11:50:50.426 ... (more)