Comments (4)
diff --git a/scripts/jenkins/jenkins-job-trigger b/scripts/jenkins/jenkins-job-trigger
index 3b7c7fe..7497ec3 100755
--- a/scripts/jenkins/jenkins-job-trigger
+++ b/scripts/jenkins/jenkins-job-trigger
@@ -57,7 +57,7 @@ def jenkins_build_job(job_name, job_args=[]):
p_key, _, p_val = param.partition('=')
job_parameters[p_key.strip(' ')] = p_val.strip(' ')
- server = jenkins.Jenkins(config['jenkins_url'],
+ server = jenkins.Jenkins(str(config['jenkins_url']),
username=config['jenkins_user'],
password=config['jenkins_api_token'])
server.build_job(job_name, job_parameters)
from automation.
That should be the fix.
Here is how to repro the error - it seems unicode hostnames are not liked there:
python -c 'import socket; socket.create_connection((u"<some-ip-here>", 8080));'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.7/socket.py", line 554, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
LookupError: unknown encoding: idna
whereas
python -c 'import socket; socket.create_connection(("<some-ip-here>", 8080));'
is happyness
from automation.
from automation.
fixed by #2137
from automation.
Related Issues (20)
- Explore alternative options for mkcloud deployment HOT 23
- Need faster image download mechanism
- mkcloud needs to automatically log itself to a file HOT 3
- native support for screen (and tmux?) HOT 3
- add step to update the product codebase without reinstalling the cloud
- Apache keystone.conf has extra noise at the bottom
- Horizon project list doesn
- Changes to crowbar chef templates may get overwritten by updates HOT 1
- Failure to retrieve Manila image HOT 1
- Sample script in docs/mkcloud.md fails
- Incorporate readme instructions into setuphost target HOT 2
- Created virtual network may conflict with existing networks HOT 2
- "soc-ci worker-pool-reserve" doesn't work with hosts running mkcloud non-root
- jenkins/jenkins-job-trigger HTTP failure should not be silent HOT 2
- in the cloud-update-ci job JJB fails to update ci.opensuse.org HOT 6
- hung mkcloud does not collect supportconfigs HOT 6
- allocpool is undocumented and written in Perl HOT 1
- motd should show origin of cloud HOT 5
- `mkcloud plain` fails to download manila-service-image
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 automation.