[Openstack-operators] Liberty RabbitMQ and ZeroMQ

2016-08-14 Thread William Josefsson
Hi everyone, I see advice in replacing RabbitMQ with ZeroMQ. I've been running 2 clusters Liberty/CentOS7 with RabbitMQ now for while. The larger cluster consists of 3x Controllers and 4x Compute nodes. RabbitMQ is running is HA mode as per: http://docs.openstack.org/ha-guide/shared-messaging.html

[Openstack-operators] Change Dashboard Splash Logo and Top-left logo

2016-08-14 Thread William Josefsson
Hi, I'm trying to do a simple customization to my Liberty/CentOS7 dashboard changing my Splash-Logo and after login, the small top-left Logo. I have tried to follow the online customization guide and created by own custom.css in: # /usr/share/openstack-dashboard/openstack_dashboard/static/dashb

[Openstack-operators] DiskFilter Disabled - No valid host was found

2016-08-14 Thread William Josefsson
Hello, I got Error, no valid host was found while trying to provision and I could in nova-scheduler.log see that the DiskFilter failed to find a compute host. My OS is CentOS7/ running Liberty. If I'm not mistaken, it is a bug that DiskFilter checks space available on compute-host / partition even

[Openstack-operators] cURL call at the end of provisioning and deprovisioning

2016-08-14 Thread William Josefsson
Hi list, I wanted to make a cURL call once an instance provisioning finished, and also when an instance gets deprovisioned. I will make a http call to PowerDNS for registration and deregistration of A record. Is there any way to run a common for a instance once it is finished provisioning and whe

Re: [Openstack-operators] cURL call at the end of provisioning and deprovisioning

2016-08-15 Thread William Josefsson
inux OS image and is > configured by /etc/cloud/cloud.cfg. There you will see a module that does a > curl call at the end of the boot process. You don't have to modify the image, > it takes configuration as a user-data script. > Tomas > > > ---- Původní zpráva &

Re: [Openstack-operators] Liberty RabbitMQ and ZeroMQ

2016-08-15 Thread William Josefsson
thx Clint! okay I will stick to RabbitMQ for now. Do you know any good up2date guide for replacing RabbitMQ with ZeroMQ, or is the general documentation http://docs.openstack.org/developer/oslo.messaging/zmq_driver.html have you tried this? I'm also not sure if the ZeroMQ support is here to stay,

Re: [Openstack-operators] Change Dashboard Splash Logo and Top-left logo

2016-08-15 Thread William Josefsson
gt; > > 2016-08-14 9:55 GMT+02:00 William Josefsson : >> Hi, >> >> I'm trying to do a simple customization to my Liberty/CentOS7 >> dashboard changing my Splash-Logo and after login, the small top-left >> Logo. >> >> I have tried to follow the online cus

Re: [Openstack-operators] DiskFilter Disabled - No valid host was found

2016-08-15 Thread William Josefsson
gt; [1] http://lists.openstack.org/pipermail/openstack-dev/2016-August/101566.html > [2] https://review.openstack.org/#/c/200870/ > [3] https://review.openstack.org/#/c/355091/ > > >> -Original Message- >> From: William Josefsson [mailto:william.josef...@gma

Re: [Openstack-operators] DiskFilter Disabled - No valid host was found

2016-08-15 Thread William Josefsson
your >> flavor has more than 0 GB for root and/or ephemeral disk >> -it would fail. >> >> So I would say that setting your root disk space to '0' in the flavor might >> be a better workaround >> >> BR, >> Konstantin >> [1] >> http:

Re: [Openstack-operators] Liberty RabbitMQ and ZeroMQ

2016-08-16 Thread William Josefsson
order to avoid dealing with problems which you'll be stuck with. I > also don't think the CI at OpenStack does any testing for ZeroMQ. > > https://wiki.openstack.org/wiki/ZeroMQ > > On Mon, Aug 15, 2016 at 10:14 AM, William Josefsson > wrote: >> thx Clint! okay I

Re: [Openstack-operators] Change Dashboard Splash Logo and Top-left logo

2016-08-19 Thread William Josefsson
h.png > > we make sure with puppet that our version of these two files is in place. > > I hope this helps you > > Saverio > > > 2016-08-14 9:55 GMT+02:00 William Josefsson : >> Hi, >> >> I'm trying to do a simple customization to my Liberty/CentOS7 >&

Re: [Openstack-operators] DiskFilter Disabled - No valid host was found

2016-08-19 Thread William Josefsson
failback immediate > no_path_retry 0 > } > > Best regards > > Tobias > > > On 08/15/2016 05:15 PM, William Josefsson wrote: >> yes thx tobias, did you try live-migration after this change? I will >> try on my end too and share whether it worked with t

Re: [Openstack-operators] Change Dashboard Splash Logo and Top-left logo

2016-08-19 Thread William Josefsson
Yes, you're right. thanks Matthias and Saverio and sorry for my mistake, it works now. thx will On Fri, Aug 19, 2016 at 11:39 PM, Matthias Runge wrote: > On 19/08/16 15:34, William Josefsson wrote: >> Hi all, >> >> I tried this quick fix of replacing logo.pn

[Openstack-operators] Neutron Allow tenants to select Fixed VM IPs

2016-08-25 Thread William Josefsson
Hi, I wonder if there's any way of allowing my users to select fixed IPs for the VMs? I do shared Provider networks, VLAN on Liberty/CentOS. I know nova boot from the CLI or API has *v4-fixed-ip=ip-addr* option, however is there any way in the Dashboard where the User can select static IP? I wou

Re: [Openstack-operators] Neutron Allow tenants to select Fixed VM IPs

2016-08-26 Thread William Josefsson
and it’s gonna work. > > Cheers, > Lubosz Kosnik > Cloud Software Engineer OSIC > lubosz.kos...@intel.com > > On Aug 25, 2016, at 9:01 AM, William Josefsson > wrote: > > Hi, > > I wonder if there's any way of allowing my users to select fixed IPs for > the

Re: [Openstack-operators] Neutron Allow tenants to select Fixed VM IPs

2016-08-27 Thread William Josefsson
cified IP range it will start looking for free IPs from > the beginning of the range. > > Cheers, > Lubosz Kosnik > Cloud Software Engineer OSIC > lubosz.kos...@intel.com > > On Aug 26, 2016, at 11:06 AM, William Josefsson < > william.josef...@gmail.com> wrote: > &

Re: [Openstack-operators] Neutron Allow tenants to select Fixed VM IPs

2016-08-28 Thread William Josefsson
of losing the > ip. > > Sent from my iPhone > > On Aug 27, 2016, at 3:23 AM, William Josefsson > wrote: > > thanks Lubosz! I should explore further if floating IPs will help here. > > Can you also please clarify if VM IP is stored in the DB the IPs that have > been

[Openstack-operators] Delete cinder service

2016-09-01 Thread William Josefsson
Hi, I changed a hostname on my cinder node, and now I can see two entries in 'cinder service-list'. How do I delete the old entry, there is no 'cinder service-delete'? In meantime, I have disabled the old service. Google mention cinder-manage, but I don't have that tool available on my server Li

Re: [Openstack-operators] Delete cinder service

2016-09-02 Thread William Josefsson
Thanks everyone for your replies! I did a safe select first to make sure there was only one match. than I updated deleted=1 for that service which seem to work. Now 'cinder service-list' shows the right output. I notice in DB 'volumes', there are plenty of old volume entries, long ago deleted, and

Re: [Openstack-operators] Delete cinder service

2016-09-03 Thread William Josefsson
Thanks for sharing the blog post nick, it definitely came timely! thankfully my cluster is still fairly small, but this seem to definitely be something one wanna keep under observation. thx will On Fri, Sep 2, 2016 at 5:50 PM, Nick Jones wrote: > On 2 Sep 2016, at 9:28, William Josefsson wr

Re: [Openstack-operators] Converged infrastructure

2016-09-03 Thread William Josefsson
Hi matt, the hardware depends on your workload requirements, especially when we are talking latency. I do Dell PE R630s for Controllers, and R730 for Compute/Ceph. The latter got 8x400G Intel S3610+18xHitachi 1.8T SAS. Depending on the workload sensitivity if you have DBs and long distance between

[Openstack-operators] Default user timezone

2016-09-06 Thread William Josefsson
Hi list, My users created seem to by default have timezone UTC. I know there's a default TIME_ZONE variable in /etc/openstack_dashboard/local_settings, which I have been setting to my local time zone. However my newly created users still get UTC timezone by default. Is there any variable to set t

[Openstack-operators] User gets: Requested volume exceeds quota, with 8 volumes in Dashboard

2016-09-07 Thread William Josefsson
Hi, When I create projects with quotas configured, e.g. number volumes 8, and try to provision a VM, I get: *The requested instance cannot be launched. Requested volume exceeds quota: Available: 0, Requested: 1.* Does anyone know how to fix this? The project clearly has 8 volumes configured in t

Re: [Openstack-operators] User gets: Requested volume exceeds quota, with 8 volumes in Dashboard

2016-09-08 Thread William Josefsson
Hi Saverio, I've been debugging cinder api.log and there are no errors. I believe it is a horizon (?) issue. All my components are Liberty. *$ openstack quota show shows volumes = 8.* If the user and project are created through the dashboard I do not seem the problem. It seems like some databas

Re: [Openstack-operators] User gets: Requested volume exceeds quota, with 8 volumes in Dashboard

2016-09-08 Thread William Josefsson
a > specific user. > > Maybe you are also in this corner case ? > > Saverio > > 2016-09-08 12:11 GMT+02:00 William Josefsson : > > Hi Saverio, > > > > I've been debugging cinder api.log and there are no errors. I believe it > is > > a horizon (?)

Re: [Openstack-operators] User gets: Requested volume exceeds quota, with 8 volumes in Dashboard

2016-09-11 Thread William Josefsson
hi all, I have verified this and it seems to be a bug in horizon quota related. The bug exist in Liberty, when running from Horizon master pointing at the same deploy it works perfectly fine. thanks will On Thu, Sep 8, 2016 at 7:21 PM, William Josefsson wrote: > thanks Saverio. I checked,

[Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-28 Thread William Josefsson
Hi, I have problems with nova live-migration for my CentOS7 and RHEL7 VMs. The live migrations works fine for Windows2012R2 and Ubuntu1404 VMs. For CentOS7/RHEL based images I get this error in the Destination node in nova-compute.log. Also console for logged in VM users on the VM freeze. 2016

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-28 Thread William Josefsson
ons? We encountered this same issue and fixed > it by running "yum downgrade qemu-kvm qemu-kvm-common qemu-img” which took > us back to the el7_2.4 > > > Mike Smith > Lead Cloud Systems Architect > Overstock.com <http://overstock.com> > > > > On Sep 28

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-28 Thread William Josefsson
e Smith > Lead Cloud Systems Architect > Overstock.com <http://overstock.com> > > > > On Sep 28, 2016, at 8:55 AM, William Josefsson > wrote: > > thanks Mike! yes, I checked and I've got the versions you mentioned > installed: > > yum list installed |

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-28 Thread William Josefsson
yes thx Corbin, I should try setting mem_stats_period_seconds = 0 in libvirt section of nova.conf and then restart nova-compute on all hosts. Then I can try the live-migration again and see if that prevents VMs from unexpected shutdowns. Hopefully this works, and maybe this goes away with 7.3 when

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-29 Thread William Josefsson
thanks everyone, I verified setting mem_stats_period_seconds = 0 as suggested by Corbin in nova.conf libvirt section, and then restarting openstack-nova-compute service and it works! While this seems to be a workable workaround I'm not sure what's the plans to permanently fix this in CentOS7.2? th

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-09-30 Thread William Josefsson
David Moreau Simard > Senior Software Engineer | Openstack RDO > > dmsimard = [irc, github, twitter] > > > On Thu, Sep 29, 2016 at 5:00 AM, William Josefsson > wrote: >> thanks everyone, I verified setting mem_stats_period_seconds = 0 as >> suggested by Corbin in no

Re: [Openstack-operators] Nova live-migration failing for RHEL7/CentOS7 VMs

2016-10-02 Thread William Josefsson
rmittently under load. So it is entirely a > better option to shutdown the guest and perform the nova image-create as > opposed to doing it live if you can get away with it. > > Corbin Hendrickson > Endurance Cloud Development Lead - Manager > Cell: 801-400-0464 > > On Fri,

[Openstack-operators] Upgrades from Liberty

2016-10-17 Thread William Josefsson
Hi, can anyone pls advice on upgrading from Liberty, can I upgrade to Newton in one go, or will I first have to upgrade to Mitaka, not sure if anything would brake jumping two releases in one go? Also if there's any good documentation explaining how to go about an upgrade from Liberty->Mitaka, or

[Openstack-operators] Live-migration CPU doesn't have compatibility

2016-10-26 Thread William Josefsson
Hi list, I'm facing issues on Liberty/CentOS7 doing live migrations between to hosts. The hosts are Haswell and Broadwell. However, there is not feature specific running on my VMs Haswell -> Broadwell works Broadwell -> Haswell fails with the error below. I have on both hosts configured [libvir

[Openstack-operators] Live-migrations stuck in MIGRATING state

2016-10-26 Thread William Josefsson
Hi, Some of my VMs fail when I issue, nova live-migration while others work. The pattern seem to be common to instances that are running more intensive workloads such as database MQ etc. if I try with an idle small instance I don't see these issues. The VM get's stuck in MIGRATING state, and I c

Re: [Openstack-operators] Live-migration CPU doesn't have compatibility

2016-10-26 Thread William Josefsson
The VMs have to be restarted so that the libvirt config is updated > with the new CPU model. > > Good luck! > > On Wed, Oct 26, 2016 at 8:07 AM, William Josefsson > wrote: >> Hi list, >> >> I'm facing issues on Liberty/CentOS7 doing live migrations be

Re: [Openstack-operators] Live-migration CPU doesn't have compatibility

2016-10-27 Thread William Josefsson
On Thu, Oct 27, 2016 at 5:20 PM, Chris Friesen wrote: > In your case you probably want to set both computes to have: > > [libvirt] > cpu_mode = custom > cpu_model = Haswell > Hi Chris, thanks! Yerps, I finally got it working. However, I set cpu_model=kvm64 everywhere and it seems to work. It is

Re: [Openstack-operators] Live-migration CPU doesn't have compatibility

2016-10-27 Thread William Josefsson
ms of CPU usage. > > On Thu, Oct 27, 2016 at 11:31 AM, William Josefsson > wrote: >> On Thu, Oct 27, 2016 at 5:20 PM, Chris Friesen >> wrote: >>> In your case you probably want to set both computes to have: >>> >>> [libvirt] >>> cpu_m

[Openstack-operators] Nova snapshot using image-create not working

2016-11-04 Thread William Josefsson
Hi list, I have problems creating snapshots with nova image-create on Liberty/CentOS72. I have small ubuntu instances provisioned booted from a cinder volume, I stop the instance, then try to create a snapshot by issuing: As documented here: http://docs.openstack.org/user-guide/cli-use-snapshots-t

Re: [Openstack-operators] Nova snapshot using image-create not working

2016-11-07 Thread William Josefsson
0 bytes, that just contains metadata. > > you need to make cinder volume snapshots. > > This is a recurring FAQ for the users of our cloud, I wrote something > about it here: > https://help.switch.ch/engines/documentation/backup-with-snapshots/ > > Saverio > > 2016-11-04

[Openstack-operators] Safe migrations Liberty to Newton

2016-11-11 Thread William Josefsson
Hi everyone, I have been quite concerned about how to migrate 50 projects and total 100 instances on Liberty/CentOS72, to Newton. My storage backend is CEPH. Can anyone advice if I can as a safe migration path, do a fresh install of Newton on additional hardware. The new Newton cluster connecting

Re: [Openstack-operators] Safe migrations Liberty to Newton

2016-11-12 Thread William Josefsson
de.html# 4. Neutron, http://docs.openstack.org/developer/neutron/devref/upgrade.html# 5. Cinder, http://docs.openstack.org/developer/cinder/devref/rolling.upgrades.html# On Sat, Nov 12, 2016 at 9:13 AM, Matt Riedemann wrote: > On 11/11/2016 9:45 AM, Jay Pipes wrote: >> >> On 11/11/2016 0

[Openstack-operators] Change 'swap' in a flavor template

2016-12-15 Thread William Josefsson
Hi list, I have flavors created, and wanted to change 'swap', however it seems to be difficult. I've checked both 'nova flavor-key set', and 'openstack flavor set'. One can provide --properties swap=N, however that is adding a value to the properties field and does not amend the actual 'swap' attr

Re: [Openstack-operators] Change 'swap' in a flavor template

2016-12-15 Thread William Josefsson
On Thu, Dec 15, 2016 at 9:40 PM, Mikhail Medvedev wrote: > I could not figure out how to set swap on existing flavor fast enough, > so I initially edited nova db directly. There were no side effects in > doing so in Icehouse. I see no reason it would not work in Liberty. > >> Can anyone please ad

Re: [Openstack-operators] Change 'swap' in a flavor template

2016-12-16 Thread William Josefsson
avor set/update operation doesn't accept updating swap, or other parameters. I assume it may in the worst case cause inconsistencies.. thx will On Thu, Dec 15, 2016 at 11:58 PM, George Mihaiescu wrote: > Can you not update the flavour in dashboard? > >> On Dec 15, 2016, at 09:

[Openstack-operators] LBaaS V2 on multi-node Neutron Liberty

2016-12-30 Thread William Josefsson
Hi everyone, I need some advice on installing LBaaS on my Liberty (CentOS7) deployment. I have a multi host deployment with 2 Networking nodes running all my agents (L3, dhcp, .. ) I have reviewed this [1] documentation, and I notice there is LBaaS agent based V2, which is the current version, sho