Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-27 Thread Doug Hellmann
On Tue, Jun 26, 2012 at 8:14 PM, Dean Troyer dtro...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 6:37 PM, Doug Hellmann
 doug.hellm...@dreamhost.com wrote:
  OK, I got past that part but now I'm seeing an error about a missing
 volume
  group stack-volumes. Is that related to enabling cinder? The only
 settings
  I have in my localrc file are passwords. Is there something else I need
 to
  do to ensure cinder is on?

 I use this to enable cinder:

 ENABLED_SERVICES=$(echo $ENABLED_SERVICES | sed
 's/n-vol/c-api,c-sch,c-vol/')

 But the volume group should be created either way.  The cinder patch
 did change its name from nova-volumes to stack-volumes though.


I'm not doing anything that makes me care which volume storage I'm using,
so I don't necessarily need to enable cinder. For whatever reason, with the
defaults, the volume group isn't being created (or has the wrong name). I'm
using a fresh vagrant VM with all of my sandboxes updated to HEAD this
morning.

I'll run it again and get a list of the volume groups that do exist and see
if I can figure out what's going wrong.



 dt

 --

 Dean Troyer
 dtro...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-27 Thread Doug Hellmann
On Wed, Jun 27, 2012 at 8:23 AM, Doug Hellmann
doug.hellm...@dreamhost.comwrote:



 On Tue, Jun 26, 2012 at 8:14 PM, Dean Troyer dtro...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 6:37 PM, Doug Hellmann
 doug.hellm...@dreamhost.com wrote:
  OK, I got past that part but now I'm seeing an error about a missing
 volume
  group stack-volumes. Is that related to enabling cinder? The only
 settings
  I have in my localrc file are passwords. Is there something else I need
 to
  do to ensure cinder is on?

 I use this to enable cinder:

 ENABLED_SERVICES=$(echo $ENABLED_SERVICES | sed
 's/n-vol/c-api,c-sch,c-vol/')

 But the volume group should be created either way.  The cinder patch
 did change its name from nova-volumes to stack-volumes though.


 I'm not doing anything that makes me care which volume storage I'm using,
 so I don't necessarily need to enable cinder. For whatever reason, with the
 defaults, the volume group isn't being created (or has the wrong name). I'm
 using a fresh vagrant VM with all of my sandboxes updated to HEAD this
 morning.

 I'll run it again and get a list of the volume groups that do exist and
 see if I can figure out what's going wrong.


It looks like a problem creating the volume group on the loopback device. I
get:

Device /dev/loop0 not found (or ignored by filtering).
Unable to add physical volume '/dev/loop0' to volume group
'stack-volumes'.

This is on Ubuntu Precise. It was working Monday in the same image.

Doug
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-27 Thread Doug Hellmann
On Wed, Jun 27, 2012 at 9:44 AM, Doug Hellmann
doug.hellm...@dreamhost.comwrote:



 On Wed, Jun 27, 2012 at 8:23 AM, Doug Hellmann 
 doug.hellm...@dreamhost.com wrote:



 On Tue, Jun 26, 2012 at 8:14 PM, Dean Troyer dtro...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 6:37 PM, Doug Hellmann
 doug.hellm...@dreamhost.com wrote:
  OK, I got past that part but now I'm seeing an error about a missing
 volume
  group stack-volumes. Is that related to enabling cinder? The only
 settings
  I have in my localrc file are passwords. Is there something else I
 need to
  do to ensure cinder is on?

 I use this to enable cinder:

 ENABLED_SERVICES=$(echo $ENABLED_SERVICES | sed
 's/n-vol/c-api,c-sch,c-vol/')

 But the volume group should be created either way.  The cinder patch
 did change its name from nova-volumes to stack-volumes though.


 I'm not doing anything that makes me care which volume storage I'm using,
 so I don't necessarily need to enable cinder. For whatever reason, with the
 defaults, the volume group isn't being created (or has the wrong name). I'm
 using a fresh vagrant VM with all of my sandboxes updated to HEAD this
 morning.

 I'll run it again and get a list of the volume groups that do exist and
 see if I can figure out what's going wrong.


 It looks like a problem creating the volume group on the loopback device.
 I get:

 Device /dev/loop0 not found (or ignored by filtering).
 Unable to add physical volume '/dev/loop0' to volume group
 'stack-volumes'.

 This is on Ubuntu Precise. It was working Monday in the same image.


Deleting the existing backing file and letting devstack re-create it fixed
the problem. I've never had to do that before, so I have no idea what might
have caused it to be necessary this time.

Doug
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Doug Hellmann
I'm having trouble running devstack today. I'm getting the following error
during the horizon installation. Does anyone have any idea what would be
causing that?

Doug

Downloading/unpacking python-glanceclient (from -r
horizon.egg-info/requires.txt (line 7))
  Running setup.py egg_info for package python-glanceclient
Traceback (most recent call last):
  File string, line 14, in module
  File /opt/stack/horizon/build/python-glanceclient/setup.py, line
22, in module
version=setup.get_post_version('glanceclient'),
  File glanceclient/openstack/common/setup.py, line 329, in
get_post_version
return open(os.path.join(projectname, 'versioninfo'),
'r').read().strip()
IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  File string, line 14, in module

  File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22, in
module

version=setup.get_post_version('glanceclient'),

  File glanceclient/openstack/common/setup.py, line 329, in
get_post_version

return open(os.path.join(projectname, 'versioninfo'),
'r').read().strip()

IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Gabriel Hurley
I'm seeing a lot of that on the CI gate jobs today, too. Seems to be an problem 
installing dependencies with pip. Usually I blame this on transient network 
problems, unless somebody's been mucking with the clients themselves...



-  Gabriel

From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
[mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
Behalf Of Doug Hellmann
Sent: Tuesday, June 26, 2012 1:19 PM
To: openstack@lists.launchpad.net
Subject: [Openstack] horizon install from devstack fails to find 
glanceclient/versioninfo

I'm having trouble running devstack today. I'm getting the following error 
during the horizon installation. Does anyone have any idea what would be 
causing that?

Doug

Downloading/unpacking python-glanceclient (from -r 
horizon.egg-info/requires.txt (line 7))
  Running setup.py egg_info for package python-glanceclient
Traceback (most recent call last):
  File string, line 14, in module
  File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22, in 
module
version=setup.get_post_version('glanceclient'),
  File glanceclient/openstack/common/setup.py, line 329, in 
get_post_version
return open(os.path.join(projectname, 'versioninfo'), 
'r').read().strip()
IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

  File string, line 14, in module

  File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22, in 
module

version=setup.get_post_version('glanceclient'),

  File glanceclient/openstack/common/setup.py, line 329, in get_post_version

return open(os.path.join(projectname, 'versioninfo'), 'r').read().strip()

IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Brian Waldon
We did land a change to python-glanceclient earlier this morning that caused 
this, but I didn't really understand the explanation given to me by Monty. 
We've got a patch in review that should help alleviate the problem for now: 
https://review.openstack.org/#/c/9018/1

Brain


On Jun 26, 2012, at 1:28 PM, Gabriel Hurley wrote:

 I’m seeing a lot of that on the CI gate jobs today, too. Seems to be an 
 problem installing dependencies with pip. Usually I blame this on transient 
 network problems, unless somebody’s been mucking with the clients themselves…
  
  
 -  Gabriel
  
 From: openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net 
 [mailto:openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] On 
 Behalf Of Doug Hellmann
 Sent: Tuesday, June 26, 2012 1:19 PM
 To: openstack@lists.launchpad.net
 Subject: [Openstack] horizon install from devstack fails to find 
 glanceclient/versioninfo
  
 I'm having trouble running devstack today. I'm getting the following error 
 during the horizon installation. Does anyone have any idea what would be 
 causing that?
 
 Doug
  
 Downloading/unpacking python-glanceclient (from -r 
 horizon.egg-info/requires.txt (line 7))
   Running setup.py egg_info for package python-glanceclient
 Traceback (most recent call last):
   File string, line 14, in module
   File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22, 
 in module
 version=setup.get_post_version('glanceclient'),
   File glanceclient/openstack/common/setup.py, line 329, in 
 get_post_version
 return open(os.path.join(projectname, 'versioninfo'), 
 'r').read().strip()
 IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'
 Complete output from command python setup.py egg_info:
 Traceback (most recent call last):
  
   File string, line 14, in module
  
   File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22, in 
 module
  
 version=setup.get_post_version('glanceclient'),
  
   File glanceclient/openstack/common/setup.py, line 329, in get_post_version
  
 return open(os.path.join(projectname, 'versioninfo'), 'r').read().strip()
  
 IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'
  
  
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Doug Hellmann
It sounds like maybe a new file created by the updated setup.py isn't
included in the package, so when setup.py tries to read the file during
installation it can't.

Thanks for the pointer to the devstack change. I +1ed, but don't have
commit review access there to do any more than that.

On Tue, Jun 26, 2012 at 4:34 PM, Brian Waldon brian.wal...@rackspace.comwrote:

 We did land a change to python-glanceclient earlier this morning that
 caused this, but I didn't really understand the explanation given to me by
 Monty. We've got a patch in review that should help alleviate the problem
 for now: https://review.openstack.org/#/c/9018/1

 Brain


 On Jun 26, 2012, at 1:28 PM, Gabriel Hurley wrote:

 I’m seeing a lot of that on the CI gate jobs today, too. Seems to be an
 problem installing dependencies with pip. Usually I blame this on transient
 network problems, unless somebody’s been mucking with the clients
 themselves…
 ** **
 ** **
 -  Gabriel
 ** **
 *From:* 
 openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net[mailto:
 openstack-bounces+gabriel.hurley=nebula@lists.launchpad.net] *On
 Behalf Of *Doug Hellmann
 *Sent:* Tuesday, June 26, 2012 1:19 PM
 *To:* openstack@lists.launchpad.net
 *Subject:* [Openstack] horizon install from devstack fails to find
 glanceclient/versioninfo
 ** **
 I'm having trouble running devstack today. I'm getting the following error
 during the horizon installation. Does anyone have any idea what would be
 causing that?

 Doug
 ** **
 Downloading/unpacking python-glanceclient (from -r
 horizon.egg-info/requires.txt (line 7))
   Running setup.py egg_info for package python-glanceclient
 Traceback (most recent call last):
   File string, line 14, in module
   File /opt/stack/horizon/build/python-glanceclient/setup.py, line
 22, in module
 version=setup.get_post_version('glanceclient'),
   File glanceclient/openstack/common/setup.py, line 329, in
 get_post_version
 return open(os.path.join(projectname, 'versioninfo'),
 'r').read().strip()
 IOError: [Errno 2] No such file or directory:
 'glanceclient/versioninfo'
 Complete output from command python setup.py egg_info:
 Traceback (most recent call last):
 ** **
   File string, line 14, in module
 ** **
   File /opt/stack/horizon/build/python-glanceclient/setup.py, line 22,
 in module
 ** **
 version=setup.get_post_version('glanceclient'),
 ** **
   File glanceclient/openstack/common/setup.py, line 329, in
 get_post_version
 ** **
 return open(os.path.join(projectname, 'versioninfo'),
 'r').read().strip()
 ** **
 IOError: [Errno 2] No such file or directory: 'glanceclient/versioninfo'**
 **
 ** **
 ** **
 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Dean Troyer
On Tue, Jun 26, 2012 at 3:43 PM, Doug Hellmann
doug.hellm...@dreamhost.com wrote:
 Thanks for the pointer to the devstack change. I +1ed, but don't have commit
 review access there to do any more than that.

It just merged...I've requeued a couple of reviews that failed earlier
due to this problem, we'll see how it goes.

dt

-- 

Dean Troyer
dtro...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Doug Hellmann
OK, I got past that part but now I'm seeing an error about a missing volume
group stack-volumes. Is that related to enabling cinder? The only
settings I have in my localrc file are passwords. Is there something else I
need to do to ensure cinder is on?

On Tue, Jun 26, 2012 at 5:47 PM, Dean Troyer dtro...@gmail.com wrote:

 On Tue, Jun 26, 2012 at 3:43 PM, Doug Hellmann
 doug.hellm...@dreamhost.com wrote:
  Thanks for the pointer to the devstack change. I +1ed, but don't have
 commit
  review access there to do any more than that.

 It just merged...I've requeued a couple of reviews that failed earlier
 due to this problem, we'll see how it goes.

 dt

 --

 Dean Troyer
 dtro...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] horizon install from devstack fails to find glanceclient/versioninfo

2012-06-26 Thread Dean Troyer
On Tue, Jun 26, 2012 at 6:37 PM, Doug Hellmann
doug.hellm...@dreamhost.com wrote:
 OK, I got past that part but now I'm seeing an error about a missing volume
 group stack-volumes. Is that related to enabling cinder? The only settings
 I have in my localrc file are passwords. Is there something else I need to
 do to ensure cinder is on?

I use this to enable cinder:

ENABLED_SERVICES=$(echo $ENABLED_SERVICES | sed 's/n-vol/c-api,c-sch,c-vol/')

But the volume group should be created either way.  The cinder patch
did change its name from nova-volumes to stack-volumes though.

dt

-- 

Dean Troyer
dtro...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp