Bug 1283499
Summary: | Impossible to POST key value using REST API | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Nikolai Sednev <nsednev> | ||||
Component: | VMConsole | Assignee: | Francesco Romani <fromani> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Nikolai Sednev <nsednev> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.6.0.2 | CC: | bugs, iheim, michal.skrivanek | ||||
Target Milestone: | ovirt-4.0.0-alpha | Keywords: | Triaged | ||||
Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt 4.0.0 alpha1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-05 07:48:43 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1320964, 1325657, 1325677 | ||||||
Bug Blocks: | 1254445 | ||||||
Attachments: |
|
Description
Nikolai Sednev
2015-11-19 07:43:56 UTC
Created attachment 1096520 [details]
engine's sosreport
Again, wrong product, please learn about the setup you are testing and the role of each component. workaround exists, albeit ugly: PUT key using bogus UUID, which will be ignored. E.g.: use blank UUID. This is scheduled for 4.0, patch merged in master -> MODIFIED This BZ was an implementation bug, I don't think this deserves doc_text. Can't proceed until 1325677 is resolved. Works for me on these components: Engine: ovirt-engine-4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos.noarch ovirt-host-deploy-1.5.0-0.0.master.20160329063025.gitdf57fe1.el7.centos.noarch ovirt-host-deploy-java-1.5.0-0.0.master.20160329063025.gitdf57fe1.el7.centos.noarch javassist-3.16.1-10.el7.noarch javapackages-tools-3.4.1-11.el7.noarch java-1.7.0-openjdk-devel-1.7.0.99-2.6.5.0.el7_2.x86_64 java-1.8.0-openjdk-1.8.0.77-0.b03.el7_2.x86_64 java-1.7.0-openjdk-headless-1.7.0.99-2.6.5.0.el7_2.x86_64 java-1.8.0-openjdk-headless-1.8.0.77-0.b03.el7_2.x86_64 javamail-1.4.6-8.el7.noarch java-1.7.0-openjdk-1.7.0.99-2.6.5.0.el7_2.x86_64 ovirt-engine-vmconsole-proxy-helper-4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos.noarch ovirt-vmconsole-1.0.1-0.0.master.20160309100203.gitdfa3c40.el7.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos.noarch ovirt-vmconsole-proxy-1.0.1-0.0.master.20160309100203.gitdfa3c40.el7.noarch Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux CentOS Linux release 7.2.1511 (Core) Created the new key using RESTClient, over RESTAPI: Header Name Header Value Content-Type application/xml Accept application/xml Body: <ssh_public_key> <content>ssh-dsa ABAAB3NzaC1yc2EAAAADAQABAAABAQCr/rS9Jxc/A3U0a2A4ImH+iPwGDV5ZHu6DoY3GOvGN6wElGvyXF0mxWisb6J/dNtx4kHb9k+oXqBNC4bKRoK5wPEIuD+RxY90OTuumgnCmaIOSCqewGOHth2Xwd3FQux7rYnMnnz1Yh7Cs5wbTtb/VQPVohML1CCMidyTv8Er+LojgsVfvIpWLA9AheePAp14Rn7lw8W5VjdFytZ+B76wDZpfkDEFdu8H2AJ1vwPKRsKd82I1qTG9k91XO0Go4OUc1fAiHMxjL2U7siIPPzNtE4wMCOTlyVnPRSZVNfMEefPlIUH27X/gxfFA1I1RGu1cWcYwhI8FF0a0C+YbYMymd nsednev.csb</content> </ssh_public_key> Got Response: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ssh_public_keys> <ssh_public_key id="21e7adb8-faa0-49a7-8753-bda17b399f7f"> <content>ssh-dsa ABAAB3NzaC1yc2EAAAADAQABAAABAQCr/rS9Jxc/A3U0a2A4ImH+iPwGDV5ZHu6DoY3GOvGN6wElGvyXF0mxWisb6J/dNtx4kHb9k+oXqBNC4bKRoK5wPEIuD+RxY90OTuumgnCmaIOSCqewGOHth2Xwd3FQux7rYnMnnz1Yh7Cs5wbTtb/VQPVohML1CCMidyTv8Er+LojgsVfvIpWLA9AheePAp14Rn7lw8W5VjdFytZ+B76wDZpfkDEFdu8H2AJ1vwPKRsKd82I1qTG9k91XO0Go4OUc1fAiHMxjL2U7siIPPzNtE4wMCOTlyVnPRSZVNfMEefPlIUH27X/gxfFA1I1RGu1cWcYwhI8FF0a0C+YbYMymd nsednev.csb</content> <user href="/ovirt-engine/api/users/0000001a-001a-001a-001a-00000000006e" id="0000001a-001a-001a-001a-00000000006e"/> </ssh_public_key> </ssh_public_keys> oVirt 4.0.0 has been released, closing current release. |