sjjf / md_server Goto Github PK
View Code? Open in Web Editor NEWStandalone EC2 metadata server to simplify the user of vendor cloud images with standalone kvm/libvirt
License: MIT License
Standalone EC2 metadata server to simplify the user of vendor cloud images with standalone kvm/libvirt
License: MIT License
I couldn't find a license in the source. Did I miss it? Under which terms may I use this code?
Testing RPM build, on centos7 as both build host and (separate) install destination, the required library xmltodict is not installed. (But as expected if pip install -r requirements.txt then the service starts as it should).
The systemd log trace follows, but is probably not required to diagnose/confirm this issue!
I installed the RPM so: "yum install /tmp/mdserver/mdserver-0.5.0-1.noarch.rpm".
log trace:
Jun 06 13:08:59 big.sys mdserver[19860]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in
Jun 06 13:08:59 big.sys mdserver[19860]: working_set.require(requires)
Jun 06 13:08:59 big.sys mdserver[19860]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
Jun 06 13:08:59 big.sys mdserver[19860]: needed = self.resolve(parse_requirements(requirements))
Jun 06 13:08:59 big.sys mdserver[19860]: File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
Jun 06 13:08:59 big.sys mdserver[19860]: raise DistributionNotFound(req)
Jun 06 13:08:59 big.sys mdserver[19860]: pkg_resources.DistributionNotFound: xmltodict>=0.11.0
Jun 06 13:08:59 big.sys systemd[1]: mdserver.service: main process exited, code=exited, status=1/FAILURE
Jun 06 13:08:59 big.sys systemd[1]: Unit mdserver.service entered failed state.
Jun 06 13:08:59 big.sys systemd[1]: mdserver.service failed.
python3 needs 'str' not 'basestring' at around line 470 in mdserver/server.py
Hi,
Your README.md contains these lines:
- <userdata_dir>/<instance>
- <userdata_dir>/<instance>.yaml
- <userdata_dir>/<MAC>
- <userdata_dir>/<MAC>.yaml
Which is rendered in the HTML view on GitHub as:
- <userdata_dir>/
- <userdata_dir>/.yaml
- <userdata_dir>/
- <userdata_dir>/.yaml
The rendered version is confusing. Maybe there's a way to fool the "automatic HTML detection" to make the Markdown render as intended?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.