Coder Social home page Coder Social logo

Comments (4)

qwertzlbert avatar qwertzlbert commented on August 16, 2024

This bug seems to be originating from a typo in OMSDK.
My pull request there should fix it.
dell/omsdk#5

from dellemc-openmanage-ansible-modules.

qwertzlbert avatar qwertzlbert commented on August 16, 2024

I did further testing and the iDRAC firmware version 3.30.30.30 seems to have changed the expected property from "UserName" to "Username".
I rolled back to iDRAC version 3.21.25.22 for testing now I've got the opposite error:
expected id "UserName" not "Username".

fatal: [c1-drac -> localhost]: FAILED! => {
    "attempts": 3, 
    "changed": false, 
    "invocation": {
        "module_args": {
            "command": "import", 
            "end_host_power_state": "On", 
            "export_format": "XML", 
            "export_use": "Default", 
            "idrac_ip": "10.113.0.46", 
            "idrac_port": 443, 
            "idrac_pwd": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", 
            "idrac_user": "root", 
            "job_wait": true, 
            "scp_components": "ALL", 
            "scp_file": "90YSGL2-scp.xml", 
            "share_name": "\\\\10.113.0.244\\firmware", 
            "share_pwd": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", 
            "share_user": "user1", 
            "shutdown_type": "Forced"
        }
    }, 
    "msg": "Failed to import scp.", 
    "scp_status": {
        "Data": {
            "Message": "returned status code doesn't match with the expected success code", 
            "Status": "Failed", 
            "StatusCode": 400
        }, 
        "Message": "none", 
        "Status": "Failed", 
        "StatusCode": 400, 
        "error": {
            "error": {
                "@Message.ExtendedInfo": [
                    {
                        "Message": "The property UserName is a required property and must be included in the request.", 
                        "MessageArgs": [
                            "UserName"
                        ], 
                        "[email protected]": 1, 
                        "MessageId": "Base.1.0.PropertyMissing", 
                        "RelatedProperties": [
                            "UserName"
                        ], 
                        "[email protected]": 1, 
                        "Resolution": "Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.", 
                        "Severity": "Warning"
                    }
                ], 
                "code": "Base.1.0.GeneralError", 
                "message": "A general error has occurred. See ExtendedInfo for more information"
            }
        }, 
        "file": "\\\\10.113.0.244\\firmware\\90YSGL2-scp.xml", 
        "retval": true
    }
}

from dellemc-openmanage-ansible-modules.

anupamaloke avatar anupamaloke commented on August 16, 2024

@qwertzlbert, we are working on this at the moment and planning for a fix soon.

from dellemc-openmanage-ansible-modules.

rajeevarakkal avatar rajeevarakkal commented on August 16, 2024

@qwertzlbert We have fixed this issue in the latest devel. Closing the issue as of now

from dellemc-openmanage-ansible-modules.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.