<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lanceyang1992的专栏]]></title><description><![CDATA[github:https://github.com/lanceyang1992/Repo-of-Lance.git]]></description><link>https://blog.csdn.net/lanceyang1992</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; lanceyang1992]]></copyright><item><title><![CDATA[Windows下使用MATLAB时几个Perl工具包的安装（XML::Twig，XML::Parser，Math::Polygon::Calc，Tie::IxHash）]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/54409366</link><guid>https://blog.csdn.net/lanceyang1992/article/details/54409366</guid><author>lanceyang1992</author><pubDate>Fri, 13 Jan 2017 15:54:19 +0800</pubDate><description><![CDATA[在MATLAB里边需要使用XML::Twig，XML::Parser，Math::Polygon::Calc，Tie::IxHash几个包，琢磨了多半天，安装成功了，记录一下：

1.下载windows下激活Perl的工具，http://www.activestate.com/activeperl/downloads，根据系统情况选择32位还是64位，安装后在cmd中输入perl，不会再提示“]]></description><category></category></item><item><title><![CDATA[单节点kubernetes的进程]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/51672480</link><guid>https://blog.csdn.net/lanceyang1992/article/details/51672480</guid><author>lanceyang1992</author><pubDate>Tue, 14 Jun 2016 16:05:07 +0800</pubDate><description><![CDATA[root      2652  0.9  5.9 254668 238852 ?       Sl   May26 261:52 kube-apiserver --etcd-servers=http://127.0.0.1:2379 --insecure-bind-address=0.0.0.0 --insecure-port=8080 --logtostderr=true --service-c]]></description><category></category></item><item><title><![CDATA[OpenStack with Ceph as volume]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/51672446</link><guid>https://blog.csdn.net/lanceyang1992/article/details/51672446</guid><author>lanceyang1992</author><pubDate>Tue, 14 Jun 2016 16:00:34 +0800</pubDate><description><![CDATA[localrc of devstack
DATABASE_PASSWORD=123456
RABBIT_PASSWORD=123456
SERVICE_TOKEN=123456
SERVICE_PASSWORD=123456
ADMIN_PASSWORD=123456

enable_service q-svc
enable_service q-agt
enable_service q-dhcp]]></description><category></category></item><item><title><![CDATA[解决Docker pull image时Network timed out的问题（多数因为网络被墙）]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/50905643</link><guid>https://blog.csdn.net/lanceyang1992/article/details/50905643</guid><author>lanceyang1992</author><pubDate>Wed, 16 Mar 2016 15:43:39 +0800</pubDate><description><![CDATA[当执行
#docker pull {$image_name}
时，pull不下来，错误为：
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/nginx/images. You may want to check your internet connecti]]></description><category></category></item><item><title><![CDATA[多节点Kubernetes安装]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/50820729</link><guid>https://blog.csdn.net/lanceyang1992/article/details/50820729</guid><author>lanceyang1992</author><pubDate>Mon, 07 Mar 2016 17:15:46 +0800</pubDate><description><![CDATA[环境：两台机器，一台既是master也是minion，还有一台minion。
系统：ubuntu 14.04 LTS
前期准备：docker(1.10.2), etcd(2.3.0), flannel(0.5.5).


一、安装Docker
参见官方文档：Docker安装（ubuntu）


注意：一定要在每台机子上都事先安装Docker，否则安装启动Kubectl的时候会出现]]></description><category></category></item><item><title><![CDATA[Murano的Symphony和Mesos（Marathon）的package和imge全部做好了]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/50524856</link><guid>https://blog.csdn.net/lanceyang1992/article/details/50524856</guid><author>lanceyang1992</author><pubDate>Fri, 15 Jan 2016 17:13:48 +0800</pubDate><description><![CDATA[三个月，由搭环境到做image，再到compose package，然后再deploy


遇见好多问题，不过在师傅的帮助和自己的努力下都一一解决了。


接下来再做一个ASC（Application Service Controller）的package，我关于Murano的工作应该就告一段落了。







目前就是这样了。]]></description><category></category></item><item><title><![CDATA[在Murano的HOT template中调用其他文件（nested files）]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/50518408</link><guid>https://blog.csdn.net/lanceyang1992/article/details/50518408</guid><author>lanceyang1992</author><pubDate>Thu, 14 Jan 2016 16:23:00 +0800</pubDate><description><![CDATA[在使用Murano去compose一个关于mesos和marathon的HOT的package时，发现这样一个问题：如果这个HOT的template中调用了其他的文件，就会出现
"invalid URL scheme,Could not fetch remote template mesosslave.yaml"


这样的错误。


HOT的例子在这：https://github.]]></description><category></category></item><item><title><![CDATA[部署多节点gre网络的OpenStack（包括Murano和Magnum）]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/50055459</link><guid>https://blog.csdn.net/lanceyang1992/article/details/50055459</guid><author>lanceyang1992</author><pubDate>Thu, 26 Nov 2015 14:32:00 +0800</pubDate><description><![CDATA[这里只给出两个conf文件，其他均使用devstack一键部署。


1.controller和第一个compute节点在同一台服务器上。
DATABASE_PASSWORD=123456
RABBIT_PASSWORD=123456
SERVICE_TOKEN=123456
SERVICE_PASSWORD=123456
ADMIN_PASSWORD=123456

disable_se]]></description><category></category></item><item><title><![CDATA[在Devstack上快速部署Murano和使用]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/49818147</link><guid>https://blog.csdn.net/lanceyang1992/article/details/49818147</guid><author>lanceyang1992</author><pubDate>Fri, 13 Nov 2015 14:59:43 +0800</pubDate><description><![CDATA[1.Murano installation 

    1.1 download devstack source code from github 

           git clone https://github.com/openstack-dev/devstack.git

 

    1.2 download some files that installing m]]></description><category></category></item><item><title><![CDATA[CentOS7安装Murano-agent时的error:command 'gcc' failed with exit status 1]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/49659075</link><guid>https://blog.csdn.net/lanceyang1992/article/details/49659075</guid><author>lanceyang1992</author><pubDate>Thu, 05 Nov 2015 10:22:53 +0800</pubDate><description><![CDATA[在build  Symphony 的CentOS image的时候，需要安装Murano-agent，
git clone 下来Murano-agent的包以后，先执行以下命令安装依赖


pip install -r requirement.txt


这个时候出现了这个错误：
In file included from greenlet.c:5:0:
greenlet.h:8:]]></description><category></category></item><item><title><![CDATA[解决centos7中yum安装包时遇到python版本不一致问题]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/49639429</link><guid>https://blog.csdn.net/lanceyang1992/article/details/49639429</guid><author>lanceyang1992</author><pubDate>Wed, 04 Nov 2015 16:17:19 +0800</pubDate><description><![CDATA[今天在用yum安装python-pip时
出现了这个错误：
Error: Package: python-pip (overviewer)
           Requires: python(abi) = 2.6
           Installed: python-2.7.5-16.el7.x86_64 (@anaconda)
               python(abi) =]]></description><category></category></item><item><title><![CDATA[解决Linux无法创建新用户和/home目录下无法创建新目录的问题]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/48707527</link><guid>https://blog.csdn.net/lanceyang1992/article/details/48707527</guid><author>lanceyang1992</author><pubDate>Thu, 24 Sep 2015 10:53:38 +0800</pubDate><description><![CDATA[安装devstack的时候由于stack.sh脚本不允许在root用户下执行，所以必须在系统中新建一个用户，然后切换到这个用户下进行安装。
然而在创建用户的时候被告知权限不够，而且直接在/home目录下执行mkdir命令也无法完成创建。


接下来可以使用如下的办法：


1.注释掉/etc/auto.master文件的第一行内容“/home /etc/auto.homexian”]]></description><category></category></item><item><title><![CDATA[Windows和Linux远程复制文件——pscp和scp]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/48435977</link><guid>https://blog.csdn.net/lanceyang1992/article/details/48435977</guid><author>lanceyang1992</author><pubDate>Mon, 14 Sep 2015 10:28:53 +0800</pubDate><description><![CDATA[多伦多的机子挂了，现在只能通过同事的机子进行跳转，这样就需要登录两次虚拟机，而且这个几次不能连外网，所以就需要从本地把所有需要的东西拷进去再用。


涉及到win和linux，linux和linux之间的文件传输，分别说下pscp和scp


1.pscp
下载地址：PSCP.download 
会下载一个pscp.exe的文件，建议放到C:\WINDOWS\system32目录下]]></description><category></category></item><item><title><![CDATA[setup.py和pip]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47975589</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47975589</guid><author>lanceyang1992</author><pubDate>Tue, 25 Aug 2015 13:17:55 +0800</pubDate><description><![CDATA[表面上，python setup.py install和pip
 install都是用来安装python包的，实际上，pip提供了更多的特性，更易于使用。体现在以下几个方面：

pip会自动下载依赖，而如果使用setup.py，则需要手动搜索和下载；pip会自动管理包的信息，使卸载/更新更加方便和容易，使用pip
 uninstall即可。而使用setup.py，必须手动删除，有时容易出错]]></description><category></category></item><item><title><![CDATA[手动安装OpenStack-Murano和Murano-dashboard]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47973665</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47973665</guid><author>lanceyang1992</author><pubDate>Tue, 25 Aug 2015 10:53:38 +0800</pubDate><description><![CDATA[一、 环境准备
搭建Murano和Murano-dashboard是在Red Hat Enterprise Linux Server release 7.1 (Maipo)上搭建的，之前这个环境已经搭建了Openstack的环境，因此一些系统的工具包也安装过了，例如：gcc,python-pip,mysql。


二、在Devstack上配置安装Murano
1.首先需要下载dev的包，]]></description><category></category></item><item><title><![CDATA[github上Devstack的一些变动，截至8.20]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47803505</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47803505</guid><author>lanceyang1992</author><pubDate>Thu, 20 Aug 2015 10:17:33 +0800</pubDate><description><![CDATA[从github下直接clone下来的代码在运行之前需要对一些文件进行修改，否则会出现关于REQUIREMENTS的错误


说明：代码前边是"-"号的，需要删除，代码前边是“+”号的，是需要添加上去的。红色删除，绿色添加，黑色的原来的代码上下文。注意区分哪些是注释，哪些是代码，不过多解释了。


1./inc/python
66行，function pip_install_gr {]]></description><category></category></item><item><title><![CDATA[修复OpenStack-Horizon遇到的UnicodeDecodeError]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47724783</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47724783</guid><author>lanceyang1992</author><pubDate>Mon, 17 Aug 2015 14:44:49 +0800</pubDate><description><![CDATA[为了把坏掉的Dashboard修复，按照社OpenStack社区上的教程，把Dashboard重装：Dashboard  
在进行到这一步的时候
./run_tests.sh --runserver localhost:9000
发现报了这样一个错误：UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 5:]]></description><category></category></item><item><title><![CDATA[Murano.conf的配置]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47421833</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47421833</guid><author>lanceyang1992</author><pubDate>Tue, 11 Aug 2015 16:15:41 +0800</pubDate><description><![CDATA[用命令行安装Murano的时候，需要在安装之前编辑Murano.conf文件进行配置


Murano的doc给出的描述见：Installing and Running Manually


现在把上面的link给出的配置模板拿出来，并且说明一下用到了哪些参数
[DEFAULT]
debug = true
verbose = true
rabbit_host = %RABBITMQ_]]></description><category></category></item><item><title><![CDATA[Magnum的使用]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47171923</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47171923</guid><author>lanceyang1992</author><pubDate>Fri, 31 Jul 2015 16:35:17 +0800</pubDate><description><![CDATA[1.Prepare your session to be able to use the various openstack clients including magnum, neutron, and glance. 
Create a new shell, and source the devstack openrc script::


source /opt/stack/devst]]></description><category></category></item><item><title><![CDATA[Openstack magnum 简介]]></title><link>https://blog.csdn.net/lanceyang1992/article/details/47151889</link><guid>https://blog.csdn.net/lanceyang1992/article/details/47151889</guid><author>lanceyang1992</author><pubDate>Thu, 30 Jul 2015 16:13:17 +0800</pubDate><description><![CDATA[Magnum项目提供了Openstack API帮助管理员能够在Openstack中创建基于容器的服务。当前，Magnums使用 
的容器后端是k8s和docker。为了更好的管理容器，Magnum在定义了以下对象：Bay,BayModel,Node,Pod,Service, 
ReplicationController，Container。 
分别介绍下以上几个对象：

Bay：运行容]]></description><category></category></item></channel></rss>