Coder Social home page Coder Social logo

Comments (9)

anupamaloke avatar anupamaloke commented on August 16, 2024 3

@howels, you can use HTTP/HTTPS based firmware repository for update. However, that code is not in the master branch yet and is available in https://github.com/dell/Dell-EMC-Ansible-Modules-for-iDRAC/tree/fw_update_url branch. You also need to build and install the omsdk from https://github.com/dell/omsdk/tree/fw_update_url branch.

NOTE: Make sure that you use a python virtualenv to test the following changes as these are developer versions only.

  • Install omsdk from the ‘fw_update_url’ branch
git clone -b fw_update_url --single-branch https://github.com/dell/omsdk.git
cd omsdk
sh build.sh 1.1 322
cd dist
pip install omsdk-1.1.322-py2.py3-none-any.whl
  • Install OpenManage Ansible modules from ‘fw_update_url’ branch:
git clone -b fw_update_url --single-branch https://github.com/dell/Dell-EMC-Ansible-Modules-for-iDRAC.git
cd Dell-EMC-Ansible-Modules-for-iDRAC
python install.py

from dellemc-openmanage-ansible-modules.

felixs88 avatar felixs88 commented on August 16, 2024

Hi,

Please, check your share_name parameter, it should be NFS/CIFS without a file name.

       share_name: "xx.xx.xx.xx:/share"
       share_user: "xxxx"
       share_pwd:  "xxxxxxxx"
       share_mnt: "/mnt/share"

from dellemc-openmanage-ansible-modules.

vincentchong1 avatar vincentchong1 commented on August 16, 2024

is pointing to NFS/CIFS the only way? Can it point to playbook 'files' folder, as indicated below?

VChong1@wabelhlp0691565 ~/Ansible/DELL
$ tree roles/dell_import_firmware/.
roles/dell_import_firmware/.
├── defaults
│   └── main.yml
├── files
│   ├── FOLDER03699392M
│   │   └── 1
│   │       └── SAS-Drive_Firmware_R52VG_WN64_NSF1_A00.EXE
<omitted>
│   └── TMUS_Magenta_2018Q3_v5_1.00_Catalog.xml
├── handlers
│   └── main.yml
├── meta
│   └── main.yml
├── README.md
├── tasks
│   └── main.yml
├── templates
├── tests
│   ├── inventory
│   └── test.yml
└── vars
    └── main.yml

from dellemc-openmanage-ansible-modules.

anupamaloke avatar anupamaloke commented on August 16, 2024

@vincentchong1 , the firmware update module use Server Configuration Profiles for updating the firmware from a repository stored on a network share (CIFS, NFS).
Beginning with iDRAC9 firmware 3.00.00.00 and iDRAC7/8 firmware 2.50.50.50, SCP import files support a new attribute RepositoryUpdate which points to a PowerEdge firmware repository created by Dell Repository Manager. The repository file must be stored in the same directory or a sub-directory of the directory holding the SCP import file. RepositoryUpdate can specify a directory, in which case iDRAC will search there for the default repository named "Catalog.xml". Or RepositoryUpdate can explicitly specify the file name of the repository.
RepositoryUpdate is supported via network shares only and is not supported by streamed local file SCP import. That's why you need to use the Network Share.

Please note that the firmware repository should be accessible from iDRAC.

from dellemc-openmanage-ansible-modules.

vincentchong1 avatar vincentchong1 commented on August 16, 2024

@anupamaloke, since we will like to upload the firmware before the equipment is connected to our network that DRM is resided on, we need the flexibility of pointing the catalog to any file repository/directory. Can this feature be incorporated, so that the catalog can be resided within the ansible playbook files folder?

from dellemc-openmanage-ansible-modules.

howels avatar howels commented on August 16, 2024

@anupamaloke Can we use HTTP/S for the RepositoryUpdate share path? The iDRAC web UI shows that option but it doesn't appear to exist in this module. Thanks!

from dellemc-openmanage-ansible-modules.

anshulawasthi avatar anshulawasthi commented on August 16, 2024

@anupamaloke Can we have an Ansible module for getting the joblist from iDRAC job queue. I see omsdk supporting list_idrac_jobs here https://github.com/dell/omsdk/blob/master/omdrivers/lifecycle/iDRAC/iDRACJobs.py

from dellemc-openmanage-ansible-modules.

anupamaloke avatar anupamaloke commented on August 16, 2024

@anshulawasthi, at this point in time the 'list_idrac_jobs' just returns a list of Jobs URIs as similar to following output. If you just need to view the JOB status for a JOB ID, then you can use the dellemc_get_lc_job_status module.

Could you please tell me the exact use case that you are looking at?

{
    "@odata.context": "/redfish/v1/$metadata#DellJobCollection.DellJobCollection",
    "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/Jobs",
    "@odata.type": "#DellJobCollection.DellJobCollection",
    "Description": "Collection of Job Instances",
    "Id": "JobQueue",
    "Members": [
        {
            "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_351500880970"
        },
        {
            "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_351501698318"
        },
        {
            "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_351519935866"
        },
**<OUTPUT TRUNCATED FOR BREVITY>**
    ],
    "[email protected]": 52,
    "Name": "JobQueue"
}

from dellemc-openmanage-ansible-modules.

rajeevarakkal avatar rajeevarakkal commented on August 16, 2024

@anshulawasthi, Our latest module "idrac_firmware" supports now HTTPS repos as well. Am closing this defect as of now; Let us know in case you are facing any issues with the latest versions

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.