kubernetes create cinder pvc on Openstack Failed with error message: Invalid request due to incorrect syntax...
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
[root@vm-10-75-145-71 ~]# kubectl describe pvc datadir-belk-efkc-belk-elasticsearch-data-1 -nheema
Name: datadir-belk-efkc-belk-elasticsearch-data-1
Namespace: heema
StorageClass: cinder-az-nova
Status: Pending
Volume:
Labels: component=elasticsearch
release=belk-efkc
role=data
Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/cinder
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
>Warning ProvisioningFailed 4m (x3261 over 13h) persistentvolume-controller Failed to provision volume with StorageClass "cinder-az-nova": failed to create a 50 GB volume: Invalid request due to incorrect syntax or missing required parameters.
yml file is like this:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: cinder-az-nova
This yml file will create an pending pvc with the same Exception.
kubernetes cinder
add a comment |
[root@vm-10-75-145-71 ~]# kubectl describe pvc datadir-belk-efkc-belk-elasticsearch-data-1 -nheema
Name: datadir-belk-efkc-belk-elasticsearch-data-1
Namespace: heema
StorageClass: cinder-az-nova
Status: Pending
Volume:
Labels: component=elasticsearch
release=belk-efkc
role=data
Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/cinder
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
>Warning ProvisioningFailed 4m (x3261 over 13h) persistentvolume-controller Failed to provision volume with StorageClass "cinder-az-nova": failed to create a 50 GB volume: Invalid request due to incorrect syntax or missing required parameters.
yml file is like this:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: cinder-az-nova
This yml file will create an pending pvc with the same Exception.
kubernetes cinder
can you show your yaml/json config for this? also show the output of$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31
add a comment |
[root@vm-10-75-145-71 ~]# kubectl describe pvc datadir-belk-efkc-belk-elasticsearch-data-1 -nheema
Name: datadir-belk-efkc-belk-elasticsearch-data-1
Namespace: heema
StorageClass: cinder-az-nova
Status: Pending
Volume:
Labels: component=elasticsearch
release=belk-efkc
role=data
Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/cinder
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
>Warning ProvisioningFailed 4m (x3261 over 13h) persistentvolume-controller Failed to provision volume with StorageClass "cinder-az-nova": failed to create a 50 GB volume: Invalid request due to incorrect syntax or missing required parameters.
yml file is like this:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: cinder-az-nova
This yml file will create an pending pvc with the same Exception.
kubernetes cinder
[root@vm-10-75-145-71 ~]# kubectl describe pvc datadir-belk-efkc-belk-elasticsearch-data-1 -nheema
Name: datadir-belk-efkc-belk-elasticsearch-data-1
Namespace: heema
StorageClass: cinder-az-nova
Status: Pending
Volume:
Labels: component=elasticsearch
release=belk-efkc
role=data
Annotations: volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/cinder
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
>Warning ProvisioningFailed 4m (x3261 over 13h) persistentvolume-controller Failed to provision volume with StorageClass "cinder-az-nova": failed to create a 50 GB volume: Invalid request due to incorrect syntax or missing required parameters.
yml file is like this:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc001
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
storageClassName: cinder-az-nova
This yml file will create an pending pvc with the same Exception.
kubernetes cinder
kubernetes cinder
edited Dec 3 '18 at 5:43
kevinal
asked Nov 29 '18 at 2:53
kevinalkevinal
12
12
can you show your yaml/json config for this? also show the output of$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31
add a comment |
can you show your yaml/json config for this? also show the output of$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31
can you show your yaml/json config for this? also show the output of
$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
can you show your yaml/json config for this? also show the output of
$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31
add a comment |
1 Answer
1
active
oldest
votes
It might be a completely different reason but try checking your "availability" parameter. Through a kubespray installation you will get a default storage template that uses availability=nova. Your openstack provider might name the zones differently. In my case the zones were "eu-de-01/2"
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53531157%2fkubernetes-create-cinder-pvc-on-openstack-failed-with-error-message-invalid-req%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It might be a completely different reason but try checking your "availability" parameter. Through a kubespray installation you will get a default storage template that uses availability=nova. Your openstack provider might name the zones differently. In my case the zones were "eu-de-01/2"
add a comment |
It might be a completely different reason but try checking your "availability" parameter. Through a kubespray installation you will get a default storage template that uses availability=nova. Your openstack provider might name the zones differently. In my case the zones were "eu-de-01/2"
add a comment |
It might be a completely different reason but try checking your "availability" parameter. Through a kubespray installation you will get a default storage template that uses availability=nova. Your openstack provider might name the zones differently. In my case the zones were "eu-de-01/2"
It might be a completely different reason but try checking your "availability" parameter. Through a kubespray installation you will get a default storage template that uses availability=nova. Your openstack provider might name the zones differently. In my case the zones were "eu-de-01/2"
answered Dec 29 '18 at 17:13
strzelecki.maciekstrzelecki.maciek
10613
10613
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53531157%2fkubernetes-create-cinder-pvc-on-openstack-failed-with-error-message-invalid-req%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
can you show your yaml/json config for this? also show the output of
$ kubectl get storageclass
– Shudipta Sharma
Nov 29 '18 at 14:37
I can get the "cinder-az-nova" from $kubectl get sc,
– kevinal
Dec 3 '18 at 5:31