[Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Sam Morrison
We have been building our own packages for a few years now and I’ve just started to build packages for liberty. I got an error from pbr telling me my version was incompatible. An example version we were producing was 12.0.3+a74~gea340da+trusty So had a read of http://docs.openstack.org/develop

Re: [Openstack] [Swift] 404 re-reading just created container

2016-06-08 Thread Mark Kirkwood
On 08/06/16 10:50, Mark Kirkwood wrote: On 08/06/16 07:06, Pete Zaitcev wrote: The proxies are load balanced behind Haproxy (which I'm guessing is causing the 404 - see below) HAproxy is often troublesome, but I don't expect it is at fault in this instance. The logs that you quoted show that t

[Openstack] Nova and Magnum on the same host?

2016-06-08 Thread Turbo Fredriksson
My use-case require me to have Containers for certain rings and real VMs for others. But I also want to utilize my hardware to max, while keeping the electricity bill (and cooling) as low as possible. This means that I need (want!) to run both the VMs and the Containers on the same host. I've jus

Re: [Openstack] [Swift] 404 re-reading just created container

2016-06-08 Thread Mark Kirkwood
On 08/06/16 19:07, Mark Kirkwood wrote: changing this servers line to include the other proxy's memcache too (e.g proxy 192.168.122.21 again): $ cat /etc/swift/proxy-server.conf ... [filter:cache] use = egg:swift#memcache memcache_servers = 192.168.122.21:11211,192.168.122.24:11211 I no long

[Openstack] Datas exchange between an instance and its compute Node ?

2016-06-08 Thread Jean-Pierre Ribeauville
Hi, Is there any recommended way to exchange datas (i.e 128 bytes every 20 seconds) between an instance and its compute node ? On RHEV infra, I'm using a channel device ; it seems quite impossible to use the same way on OpenStack. (I didn't find a way to create the virtio controller and

[Openstack] Liberty itemNotFound Flavor XXX could not be found

2016-06-08 Thread William Josefsson
Hi Everyone, I'm having a problem to boot images (Ubuntu and Cirros) with nova. I get the error below about missing flavor. I have checked that the flavor is among 'nova flavor-list'. The compute node is running on Virtualbox and soft-qemu. I have tested flavors, m1.tiny, m1.small, m1.large, an

[Openstack] ConnectFailure error upon triggering “nova image-list” command using openstack-mitaka release

2016-06-08 Thread Chinmaya Dwibedy
Hi , I am getting the ConnectFailure error message upon triggering “nova image-list” command. nova-api process should be listening on 8774. It doesn't look like it is not running. Also I do not find any error logs in nova-api.log nova-compute.log and nova-conductor.log. I am using openstack- mita

Re: [Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Doug Hellmann
Excerpts from Sam Morrison's message of 2016-06-08 16:59:37 +1000: > We have been building our own packages for a few years now and I’ve just > started to build packages for liberty. > > I got an error from pbr telling me my version was incompatible. An example > version we were producing was 12

[Openstack] retrieve all instances whatever tenant/user via python SDK

2016-06-08 Thread Jean-Pierre Ribeauville
Hi all, By running this piece if code : . def get_nova_credentials_v2(): d = {} d['version'] = '2' d['username'] = os.environ['OS_USERNAME'] d['api_key'] = os.environ['OS_PASSWORD'] d['auth_url'] = os.environ['OS_AUTH_URL'] d['project_id'] = os.environ['OS_TENANT_N

[Openstack] [neutron][devstack] Issue with Neutron L3 extension and flat provider network.

2016-06-08 Thread Michael Turek
Hey all, We have a CI setup that uses a single flat provider network. Originally devstack would create a network here (https://github.com/openstack-dev/devstack/blob/master/lib/neutron_plugins/services/l3#L144) and we were good to go. However, recently we started also hitting this net-create

Re: [Openstack] retrieve all instances whatever tenant/user via python SDK

2016-06-08 Thread Remo Mattei
Did you try the nova list --all-t Ciao Inviato da iPhone > Il giorno 08 giu 2016, alle ore 06:20, Jean-Pierre Ribeauville > ha scritto: > > Hi all, > > By running this piece if code : > > ……… > def get_nova_credentials_v2(): > d = {} > d['version'] = '2' > d['username'] = os.e

Re: [Openstack] [neutron][devstack] Issue with Neutron L3 extension and flat provider network.

2016-06-08 Thread Michael Turek
We actually already explicitly in our localrc IP_VERSION=4 Thanks for the suggestion though! On 06/08/2016 11:11 AM, Jens Rosenboom wrote: 2016-06-08 16:49 GMT+02:00 Michael Turek : Hey all, We have a CI setup that uses a single flat provider network. Originally devstack would create a netw

Re: [Openstack] retrieve all instances whatever tenant/user via python SDK

2016-06-08 Thread Jean-Pierre Ribeauville
Hi, Following this link (https://ask.openstack.org/en/question/50087/list-all-servers-with-python-nova-client/ ), I found the solution : for server in nova_client.servers.list(search_opts={'all_tenants': 1}): print server.id, server.name Thx to all. Regards, J.P. From: Jean-Pierre Ribe

Re: [Openstack] [neutron][devstack] Issue with Neutron L3 extension and flat provider network.

2016-06-08 Thread Michael Turek
Should also mention that upon closer inspection 'Q_L3_ENABLED' isn't in use by devstack anymore. That being said, q-l3 is not in our list of enabled services. On 06/08/2016 11:20 AM, Michael Turek wrote: We actually already explicitly in our localrc IP_VERSION=4 Thanks for the suggestion tho

Re: [Openstack] retrieve all instances whatever tenant/user via python SDK

2016-06-08 Thread Jean-Pierre Ribeauville
Hi, nova list --all-t works fine ( with “admin” environment variables). So it means that , within the python code, I have to find a way to issue same request , i.e. by specifying “all tenant” parameter. For sure , I want ( if possible) to avoid to issue a request for every tenant !! An

Re: [Openstack] retrieve all instances whatever tenant/user via python SDK

2016-06-08 Thread Leslie-Alexandre DENIS
The simplest thing to do is to pass --debug to the nova or openstack cli list command and catch the argument from the curl URL. The other way is to check the Nova API documentation and the SDK too. See you. On June 8, 2016 5:24:14 PM CEST, Jean-Pierre Ribeauville wrote: >Hi, > >nova list --al

Re: [Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Sam Morrison
> On 8 Jun 2016, at 10:51 PM, Doug Hellmann wrote: > > Excerpts from Sam Morrison's message of 2016-06-08 16:59:37 +1000: >> We have been building our own packages for a few years now and I’ve just >> started to build packages for liberty. >> >> I got an error from pbr telling me my version w

Re: [Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Sam Morrison
> On 9 Jun 2016, at 8:16 AM, Sam Morrison wrote: > > > >> On 8 Jun 2016, at 10:51 PM, Doug Hellmann wrote: >> >> Excerpts from Sam Morrison's message of 2016-06-08 16:59:37 +1000: >>> We have been building our own packages for a few years now and I’ve just >>> started to build packages for

Re: [Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Doug Hellmann
Excerpts from Sam Morrison's message of 2016-06-09 08:16:11 +1000: > > > On 8 Jun 2016, at 10:51 PM, Doug Hellmann wrote: > > > > Excerpts from Sam Morrison's message of 2016-06-08 16:59:37 +1000: > >> We have been building our own packages for a few years now and I’ve just > >> started to buil

Re: [Openstack] [oslo] Issues with pbr when building custom packages

2016-06-08 Thread Sam Morrison
> On 9 Jun 2016, at 10:06 AM, Doug Hellmann wrote: > > Excerpts from Sam Morrison's message of 2016-06-09 08:16:11 +1000: >> >>> On 8 Jun 2016, at 10:51 PM, Doug Hellmann wrote: >>> >>> Excerpts from Sam Morrison's message of 2016-06-08 16:59:37 +1000: We have been building our own packa