[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] Nova and Magnum on the same host?

2016-06-09 Thread Turbo Fredriksson
On Jun 9, 2016, at 10:03 AM, Tomas Vondra wrote: > AFAIK the Magnum service will run containers inside VMs. It is a > provisioning system for container orchestration services like Kubernetes. I see. It doesn't work very well for Kubernetes, but maybe Magnums is smarter.. :) > There are drivers l

Re: [Openstack] Nova and Magnum on the same host?

2016-06-09 Thread Turbo Fredriksson
On Jun 9, 2016, at 11:55 AM, Ricardo Carrillo Cruz wrote: > If you just want to be able to run compute in containers and you don't need > fancy things like Kubernetes/Swarm etc No, that's what's Openstack is for :). Or at least why _I_ choose it.. > you can use a nova plugin: > > http://docs.op

[Openstack] ERROR nova.api.openstack.extensions CantStartEngineError: No sql_connection parameter is established

2016-06-13 Thread Turbo Fredriksson
all OpenStack Compute - common files ii nova-scheduler2:13.0.0-3 all OpenStack Compute - virtual machine scheduler ii nova-volume 2:13.0.0-3 all OpenStack Compute - storage metapackage Compute note: bladeA03b:~# dpkg -l nova\* | grep ^ii ii nova-common 2

Re: [Openstack] ERROR nova.api.openstack.extensions CantStartEngineError: No sql_connection parameter is established

2016-06-13 Thread Turbo Fredriksson
On Jun 13, 2016, at 8:10 PM, Turbo Fredriksson wrote: > Error: Unable to create the server. Googling a lot more, it occurred to me that the "Availability Zone" in the Project -> Compute -> Instances -> Launch Instance "creator" is empty! I have: bla

Re: [Openstack] [PKG-Openstack-devel] ERROR nova.api.openstack.extensions CantStartEngineError: No sql_connection parameter is established

2016-06-13 Thread Turbo Fredriksson
On Jun 13, 2016, at 10:06 PM, Turbo Fredriksson wrote: > Project -> Compute -> Instances -> Launch Instance Looking further in the GUI, I see Admin -> System -> Host Aggregates Availability Zone NameHosts Av

Re: [Openstack] [PKG-Openstack-devel] ERROR nova.api.openstack.extensions CantStartEngineError: No sql_connection parameter is established

2016-06-13 Thread Turbo Fredriksson
Never mind. Apparently I've missed to install the nova-conductor package. Sorry for the voice. ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openst

Re: [Openstack] [PKG-Openstack-devel] ERROR nova.api.openstack.extensions CantStartEngineError: No sql_connection parameter is established

2016-06-13 Thread Turbo Fredriksson
Don't I feel stupid! I was a little to quick there. There's now a AZ in the create GUI, but I still the "No sql_connection parameter is established" error in the log. boot_args: ['testing', , ] boot_kwargs: {'files': {}, 'userdata': None, 'availability_zone': 'nova', 'nics': [], 'block_device

Re: [Openstack] Mitaka installation process

2016-06-14 Thread Turbo Fredriksson
On Jun 14, 2016, at 8:17 PM, Venkatesh Kotipalli wrote: > I am new to openstack. Please guide me which way to configure the > openstack without packstack. I'm doing it manually, over and over and over and .., yeah, you get the point :), again. Every time I get one step closer. And doing this vi

Re: [Openstack] Nova and Magnum on the same host?

2016-06-15 Thread Turbo Fredriksson
On Jun 9, 2016, at 11:55 AM, Ricardo Carrillo Cruz wrote: > https://wiki.openstack.org/wiki/Docker I'm trying this and although I know very little of OS (and I haven't managed to boot up my first container yet because of other issues), I have the docker entry in the web GUI "Admin -> System -> Hy

[Openstack] Neutron networking in ten sentences?

2016-06-15 Thread Turbo Fredriksson
, VPNs etc etc). However, I do not understand where Neutron fits into this! Am I possibly over thinking it (wouldn't be the first time :). -- Turbo Fredriksson tu...@bayour.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo

Re: [Openstack] Neutron networking in ten sentences?

2016-06-15 Thread Turbo Fredriksson
On Jun 16, 2016, at 1:10 AM, Kevin Benton wrote: > It's essentially the equivalent of Amazon VPC: https://aws.amazon.com/vpc/ Ah, perfect. That cleared up a lot, I've worked with VPCs before. Not much, but enough to get the picture. Thanx! So where do the routers and "ports" come into this? And

Re: [Openstack] Nova and Magnum on the same host?

2016-06-16 Thread Turbo Fredriksson
On Jun 16, 2016, at 1:51 PM, Tomas Vondra wrote: > You cannot have two drivers in one process. Bummer!! But thanx, I'll thing about how to solve this. -- 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 pl

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

2016-06-16 Thread Turbo Fredriksson
I'm trying my newly installed Openstack system and I'm getting problem in starting my first instance. - s n i p - Build of instance 5193c2d9-0aaf-4f84-b108-f6884d97b571 aborted: Block Device Mapping is Invalid. File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1926, in

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

2016-06-17 Thread Turbo Fredriksson
On Jun 17, 2016, at 1:12 PM, Eugen Block wrote: > Have you nova-compute.logs? They don't say a thing, so I'm guessing it never gets that far. If I'm quick, i can see the LVM volume being created successfully (which the log also indicates). ___ Mailing

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

2016-06-17 Thread Turbo Fredriksson
On Jun 17, 2016, at 2:38 PM, Eugen Block wrote: > I don't even see the attempt to attach it. If it works, these steps should be > processed: Neither can I! And running with debugging doesn't show anything either :( The log literally say (no changes, no additions or removal!): - s n i p ---

[Openstack] Changing a service state Down to Up?

2016-06-18 Thread Turbo Fredriksson
I've had my console service on one of my Compute nodes in the Down state for a couple of days. I haven't bothered with it, but because I'm now stuck in network creation/understanding and my block storage problems, I thought I'd fix that. Saw a bunch of problems in the logs and have now fixed that.

[Openstack] Dashboard admin login now fails

2016-06-19 Thread Turbo Fredriksson
I noticed a problem with my nova-compute. It couldn't authenticate. Didn't say which part it couldn't authenticate to/with (there's two - keystone and neutron in addition to the MySQL connections). After a whole day trying to debug this (I am ABSOLUTLY sure that all the user and passwords where co

Re: [Openstack] Dashboard admin login now fails

2016-06-19 Thread Turbo Fredriksson
On Jun 19, 2016, at 6:50 PM, Nasir Mahmood wrote: > What your logs say about authentication in nova logs and keystone logs? They just say "Authentication failed". What I don't quite understand is why there's TWO authentication sections in nova.conf - one for Keystone (which must be the primary o

[Openstack] neutron-server: Does not honor neutron/region-name

2016-06-19 Thread Turbo Fredriksson
Package: neutron-server Version: 2:8.0.0-2 Severity: important Even though "europe-london" was specified, I still end up with "regionOne" in the config file. - s n i p - bladeA01b:~# grep regionOne /etc/neutron/neutron.conf region_name = regionOne bladeA01b:~# debconf-get-selections | eg

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

2016-06-20 Thread Turbo Fredriksson
On Jun 20, 2016, at 1:01 PM, Eugen Block wrote: > Is it possible to create an empty volume? Yes. > try to attach it to a running instance Can't start any instances because I can't create volumes.. :( > Do you see the iscsi session on your compute node? No. > Then you could try to create a vo

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

2016-06-20 Thread Turbo Fredriksson
On Jun 20, 2016, at 3:27 PM, Eugen Block wrote: > Can't you boot an instance without cinder? Don't know, can I?? > You could edit nova.conf to use local file system, just to have a running > instance. If that works you can switch to another backend. How? > cinder create --image --name I'l

[Openstack] Difference between admin_user and admin_tenant_name

2016-06-20 Thread Turbo Fredriksson
.. and can/should they be different? I don't quite understand the howtos. -- I love deadlines. I love the whooshing noise they make as they go by. - Douglas Adams ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to

Re: [Openstack] Dashboard admin login now fails

2016-06-20 Thread Turbo Fredriksson
On Jun 20, 2016, at 5:01 PM, Vincent Godin wrote: > Have you verified that all your hosts are well sychronized with ntp. If > your hosts have different time, you may encounter that kind of behaviour Ah. Yes, I actually saw something like that. I have my own local NTP (which gets it's time from o

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

2016-06-21 Thread Turbo Fredriksson
On Jun 21, 2016, at 11:40 AM, Abhishek Shrivastava wrote: > The first thing I want to know > > - Which VM are you creating(i.e; which OS image are you taking)? I've tried both the CirrOS and Debian GNU/Linux Jessie images. http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img

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

2016-06-21 Thread Turbo Fredriksson
On Jun 21, 2016, at 12:19 PM, Abhishek Shrivastava wrote: > ​Have you tried any other flavors? No, I never saw the point. The resources I specified was well within the flavors rules. And the error was "Block Device Mapping is Invalid" I can not see how changing the flavor would change that. -- S

Re: [Openstack] Unable to establish connection to http://controller:35357/v3/services

2016-06-22 Thread Turbo Fredriksson
On Jun 22, 2016, at 8:58 AM, Venkatesh Kotipalli wrote: > when i am creating "Create the service entity and API endpoints" it through > an error is "*Unable to establish connection to > http://controller:35357/v3/services " * What I found, the hard way, is tha

Re: [Openstack] how to change the admin password

2016-06-22 Thread Turbo Fredriksson
On Jun 22, 2016, at 4:15 PM, Venkatesh Kotipalli wrote: > How to change the admin password in mitaka version. - s n i p - bladeA03b:~# openstack --help | grep user [--os-user-domain-id ] [--os-user-domain-name ] [--os-scope ] [--os-user-

[Openstack] Can't authenticate my services (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-22 Thread Turbo Fredriksson
On Jun 17, 2016, at 2:05 PM, Turbo Fredriksson wrote: > On Jun 17, 2016, at 1:12 PM, Eugen Block wrote: > >> Have you nova-compute.logs? > > They don't say a thing, so I'm guessing it never gets > that far. Running EVERYTHING with debugging, insensitive loggi

Re: [Openstack] Can't authenticate my services (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-22 Thread Turbo Fredriksson
On Jun 22, 2016, at 8:17 PM, Turbo Fredriksson wrote: > I can't see anything in the logs, even with debugging and verbose > enabled. What I do see is this: - s n i p - 2016-06-22 20:25:58.102 2942 DEBUG nova.service [req-e5132bf8-d3a1-4214-8cba-94ea06dfc273 - -

Re: [Openstack] Can't authenticate my services (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-22 Thread Turbo Fredriksson
On Jun 22, 2016, at 8:30 PM, Turbo Fredriksson wrote: > What I do see is this: Yay! I managed to solve a problem on my own!! :D Mostly by guessing and hoping, but the problem was solved none the less :D Tweaking *_tenant_* values etc apparently solved the problem. I now see my Compute n

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

2016-06-22 Thread Turbo Fredriksson
Now that my authentication problems seems to be fixed, it's back on track with trying to boot my first instance.. On Jun 21, 2016, at 3:17 PM, Cynthia Lopes wrote: > If not, the command is: openstack volume create --size (size in GB) --image > (image name or id) volume_name > Just for info the c

Re: [Openstack] openstack liberty and lbaas v2

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 1:35 PM, Yngvi Páll Þorfinnsson wrote: > service_plugins = > router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2 > service_provider = > LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default I'm pretty sure that if you look in yo

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

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 12:26 PM, Eugen Block wrote: > /etc/cinder/cinder.conf:enabled_backends = rbd--> that's what I use > currently "rbd"? > I'm not sure if it would work, it's been a while since I used local storage, > but if you just comment the enabled_backend option out and restart cind

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

2016-06-23 Thread Turbo Fredriksson
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 em

Re: [Openstack] admin-openrc error in openstack

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 3:02 PM, venkat boggarapu wrote: > export OS_PROJECT_DOMAIN_NAME=defaultexport > OS_USER_DOMAIN_NAME=defaultexport OS_PROJECT_NAME=adminexport > OS_USERNAME=adminexport OS_PASSWORD=ADMIN_PASSexport > OS_AUTH_URL=http://controller:35357/v3export > OS_IDENTITY_API_VERSION=3export

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

2016-06-23 Thread Turbo Fredriksson
I'm starting to think that it might have something to do with the networking after all: - s n i p - 2016-06-23 15:52:13.775 25419 DEBUG nova.compute.manager [req-87a08e39-96ac-4c23-96dd-5227c972b865 0b7e5b0653084efdad5d67b66f2cf949 2985b96e27f048cd92a18db0dd 03aa23 - - -] [instance: d75b

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

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 4:30 PM, Eugen Block wrote: > They are running because you didn't stop the services, you just disabled them. I kind'a expected a disable to stop the service.. But what if I wanted to stop only ONE service (of several)? For example the "nfs" backend but leave the "lvm" online.

[Openstack] Volume creation

2016-06-23 Thread Turbo Fredriksson
When a volume is created, is it supposed to be shared with iSCSI at the same time, or is/should that be done once an Instance attaches it? -- Imagine you're an idiot and then imagine you're in the government. Oh, sorry. Now I'm repeating myself - Mark Twain ___

Re: [Openstack] Volume creation

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 8:37 PM, Remo Mattei wrote: > Once it gets attached Ok, thanx. That will help a little in pinpointing where I'm failing. -- Choose a job you love, and you will never have to work a day in your life. ___ Mailing list: http://lists.

Re: [Openstack] Volume creation

2016-06-23 Thread Turbo Fredriksson
On Jun 23, 2016, at 9:24 PM, Remo Mattei wrote: > Check out targetcli which is showing you the iscsi info. The api calls that > to create the volume I'm currently looking through the lvm.py and tgt.py. I'm just not seeing any attempt to create the target! -- Em - The battle cry of the cro

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

2016-06-23 Thread 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 2

[Openstack] No valid host was found. There are not enough hosts available. (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-23 Thread Turbo Fredriksson
Sorry for this long mail - I think the original problem is now fixed. I'm including the whole work/test log for posterity. And if someone have anything to comment on it, incase I've missed something.. After six, seven hours of debugging and modifying the code to output more information, I've fou

Re: [Openstack] No valid host was found. There are not enough hosts available. (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

2016-06-23 Thread Turbo Fredriksson
On Jun 24, 2016, at 12:32 AM, Turbo Fredriksson wrote: > And now I'm stuck again. Looking at the information of the instance, it now > say: > > No valid host was found. There are not enough hosts available. Looking closer at the Controllers logs, I see: - s n i p -

[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:

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 tur

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,

[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 t

[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_ta

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

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 .. bec

[Openstack] "neutron port-create --fixed-ip" still assigns a DHCP address

2016-06-26 Thread Turbo Fredriksson
What am I missing?? I don't want the .2 address. This port is supposed to be the gateway for that network. - s n i p - # neutron net-create --provider:network_type gre tenant-97 # neutron subnet-create --name subnet-97 --dns-nameserver 10.0.0.254 \ --enable-dhcp --ip-version 4 --gate

Re: [Openstack] "neutron port-create --fixed-ip" still assigns a DHCP address

2016-06-26 Thread Turbo Fredriksson
On Jun 26, 2016, at 2:12 PM, Scott Lowe wrote: > The .2 address you're seeing is the DHCP server itself (as noted by the > device owner set to "network:dhcp"), which needs a port on the network in > order to function. Ahh!! Doh, that makes sense! Well, I do want dhcp on the network. I thought

Re: [Openstack] Cannot able to connect to putty from another system while installing controller node in openstack

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 10:44 AM, venkat boggarapu wrote: > Set a username with --os-username, OS_USERNAME, or auth.username > Set an authentication URL, with --os-auth-url, OS_AUTH_URL or auth.auth_url > Set a scope, such as a project or domain, set a project scope with > --os-project-name, OS_PROJEC

Re: [Openstack] Reg: not able to start openstack-nova-compute.service in compute node

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 12:32 PM, venkat boggarapu wrote: > Check login credentials Seems pretty straight forward to me. You're having the wrong username/password when connecting to RabbitMQ. Try this: rgrep -E '^rabbit_' /etc -- Choose a job you love, and you will never have to work a day

Re: [Openstack] Launching an instance by using NFS shared volume

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 2:32 PM, Jean-Pierre Ribeauville wrote: > As told page 17 of this document : > > If you specify NFS, you must specify a list of NFS exports to mount. For > example: > ip-address:/export-name > Enter a single or comma seprated list of NFS exports to use > with Cinder [^([\d]{

Re: [Openstack] how to change the admin password

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 3:37 PM, Venkatesh Kotipalli wrote: > when i am tried to change the password in admin-openrc That doesn't actually change the password! It will only change the password you're using to connect, not the one that's actually used! -- Med ett schysst järnrör slår man hela världen

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

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 4:07 PM, Chris Friesen wrote: > ow about running two containers on your host, with one nova-compute in each? And those two is configured as docker and kvm respectively? And in those containers i run either a container or a kvm? Sounds way to complicated to actually work in th

Re: [Openstack] lbaas not showing in neutron agent-list

2016-06-27 Thread Turbo Fredriksson
On Jun 20, 2016, at 5:32 AM, Priyanka wrote: > However when I do|neutron agent-list|it does not show lbaas running. Did you ever figure this out? I'm now having the same problem.. -- Att inse sin egen betydelse är som att få ett kvalster att fatta att han bara syns i mikroskop - Arne Anka _

[Openstack] Networking - next step?

2016-06-27 Thread Turbo Fredriksson
I'm not sure what to do next. I've finally got my first instance up and running. But it doesn't get a DHCP address. Which is the first thing I can't figure out. I assume(d) that the Control node is [going to be] the gateway to the rest of the network (because the Control node is also the Network n

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

2016-06-27 Thread Turbo Fredriksson
On Jun 27, 2016, at 11:33 PM, Chris Friesen wrote: > Without some way to divide the resources between your two nova-compute > instances, they're both going to think that they have access to the whole > system and won't know what resources are used by the other one. I completely understand that

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 28, 2016, at 1:02 AM, Remo Mattei wrote: > Quick question how was this installed? Centos packstack, devstack etc. Manually, by installing packages from/on Debian GNU/Linux Sid (unstable). Then manual configuration by modifying files. > What does the nova service list show? Not sure if t

[Openstack] Ironic bug regarding request URI?

2016-06-28 Thread Turbo Fredriksson
7;s been rewritten quite a lot since then, so I'm not seeing the/anything obvious. This is ironic-api, v1:5.1.2-1, in Sid. -- Turbo Fredriksson tu...@bayour.com ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 28, 2016, at 5:17 PM, Turbo Fredriksson wrote: > Not sure if this is what you mean: Found a reference to nova service list, and this is probably more correct: - s n i p - bladeA01b:/etc/ironic# openstack compute service l

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 28, 2016, at 10:31 PM, Remo Mattei wrote: > Ok Turbo, > looks like your services are all up and running. can you check if your > neutron agent-list and neutron port-list shows any down services? - s n i p - bladeA01b:~# neutron agent-list +--+

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 28, 2016, at 11:19 PM, Kevin Benton wrote: > It sounds like the agents may be plugging their ports into the wrong OVS > bridge. It sounds like you have br-physical configured as your integration > bridge, but you also have eth0 directly plugged into that bridge as well. > That's not goin

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 28, 2016, at 11:36 PM, Remo Mattei wrote: > is this a multi deployment air? "multi deployment air"? > Did you check if you can ping each other if in a multi? "in a multi"? If you mean, can I ping the Controller via eth0 and vise versa, without the traffic going through eth1, then yes:

Re: [Openstack] Networking - next step?

2016-06-28 Thread Turbo Fredriksson
On Jun 29, 2016, at 12:03 AM, Turbo Fredriksson wrote: >Bridge br-tun >fail_mode: secure >Port patch-int >Interface patch-int >type: patch >options: {peer=patch-tun} Looking at my own setup in more detail, I

Re: [Openstack] UNABLE TO START THE OPENSTACK-CINDER-VOLUME SERVICE

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 8:07 AM, venkat boggarapu wrote: > when i tried to strat the service i am getting the below error What does your /var/log/cinder/*.log say? -- Try not. Do. Or do not. There is no try! - Yoda ___ Mailing list: http://lists.openstac

Re: [Openstack] Networking - next step?

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 12:28 AM, Kevin Benton wrote: > you will also need to change that in the > nova compute config with the 'linuxnet_ovs_integration_bridge' setting Ah, perfect! Thanx. > Whatever your integration bridge is, it should *not* have any physical > interfaces plugged into it directly

[Openstack] What neutron agent on Compute node?

2016-06-29 Thread Turbo Fredriksson
After fiddling with the bridge interfaces etc, I ended up with a not-working-at-all system (not sure why, reboot or something else). But it also ended up as something weird. - s n i p - [this is the Control node] bladeA01:~# neutron agent-list +--+-

Re: [Openstack] What neutron agent on Compute node?

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 7:15 PM, Kevin Benton wrote: > It depends on if you are using Distributed Virtual Routing (DVR). If so, > each compute node also needs to be running the l3 agent since the routing > is done locally at each node. Ok, thanx. It doesn't say on http://docs.openstack.org/admin-

Re: [Openstack] Networking - next step?

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 4:10 PM, Kevin Benton wrote: > No, just remove the interfaces from whichever one is your integration > bridge. Ok, my network seems to be back on track. I deleted the router and all the networks and subnets and recreated them and now all the interfaces are as they should be.

[Openstack] The plot thickens (Was: Networking - next step?)

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 8:05 PM, Turbo Fredriksson wrote: > Could that be because DHCP offers doesn't reach the instance? Shouldn't > the router/dhcp namespaces/interfaces be reversed? Something is seriously amiss! I accidentally took a look at the "Instance Console Log",

Re: [Openstack] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 8:17 PM, Gustavo Randich wrote: > Transitioning from nova-network to Neutron (Mitaka), one of the key issues > we are facing is how to reach VMs in VXLAN tenant networks without using > precious floating IPs. I thought that was the whole point, NOT allowing access to them from

Re: [Openstack] The plot thickens (Was: Networking - next step?)

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 9:36 PM, Kaustubh Kelkar wrote: > It resides within the L3 agent and is transparent to the VM. Ah, right. That's actually how AWS works as well, I completely forgot about that. Thanx. Well, trying again [creating a new instance], I this time selected ONLY one of my tenant

[Openstack] SOLVED! (Was: The plot thickens (Was: Networking - next step?))

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 9:44 PM, Turbo Fredriksson wrote: > However, I can't ping my OS router :(. Still "Down", but that might not matter. Because I can successfully traceroute an IP address on the physical network from the instance, and the route it takes is correct. It seems li

Re: [Openstack] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-29 Thread Turbo Fredriksson
On Jun 29, 2016, at 10:57 PM, Gustavo Randich wrote: > Right, but we need to access from the inside world (trusted infrastructure > components) "Outside world" in this case is everything outside the Openstack network you put the instance in. Depending on the security groups you add to the inst

Re: [Openstack] Networking - next step?

2016-06-30 Thread Turbo Fredriksson
On Jun 30, 2016, at 6:07 AM, Kevin Benton wrote: > It shouldn't matter which node they land on because the networks should be > able to reach any node. Ok, thanx. I just thought it was strange that the router was "bound" (?) to the Compute, not the [Network] Controller. --

[Openstack] Can't get data from the neutron metadata proxy

2016-06-30 Thread Turbo Fredriksson
Sorry, but I'm back :(. I've been googling this all night yesterday and all day today, but all i can see is that a lot of people are having the same problem and that there's bugs in Neutron. However, they're all quite old and this is Mitaka, so it should be fixed.. ? Many refer to a "metadata_pr

Re: [Openstack] [Openstack-operators] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-30 Thread Turbo Fredriksson
y/first network and then the tenant network as second. So when the VM booted, It got a 192.168.69.0/24 address! However, I could not reach it. And it could not reach anything else either. -- Turbo Fredriksson tu...@bayour.com ___ Mailing list: http://

Re: [Openstack] [Openstack-operators] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-30 Thread Turbo Fredriksson
On Jun 30, 2016, at 10:18 PM, Gustavo Randich wrote: > Thanks Mike, works OK! Simple IP routing :) How did you set this up? -- Em - The battle cry of the cronical masturbater. - Charlie Harper ___ Mailing list: http://lists.openstack.org/cgi-bin

Re: [Openstack] [Openstack-operators] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-30 Thread Turbo Fredriksson
On Jun 30, 2016, at 11:06 PM, Gustavo Randich wrote: > On the external node (the one needing access to VMs without using floating > IPs), I added an interface and IP address on the same VLAN as my Neutron > external network used for floating IPs. > Then added a static route specifying as destinat

Re: [Openstack] Reaching VXLAN tenant networks from outside (without floating IPs)

2016-06-30 Thread Turbo Fredriksson
On Jul 1, 2016, at 12:12 AM, Gustavo Randich wrote: > the net route is defined on the external node, and it is defined with the > *tenant network* (private) as destination and the Network Node (OS router) > as default gateway Wasn't that what I said? -- Att inse sin egen betydelse är som att få e

Re: [Openstack] Can't get data from the neutron metadata proxy

2016-07-01 Thread Turbo Fredriksson
On Jun 30, 2016, at 4:07 PM, Turbo Fredriksson wrote: Stracing the running process, I noticed this: connect(8, {sa_family=AF_LOCAL, sun_path="/var/lib/neutron/metadata_proxy"}, 33) = -1 ENOENT (No such file or directory) Creating the socket manually, I instead get "Connecti

Re: [Openstack] What neutron agent on Compute node?

2016-07-01 Thread Turbo Fredriksson
On Jul 1, 2016, at 9:28 PM, John Belamaric wrote: > Even if you are NOT running DVR, the OVS agent (but not L3) needs to run on > the compute to plumb the networking for instances on that node. The L3 agent > only needs to run on the network node unless you are running DVR. Ah! That's might be

[Openstack] Second Control node?

2016-07-02 Thread Turbo Fredriksson
I'm going to start setting up my second Control node. This is going to be identical to the first (in every detail). But I started to think about two Keystone (among other) services writing to the same database, possibly to the same tables etc. And that worries me.. What's the theory about havin

Re: [Openstack] Openstack Mitaka Neutron LBaaS Question

2016-07-05 Thread Turbo Fredriksson
On Jul 1, 2016, at 11:24 PM, zhihao wang wrote: > /etc/openstack-dashboard/local_settings.py > OPENSTACK_NEUTRON_NETWORK = { >'enable_lb': True > } Horizon only works with v1 of the LBaaS at the moment :(. Also, I couldn't get v2 to work, but I eventually got v1 working (with Open vSwitch/H

Re: [Openstack] Quesion about Openstack Magnum

2016-07-05 Thread Turbo Fredriksson
Please provide the output of the following command: egrep '^\[|^[a-z]' /etc/magnum/magnum.conf -- Att inse sin egen betydelse är som att få ett kvalster att fatta att han bara syns i mikroskop - Arne Anka ___ Mailing list: http://lists.openstac

[Openstack] Stop external network to reach instances (Was: Reaching VXLAN tenant networks from outside (without floating IPs))

2016-07-06 Thread Turbo Fredriksson
Ok, I managed to get this working as well. Was quite simple actually. But how do I _STOP_ this from happening?? If there's a root user on the [local] network, they can simply add that route. But in some cases I'd like to make sure that this DOESN'T work! Is there some configuration I can do in e

Re: [Openstack] Can't get data from the neutron metadata proxy

2016-07-06 Thread Turbo Fredriksson
On Jul 1, 2016, at 2:56 PM, Brian Haley wrote: > You also need to have the neutron-metadata-agent running anywhere you run the > proxy (well, anywhere the l3-agent is running since it starts them > typically). Each namespace proxy communicates with it over a Unix Domain > Socket, and it communi

Re: [Openstack] Installing Openstack Liberty with Openvswitch support

2016-07-06 Thread Turbo Fredriksson
[I run Mitaka, so things might have changed] On Jul 6, 2016, at 12:50 PM, Daniel Ruiz Molina wrote: > What I want to get is that all communitations between hypervisors run in eth0 > (public IP), >From what I understand, you need to setup your OVS bridge(s). This is how i do it, I use both my e

Re: [Openstack] Can't get data from the neutron metadata proxy

2016-07-06 Thread Turbo Fredriksson
On Jul 6, 2016, at 1:51 PM, Tong Li wrote: > service neutron-metadata-agent start > Don't have that service.. What's the command line look like? -- Att tänka innan man talar, är som att torka sig i röven innan man skiter. - Arne Anka ___ Mailing list:

Re: [Openstack] Stop external network to reach instances (Was: Reaching VXLAN tenant networks from outside (without floating IPs))

2016-07-06 Thread Turbo Fredriksson
On Jul 6, 2016, at 3:37 PM, Mike Spreitzer wrote: > Floating IP for the host? Those are usually for the guest. Sorry, I meant guest :) > Have you looked at Neutron's FWaaS? Not yet. It's not available on Debian GNU/Linux Sid (Mitaka).. -- Life sucks and then you die

Re: [Openstack] Can't get data from the neutron metadata proxy

2016-07-06 Thread Turbo Fredriksson
On Jul 6, 2016, at 3:09 PM, Tong Li wrote: > if it is an ubuntu env, it should be something like this: > Ok, that's pretty much what I figured out as well. But there's no change. It doesn't seem to be called.. -- Turbo Fredrik

Re: [Openstack] Can't get data from the neutron metadata proxy

2016-07-06 Thread Turbo Fredriksson
On Jul 6, 2016, at 4:57 PM, Turbo Fredriksson wrote: > Ok, that's pretty much what I figured out as well. > > But there's no change. It doesn't seem to be called.. With some strace's, debugging and trial-and-error in modifying the config file(s), I finally got it wo

Re: [Openstack] LINUX BRIDGE FLAT NETWORK NO DHCP INTO NAMESPACE

2016-07-08 Thread Turbo Fredriksson
On Jul 8, 2016, at 2:52 PM, Brent Troge wrote: > I think I am missing something simple here. Don't count on it! Setting up Neutron networking (if that's what you're doing and not using Nova networking which is the "old" way to do it) is a pain in the royal behind!! > What is needed to direct DHC

Re: [Openstack] Quesion about Openstack Magnum

2016-07-10 Thread Turbo Fredriksson
On Jul 9, 2016, at 10:59 PM, zhihao wang wrote: > 2016-07-09 14:51:46.440 12425 WARNING keystonemiddleware.auth_token [-] > Identity response: {"error": {"message": "The request you have made requires > authentication.", "code": 401, "title": "Unauthorized"}}2016-07-09 > 14:51:46.461 12425 WARN

[Openstack] Built in security group?

2016-07-12 Thread Turbo Fredriksson
I noticed today when I created an instance which only allowed incoming/outgoing SSH connections • ALLOW IPv4 22/udp to 0.0.0.0/0 • ALLOW IPv4 22/tcp from 0.0.0.0/0 that it failed on the setup of the cloud info. As in, the "http://169.254.169.254/2009-04-04/instance-id"; request f

Re: [Openstack] Built in security group?

2016-07-12 Thread Turbo Fredriksson
On Jul 12, 2016, at 5:33 PM, Darek Śmigiel wrote: > I believe you’re thinking about adding 22/tcp (and maybe icmp) to default > security group. No, because I've changed that to allow _everything_ (useful for testing and debugging). > If you don’t specify security group at launch, you will get d

  1   2   3   >