[Rdo-list] Systemd extension for HTTPD hosted applications
by Adam Young
Discussing offline versus online compression in #rdo.
What do we do now? Its ugly. The compression is performed at RPM
build time. THis is ugly, because the Javascript files it is
compressing come from other RPMS. So, if you update the RPM that has
newer javascript, the RPM will not see the change, and show the old code.
What we want is to specify that the compression script runs before
Horizon starts. While we know we need to optimize the script to keep
restart times down, that is an issue that needs to be solved upstream as
well. Lets assume for the moment that we will always run it.
The compression needs to be done in the system, but should not be done
by the HTTPD daemon itself; Static files should be owned by a user other
than the one that runs HTTPD.
The right answer seems to be systemd, since we use systemd to restart
httpd. We should be able to indicate that it needs to run the
compression script. We don't want to create a separate service for
openstack-dashboard, though; the service is HTTPD.
Steve Gallagher was kind enough to walk me through the basics. He
pointed me to what reviewboard (another mod_wsgi App) does. It installs
a file under
/usr/lib/systemd/system/httpd.service.d
named reviewboard-sites.conf. It looks like this:
|[Service]
ExecStartPre=/usr/bin/rb-site upgrade --all-sites
[Unit]
After=postgresql.service mariadb.service mysql.service memcached.service|
(visible at
http://pkgs.fedoraproject.org/cgit/ReviewBoard.git/tree/reviewboard-sites...)
so for horizon:
|ExecStartPre=python ${horizon_path}/manage.py compress --force-if-not-fresh|
I think this should be the pattern for all of the HTTPD hosted
services. We should do this with Keystone next.
9 years, 7 months
[Rdo-list] issue about add compute node
by lei mei
Hi everyone,
When I add a new compute node to the openstack which I deployed some
months ago, I meet a problem about the package version incompatible.
Detail thing is below:
1. I prepare a clean centos 7 system and add the ip address to the
packstack answer file.
2. Run packstack
3. Everything looks fine and I get the successful hint at last.
4. But I find the nova-compute service can't start on new compute node
with below log:
nova compute service fail to start due to "Connection to the
hypervisor is broken on host"
5. I checked the libvirt on compute node, find it has upgrade to the
latest version but the old openstack use the old version. And a lot of
packages on compute node have the newer version than the old openstack.
So I want to know how do you add a new compute node to the old openstack
avoid this package version incompatible issue? BTW, I use the default yum
repo, so should I maintain a internal static repo for expand the openstack?
-BR
Andy
9 years, 7 months
[Rdo-list] Juno vs Kilo in Fedora 22
by Alan Pevec
Hi all,
until this point we have been able to maintain 1:1 mapping from Fedora
to OpenStack releases [1]
which has some advantages for package maintainers in RDO, rdopkg info
output is nicely symmetrical and predictable:
$ rdopkg info
RDO releases & repos:
kilo (Fedora 23/rawhide)
fedora-22 built in koji/master from master branch
fedora-21: symlink to fedora-22 repo (don't submit fedora-21 updates)
epel-7 built in cbs/cloud7-el7 from master branch
juno (Fedora 22)
fedora-21 built in koji/f22 from f22 branch
fedora-20: symlink to fedora-21 repo (don't submit fedora-20 updates)
epel-7 built in copr/jruzicka/rdo-juno-epel-7 from f22 branch
icehouse (Fedora 21)
fedora-20 built in koji/f21 from f21 branch
epel-6 built in copr/jruzicka/rdo-icehouse-epel-6 from f21 branch
epel-7 built in copr/jruzicka/rdo-icehosue-epel-7 from f21 branch
But OpenStack releases are coming up quickly, upstream stable/juno
will be already in support phase II by the time Fedora 22 is
released[2]
We have a window of opportunity to push Kilo to Fedora 22 before it
freezes for Beta end of the month[3]
Advantage would be that we'll get fresh OpenStack release in Fedora 22
at the cost of skipping one OpenStack release in Fedora and dropping
RDO Juno for Fedora 21.
I'd like to hear from users if that's acceptable. Assumption here is
that Fedora users are mainly developers who are already following Kilo
development while stable production is on EL platforms.
We would keep RDO Juno for EL7 (and EL6 which is in the works) by
moving current f22 dist-git branches to github/openstack-packages
rpm-juno branches and eventually to CentOS CloudSIG dist-git when
that's ready.
Kilo3 import would be then finished on Fedora master and merged to f22
early next week.
Please provide feedback quickly if this plan is acceptable, we need to
execute it before March 31st.
Cheers,
Alan
[1] https://fedoraproject.org/wiki/OpenStack#OpenStack
[2] https://wiki.openstack.org/wiki/StableBranch#Support_phases
[3] https://fedoraproject.org/wiki/Releases/22/Schedule
9 years, 7 months
[Rdo-list] Fwd: Problems with Openstack installation on CentOS 7
by pauline phaure
ok, i will but how should i configure this ifcfg-files? should i put the
br-ex and br-int in the same vlans as eth0 and eth1?
2015-04-14 10:00 GMT+02:00 Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com>:
> Hi Pauline,
>
> I’m afraid that at this point you may need to connect via a KVM or direct
> monitor / keyboard to
> properly reconfigure the ifcfg files.
>
>
> > On 14/4/2015, at 9:48, pauline phaure <phaurep(a)gmail.com> wrote:
> >
> > Hi everyone,
> > I recently installed Openstack with RDO packstack on two servers. on
> each server I have 2 interfaces eth0 and eth1 each one of this interfaces
> is on a seperate vlans. As the VMs spawened by NOVA couldn't get an IP
> address, I saw in a tutorial that I should edit the files ifcfg-br-ex and
> ifcfg-br-int and when I did I lost my connection and couldn't anymore ssh
> to my servers.
> > Do you have any idea how i can solve this?
> > thank you in advance,
> > Pauline,
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list(a)redhat.com
> > https://www.redhat.com/mailman/listinfo/rdo-list
> >
> > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
>
> Miguel Angel Ajo
>
>
>
>
9 years, 7 months
Re: [Rdo-list] Rdo-list Digest, Vol 25, Issue 17
by pauline phaure
My openstack installation turns out to be a good mess. I'm going to start
from scratch. can anyway please give me a tuto that you tried to install
multinode architecture? plz (including br-ex and br-int configs)
2015-04-14 11:49 GMT+02:00 <rdo-list-request(a)redhat.com>:
> Send Rdo-list mailing list submissions to
> rdo-list(a)redhat.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.redhat.com/mailman/listinfo/rdo-list
> or, via email, send a message with subject or body 'help' to
> rdo-list-request(a)redhat.com
>
> You can reach the person managing the list at
> rdo-list-owner(a)redhat.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Rdo-list digest..."
>
>
> Today's Topics:
>
> 1. Re: Fwd: Problems with Openstack installation on CentOS 7
> (Miguel Angel Ajo Pelayo)
> 2. Re: Fwd: Problems with Openstack installation on CentOS 7
> (pauline phaure)
> 3. Re: Juno vs Kilo in Fedora 22 (Alan Pevec)
> 4. Re: Fwd: Problems with Openstack installation on CentOS 7
> (pauline phaure)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Apr 2015 04:04:07 -0400 (EDT)
> From: Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com>
> To: pauline phaure <phaurep(a)gmail.com>
> Cc: rdo-list(a)redhat.com
> Subject: Re: [Rdo-list] Fwd: Problems with Openstack installation on
> CentOS 7
> Message-ID:
> <969273340.10659687.1428998647206.JavaMail.zimbra(a)redhat.com>
> Content-Type: text/plain; charset=utf-8
>
> It's been a while since I'm not doing it, but isn't packstack supposed to
> do that for you?.
>
> What guide steps are you following to modify such files?
>
> ----- Original Message -----
> >
> >
> >
> > ok, i will but how should i configure this ifcfg-files? should i put the
> > br-ex and br-int in the same vlans as eth0 and eth1?
> >
> > 2015-04-14 10:00 GMT+02:00 Miguel Angel Ajo Pelayo <
> mangelajo(a)redhat.com > :
> >
> >
> > Hi Pauline,
> >
> > I?m afraid that at this point you may need to connect via a KVM or direct
> > monitor / keyboard to
> > properly reconfigure the ifcfg files.
> >
> >
> > > On 14/4/2015, at 9:48, pauline phaure < phaurep(a)gmail.com > wrote:
> > >
> > > Hi everyone,
> > > I recently installed Openstack with RDO packstack on two servers. on
> each
> > > server I have 2 interfaces eth0 and eth1 each one of this interfaces
> is on
> > > a seperate vlans. As the VMs spawened by NOVA couldn't get an IP
> address,
> > > I saw in a tutorial that I should edit the files ifcfg-br-ex and
> > > ifcfg-br-int and when I did I lost my connection and couldn't anymore
> ssh
> > > to my servers.
> > > Do you have any idea how i can solve this?
> > > thank you in advance,
> > > Pauline,
> > > _______________________________________________
> > > Rdo-list mailing list
> > > Rdo-list(a)redhat.com
> > > https://www.redhat.com/mailman/listinfo/rdo-list
> > >
> > > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> >
> > Miguel Angel Ajo
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list(a)redhat.com
> > https://www.redhat.com/mailman/listinfo/rdo-list
> >
> > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Apr 2015 10:23:06 +0200
> From: pauline phaure <phaurep(a)gmail.com>
> To: Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com>,
> rdo-list(a)redhat.com
> Subject: Re: [Rdo-list] Fwd: Problems with Openstack installation on
> CentOS 7
> Message-ID:
> <
> CAJM-u-XyFnVkSoxAFtA622SquOECvjtF3f5H7Gh8xrOkuND2kQ(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> no actually, packstack just added two files which were empty. Besides my
> VMs couldn't reach the dhcp agent and it was clear that all the br-ex
> br-int and br-tun were down.
>
> In order to fill my ifcfg-br-ex file i followed this tuto here
> https://www.rdoproject.org/Neutron_with_existing_external_network. for the
> br-int i followed this one
> https://www.rdoproject.org/forum/discussion/196/quantum-basic-setup/p1. I
> did exactly the same but i didn't work for me. I think that the problem is
> related to my interfaces eth0 and eth1 placed in vlans on the physical
> switch. any idea on how i could fix things?
>
> 2015-04-14 10:04 GMT+02:00 Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com>:
>
> > It's been a while since I'm not doing it, but isn't packstack supposed to
> > do that for you?.
> >
> > What guide steps are you following to modify such files?
> >
> > ----- Original Message -----
> > >
> > >
> > >
> > > ok, i will but how should i configure this ifcfg-files? should i put
> the
> > > br-ex and br-int in the same vlans as eth0 and eth1?
> > >
> > > 2015-04-14 10:00 GMT+02:00 Miguel Angel Ajo Pelayo <
> > mangelajo(a)redhat.com > :
> > >
> > >
> > > Hi Pauline,
> > >
> > > I?m afraid that at this point you may need to connect via a KVM or
> direct
> > > monitor / keyboard to
> > > properly reconfigure the ifcfg files.
> > >
> > >
> > > > On 14/4/2015, at 9:48, pauline phaure < phaurep(a)gmail.com > wrote:
> > > >
> > > > Hi everyone,
> > > > I recently installed Openstack with RDO packstack on two servers. on
> > each
> > > > server I have 2 interfaces eth0 and eth1 each one of this interfaces
> > is on
> > > > a seperate vlans. As the VMs spawened by NOVA couldn't get an IP
> > address,
> > > > I saw in a tutorial that I should edit the files ifcfg-br-ex and
> > > > ifcfg-br-int and when I did I lost my connection and couldn't anymore
> > ssh
> > > > to my servers.
> > > > Do you have any idea how i can solve this?
> > > > thank you in advance,
> > > > Pauline,
> > > > _______________________________________________
> > > > Rdo-list mailing list
> > > > Rdo-list(a)redhat.com
> > > > https://www.redhat.com/mailman/listinfo/rdo-list
> > > >
> > > > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> > >
> > > Miguel Angel Ajo
> > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Rdo-list mailing list
> > > Rdo-list(a)redhat.com
> > > https://www.redhat.com/mailman/listinfo/rdo-list
> > >
> > > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.redhat.com/archives/rdo-list/attachments/20150414/8dc22533/at...
> >
>
> ------------------------------
>
> Message: 3
> Date: Tue, 14 Apr 2015 10:54:17 +0200
> From: Alan Pevec <apevec(a)gmail.com>
> To: Matthias Runge <mrunge(a)redhat.com>
> Cc: "Rdo-list(a)redhat.com" <rdo-list(a)redhat.com>
> Subject: Re: [Rdo-list] Juno vs Kilo in Fedora 22
> Message-ID:
> <CAGi==UXqYzCWS+pCdn6UXS9D_LU+ohL7n0=
> AdPozBPW+yw6imw(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> > I'd even go the route to push horizon in kilo version to f22, even if the
> > rest of the stack will stay on Juno.
> > In theory that should work, as it did on my dev platform (using git
> checkout
> > and a remote RHOS-6 installation).
>
> Horizon is special, it would be even fine as an upgrade in the
> released Fedora since it has no db with state to upgrade.
> Swift is the same, it is always backward compatible.
>
> Cheers,
> Alan
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 14 Apr 2015 11:48:59 +0200
> From: pauline phaure <phaurep(a)gmail.com>
> To: Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com>,
> rdo-list(a)redhat.com
> Subject: Re: [Rdo-list] Fwd: Problems with Openstack installation on
> CentOS 7
> Message-ID:
> <
> CAJM-u-Xo3nd9XozUWHXb-Q8S6d6mbda7GPFBTmg+Vm4WrEeUhw(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> i turned down the br-ex and br-int and returned the eth0, eth0.xx,
> eth1,eth1.xx to their original state. Now i can ssh to my servers. But when
> I spawn a VM it can't reach the dhcp agent.
>
> Starting acpid: OK
> cirros-ds 'local' up at 0.84
> no results found for mode=local. up 0.87. searched: nocloud configdrive ec2
> Starting network...
> udhcpc (v1.20.1) started
> Sending discover...
> Sending discover...
> Sending discover...
> Usage: /sbin/cirros-dhcpc <up|down>
> No lease, failing
> WARN: /etc/rc3.d/S40-network failed
> cirros-ds 'net' up at 181.06
> checking http://169.254.169.254/2009-04-04/instance-id
> failed 1/20: up 181.07. request failed
> failed 2/20: up 183.09. request failed
> failed 3/20: up 185.10. request failed
> failed 4/20: up 187.10. request failed
> failed 5/20: up 189.11. request failed
> failed 6/20: up 191.11. request failed
> failed 7/20: up 193.12. request failed
> failed 8/20: up 195.12. request failed
> failed 9/20: up 197.13. request failed
> failed 10/20: up 199.13. request failed
> failed 11/20: up 201.14. request failed
> failed 12/20: up 203.14. request failed
> failed 13/20: up 205.15. request failed
> failed 14/20: up 207.15. request failed
> failed 15/20: up 209.16. request failed
> failed 16/20: up 211.16. request failed
> failed 17/20: up 213.17. request failed
> failed 18/20: up 215.17. request failed
> failed 19/20: up 217.18. request failed
> failed 20/20: up 219.18. request failed
> failed to read iid from metadata. tried 20
> no results found for mode=net. up 221.19. searched: nocloud configdrive ec2
> failed to get instance-id of datasource
>
>
>
> 2015-04-14 10:23 GMT+02:00 pauline phaure <phaurep(a)gmail.com>:
>
> > no actually, packstack just added two files which were empty. Besides my
> > VMs couldn't reach the dhcp agent and it was clear that all the br-ex
> > br-int and br-tun were down.
> >
> > In order to fill my ifcfg-br-ex file i followed this tuto here
> > https://www.rdoproject.org/Neutron_with_existing_external_network. for
> > the br-int i followed this one
> > https://www.rdoproject.org/forum/discussion/196/quantum-basic-setup/p1.
> I
> > did exactly the same but i didn't work for me. I think that the problem
> is
> > related to my interfaces eth0 and eth1 placed in vlans on the physical
> > switch. any idea on how i could fix things?
> >
> > 2015-04-14 10:04 GMT+02:00 Miguel Angel Ajo Pelayo <mangelajo(a)redhat.com
> >:
> >
> >> It's been a while since I'm not doing it, but isn't packstack supposed
> to
> >> do that for you?.
> >>
> >> What guide steps are you following to modify such files?
> >>
> >> ----- Original Message -----
> >> >
> >> >
> >> >
> >> > ok, i will but how should i configure this ifcfg-files? should i put
> the
> >> > br-ex and br-int in the same vlans as eth0 and eth1?
> >> >
> >> > 2015-04-14 10:00 GMT+02:00 Miguel Angel Ajo Pelayo <
> >> mangelajo(a)redhat.com > :
> >> >
> >> >
> >> > Hi Pauline,
> >> >
> >> > I?m afraid that at this point you may need to connect via a KVM or
> >> direct
> >> > monitor / keyboard to
> >> > properly reconfigure the ifcfg files.
> >> >
> >> >
> >> > > On 14/4/2015, at 9:48, pauline phaure < phaurep(a)gmail.com > wrote:
> >> > >
> >> > > Hi everyone,
> >> > > I recently installed Openstack with RDO packstack on two servers. on
> >> each
> >> > > server I have 2 interfaces eth0 and eth1 each one of this interfaces
> >> is on
> >> > > a seperate vlans. As the VMs spawened by NOVA couldn't get an IP
> >> address,
> >> > > I saw in a tutorial that I should edit the files ifcfg-br-ex and
> >> > > ifcfg-br-int and when I did I lost my connection and couldn't
> anymore
> >> ssh
> >> > > to my servers.
> >> > > Do you have any idea how i can solve this?
> >> > > thank you in advance,
> >> > > Pauline,
> >> > > _______________________________________________
> >> > > Rdo-list mailing list
> >> > > Rdo-list(a)redhat.com
> >> > > https://www.redhat.com/mailman/listinfo/rdo-list
> >> > >
> >> > > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> >> >
> >> > Miguel Angel Ajo
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Rdo-list mailing list
> >> > Rdo-list(a)redhat.com
> >> > https://www.redhat.com/mailman/listinfo/rdo-list
> >> >
> >> > To unsubscribe: rdo-list-unsubscribe(a)redhat.com
> >>
> >
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> https://www.redhat.com/archives/rdo-list/attachments/20150414/e3b1c346/at...
> >
>
> ------------------------------
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list(a)redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
>
> End of Rdo-list Digest, Vol 25, Issue 17
> ****************************************
>
9 years, 7 months
[Rdo-list] Problems with Openstack installation on CentOS 7
by pauline phaure
Hi everyone,
I recently installed Openstack with RDO packstack on two servers. on each
server I have 2 interfaces eth0 and eth1 each one of this interfaces is on
a seperate vlans. As the VMs spawened by NOVA couldn't get an IP address, I
saw in a tutorial that I should edit the files ifcfg-br-ex and
ifcfg-br-int and when I did I lost my connection and couldn't anymore ssh
to my servers.
Do you have any idea how i can solve this?
thank you in advance,
Pauline,
9 years, 7 months