Re: [openstack-dev] devstack installation problem

2015-07-12 Thread Skyler Berg
I just ran into this issue because I was installing a package that was
bringing in keystonemiddleware 1.5.x which was downgrading pbr to 1.0.
I fixed this problem by upgrading keystonemiddleware to 2.x.x with:

pip install -U keystonemiddleware

After that, devstack worked fine again.

This break happened after the RDO packages used in devstack were changed
from Juno to Kilo.

Skyler Berg


The 07/11/2015 18:18, Jeremy Stanley wrote:
 On 2015-07-11 18:09:26 + (+), Jeremy Stanley wrote:
  On 2015-07-11 22:49:27 +0530 (+0530), Venkateswarlu P wrote:
   After running ./stack.sh
   I am getting the following error.
   
   015-07-11 17:01:02.188 | error in setup command: 'tests_require' must
   be a string or list of strings containing valid project/version 
   requirement
   specifiers; Expected ',' or end-of-list in
   python-ldap=2.4;python_version=='2.7' at ;python_version=='2.7'
  [...]
  
  That's an indication something's dragging in an older PBR release
  that didn't know not to copy environment markers into tests_require.
  Without more of the logs indicating what installed which versions of
  PBR and why, it's hard to tell you any more than that. Are you
  running from the DevStack master branch or a stable/something
  branch?
 
 Oh, I also meant to add that if you're re-running stack.sh on a
 machine where you've already run it before, this is a known issue.
 See https://launchpad.net/bugs/1468808 for a detailed explanation
 and current workaround.
 -- 
 Jeremy Stanley
 
 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] devstack installation problem

2015-07-11 Thread Jeremy Stanley
On 2015-07-11 18:09:26 + (+), Jeremy Stanley wrote:
 On 2015-07-11 22:49:27 +0530 (+0530), Venkateswarlu P wrote:
  After running ./stack.sh
  I am getting the following error.
  
  015-07-11 17:01:02.188 | error in setup command: 'tests_require' must
  be a string or list of strings containing valid project/version requirement
  specifiers; Expected ',' or end-of-list in
  python-ldap=2.4;python_version=='2.7' at ;python_version=='2.7'
 [...]
 
 That's an indication something's dragging in an older PBR release
 that didn't know not to copy environment markers into tests_require.
 Without more of the logs indicating what installed which versions of
 PBR and why, it's hard to tell you any more than that. Are you
 running from the DevStack master branch or a stable/something
 branch?

Oh, I also meant to add that if you're re-running stack.sh on a
machine where you've already run it before, this is a known issue.
See https://launchpad.net/bugs/1468808 for a detailed explanation
and current workaround.
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] devstack installation problem

2015-07-11 Thread Venkateswarlu P
Hi all,

After running ./stack.sh
I am getting the following error.


015-07-11 17:01:02.188 | error in setup command: 'tests_require' must
be a string or list of strings containing valid project/version requirement
specifiers; Expected ',' or end-of-list in
python-ldap=2.4;python_version=='2.7' at ;python_version=='2.7'
2015-07-11 17:01:02.188 |
2015-07-11 17:01:02.188 | 
2015-07-11 17:01:02.188 | Command python setup.py egg_info failed with
error code 1 in /home/venkat/codebase/keystone



complete description is in the link:   http://paste.ubuntu.com/11862076/

Can someone can help?

-Venkatesh
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] devstack installation problem

2015-07-11 Thread Jeremy Stanley
On 2015-07-11 22:49:27 +0530 (+0530), Venkateswarlu P wrote:
 After running ./stack.sh
 I am getting the following error.
 
 015-07-11 17:01:02.188 | error in setup command: 'tests_require' must
 be a string or list of strings containing valid project/version requirement
 specifiers; Expected ',' or end-of-list in
 python-ldap=2.4;python_version=='2.7' at ;python_version=='2.7'
[...]

That's an indication something's dragging in an older PBR release
that didn't know not to copy environment markers into tests_require.
Without more of the logs indicating what installed which versions of
PBR and why, it's hard to tell you any more than that. Are you
running from the DevStack master branch or a stable/something
branch?
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] Installation problem

2015-01-27 Thread Abhishek Shrivastava
Hi Rajdeep,

This may be because of some configuration mismatch. I had same ImportError
while uploading my Cinder Driver during devstack installation, so to deal
with that I have rechecked my logs again and found that the mistake was in
my cinder.conf file, so I think that might be the same case with you.

Hope this might help.

On Mon, Jan 26, 2015 at 7:52 PM, Rajdeep Dua rajdeep@gmail.com wrote:

 Tried updating an existing installation..
 Did a clean.sh and tried again with stack.sh
 Now getting the following error..

 ImportError: Could not import settings 'openstack_dashboard.settings' (Is
 it on sys.path? Is there an import error in the settings file?): cannot
 import name types


 On Mon, Jan 26, 2015 at 7:33 PM, Abhishek Shrivastava 
 abhis...@cloudbyte.com wrote:

 Hi Rajdeep,

 Can you please send the details of how are you trying to install the
 latest devstack and complete log so that it will be easy to now where are
 you failing.

 On Mon, Jan 26, 2015 at 4:56 PM, Rajdeep Dua rajdeep@gmail.com
 wrote:

 Getting following exception on latest devstack installation.
 Please let me know how to resolve this.

 Thanks
 Rajdeep

 + /usr/local/bin/glance-manage db_sync
 Traceback (most recent call last):
   File /usr/local/bin/glance-manage, line 9, in module
 load_entry_point('glance==2015.1.dev24', 'console_scripts',
 'glance-manage')()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 519, in load_entry_point
 return get_distribution(dist).load_entry_point(group, name)
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2630, in load_entry_point
 return ep.load()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2310, in load
 return self.resolve()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2316, in resolve
 module = __import__(self.module_name, fromlist=['__name__'], level=0)
   File /opt/stack/glance/glance/cmd/manage.py, line 45, in module
 from glance.common import config
   File /opt/stack/glance/glance/common/config.py, line 29, in module
 from oslo_concurrency import lockutils
   File
 /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py,
 line 30, in module
 from oslo.config import cfgfilter
 ImportError: cannot import name cfgfilter



 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




 --


 *Thanks  Regards,*
 *Abhishek*
 *Cloudbyte Inc. http://www.cloudbyte.com*

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 


*Thanks  Regards,*
*Abhishek*
*Cloudbyte Inc. http://www.cloudbyte.com*
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] Installation problem

2015-01-26 Thread Abhishek Shrivastava
Hi Rajdeep,

Can you please send the details of how are you trying to install the latest
devstack and complete log so that it will be easy to now where are you
failing.

On Mon, Jan 26, 2015 at 4:56 PM, Rajdeep Dua rajdeep@gmail.com wrote:

 Getting following exception on latest devstack installation.
 Please let me know how to resolve this.

 Thanks
 Rajdeep

 + /usr/local/bin/glance-manage db_sync
 Traceback (most recent call last):
   File /usr/local/bin/glance-manage, line 9, in module
 load_entry_point('glance==2015.1.dev24', 'console_scripts',
 'glance-manage')()
   File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
 line 519, in load_entry_point
 return get_distribution(dist).load_entry_point(group, name)
   File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
 line 2630, in load_entry_point
 return ep.load()
   File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
 line 2310, in load
 return self.resolve()
   File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
 line 2316, in resolve
 module = __import__(self.module_name, fromlist=['__name__'], level=0)
   File /opt/stack/glance/glance/cmd/manage.py, line 45, in module
 from glance.common import config
   File /opt/stack/glance/glance/common/config.py, line 29, in module
 from oslo_concurrency import lockutils
   File
 /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py,
 line 30, in module
 from oslo.config import cfgfilter
 ImportError: cannot import name cfgfilter


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 


*Thanks  Regards,*
*Abhishek*
*Cloudbyte Inc. http://www.cloudbyte.com*
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [devstack] Installation problem

2015-01-26 Thread Rajdeep Dua
Tried updating an existing installation..
Did a clean.sh and tried again with stack.sh
Now getting the following error..

ImportError: Could not import settings 'openstack_dashboard.settings' (Is
it on sys.path? Is there an import error in the settings file?): cannot
import name types


On Mon, Jan 26, 2015 at 7:33 PM, Abhishek Shrivastava 
abhis...@cloudbyte.com wrote:

 Hi Rajdeep,

 Can you please send the details of how are you trying to install the
 latest devstack and complete log so that it will be easy to now where are
 you failing.

 On Mon, Jan 26, 2015 at 4:56 PM, Rajdeep Dua rajdeep@gmail.com
 wrote:

 Getting following exception on latest devstack installation.
 Please let me know how to resolve this.

 Thanks
 Rajdeep

 + /usr/local/bin/glance-manage db_sync
 Traceback (most recent call last):
   File /usr/local/bin/glance-manage, line 9, in module
 load_entry_point('glance==2015.1.dev24', 'console_scripts',
 'glance-manage')()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 519, in load_entry_point
 return get_distribution(dist).load_entry_point(group, name)
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2630, in load_entry_point
 return ep.load()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2310, in load
 return self.resolve()
   File
 /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py, line
 2316, in resolve
 module = __import__(self.module_name, fromlist=['__name__'], level=0)
   File /opt/stack/glance/glance/cmd/manage.py, line 45, in module
 from glance.common import config
   File /opt/stack/glance/glance/common/config.py, line 29, in module
 from oslo_concurrency import lockutils
   File
 /usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py,
 line 30, in module
 from oslo.config import cfgfilter
 ImportError: cannot import name cfgfilter


 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




 --


 *Thanks  Regards,*
 *Abhishek*
 *Cloudbyte Inc. http://www.cloudbyte.com*

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [devstack] Installation problem

2015-01-26 Thread Rajdeep Dua
Getting following exception on latest devstack installation.
Please let me know how to resolve this.

Thanks
Rajdeep

+ /usr/local/bin/glance-manage db_sync
Traceback (most recent call last):
  File /usr/local/bin/glance-manage, line 9, in module
load_entry_point('glance==2015.1.dev24', 'console_scripts',
'glance-manage')()
  File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
line 519, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
line 2630, in load_entry_point
return ep.load()
  File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
line 2310, in load
return self.resolve()
  File /usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py,
line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File /opt/stack/glance/glance/cmd/manage.py, line 45, in module
from glance.common import config
  File /opt/stack/glance/glance/common/config.py, line 29, in module
from oslo_concurrency import lockutils
  File
/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py,
line 30, in module
from oslo.config import cfgfilter
ImportError: cannot import name cfgfilter
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev