<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
For the record, what version of ceph are you using before and after?<br>
<br>
Thanks,<br>
Kevin <strong>
<div><font face="Tahoma" color="#000000" size="2"> </font></div>
</strong>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> Cynthia Lopes<br>
<b>Sent:</b> Thursday, June 04, 2015 1:27:53 AM<br>
<b>To:</b> Steve Gordon<br>
<b>Cc:</b> OpenStack Operations Mailing List<br>
<b>Subject:</b> Re: [Openstack-operators] Venom vulnerability<br>
</font><br>
<div></div>
<div>
<div dir="ltr">Hi guys,
<div><br>
</div>
<div>Just for feedback and if somebody else has compute nodes on CentOS 7.0, IceHouse and uses Ceph.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>----------------------------------------------------------</div>
<div>What I did that worked for me:</div>
<div>----------------------------------------------------------<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>#Remove all QEMU and Livirt related RPMs. I had recompiled QEMU for RBD and Libvirt that I had was not compatible with the patched QEMU.</div>
<div>#This removes openstack-nova-compute and so on, be careful...</div>
<div>
<div>yum remove -y `rpm -qa | grep qemu`</div>
<div>yum remove -y `rpm -qa | grep libvirt`</div>
</div>
<div><br>
</div>
<div>#I updated base and update centos repositories to gether from most up to date versions. I have local repositories, so the commands should be adapted...</div>
<div>
<div>sed -i "s|/centos7|/centos7.1|g" CentOS-Base7.repo</div>
<div>sed -i "s|/centos7update|/centos7.1update|g" CentOS-Base7.repo</div>
</div>
<div><br>
</div>
<div>#I had to do an update...</div>
<div>
<div>yum clean all</div>
<div>yum -y update #check problem only with ceph... I had some dependencies problems with the ceph packages. But just Ceph</div>
<div><br>
</div>
<div>yum -y update --skip-broken #but ignoring them worked just fine</div>
<div><br>
</div>
<div>cd /etc/yum.repos.d/<br>
</div>
<div>#The update added all these repos on my yum.repos.d so I deleted (because I use local repositories)</div>
<div>rm -f CentOS-Base.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Sources.repo CentOS-Vault.repo</div>
</div>
<div><br>
</div>
<div>#Then I re-installed QEMU and Libvirt with CentOS7.1 repositories (base and update)</div>
<div>yum -y install kvm qemu-kvm python-virtinst libvirt libvirt-python virt-manager libguestfs-tools<br>
</div>
<div>service libvirtd start<br>
</div>
<div><br>
</div>
<div>#I use puppet to configure my host, so I just re-run it to re-install nova-compute and re-configure</div>
<div>puppet agent -t #so replace this with your procedure for configure your compute node<br>
</div>
<div><br>
</div>
<div>service openstack-nova-compute status #chek nova-compute is running...</div>
<div> <br>
</div>
<div>#I had a console.log file in the instances directory that became owned by root. So be sure to have everything owned by nova</div>
<div>chown -R nova:nova /var/lib/nova/<br>
</div>
<div><br>
</div>
<div>#Of course, at this moment all my instances were shutoff, so just restart them...</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>source keystonerc* #credentials</div>
<div><br>
</div>
<div>vms=`nova list --all-tenants --minimal --host $host | grep -v ID | grep -v "+-" | awk '{print $2}'` #guest vms ids on the host...</div>
</div>
<div><br>
</div>
<div>for vm in $vms ; do nova start $vm; done  #start vms...<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>--------------------------------------------------------</div>
<div>Hope this might be useful for someone...</div>
<div><br>
</div>
<div>Regards,</div>
<div>Cynthia Lopes do Sacramento</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-06-03 2:35 GMT+02:00 Steve Gordon <span dir="ltr"><<a href="mailto:sgordon@redhat.com" target="_blank">sgordon@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<span class="">----- Original Message -----<br>
> From: "Erik McCormick" <<a href="mailto:emccormick@cirrusseven.com">emccormick@cirrusseven.com</a>><br>
> To: "Tim Bell" <<a href="mailto:Tim.Bell@cern.ch">Tim.Bell@cern.ch</a>><br>
><br>
> On Tue, Jun 2, 2015 at 5:34 AM, Tim Bell <<a href="mailto:Tim.Bell@cern.ch">Tim.Bell@cern.ch</a>> wrote:<br>
><br>
> >  I had understood that CentOS 7.1 qemu-kvm has RBD support built-in. It<br>
> > was not there on 7.0 but <a href="http://tracker.ceph.com/issues/10480" target="_blank">
http://tracker.ceph.com/issues/10480</a> implies it<br>
> > is in 7.1.<br>
> ><br>
> ><br>
> ><br>
> > You could check on the centos mailing lists to be sure.<br>
> ><br>
> ><br>
> ><br>
> > Tim<br>
> ><br>
> ><br>
> It's about time! Thanks for the pointer Tim.<br>
><br>
> Cynthia, If for some reason it's not in the Centos ones yet, I've been<br>
> using the RHEV SRPMs and building the packages. You don't have to mess with<br>
> the spec or anything. Just run them through rpmbuild and push them out.<br>
><br>
> <a href="http://ftp.redhat.com/pub/redhat/linux/enterprise/7Server/en/RHEV/SRPMS/" target="_blank">
http://ftp.redhat.com/pub/redhat/linux/enterprise/7Server/en/RHEV/SRPMS/</a><br>
><br>
> -Erik<br>
<br>
</span>FWIW equivalents builds for use with oVirt, RDO, etc. are being created under the auspices of the CentOS Virt SIG:<br>
<br>
    <a href="http://cbs.centos.org/repos/virt7-kvm-common-testing/x86_64/os/Packages/" target="_blank">
http://cbs.centos.org/repos/virt7-kvm-common-testing/x86_64/os/Packages/</a><br>
<br>
Thanks,<br>
<br>
Steve<br>
<div class="HOEnZb">
<div class="h5"><br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>