Unable to dynamically provision cinder volumes

2017-10-13 Thread Joel Pearson
Hi,

I'm having no luck getting dynamic provisioning of cinder volumes working.

I followed
https://docs.openshift.org/latest/install_config/persistent_storage/dynamically_provisioning_pvs.html#openstack-cinder-spec

And used:

kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: gold
provisioner: kubernetes.io/cinder
parameters:
  type: fast
  availability: nova
  fsType: ext4

But whenever I try it, it fails with:

Failed to provision volume with StorageClass "gold": invalid option
"fsType" for volume plugin kubernetes.io/cinder

I tried removing the fsType in the storage class but it hasn't helped.

My /etc/origin/cloudprovider/openstack.conf looks correct, but I cannot
figure out what is going on.

There is nothing useful in journalctl -xe on the master

How else can I diagnose?

Thanks,

Joel
-- 
Kind Regards,

Joel Pearson
Agile Digital | Senior Software Consultant

Love Your Software™ | ABN 98 106 361 273
p: 1300 858 277 | m: 0405 417 843 <0405417843> | w: agiledigital.com.au
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: S2I builds not incremental?

2017-10-13 Thread Tako Schotanus
Yes! Thank you, Daniel :)

On Fri, Oct 13, 2017 at 10:43 AM, Daniel Kučera 
wrote:

> Hi Tako.
>
> You need to set incremental: true
>
> https://docs.openshift.com/container-platform/3.4/dev_
> guide/builds/build_strategies.html#incremental-builds
>
> I also spent some time on this :)
>
> 2017-10-13 10:39 GMT+02:00 Tako Schotanus :
>
>> Hi,
>>
>> we've been using S2I builds for RHOAR for about a month now which is a
>> lot faster and a lot less resource intensive than using Jenkins pipeline
>> builds, but
>>
>> the S2I builders are supposed to support incremental builds, and in
>> effect when I run "s2i --incremental " manually it does indeed work,
>> but inside OpenShift the builds are never incremental?
>>
>> Are we doing something wrong? How do we make OpenShift do incremental
>> builds?
>>
>> Cheers,
>>
>> --
>>
>> TAKO SCHOTANUS
>>
>> SENIOR SOFTWARE ENGINEER
>>
>> Red Hat
>>
>> 
>> 
>>
>>
>> ___
>> users mailing list
>> users@lists.openshift.redhat.com
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>
>>
>
>
> --
>
> S pozdravom / Best regards
> Daniel Kucera.
>



-- 

TAKO SCHOTANUS

SENIOR SOFTWARE ENGINEER

Red Hat



___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: S2I builds not incremental?

2017-10-13 Thread Daniel Kučera
Hi Tako.

You need to set incremental: true

https://docs.openshift.com/container-platform/3.4/dev_guide/builds/build_strategies.html#incremental-builds

I also spent some time on this :)

2017-10-13 10:39 GMT+02:00 Tako Schotanus :

> Hi,
>
> we've been using S2I builds for RHOAR for about a month now which is a lot
> faster and a lot less resource intensive than using Jenkins pipeline
> builds, but
>
> the S2I builders are supposed to support incremental builds, and in effect
> when I run "s2i --incremental " manually it does indeed work, but
> inside OpenShift the builds are never incremental?
>
> Are we doing something wrong? How do we make OpenShift do incremental
> builds?
>
> Cheers,
>
> --
>
> TAKO SCHOTANUS
>
> SENIOR SOFTWARE ENGINEER
>
> Red Hat
>
> 
> 
>
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 

S pozdravom / Best regards
Daniel Kucera.
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


S2I builds not incremental?

2017-10-13 Thread Tako Schotanus
Hi,

we've been using S2I builds for RHOAR for about a month now which is a lot
faster and a lot less resource intensive than using Jenkins pipeline
builds, but

the S2I builders are supposed to support incremental builds, and in effect
when I run "s2i --incremental " manually it does indeed work, but
inside OpenShift the builds are never incremental?

Are we doing something wrong? How do we make OpenShift do incremental
builds?

Cheers,

-- 

TAKO SCHOTANUS

SENIOR SOFTWARE ENGINEER

Red Hat



___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users