Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Eugen Block
Hi, we've been trying to learn how to feed cloud-init with ip addresses, too. If DHCP is disabled in your network, the instance won't get it's eth0 configured and won't be able to query the metadata server. Creating a port before attaching it to a booting instance also doesn't work if no dh

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Andreas Scheuring
We faced a similar issue while doing some tests in the past. In any case you need to use the config drive. This is the only way how your instance can access the IP information required. There seem to be 3 ways for doing the configuration #1 There is some code for cloud-init in review [1], that w

Re: [Openstack] Ubuntu Xenial Options

2016-08-25 Thread Jose Manuel Ferrer Mosteiro
Mitaka is included by default in Ubuntu Xenial without adding extra repositories. I have developed some ansibles that do the job in Ubuntu Xenial without adding extra repositories: https://github.com/paradigmadigital/ansible-openstack-vcenter [4] I have three servers with 96GB RAM and 250 deve

Re: [Openstack] Swift object-server Invalid Unexpected file Timestamp value in filename

2016-08-25 Thread Chris
Hello Hamza, I don’t even have the “filter-xprofile” option in my config what is it for? [DEFAULT] devices = /srv/node bind_ip = xxx bind_port = 6000 mount_check = true user = swift log_name = object-server log_facility = LOG_LOCAL2 log_level = INFO log_address = /dev/log workers

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Eugen Block
You can download the tarball for cloud-init-0.7.7 from [1] already. You would have to build the packages yourself, I don't know if that's an option for you. Currently, we're in a review process at OBS to upgrade from 0.7.6 to 0.7.7 based on this new tarball. In case it will be accepted you'll

Re: [Openstack] Swift object-server Invalid Unexpected file Timestamp value in filename

2016-08-25 Thread John Dickinson
xprofile is a module that can be used to profile the running code in a swift proxy. I would not recommend running it in a production environment. It's mostly for a developer use case. --John On 25 Aug 2016, at 4:28, Chris wrote: > Hello Hamza, > > > > I don’t even have the “filter-xprofile”

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Satish Patel
Eugen, I think config-drive make sense when you don't have initial network in place. In my case i don't care about fixed-IP for instance. I only need to setup network using whatever IP neutron provide in that case how do i query neutron port to find out what IP address is available or neutron goin

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Satish Patel
I am planning to upgrade liberty to mitaka now so hope i will have latest and greatest feature to solve this problem. why openstack community doesn't have any straightforward solution. When i was trying to use DHCP in openstack i found openstack DHCP start provide ip address to my existing LAN mac

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Kaustubh Kelkar
If you are using VLANs, you can configure the physical switch to not forward frames with VLAN tags (that are used within openstack) out the other ports. > -Original Message- > From: Satish Patel [mailto:satish@gmail.com] > Sent: Thursday, August 25, 2016 9:31 AM > To: Eugen Block > C

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Eugen Block
I'm not sure if I understand this correctly, but I believe we have a smilar setup: You have existing VLANs which have their own DHCP server and existing instances running. And you want to add new instances having their network interfaces in these VLANs, therefor you intend to disable neut

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Kaustubh Kelkar
Here is a heat template that I use (the indentation might be off). I have one network with DHCP enabled that connects to metadata server: heat_template_version: 2015-04-30 parameters: mgmt: type: json description: ID of the mgmt network default: { "name": "mgmt" , "i

Re: [Openstack] Swift object-server Invalid Unexpected file Timestamp value in filename

2016-08-25 Thread Clay Gerrard
On Thu, Aug 25, 2016 at 1:28 AM, Chris wrote: > > > I don’t even have the “filter-xprofile” option in my config what is it for? > > > http://docs.openstack.org/developer/swift/middleware.html#module-swift.common.middleware.xprofile ___ Mailing list: htt

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Satish Patel
This is perfect! In your script, does it automatically query to neutron to get IP ADDRESS of instance? or i need to manually set IP address in script variable $IPADDR In setup Openstack start VM and also assign IP address from allocated pool but i want to automatically pass that IP address to sc

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Kaustubh Kelkar
The get_attr{} function should return the address in IPADDR variable. Remember, you *do need* another NIC connected to metadata server with DHCP enabled, since the user-data is retrieved from the metadata server. By default, Ubuntu has the 1st interface configured to get IP from DHCP server, wh

Re: [Openstack] Guest VM IP configuration script

2016-08-25 Thread Van Leeuwen, Robert
> When i was trying to use DHCP in openstack i found openstack DHCP > start provide ip address to my existing LAN machines ( we are using > flat VLAN with neutron), that is why i disable openstack DHCP, Is it > common or i am doing something wrong? I do not think this should happen. It has been a