Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
[root@plato ~]# tail /var/log/cinder/volume.log 2018-03-20 22:10:50.258 2572 ERROR cinder.service [-] Manager for service cinder-volume plato.spots.onsite@lvm is reporting problems, not sending heartbeat. Service will appear "down". 2018-03-20 22:11:00.259 2572 ERROR cinder.service [-] Manager

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Remo Mattei
Ahh Packstack does not have pcs.. that’s only OOO. And what does your /var/log/cinder/cinder-volume say? Is this all in one? Split? Looks like your cinder is having some issues.. check out targetcli here is a ref page https://www.certdepot.net/rhel7-configure-iscsi-target-initiator-persistent

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
RDO PackStack https://www.rdoproject.org/install/packstack/ > On Mar 20, 2018, at 9:35 PM, r...@italy1.com wrote: > > How did you install OpenStack? > >  dal mio iPhone X > >> Il giorno 20 mar 2018, alle ore 18:29, Father Vlasie ha >> scri

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread remo
Content-Type: multipart/alternative; boundary="=_6aa27b13c7a0115b40ff869e386216f9" --=_6aa27b13c7a0115b40ff869e386216f9 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=utf-8 SG93IGRpZCB5b3UgaW5zdGFsbCBPcGVuU3RhY2s/IA0KDQrvo78gZGFsIG1pbyBpUGhvbmUgWCAN Cg0KPiBJbCBnaW9ybm

Re: [Openstack] [Swift] Erasure code durability and overhead in small clusters

2018-03-20 Thread Mark Kirkwood
On 14/03/18 13:33, Mark Kirkwood wrote: Doing a bit more playing about leads me to think that for a *single region* EC policy we can get a tighter lower bound on the number of hosts: I'm calculating it as (k+m)/m. I probably should have shared the reasoning rather than just plumping the f

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
[root@plato ~]# pcs status -bash: pcs: command not found > On Mar 20, 2018, at 6:28 PM, Remo Mattei wrote: > > Looks like your pacemaker is not running check that out! > > sudo pcs status > >> On Mar 20, 2018, at 6:24 PM, Father Vlasie wrote: >> >> Your help is much appreciated! Thank you

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
Your help is much appreciated! Thank you. The cinder service is running on the controller node and it is using a disk partition not the loopback device, I did change the default configuration during install with PackStack. [root@plato ~]# pvs PV VG Fmt Attr PSizePFree

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Remo Mattei
Looks like your pacemaker is not running check that out! sudo pcs status > On Mar 20, 2018, at 6:24 PM, Father Vlasie wrote: > > Your help is much appreciated! Thank you. > > The cinder service is running on the controller node and it is using a disk > partition not the loopback device, I d

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Vagner Farias
Will "lvchange -a y lvname" activate it? If not, considering that you're using Pike on Centos, there's a chance you may be using the cinder-volumes backed by a loopback file. I guess both packstack & tripleo will configure this by default if you don't change the configuration. At least tripleo wo

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Vagner Farias
What kind of device is backing your LVM PVs? Is it a disk partition or a loopback device? If it's the latter, is it activated? What does "pvs" returns? If vgscan won't show any logical volumes, you're probably looking at the wrong device or the LVs were removed. If this happened, you may be able

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
Thank you for your reply. I am running Pike on CentOS 7. I have pasted some logs below that seem to contain errors. Are there any particular logs that I should look at? [root@plato ~]# tail /var/log/cinder/volume.log 2018-03-20 17:03:27.963 2572 ERROR cinder.service [-] Manager for service ci

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
Here is the output of lvdisplay: [root@plato ~]# lvdisplay --- Logical volume --- LV Namecinder-volumes-pool VG Namecinder-volumes LV UUIDPEkGKb-fhAc-CJD2-uDDA-k911-SIX9-1uyvFo LV Write Accessread/write LV Creation host, time plat

Re: [Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Remo Mattei
I think you need to provide a bit of additional info. Did you look at the logs? What version of os are you running? Etc. Inviato da iPhone > Il giorno 20 mar 2018, alle ore 16:15, Father Vlasie ha > scritto: > > Hello everyone, > > I am in need of help with my Cinder volumes which have all

[Openstack] [Cinder] Help needed recovering cinder volumes

2018-03-20 Thread Father Vlasie
Hello everyone, I am in need of help with my Cinder volumes which have all become unavailable. Is there anyone who would be willing to log in to my system and have a look? My cinder volumes are listed as "NOT available" and my attempts to mount them have been in vain. I have tried: vgchange -a

[Openstack] ARP packets not sent during migration

2018-03-20 Thread Ramon Orru
Hello everybody, I'm running a fresh queens cluster. I'm using bridges to support networking. I'm facing an issue when an instance is live migrated. Suppose we have an instance running with an interface on vlan XXX, and we want to migrate it to compute host YYY. We'll call that instance ZZZ. If

Re: [Openstack] Cinder and HA

2018-03-20 Thread Jens Harbott
2018-03-20 14:12 GMT+00:00 Torin Woltjer : > I've set up haproxy, pacemaker and the like on some controller nodes and > should have a highly available openstack cluster. One thing I notice almost > immediately is that volumes show the host as whatever controller owned the > VIP at the time of creat

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Zane Bitter
On 20/03/18 04:53, Sashan Govender wrote: Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. For example in this case of an OS::Heat::SoftwareConfig resource, the config attribute below e

[Openstack] Cinder and HA

2018-03-20 Thread Torin Woltjer
I've set up haproxy, pacemaker and the like on some controller nodes and should have a highly available openstack cluster. One thing I notice almost immediately is that volumes show the host as whatever controller owned the VIP at the time of creation. Would this possibly be an issue? Is there a

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Eugen Block
Have you tried the option "--dry-run"? This also provides log output and could help you identify issues. Zitat von Sashan Govender : Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. F

Re: [Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Compiler's probably the wrong word in the subject - I just meant 'something that can do type checking'. On Tue, 20 Mar 2018 at 19:53 Sashan Govender wrote: > Hi > > Is there a way to check heat templates. At the moment I run one and it > errors at runtime when, for example an something expects a

[Openstack] compiler for heat templates

2018-03-20 Thread Sashan Govender
Hi Is there a way to check heat templates. At the moment I run one and it errors at runtime when, for example an something expects a string but gets a list. For example in this case of an OS::Heat::SoftwareConfig resource, the config attribute below expects a string, which is why str_replace works