Re: [Openstack-operators] Draft Agenda for MAN Ops Meetup (Feb 15, 16)

2016-02-02 Thread Rochelle Grober
Hey, folks. Two things about the agenda. I can handle the "OSOps - what is it, where is it going, what you can do" presentation. There might be one other from the group, but if not, it's mine. Also, instead of the OSOps working session, I'd like to propose: A session on config opts and what

[Openstack-operators] [ironic] Partition images in ironic

2016-02-02 Thread Arun SAG
Hi All, I am looking for operators who have deployed OS using partition images in ironic. I have following questions 1. The partition image deployment by default seems to install grub2. How did that work for distro's like RHEL6 which has legacy version of grub? 2. Any one has created

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
Here's the glance-registry paste http://paste.openstack.org/show/lnGRPKxP6Dg8T8muFuMH/ On Wed, 3 Feb 2016 at 10:29 Abel Lopez wrote: > Maybe paste a few more lines from your log to paste.openstack.org so we > can have a look. > > On Feb 2, 2016, at 3:25 PM, Liam Haworth

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
In response to Kris, On ctrl1: glance:x:112:120::/var/lib/glance:/bin/false On ctrl2: glance:x:112:119::/var/lib/glance:/bin/false 120 on ctrl2 is nova, so on ctrl1 the perms would be glance:glance and on ctrl2 it would glance:nova. I would suspect this as the issue if the issue has happening on

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
Here is a output from my system instead of my blabbering in a long winded email root@ctrl1:~# uname -a Linux ctrl1 3.19.0-43-generic #49~14.04.1-Ubuntu SMP Thu Dec 31 15:44:49 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@ctrl1:~# df -h Filesystem SizeUsed

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Kris G. Lindgren
Not related to your issue, but something to keep an eye out for, is that you need to keep the uid for glance synced across your glances servers when using an nfsv3 store. Since nfsv3 stores the uid & gid for the file perms. You can run into weird issues if glance is uid/gid 501 on one glance

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Abel Lopez
I ran into a similar issue in Havana, but that was because we were doing some 'behind-the-scenes' modification of the image (format conversion) Once we stopped that, the issue went away. What is your glance store configured as? > On Feb 2, 2016, at 3:05 PM, Liam Haworth

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
Glance is configured to use file store to /var/lib/glance/images On Wed, 3 Feb 2016 at 10:12 Abel Lopez wrote: > I ran into a similar issue in Havana, but that was because we were doing > some 'behind-the-scenes' modification of the image (format conversion) > Once we

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Abel Lopez
Ok, with file store, some of the silly things that crop up are around directory permissions, disk space, SELinux/apparmour. Make sure the glance user and group have ownership (recursively) of the /var/lib/glance directory, make sure you're not low on space, if you have SELinux set to

[Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
Hey All, This sounds like an old bug after trying to google it but everything I found doesn't really seem to help. I'm trying to upload a 2.5GB QCOW2 image to glance to be used by users, the upload goes fine and in the glance registry logs I can see that it has successfully saved the image but

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Abel Lopez
Maybe paste a few more lines from your log to paste.openstack.org so we can have a look. > On Feb 2, 2016, at 3:25 PM, Liam Haworth wrote: > > Here is a output from my system instead of my blabbering in a long winded > email > >

Re: [Openstack-operators] Config Drive has no content/0000

2016-02-02 Thread TAO ZHOU
When you create the network you need to set dhcp to false, otherwise, no static ip in config drive. On Thu, Jul 2, 2015 at 9:59 AM, TAO ZHOU wrote: > Hi, > > I have an icehouse openstack setup. > > I have the following lines in nova.conf: > > force_config_drive = always >

Re: [Openstack-operators] Config Drive has no content/0000

2016-02-02 Thread Kris G. Lindgren
We noticed the same thing. It a simple patch in /nova/virt/netutils.py (we have been running this since icehouse). Below is our current patch for kilo. --- a/nova/virt/netutils.py +++ b/nova/virt/netutils.py @@ -104,8 +104,9 @@ def get_injected_network_template(network_info, use_ipv6=None,

Re: [Openstack-operators] Config Drive has no content/0000

2016-02-02 Thread Kris G. Lindgren
I just noticed you said icehouse… Here is our icehouse patch: @@ -88,8 +88,8 @@ def get_injected_network_template(network_info, use_ipv6=CONF.use_ipv6, ifc_num += 1 -if not network.get_meta('injected'): -continue +#if not network.get_meta('injected'): +

Re: [Openstack-operators] Upstream University: Signup for Mentors and Mentees

2016-02-02 Thread ashish.jain14
Thanks Mike. From: Mike Perez Sent: Tuesday, February 2, 2016 1:41 AM To: Ashish Jain (BAS) Cc: zhipengh...@gmail.com; opnfv-tech-disc...@lists.opnfv.org; openstack-operators@lists.openstack.org Subject: Re: [Openstack-operators]

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
So, just tired uploading the image via CLI with this command: glance --os-image-api-version 1 image-create --progress --file ./polygraph-dns-services.qcow2 --min-disk 5 --container-format bare --disk-format qcow2 --name polygraph-dns-services Got this error: 410 Gone: Error in store

Re: [Openstack-operators] Draft Agenda for MAN Ops Meetup (Feb 15, 16)

2016-02-02 Thread Tom Fifield
On 03/02/16 06:36, Rochelle Grober wrote: Hey, folks. Two things about the agenda. I can handle the "OSOps - what is it, where is it going, what you can do" presentation. There might be one other from the group, but if not, it's mine. Also, instead of the OSOps working session, I'd like to

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
After searching my configs nothing is out of place and I have even tried setting the permissions on the images folder to 777 to see if that helps but nothing has helped and glance api keeps throwing this: http://paste.openstack.org/show/485794/ On Wed, 3 Feb 2016 at 11:51 Liam Haworth

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
Do you want registry as well or just API? On Wed, 3 Feb 2016 at 13:02 Abel Lopez wrote: > Can you paste your glance config? > > On Tuesday, February 2, 2016, Liam Haworth > wrote: > >> After searching my configs nothing is out of place and I

Re: [Openstack-operators] [glance] Image enters "killed" state on upload

2016-02-02 Thread Liam Haworth
/etc/glance/glance-api.conf from ctrl2 (ctrl1 is the same except for the bind host) http://paste.openstack.org/show/8TSgIHjoNUmJZUJKlIul/ On Wed, 3 Feb 2016 at 13:03 Liam Haworth wrote: > Do you want registry as well or just API? > > On Wed, 3 Feb 2016 at 13:02