Comments (4)
And also here:
controller.metrics.all
../venvs/dev/lib/python3.9/site-packages/pystorcli/controller/metrics.py:180: in all
metrics[attribute] = self.__getattribute__(attribute)
../venvs/dev/lib/python3.9/site-packages/pystorcli/controller/metrics.py:138: in physical_drives_non_optimal
for encl in self._ctl.encls:
../venvs/dev/lib/python3.9/site-packages/pystorcli/enclosure/__init__.py:177: in _encls
for encl_id in self._encl_ids:
../venvs/dev/lib/python3.9/site-packages/pystorcli/enclosure/__init__.py:172: in _encl_ids
out = self._storcli.run(args)
../venvs/dev/lib/python3.9/site-packages/pystorcli/storcli.py:222: in run
self.check_response_status(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
cmd = ['/usr/sbin/storcli64', '/c0/eall', 'show', 'J']
out = {'Controllers': [{'Command Status': {'CLI Version': '007.2309.0000.0000 Sep 16, 2022', 'Controller': 0, 'Description': 'None', 'Detailed Status': [{'Ctrl': 0, 'EID': 0, 'ErrCd': 255, 'ErrMsg': 'Enclosure not found', ...}], ...}}]}
allow_error_codes = []
from pystorcli2.
Can't replicate the first output:
>>> from pystorcli2 import Controllers
>>> cs = Controllers()
>>> cs.ids
[]
Am I missing something? @ulmitov
from pystorcli2.
The second output is about an specific controller, but, how did you got that object?
from pystorcli2.
did not see it happen anymore, do not remember where i saw it, closing
from pystorcli2.
Related Issues (15)
- Installation issue HOT 2
- Set drive state minor issue HOT 4
- Init a failed controller HOT 13
- Migrate into factory design HOT 14
- has_foreign_configurations raises on failure HOT 5
- INVALID_STATUS text is not really correct HOT 8
- Additional params in methods - create_vd HOT 26
- pystorcli2 is incompatible with storcli2/percli2 HOT 3
- Format attributes HOT 4
- Drive object - Enhancement request
- Drive state setter issue HOT 2
- Init of controllers fails on HBA card HOT 4
- Drive state property is missing states HOT 8
- Storcli runner: some commands do not have json format HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pystorcli2.