Skip to content

Extraconfig values cannot be added for VMs that are shut down #6937

Closed

Description

@Arceoavs
ISSUE TYPE
  • Bug Report
COMPONENT NAME
VM Management
CLOUDSTACK VERSION
4.17.1.0
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

When a user (with admin rights or without) creates an extraconfig under Settings for a VM that is switched off, one cannot enter a value in the Value input field.
The UI refuses any keyboard input and the browser displays error messages.

image

STEPS TO REPRODUCE
Create a VM.
Switch it off. 
Go to Settings and try to add a configuration. 
Look at the Browser console. 
EXPECTED RESULTS
Values can be set. 
ACTUAL RESULTS
Values cannot be set. 

Output in the Browser console:

config and theme applied [App.vue:40:12](webpack:///src/App.vue)
Object { data: {…}, status: 401, statusText: "Unauthorized", headers: {…}, config: {…}, request: XMLHttpRequest }
[request.js:37:12](webpack:///src/utils/request.js)
Some cookies are misusing the recommended “SameSite“ attribute 22
Cookie “rl_anonymous_id” has been rejected because it is already expired. [api](https://sparci-cloudstack.uni-koblenz.de/client/api/?command=logout&response=json)
Cookie “rl_page_init_referrer” has been rejected because it is already expired. [api](https://sparci-cloudstack.uni-koblenz.de/client/api/?command=logout&response=json)
Cookie “rl_page_init_referring_domain” has been rejected because it is already expired. [api](https://sparci-cloudstack.uni-koblenz.de/client/api/?command=logout&response=json)
Cookie “rl_user_id” has been rejected because it is already expired. [api](https://sparci-cloudstack.uni-koblenz.de/client/api/?command=logout&response=json)
Cookie “rl_trait” has been rejected because it is already expired. [api](https://sparci-cloudstack.uni-koblenz.de/client/api/?command=logout&response=json)
Object { data: {…}, status: 432, statusText: "432", headers: {…}, config: {…}, request: XMLHttpRequest }
[request.js:37:12](webpack:///src/utils/request.js)
Error: Request failed with status code 432
    exports createError.js:16
    exports settle.js:17
    c xhr.js:54
[SamlDomainSwitcher.vue:85:18](webpack:///src/components/header/SamlDomainSwitcher.vue)
Object { data: {…}, status: 431, statusText: "Request Header Fields Too Large", headers: {…}, config: {…}, request: XMLHttpRequest }
[request.js:37:12](webpack:///src/utils/request.js)
Uncaught (in promise) Error: Request failed with status code 431
    exports createError.js:16
    exports settle.js:17
    c xhr.js:54
[createError.js:16:14](webpack:///node_modules/axios/lib/core/createError.js)
TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    Babel 2
    C generate.js:341
    run reactivity.esm-bundler.js:167
    get value reactivity.esm-bundler.js:1101
    Q generate.js:553
    run reactivity.esm-bundler.js:167
    get value reactivity.esm-bundler.js:1101
    setup generate.js:558
    g runtime-core.esm-bundler.js:155
    C runtime-core.esm-bundler.js:164
    u runtime-core.esm-bundler.js:1726
    run reactivity.esm-bundler.js:167
    h runtime-core.esm-bundler.js:1790
    tn runtime-core.esm-bundler.js:328
    P runtime-core.esm-bundler.js:5168
    e runtime-core.esm-bundler.js:5080
    run reactivity.esm-bundler.js:167
    U runtime-core.esm-bundler.js:4968
    W runtime-core.esm-bundler.js:4901
    C runtime-core.esm-bundler.js:4489
    e runtime-core.esm-bundler.js:5107
    run reactivity.esm-bundler.js:167
    U runtime-core.esm-bundler.js:4968
    W runtime-core.esm-bundler.js:4901
    C runtime-core.esm-bundler.js:4489
    e runtime-core.esm-bundler.js:5107
    run reactivity.esm-bundler.js:167
    U runtime-core.esm-bundler.js:4968

Activity

  1. DaanHoogland commented on Dec 27, 2022

    @DaanHoogland
    Contributor

    @Arceoavs have you tried adding an extraconfig with the API?

  2. MejdiB commented on Dec 27, 2022

    @MejdiB

    @DaanHoogland @Arceoavs I have the same issue on ACS 4.17.2. For some reason, adding an extraconfig-2 value via the GUI is not working since 4.17.x. As a workaround, we can assign extraconfig value via cloudmonkey. The global parameters are already set since we set up our ACS environment. For me the issue is GUI related

  3. removed their assignment
    on Feb 17, 2023
  4. added this to the 4.18.1.0 milestone on Jun 22, 2023
  5. moved this to Daan's Current Rota List in ACS Backlogon Aug 1, 2023
  6. moved this from Daan's Current Rota List to Backlog to Review/Merge in ACS Backlogon Aug 7, 2023
  7. weizhouapache commented on Aug 10, 2023

    @weizhouapache
    Member

    @Arceoavs
    this is a missing UI feature
    I have created an issue for followup: #7849

    closing

  8. removed their assignment
    on Aug 10, 2023
  9. moved this from Backlog to Review/Merge to Daan's Rota3 List in ACS Backlogon Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions