Re: [Openstack] No valid host can be found - SOLVED

2016-06-24 Thread Turbo Fredriksson
On Jun 25, 2016, at 12:40 AM, Turbo Fredriksson wrote:

> I'm putting Nova-Docker on hold and am trying KVM instead.


The problem seems to have been with

--property hypervisor_type=docker

when I created the image. It needed to be:

--property hypervisor_type=kvm

.. because I'm using the KVM hypervisor (I initially was
thinking to use the image with Docker, but those are created
differently).
--
Build a man a fire, and he will be warm for the night.
Set a man on fire and he will be warm for the rest of his life.


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Using multiple compute drivers in Nova?

2016-06-24 Thread Turbo Fredriksson
On Jun 25, 2016, at 12:22 AM, Clint Byrum wrote:

> Excerpts from Turbo Fredriksson's message of 2016-06-24 22:50:40 +0100:
>> The page 
>> http://docs.openstack.org/mitaka/config-reference/compute/hypervisors.html
>> states:
>> 
>>  Most installations use only one hypervisor. However, you can use
>>  ComputeFilter and ImagePropertiesFilter to schedule different
>>  hypervisors within the same installation. 
> 
> If you want to use different compute drivers on one machine, you need
> to run two copies of nova-compute on that machine.

Yeah, that's what I've heard before. I just found that documentation 
information,
and that suggests otherwise..

> One has to ask though... what two hypervisors are you wanting to use on
> the same box?

libvirt (KVM) and nova-docker. I have need for both containers and real
VMs.

I'd very much like to limit my power/cooling requirements by only
run physical machines absolutly necessary. Having to specify one+ host
for containers and one+ host for VMs will mean that these two+ hosts
will individually run "empty" for the most part..

Yes, they will fill up eventually, but I rather only have ONE Compute
running if the containers and VMs fits on ONE..
--
Life sucks and then you die


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] No valid host can be found

2016-06-24 Thread Turbo Fredriksson
I'm putting Nova-Docker on hold and am trying KVM instead.

However, that gives me:

- s n i p -
2016-06-25 00:17:22.419 607 WARNING nova.scheduler.utils 
[req-6c5e12fc-b01d-4bc5-96b9-54483ae72521 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - - -] Failed to compute_task_build_instances: 
No valid host was found. There are not enough hosts available.
- s n i p -

My nova-scheduler.log say:

- s n i p -
2016-06-25 00:17:22.387 578 DEBUG nova.filters 
[req-6c5e12fc-b01d-4bc5-96b9-54483ae72521 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - -
 -] Filter ComputeCapabilitiesFilter returned 1 host(s) get_filtered_objects 
/usr/lib/python2.7/dist-packages/nova/filters.py:104
2016-06-25 00:17:22.388 578 DEBUG nova.scheduler.filters.image_props_filter 
[req-6c5e12fc-b01d-4bc5-96b9-54483ae72521 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - - -] Instance contains properties 
ImageMetaProps(hw_architecture='x86_64',hw_auto_disk_config=,hw_boot_menu=,hw_cdrom_bus=,hw_cpu_cores=,hw_cpu_max_cores=,hw_cpu_max_sockets=,hw_cpu_max_threads=,hw_cpu_policy=,hw_cpu_realtime_mask=,hw_cpu_sockets=,hw_cpu_thread_policy=,hw_cpu_threads=,hw_device_id=,hw_disk_bus=,hw_disk_type=,hw_firmware_type=,hw_floppy_bus=,hw_ipxe_boot=,hw_machine_type=,hw_mem_page_size=,hw_numa_cpus=,hw_numa_mem=,hw_numa_nodes=,hw_qemu_guest_agent=,hw_rng_model=,hw_scsi_model=,hw_serial_port_count=,hw_video_model=,hw_video_ram=,hw_vif_model=,hw_vif_multiqueue_enabled=,hw_vm_mode=,hw_watchdog_action=,img_bdm_v2=,img_bittorrent=,img_block_device_mapping=,img_cache_in_nova=,im
 
g_compression_level=,img_config_drive=,img_hv_requested_version=,img_hv_type='docker',img_linked_clone=,img_mappings=,img_owner_id=,img_root_device_name=,img_signature=,img_signature_certificate_uuid=,img_signature_hash_method=,img_signature_key_type=,img_use_agent=,img_version=,os_admin_user=,os_command_line=,os_distro=,os_require_quiesce=,os_skip_agent_inject_files_at_boot=,os_skip_agent_inject_ssh=,os_type=)
 that are not provided by the compute node supported_instances [[u'i686', 
u'qemu', u'hvm'], [u'i686', u'kvm', u'hvm'], [u'x86_64', u'qemu', u'hvm'], 
[u'x86_64', u'kvm', u'hvm']] or hypervisor version 2006000 do not match 
_instance_supported 
/usr/lib/python2.7/dist-packages/nova/scheduler/filters/image_props_filter.py:95
2016-06-25 00:17:22.390 578 DEBUG nova.scheduler.filters.image_props_filter 
[req-6c5e12fc-b01d-4bc5-96b9-54483ae72521 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - - -] (bladeA03b, bladeA03b.bayour.com) ram: 
15558MB disk: 111616MB io_ops: 0 instances: 0 does not support requested 
instance_properties host_passes 
/usr/lib/python2.7/dist-packages/nova/scheduler/filters/image_props_filter.py:109
2016-06-25 00:17:22.391 578 INFO nova.filters 
[req-6c5e12fc-b01d-4bc5-96b9-54483ae72521 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - - -] Filter ImagePropertiesFilter returned 0 
hosts
- s n i p -

I don't understand the message, what's it actually saying?
-- 
Em - The battle cry of the cronical masturbater.
- Charlie Harper


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Using multiple compute drivers in Nova?

2016-06-24 Thread Clint Byrum
Excerpts from Turbo Fredriksson's message of 2016-06-24 22:50:40 +0100:
> The page 
> http://docs.openstack.org/mitaka/config-reference/compute/hypervisors.html
> states:
> 
>   Most installations use only one hypervisor. However, you can use
>   ComputeFilter and ImagePropertiesFilter to schedule different
>   hypervisors within the same installation. 
> 
> I have both those set, but the "compute_driver" is used to choose
> the driver. This is a string, so only one option is available.
> 
> How do I use more than one?

If you want to use different compute drivers on one machine, you need
to run two copies of nova-compute on that machine.

You may get some insanity on the resource tracker though, as they'll both
think they have access to the same pool of resources, leading to double
resource availability and likely a lot of failed spawns when the box
gets full.

One has to ask though... what two hypervisors are you wanting to use on
the same box?

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Using multiple compute drivers in Nova?

2016-06-24 Thread Turbo Fredriksson
The page 
http://docs.openstack.org/mitaka/config-reference/compute/hypervisors.html
states:

  Most installations use only one hypervisor. However, you can use
  ComputeFilter and ImagePropertiesFilter to schedule different
  hypervisors within the same installation. 

I have both those set, but the "compute_driver" is used to choose
the driver. This is a string, so only one option is available.

How do I use more than one?
--
Life sucks and then you die


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] neutron, l2population, linuxbridge and multiple ips

2016-06-24 Thread James Denton
Hi Andreas,

LinuxBridge w/ VXLAN and l2population was incompatible with 
allowed-address-pairs, or any case where an IP may be configured on an 
interface that isn't defined on a port or moves around from VM to VM, for some 
time. It is more of a limitation of the ARP proxy implementation in the VXLAN 
kernel module more than a Neutron bug, but nonetheless, here you go:

https://bugs.launchpad.net/neutron/+bug/1445089

The workaround was to patch the LinuxBridge agent to disable the ARP proxy when 
creating vxlan interfaces. Try adding 'arp_responder=False' to the [vxlan] 
section of the linuxbridge agent config file and restart the agent. This should 
be done across all nodes, and will only apply to Liberty and above.

James

From: Andreas Scheuring 
Sent: Monday, June 20, 2016 6:06 AM
To: openstack@lists.openstack.org
Subject: Re: [Openstack] neutron, l2population, linuxbridge and multiple ips

- What about using Neutrons "allowed address pairs"?
- Or setting up a tunnel network within your existing openstack tunnel
network?



--
-
Andreas
IRC: andreas_s



On Sa, 2016-06-18 at 18:52 +0200, Joerg Streckfuss wrote:
> Dear list,
>
> I'm trying set up an isolated network for testing clustermanagers like
> keepalived on linux and carp on openbsd. This means there are ips which
> are bound to multiple ports. The main problem is when I try to configure
> new ip-addresses inside the vms and _not_ in neutron, these ips are not
> visible by the other vms. When I try to ping this ips I can see an local
> arp request inside the bridge of the requesting vm but this request does
> not reach the bridge of the destination vm. So my assumption is neutron
> in particular the l2population works only for ip addresses which are
> known by neutron ports. So in case of disabling dhcp I have to configure
> it for the neutron port and inside the vm, right?
>
> My setup is a 4-node openstack environment (one controller, three
> compute nodes), using liberty on centos7 carefully following the
> instructions under http://docs.openstack.org/liberty/install-guide-rdo/.
>
> I'm using self-service networks with one flat provider-network for
> external communication. I use VXLAN for overlay-networks. As mechanism
> drivers I use linuxbridge and l2population.
>
> The isolated network and the vms are initiated by heat templates. I
> disabled port security for each neutron port by setting
> 'port_security_enabled: false' inside the heat template.
>
> So what can I do, that a neutron isolated network behaves like a
> standard linuxbridge or especially a hardware switch, where no port
> security is configured and which forwards all kind of arp traffic?
>
> Thanks in advance,
>
> Joerg
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] nova service-list error

2016-06-24 Thread Turbo Fredriksson
On Jun 24, 2016, at 3:06 PM, venkat boggarapu wrote:

> When i am trying to run the command nova service-list i am getting the
> below error


If you run the following command, what do you get?

env | grep ^OS | sort
--
Imagine you're an idiot and then imagine you're in
the government. Oh, sorry. Now I'm repeating myself
- Mark Twain


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] nova service-list error

2016-06-24 Thread Eugen Block

You need a domain in your environment variables, e.g.

export OS_USER_DOMAIN_NAME=
or
export OS_USER_DOMAIN_ID=

Your environment script should provide

 OS_PROJECT_DOMAIN_NAME
 OS_USER_DOMAIN_NAME
 OS_PROJECT_NAME
 OS_USERNAME
 OS_PASSWORD
 OS_AUTH_URL=http://controller:35357/v3 --> (or  
OS_AUTH_URL=http://controller:5000/v3)

 OS_IDENTITY_API_VERSION=3
 OS_IMAGE_API_VERSION=2

Zitat von venkat boggarapu :


HI All,

When i am trying to run the command nova service-list i am getting the
below error


ERROR (BadRequest): Expecting to find domain in project - the server could
not comply with the request since it is either malformed or otherwise
incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID:
req-78bdca0c-6dda-4f4d-a571-eee336cec053)

can someone help regarding this.


With regards
venkat




--
Eugen Block voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG  fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail  : ebl...@nde.ag

Vorsitzende des Aufsichtsrates: Angelika Mozdzen
  Sitz und Registergericht: Hamburg, HRB 90934
  Vorstand: Jens-U. Mozdzen
   USt-IdNr. DE 814 013 983


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] nova service-list error

2016-06-24 Thread venkat boggarapu
HI All,

When i am trying to run the command nova service-list i am getting the
below error


ERROR (BadRequest): Expecting to find domain in project - the server could
not comply with the request since it is either malformed or otherwise
incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID:
req-78bdca0c-6dda-4f4d-a571-eee336cec053)

can someone help regarding this.


With regards
venkat
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Networking issues with neutron-linuxbridge-agent

2016-06-24 Thread Eugen Block
If you are using the Neutron API for security groups, then I think  
you need firewall_driver=nova.virt.firewall.NoopFirewallDriver in  
nova.conf - that's what devstack does.


I think this was really the solution! I tried to provoke the  
interruption in three different ways that broke the connection before,  
but I couldn't! I hope this is it, I'll report if the interruptions  
return, but so far thank you very much!!!



Zitat von Darragh O'Reilly :


On Friday, 24 June 2016, 9:15, Eugen Block  wrote:

Make sure nova is using the noop driver.



I'm trying to use ceilometer, in that case the docs say to use
messagingv2 driver, so that's what I did. And until two weeks ago it
worked just fine, I had no networking issues.




Your iptables output is showing entries from both nova-compute and  
neutron. If you are using the Neutron API for security groups, then  
I think you need  
firewall_driver=nova.virt.firewall.NoopFirewallDriver in nova.conf -  
that's what devstack does.




--
Eugen Block voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG  fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail  : ebl...@nde.ag

Vorsitzende des Aufsichtsrates: Angelika Mozdzen
  Sitz und Registergericht: Hamburg, HRB 90934
  Vorstand: Jens-U. Mozdzen
   USt-IdNr. DE 814 013 983


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] What can make Cinder not find Image? (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-24 Thread Turbo Fredriksson
On Jun 24, 2016, at 2:04 PM, Cynthia Lopes wrote:

> Sorry, what command precisely did you run when you got those logs? Are you
> trying to boot a vm from a volume is it?

openstack server create --image cirros --flavor m1.tiny --nic 
net-id=2bb7b8e2-188f-4e46-bf4d-ef5ec81ddb4d --wait test


It turned out I missed a part of the Nova-Docker setup - copy
the docker image to Glance.

When fixing that part, I then got other problems (see other mail).

> I find it weird that you are seeing the volume name on the request instead
> of the volume id: GET
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
> 
> This should be: GET
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/8dbd3b7c-e36b-433f-a3b0-d701f63f63c2


That is probably Nova-Docker that works in a special way..
--
Michael Jackson is not going to buried or cremated
but recycled into shopping bags so he can remain white,
plastic and dangerous for kids to play with.


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] What can make Cinder not find Image? (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-24 Thread Cynthia Lopes
Sorry, what command precisely did you run when you got those logs? Are you
trying to boot a vm from a volume is it?

I find it weird that you are seeing the volume name on the request instead
of the volume id: GET
http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test

This should be: GET
http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/8dbd3b7c-e36b-433f-a3b0-d701f63f63c2



2016-06-23 23:31 GMT+01:00 Turbo Fredriksson :

> - s n i p -
> 2016-06-23 23:08:25.277 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18d
> b0dd03aa23 - - -] GET
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
> 2016-06-23 23:08:25.278 25887 DEBUG cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18
> db0dd03aa23 - - -] Empty body provided in request get_body
> /usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py:936
> 2016-06-23 23:08:25.278 25887 DEBUG cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18
> db0dd03aa23 - - -] Calling method ' >'
> _process_stack /
> usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py:1092
> 2016-06-23 23:08:25.362 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -] HTTP exception thrown: Volume test
> could not be found.
> 2016-06-23 23:08:25.363 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -]
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
> returned with HTTP 404
> 2016-06-23 23:08:25.366 25887 INFO eventlet.wsgi.server
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -] 10.0.4.1 "GET
> /v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test HTTP/1.1" status: 404
> len: 418 time: 0.8508980
> - s n i p -
>
> and yet:
>
> - s n i p -
> bladeA01b:~# openstack volume list
>
>
> +--+--+---+--+-+
> | ID   | Display Name | Status| Size |
> Attached to |
>
> +--+--+---+--+-+
> | 8dbd3b7c-e36b-433f-a3b0-d701f63f63c2 | test | available |5
> | |
>
> +--+--+---+--+-+
> - s n i p -
>
> That's with the "admin" user+password etc though..
> --
> There are no dumb questions,
> unless a customer is asking them.
> - Unknown
>
>
> ___
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack@lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] How to setup very simple networking? (Was: What can make Cinder not find Image? (Was: Create instance fails on creating block device - Block Device Mapping is Invalid))

2016-06-24 Thread Turbo Fredriksson
On Jun 23, 2016, at 11:31 PM, Turbo Fredriksson wrote:

> - s n i p -
> 2016-06-23 23:08:25.362 25887 INFO cinder.api.openstack.wsgi 
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949 
> 2985b96e27f048cd92a18db0dd03aa23 - - -] HTTP exception thrown: Volume test 
> could not be found.
> - s n i p -
> 

Oups, that one was mine! I forgot/missed to copy the docker image
to Glance!


As far as i can tell, I'm now "all good". It now "only" (!!! :)
complains about the network :( :(.

- s n i p -
2016-06-24 13:42:25.141 10978 WARNING novadocker.virt.docker.driver 
[req-c98bae39-dbb0-4b36-808d-004684ae3a2c 0b7e5b0653084efdad5d67b66f2cf949 
2985b96e27f048cd92a18db0dd03aa23 - - -] [instance: 
1988a860-13f6-44cf-b40c-5709b815f381] Cannot setup network: Cannot find any PID 
under container 
"708a45db07705d7f4393fc60886ae4e894dccc2ce02ef7eb77dd701abc750752"
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381] Traceback (most recent call last):
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381]   File 
"/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 
490, in _start_container
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381] self._attach_vifs(instance, 
network_info)
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381]   File 
"/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py", line 
241, in _attach_vifs
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381] raise 
RuntimeError(msg.format(container_id))
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381] RuntimeError: Cannot find any PID under 
container "708a45db07705d7f4393fc60886ae4e894dccc2ce02ef7eb77dd701abc750752"
2016-06-24 13:42:25.141 10978 ERROR novadocker.virt.docker.driver [instance: 
1988a860-13f6-44cf-b40c-5709b815f381]
- s n i p -

I'm not sure what that error exactly mean though.


Provided my network looks like this:

+ [external_ip - internet]
  +- Contego (DHCP, DNS, NTP, Primary Gateway/Firewall)
 + [192.168.4/24]  -+- Old VMs, Static IPs
 + [192.168.5/24]  -+- Old VMs, Dynamic IPs
 + [192.168.63/24] -+- Guest network
 + [192.168.69/24] -+- Physical machines
   +- Celia (Block Storage - 30TB+/ZoL, LDAP, Kerberos 
V, SMB, AFP, AFS, NFS, iSCSI)
   +- Negotia (Current VM host)
 + [10.0.0/16] -+- Blade Center 
   + [10.0.1/24]  -+- Management/iLO network (Blade 
Center 1)
   + [10.0.2/24]  -+- Management/iLO network (Blade 
Center 2)
   + [10.0.3/24]  -+- Blade Center 1 - Blade hosts, eth0
   + [10.0.4/24]  -+- Blade Center 1 - Blade hosts, eth1
   + [10.0.5/24]  -+- Blade Center 2 - Blade hosts, eth0
   + [10.0.6/24]  -+- Blade Center 2 - Blade hosts, eth1
   + [10.9x.0/24] -+- Virtual Machines

My primary (and at the moment only) Control node have the IP
"10.0.4.1/10.99.0.1" and my first (and at the moment only)
Compute have the IP "10.0.4.3".

My plan (?) was to put the OS router on 10.99.0.254 and route it
"down" to the physical hosts eth0 (10.99.0.1) and then on to 
Contego which is my firewall/gateway to the 'Net. I don't expect
any traffic IN that way though..

Then all VMs gets a 10.99.0.x address (if I'm quick, I can actually
see that happening already - but because it fails to start, the IP
is removed from the instance).


My question is, how do I get traffic between 10.99.0.1 and 10.99.0.254??

This is my current network setup. Although, I have no idea what I'm doing,
I just winged it to get SOMETHING..

  
https://github.com/FransUrbo/openstack_bladecenter/blob/master/local_setup_openstack-control.sh#L647-L681

What am I missing?
--
You know, boys, a nuclear reactor is a lot like a woman.
You just have to read the manual and press the right buttons
- Homer Simpson


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Networking issues with neutron-linuxbridge-agent

2016-06-24 Thread Darragh O'Reilly





On Friday, 24 June 2016, 9:15, Eugen Block  wrote:
>> Make sure nova is using the noop driver.

> I'm trying to use ceilometer, in that case the docs say to use  
> messagingv2 driver, so that's what I did. And until two weeks ago it  
> worked just fine, I had no networking issues.



Your iptables output is showing entries from both nova-compute and neutron. If 
you are using the Neutron API for security groups, then I think you need 
firewall_driver=nova.virt.firewall.NoopFirewallDriver in nova.conf - that's 
what devstack does.

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Create instance fails on creating block device - Block Device Mapping is Invalid

2016-06-24 Thread Yngvi Páll Þorfinnsson
Can anyone advise on or provide a documentation for Octavia installation ?

Rgds
Yngvi


-Original Message-
From: Yngvi Páll Þorfinnsson 
Sent: 23. júní 2016 15:42
To: Turbo Fredriksson ; openstack@lists.openstack.org
Subject: Re: [Openstack] Create instance fails on creating block device - Block 
Device Mapping is Invalid

I think it's possible we're far away from the correct path ;-) It's not 
mentioned at all in the openstack lbaas V2 documentation, but I think it's 
necessary to install Octavia on the controller machine first.
Then configure neutron on all compute nodes to support lbaas ...
Someone please correct me, if I'm wrong on this

Cheers
Yngvi

-Original Message-
From: Turbo Fredriksson [mailto:tu...@bayour.com]
Sent: 23. júní 2016 13:36
To: openstack@lists.openstack.org
Subject: Re: [Openstack] Create instance fails on creating block device - Block 
Device Mapping is Invalid

On Jun 23, 2016, at 2:10 PM, Turbo Fredriksson wrote:

> But even after disabling them, they're still show as 
> "status=disabled,state=up"
> with a "cinder service-list".. ?

I tried anyway, but creating a volume (empty or from an image) gave the host 
field as empty. And the status was Error!

So apparently I need to figure out a way to configure "local storage".


The LVM volume shows:

- s n i p -
bladeA01b:~# openstack volume show test | grep host
| os-vol-host-attr:host | bladeA01b@lvm#LVM_iSCSI |
- s n i p -
--
Build a man a fire, and he will be warm for the night.
Set a man on fire and he will be warm for the rest of his life.


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] Networking issues with neutron-linuxbridge-agent

2016-06-24 Thread Eugen Block

Make sure nova is using the noop driver.


I'm trying to use ceilometer, in that case the docs say to use  
messagingv2 driver, so that's what I did. And until two weeks ago it  
worked just fine, I had no networking issues.



double check your security groups config


The security groups also seem to be fine, my colleague works via ssh  
on those instances. And the interruption can be caused by deleting an  
instance in a different project with it's own security groups, it just  
has to run on the same compute node.



Zitat von Darragh O'Reilly :

double check your security groups config. Make sure nova is using  
the noop driver.




--
Eugen Block voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG  fax : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg e-mail  : ebl...@nde.ag

Vorsitzende des Aufsichtsrates: Angelika Mozdzen
  Sitz und Registergericht: Hamburg, HRB 90934
  Vorstand: Jens-U. Mozdzen
   USt-IdNr. DE 814 013 983


___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] python-keystoneclient (2.3.1-2) make wrong URI call for keystone api V3

2016-06-24 Thread Soputhi Sea
Hi,


I'm using Mitaka release (the very latest public release one from Jun-02), and 
i'm having issue with List Project in Horizon. In my case i have multiple 
projects created and when i login to Horizon the drop down list of project (on 
the top left corner) doesn't list properly, it only list one project only. And 
as I use Apache wsgi as a service instead of keystone python web service, i 
checked apache log and here is what i found


 [23/Jun/2016:17:09:37 +0700] "GET /v3/tenants HTTP/1.1" 404 93 "-" 
"python-keystoneclient"
 [23/Jun/2016:18:47:18 +0700] "POST /v3/tokens HTTP/1.1" 404 93 "-" 
"keystoneauth1/2.4.1 python-requests/2.10.0 CPython/2.7.5"


You can see here the URI "/v3/tenants" should be "/v2.0/tenants" or 
"/v3/projects" (i think)

and /v3/tokens should be "/v2.0/tokens" or "/v3/auth/tokens"


So i wonder if this is a bug in the python-keystoneclient or is there any 
configuration i can do to force the client/keystone/horizon to use a proper URI 
call?


As a side, i applied a workaround to fix this issue by creating a redirect rule 
in apache as follow

RewriteEngine on
Redirect /v3/tenants /v2.0/tenants
Redirect /v3/tokens /v2.0/tokens


Thanks in advance for any help.

Puthi

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack