Git Product home page Git Product logo

idic's Introduction

InfraSIM™

InfraSIM is a new open source project in active development by EMC. If you have questions or would like to contact us about the InfraSIM project, you can contact us via email at our projects mailing list: [email protected]

InfraSIM allows you to deploy virtualized networks consisting of simulated servers, storage devices, and smart PDUs. You can use it to create development environments that simulate the exact physical environments where your product will eventually be deployed.

InfraSIM Logo

This repository acts as a single source location to help you get or build all the pieces to learn about, take advantage of, and contribute to InfraSIM.

Contribute

The project is a collection of libraries and applications housed at https://github.com/InfraSIM/ and available under the Apache 2.0 license (or compatible sublicenses for library dependencies). The code for InfraSIM is a combination of python, shell and C.

Community

We maintain a mailing list at https://groups.google.com/d/forum/infrasim. You can visit the group through the web page, or subscribe directly from email by sending email to [email protected]

We also have a #InfraSIM slack channel: You can get an invite by requesting one at http://community.emccode.com.

Documentation

The Documentation is hosted at http://infrasim.readthedocs.org and describes how to install, run, and setup InfraSIM.

Licensing

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

InfraSIM is a Trademark of EMC Corporation.

Support

If you have questions relating to the project, please either post Github Issues, join our Slack channel available by signup through community.emc.com and post questions into InfraSIM, or reach out to the maintainers directly. The code and documentation are released with no warranties or SLAs and are intended to be supported through a community driven process.

idic's People

Contributors

helloarys avatar junezhou19 avatar markma001 avatar paynepei avatar sharkconi avatar turtle-fly avatar wuy1 avatar xiaowenjiang avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

idic's Issues

ipmi command printing "Unable to set Chassis Power Control to Reset" for dell_r630

When Using the dell_r630 virtual compute node every ipmi commands are slow and return an error.
Even though there is an error they work.

Ex:

ipmitool -I lanplus -H 172.31.128.132 -U admin -P admin chassis power reset;
Unable to set Chassis Power Control to Reset
Close Session command failed

After the command the compute node will restart so its not blocking anything.

vNode build process stops during building " iproute2".

[Problem Description]
I’m trying to depoly InfraSIM on ESXi.
But vNode packages/binarys files cannot be built because the build process stops during building " iproute2".

[Steps to Reproduce]

  1. git clone https://github.com/InfraSIM/idic.git

  2. on idic directory, run the following command.
    $ sudo make setupenv

  3. on idic/vcompute/vnode directory, run the following command.
    $ sudo fakeroot make menuconfig

4) comment out below 2 lines in file /idic/vcompute/vnode/.config.

    # CONFIG_REDFISH_SIMULATION is not set
    # CONFIG_PKG_redfishsim is not set
    CONFIG_GIT_REDFISHSIM_URL=""
  1. modify below last

1 line in file /home/onon/idic/pdk/content/kconfigs/19-utilities.kconfig.

    [before]
    endmenu # Installer menu

    [after]
    endmenu
  1. on idic/vcompute/vnode directory, run the following command.
    $ sudo fakeroot make

[Actual Results]
Build fails and the following messages were displayed.
infrasim_log.txt

[Expected Results]
Build success and idic/pdk/linux/vnode includes “config-3.16.0”, “ramfs.lzma”, “System.map-3.16.0” and “vmlinuz-3.16.0”.

Need to specify tcl version explicitly now in Ubuntu Precise.

Affects docs and setupenv

vagrant@precise64:~/idic$ sudo make setupenv
Environment already setup.
Ign http://us.archive.ubuntu.com precise InRelease
Hit http://security.ubuntu.com precise-security InRelease
Hit http://us.archive.ubuntu.com precise-updates InRelease
Hit http://us.archive.ubuntu.com precise-backports InRelease
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://us.archive.ubuntu.com precise-updates/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://us.archive.ubuntu.com precise-updates/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://us.archive.ubuntu.com precise-updates/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://us.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Sources
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Sources
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Sources
Hit http://us.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main amd64 Packages
Hit http://us.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://us.archive.ubuntu.com precise/universe amd64 Packages
Hit http://us.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Reading package lists...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'genisoimage' instead of 'mkisofs'
Package tclsh is a virtual package provided by:
  tcl8.5 8.5.11-1ubuntu1
  tcl8.4 8.4.19-4ubuntu3
You should explicitly select one to install.

E: Package 'tclsh' has no installation candidate
vagrant@precise64:~/idic$

On Ubuntu precise, sudo make vnode fails

Deps installed per my other issues and the docs. Not sure the root cause of this one yet.

**** Now Building: pciutils

make -C /home/vagrant/idic/vcompute/vnode/../../pdk/content/build -f /home/vagrant/idic/vcompute/vnode/../../pdk/content/mkfiles/pciutils.mk
make[3]: Entering directory `/home/vagrant/idic/pdk/content/build'
make -j4 -C pciutils-3.1.9
make[4]: Entering directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9'
make -C lib all
make[5]: Entering directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9/lib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9/lib'
make[4]: Leaving directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9'
make PREFIX=/home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs -C pciutils-3.1.9 install
make[4]: Entering directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9'
make -C lib all
make[5]: Entering directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9/lib'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9/lib'
install -d -m 755 /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/sbin /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share/man/man8 /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share/man/man7
install -c -m 755 -s lspci setpci /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/sbin
install -c -m 755 update-pciids /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/sbin
install -c -m 644 pci.ids.gz /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share
install -c -m 644 lspci.8 setpci.8 update-pciids.8 /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share/man/man8
install -c -m 644 pcilib.7 /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share/man/man7
make[4]: Leaving directory `/home/vagrant/idic/pdk/content/build/pciutils-3.1.9'
rm -f /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/usr/bin/lspci
mkdir -p /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/usr/local/share
if [ -e /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/pci.ids ]; then cp -f /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/pci.ids /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/usr/local/share/; \
            else mv /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/share/pci.ids.gz /home/vagrant/idic/vcompute/vnode/../../pdk/linux/embedded_rootfs/rootfs/usr/local/share/; fi
make[3]: Leaving directory `/home/vagrant/idic/pdk/content/build'

**** Now Building: module_init_tools

make -C /home/vagrant/idic/vcompute/vnode/../../pdk/content/build -f /home/vagrant/idic/vcompute/vnode/../../pdk/content/mkfiles/module_init_tools.mk
make[3]: Entering directory `/home/vagrant/idic/pdk/content/build'
make -j4 -C module-init-tools-3.15
make[4]: Entering directory `/home/vagrant/idic/pdk/content/build/module-init-tools-3.15'
MAKE x86_64-unknown-linux-gnu : 0 * all-all
make[5]: Entering directory `/home/vagrant/idic/pdk/content/build/module-init-tools-3.15/build'
rm -f libmodtools.a
if [ -h ../doc/depmod.conf.sgml ]; then                                                 \
            ln -s $(basename $(readlink ../doc/depmod.conf.sgml) .sgml).5 depmod.conf.5;                 \
        elif [ "docbook2man" = "docbook2man" ]; then                   \
            docbook2man ../doc/depmod.conf.sgml > /dev/null 2>&1;                           \
        else                                                               \
            docbook2man ../doc/depmod.conf.sgml 2>&1 > depmod.conf.5 | sed 's/^[^:]*://';              \
        fi
if [ -h ../doc/depmod.d.sgml ]; then                                                 \
            ln -s $(basename $(readlink ../doc/depmod.d.sgml) .sgml).5 depmod.d.5;                 \
        elif [ "docbook2man" = "docbook2man" ]; then                   \
            docbook2man ../doc/depmod.d.sgml > /dev/null 2>&1;                           \
        else                                                               \
            docbook2man ../doc/depmod.d.sgml 2>&1 > depmod.d.5 | sed 's/^[^:]*://';              \
        fi
if [ -h ../doc/modprobe.conf.sgml ]; then                                                 \
            ln -s $(basename $(readlink ../doc/modprobe.conf.sgml) .sgml).5 modprobe.conf.5;                 \
        elif [ "docbook2man" = "docbook2man" ]; then                   \
            docbook2man ../doc/modprobe.conf.sgml > /dev/null 2>&1;                           \
        else                                                               \
            docbook2man ../doc/modprobe.conf.sgml 2>&1 > modprobe.conf.5 | sed 's/^[^:]*://';              \
        fi
ar cru libmodtools.a libmodtools_a-util.o libmodtools_a-logging.o libmodtools_a-index.o libmodtools_a-config_filter.o libmodtools_a-elfops.o
make[5]: *** [depmod.conf.5] Error 127
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [modprobe.conf.5] Error 127
ranlib libmodtools.a
make[5]: Leaving directory `/home/vagrant/idic/pdk/content/build/module-init-tools-3.15/build'
make[4]: *** [all-all] Error 2
make[4]: Leaving directory `/home/vagrant/idic/pdk/content/build/module-init-tools-3.15'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/vagrant/idic/pdk/content/build'
make[2]: *** [module_init_tools] Error 2
make[2]: Leaving directory `/home/vagrant/idic/vcompute/vnode'
make[1]: *** [.root_complete] Error 2
make[1]: Leaving directory `/home/vagrant/idic/vcompute/vnode'
make: *** [vnode] Error 2
vagrant@precise64:~/idic$

vNode build process stops during building "openipmi".

[Problem Description]
I’m trying to depoly InfraSIM on ESXi.
But vNode packages/binarys files cannot be built because the build process stops during building "openipmi".

[Steps to Reproduce]

  1. git clone https://github.com/InfraSIM/idic.git

  2. on idic directory, run the following command.
    $ sudo make setupenv

  3. on idic/vcompute/vnode directory, run the following command.
    $ sudo fakeroot make menuconfig

  4. on idic/vcompute/vnode directory, run the following command.
    $ sudo fakeroot make

[Actual Results]
Build fails and the following messages were displayed.

**** Now Building: openipmi

make -C /home/onon/idic/vcompute/vnode/../../pdk/content/build -f /home/onon/idic/vcompute/vnode/../../pdk/content/mkfiles/openipmi.mk
make[2]: Entering directory `/home/onon/idic/pdk/content/build'
git clone OpenIPMI into OpenIPMI-master
Cloning into 'OpenIPMI-master'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin
Unexpected end of command stream
make[2]: *** [OpenIPMI-master] Error 128
make[2]: Leaving directory `/home/onon/idic/pdk/content/build'
make[1]: *** [openipmi] Error 2
make[1]: Leaving directory `/home/onon/idic/vcompute/vnode'
make: *** [.root_complete] Error 2

Operation Log:
20161012-01.txt

[Expected Results]
Build success and idic/pdk/linux/vnode includes “config-3.16.0”, “ramfs.lzma”, “System.map-3.16.0” and “vmlinuz-3.16.0”.

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.