Comments (9)
also...
pip freeze
:
appdirs==1.4.0
Babel==2.2.0
click==6.6
cliff==2.0.0
cmd2==0.6.8
configobj==5.0.6
debtcollector==1.3.0
futures==3.0.5
ip-associations-python-novaclient-ext==0.1
iso8601==0.1.11
jsonpatch==1.13
jsonpointer==1.10
jsonschema==2.5.1
keyring==9.0
keystoneauth1==2.6.0
monotonic==1.0
msgpack-python==0.4.7
netaddr==0.7.18
netifaces==0.10.4
openstacksdk==0.8.5
os-client-config==1.17.0
os-diskconfig-python-novaclient-ext==0.1.3
os-networksv2-python-novaclient-ext==0.25
os-virtual-interfacesv2-python-novaclient-ext==0.19
oslo.config==3.9.0
oslo.i18n==3.5.0
oslo.serialization==2.4.0
oslo.utils==3.8.0
pbr==1.9.1
positional==1.0.1
prettytable==0.7.2
pyparsing==2.1.1
python-cinderclient==1.6.0
python-glanceclient==2.0.0
python-heatclient==0.9.0
python-keystoneclient==2.3.1
python-neutronclient==3.0.0
python-novaclient==2.31.0
python-openstackclient==2.3.0
python-swiftclient==3.0.0
pytz==2016.3
PyYAML==3.11
rackspace-auth-openstack==1.3
rackspace-novaclient==1.5
rax-default-network-flags-python-novaclient-ext==0.3.2
rax-scheduled-images-python-novaclient-ext==0.3.1
requests==2.9.1
requestsexceptions==1.1.3
simplejson==3.8.2
six==1.10.0
stevedore==1.12.0
supernova==2.0.9
swiftly==2.4
unicodecsv==0.14.1
warlock==1.2.0
wrapt==1.10.8
(running the latest version, 1.2.0, of python-heatclient
resulted in a different error):
WARNING (shell) "heat stack-create" is deprecated, please use "openstack stack create" instead b'Error parsing template file:///vagrant/corekube/corekube-cloudservers.yaml mapping values are not allowed here\n in "<unicode string>", line 3, column 13:\n description: >\n
from corekube.
Thank you for the report.
I've just verified that this is in fact an issue. I'll try drumming up a fix.
Stay tuned...
from corekube.
I dug around the docs on rackspace and changing the sections under the servers as follows works!
Thank you so much for your work on this project
from corekube.
Thanks for the info. What version of python-heatclient did you get it working with? I've tried v1.2.0 with openstack stack create
, but I am hitting a unicode parsing issue with the colon after the description
key in the template
from corekube.
python-heatclient==0.9.0
from corekube.
I dug around the docs on rackspace and changing the sections under the servers as follows works!
fix.diff.txt
Thank you - I've gone ahead and applied your patch
Thank you so much for your work on this project
Glad I could help 👍
from corekube.
I also hit the unicode parsing issue:
Error parsing template file:///corekube/corekube-cloudservers.yaml mapping values are not allowed here in "<unicode string>", line 3, column 13: description: | ^
My heat client version:
python-heatclient==1.6.1
Created this patch:
corekube-cloudservers.yaml.diff.txt
from corekube.
Thanks for the feedback @arturoera.
Your patch seems to only be a change of spacing AFAICT. Does this patch work for you?
I'm wondering if the root of this issue is some sort of parsing issue with the YAML files that differs from heat client to client. I'm on python-heatclient==0.9.0
and python-novaclient==2.31.0
and heat stack creation is working.
from corekube.
Hey @metral
Thanks for looking into this, yes it worked after I removed the spacing. I think new versions of heatclient are using new versions of the yaml parser. I installed heatclient yesterday in a new virtualenv, this is the version of the yaml parser I see:
PyYAML==3.12
I didn't have time to look for the changes on the parser, but based on my struggles yesterday a simple removal of the spacing worked.
You may replicate this scenario creating a new env, and installing heat client with pip, then try the command again:
heat stack-create corekube --template-file corekube-cloudservers.yaml -P keyname=kube_key
from corekube.
Related Issues (13)
- Setup Error / Unexpected end of JSON input HOT 12
- How to expose service with Cloud DNS? HOT 9
- Rack Connect HOT 2
- Stack Build Error HOT 7
- Failed to start flannel.service HOT 11
- timeout for overlord and discovery HOT 2
- Private openstack network issues during install, net and mtu HOT 3
- latest coreos image requires docker daemon instead of docker -d HOT 3
- Error parsing template heat template HOT 1
- Overlord doesn't finish completion due to failed unit in fleet HOT 1
- Resource CREATE failed: Invalid value for port 0
- multiple networks in private openstack? HOT 2
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 corekube.