Comments (11)
This error message is a bit vague and doesn't tell the user that this is an Exception error, this error is a result of the XML file used for this resource is missing a reference for Resource.v1_0_0. I'm not sure if the log provides that info but if you can look at the other comment first it might resolve this.
from redfish-service-validator.
from redfish-service-validator.
in the linked XML, the Resource reference is actually
<edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
<edmx:Include Namespace="Resource"/>
<edmx:Include Namespace="Resource.v1_0_0"/>
</edmx:Reference>
But in the metadata from the other post, you are correct, that is shown above. Seems that the problem is that the program is using the $metadata response to determine inheritance when it's supposed to be using the xml of EthernetInterfaces, which is linked in the references. I can't seem to find the area where the key error actually happens.
from redfish-service-validator.
from redfish-service-validator.
Personally I wouldn't recommend making changes to please the tool, your $metadata seems appropriate. In fact, the service I currently test against does not have Resource on its $metadata.
I'm a little under the weather right now, so I apologize if the code comes slow.
from redfish-service-validator.
A new branch has been made, test it if you please.
from redfish-service-validator.
from redfish-service-validator.
Thank a ton for the feedback, it helps plenty. I've been talking with others about how the output and responses to certain types of errors should be, it's improved quite a bit and I'll try to get something more easily digestible by this Thursday.
Much like the References XML problem from the last iteration of the program before the pull request, it's an honest mistake to expect no mechanical errors with some of these inputs. Would you be able to respond with the odata typos in question?
from redfish-service-validator.
from redfish-service-validator.
I think both @odata.type
and @odata.context
need to have some level of agreement, otherwise I don't see how a client could sanely decode the payload.
But I agree; it would be better for the tool to detect the condition, print it, and exit with an error gracefully rather than just throw an exception.
from redfish-service-validator.
Problem was in test system
from redfish-service-validator.
Related Issues (20)
- Error: URI does not match object IDs of resource chain with Oem HOT 7
- False positives for URI checking on public-rackmount1 mockup HOT 2
- OperatingConfigs error when coming under Processor of NetworkAdapters HOT 5
- ComputerSystem MemorySummary/MemoryMetrics does not match object ID of resource HOT 4
- About checking Settings resource URI HOT 2
- URI checks flag false errors with @Redfish.Settings resources HOT 2
- Version check for deprecated HOT 10
- About new payload annotations key errors HOT 9
- Oem action is not checked
- Add enforcement of null for properties marked as write-only
- Default Oem property not shown in the Redfish Validator tool HOT 1
- Binary exits with exit code 1 when validation succeeds HOT 1
- Default Oem Property Response Not Shown in Redfish-Service-Validator HOT 4
- The test was not completed but got stuck. HOT 11
- Redfish Service Validator issue related to CollectionCapabilites.
- Could not finish check because Policy HOT 4
- Redfish Service Validator issue related to Oem Schema HOT 2
- "Tree" usage for testing every links HOT 2
- Redfish Service Validator is not checking or navigating the properties of a OEM schema when basetype is Resource.OemObject HOT 3
- Service Validator throws "Connection aborted" Error HOT 4
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 redfish-service-validator.