摘要:
阅读全文
posted @ 2017-03-16 10:44
秦瑞It行程实录
阅读(214)
评论(0)
推荐(0)
开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发. |
|
摘要:
错误: 实例 "ahwater-linux-core" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance 7c1609 阅读全文
posted @ 2017-03-15 17:37
秦瑞It行程实录
阅读(1064)
评论(1)
推荐(0)
摘要:
glance image-create --name "linux-core-mini-01" --file /cirros-0.3.4-x86_64-disk.img --disk-format qcow2 --container-format bare --progress --visibili 阅读全文
posted @ 2017-03-15 17:11
秦瑞It行程实录
阅读(583)
评论(0)
推荐(0)
摘要:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u5929' in position 2: ordinal not in range(128) UnicodeEncodeError: 'latin-1' codec can't 阅读全文
posted @ 2017-03-10 16:44
秦瑞It行程实录
阅读(648)
评论(0)
推荐(0)
摘要:
import os def get_nova_credentials_v2(): d = {} d['version'] = '2.0' d['username'] = os.environ['OS_USERNAME'] d['api_key'] = os.environ['OS_PASSWORD'] d['auth_url'] = os.environ[... 阅读全文
posted @ 2017-03-10 14:51
秦瑞It行程实录
阅读(141)
评论(0)
推荐(0)
摘要:
ERROR (UnicodeEncodeError): 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128 阅读全文
posted @ 2017-03-09 14:54
秦瑞It行程实录
阅读(285)
评论(0)
推荐(0)
摘要:
UnicodeEncodeError: 'ascii' codec can't encode character u'\u65e0' in position 1: ordinal not in range(128) 上述问题解决办法 修改tool.py s = json.dumps(obj, sor 阅读全文
posted @ 2017-03-09 14:53
秦瑞It行程实录
阅读(566)
评论(0)
推荐(0)
摘要:
现在以 json 为数据传输格式的 RESTful 接口非常流行。为调试这样的接口,一个常用的办法是使用 curl 命令: 对于返回的 json 字符串,一般在服务端不加处理的情况下,都是没有任何 '\t' 和 '\n' 的。为了方便查看,在 bash 上可以简单地对它进行格式化: 当然这要求机器上 阅读全文
posted @ 2017-03-09 14:40
秦瑞It行程实录
阅读(1969)
评论(0)
推荐(0)
|