From f1943160f0c0fc2cb09b32b14900b096fe93ca02 Mon Sep 17 00:00:00 2001 From: geekpi Date: Sat, 4 Jun 2016 11:42:15 +0800 Subject: [PATCH] translated --- ...st Fedora 24 Beta in an OpenStack cloud.md | 79 ------------------- ...st Fedora 24 Beta in an OpenStack cloud.md | 78 ++++++++++++++++++ 2 files changed, 78 insertions(+), 79 deletions(-) delete mode 100644 sources/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md create mode 100644 translated/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md diff --git a/sources/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md b/sources/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md deleted file mode 100644 index b3cc4c666e..0000000000 --- a/sources/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md +++ /dev/null @@ -1,79 +0,0 @@ -translating---geekpi - -Test Fedora 24 Beta in an OpenStack cloud -=========================================== - -![](https://major.io/wp-content/uploads/2012/01/fedorainfinity.png) - -Although there are a few weeks remaining before [Fedora 24][1] is released, you can test out the Fedora 24 Beta release today! This is a great way to get [a sneak peek at new features][2] and help find bugs that still need a fix. - -The [Fedora Cloud][3] image is available for download from your favorite [local mirror][4] or directly from [Fedora’s servers][5]. In this post, I’ll show you how to import this image into an OpenStack environment and begin testing Fedora 24 Beta. - -One last thing: this is beta software. It has been reliable for me so far, but your experience may vary. I would recommend waiting for the final release before deploying any mission critical applications on it. - -### Importing the image - -The older glance client (version 1) allows you to import an image from a URL that is reachable from your OpenStack environment. This is helpful since my OpenStack cloud has a much faster connection to the internet (1 Gbps) than my home does (~ 20 mbps upload speed). However, the functionality to import from a URL was [removed in version 2 of the glance client][6]. The [OpenStackClient][7] doesn’t offer the feature either. - -There are two options here: - -- Install an older version of the glance client -- Use Horizon (the web dashboard) - -Getting an older version of glance client installed is challenging. The OpenStack requirements file for the liberty release [leaves the version of glance client without a maximum version cap][8] and it’s difficult to get all of the dependencies in order to make the older glance client work. - -Let’s use Horizon instead so we can get back to the reason for the post. - -### Adding an image in Horizon - -Log into the Horizon panel and click Compute > Images. Click + Create Image at the top right of the page and a new window should appear. Add this information in the window: - -- **Name**: Fedora 24 Cloud Beta -- **Image Source**: Image Location -- **Image Location**: http://mirrors.kernel.org/fedora/releases/test/24_Beta/CloudImages/x86_64/images/Fedora-Cloud-Base-24_Beta-1.6.x86_64.qcow2 -- **Format**: QCOW2 – QEMU Emulator -- **Copy Data**: ensure the box is checked - -When you’re finished, the window should look like this: - -![](https://major.io/wp-content/uploads/2016/05/horizon_image.png) - -Click Create Image and the images listing should show Saving for a short period of time. Once it switches to Active, you’re ready to build an instance. - -### Building the instance - -Since we’re already in Horizon, we can finish out the build process there. - -On the image listing page, find the row with the image we just uploaded and click Launch Instance on the right side. A new window will appear. The Image Name drop down should already have the Fedora 24 Beta image selected. From here, just choose an instance name, select a security group and keypair (on the Access & Security tab), and a network (on the Networking tab). Be sure to choose a flavor that has some available storage as well (m1.tiny is not enough). - -Click Launch and wait for the instance to boot. - -Once the instance build has finished, you can connect to the instance over ssh as the fedora user. If your [security group allows the connection][9] and your keypair was configured correctly, you should be inside your new Fedora 24 Beta instance! - -Not sure what to do next? Here are some suggestions: - -- Update all packages and reboot (to ensure that you are testing the latest updates) -- Install some familiar applications and verify that they work properly -- Test out your existing automation or configuration management tools -- Open bug tickets! - --------------------------------------------------------------------------------- - -via: https://major.io/2016/05/24/test-fedora-24-beta-openstack-cloud/ - -作者:[major.io][a] -译者:[译者ID](https://github.com/译者ID) -校对:[校对者ID](https://github.com/校对者ID) - -本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 - -[a]: https://major.io/about-the-racker-hacker/ -[1]: https://fedoraproject.org/wiki/Releases/24/Schedule -[2]: https://fedoraproject.org/wiki/Releases/24/ChangeSet -[3]: https://getfedora.org/en/cloud/ -[4]: https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/24/x86_64 -[5]: https://getfedora.org/en/cloud/download/ -[6]: https://wiki.openstack.org/wiki/Glance-v2-v1-client-compatability -[7]: http://docs.openstack.org/developer/python-openstackclient/ -[8]: https://github.com/openstack/requirements/blob/stable/liberty/global-requirements.txt#L159 -[9]: https://major.io/2016/05/16/troubleshooting-openstack-network-connectivity/ diff --git a/translated/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md b/translated/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md new file mode 100644 index 0000000000..e32cd43f2e --- /dev/null +++ b/translated/tech/20160524 Test Fedora 24 Beta in an OpenStack cloud.md @@ -0,0 +1,78 @@ +在OpenStack云中测试Fedora 24 Beta +=========================================== + +![](https://major.io/wp-content/uploads/2012/01/fedorainfinity.png) + +虽然离[Fedora 24][1]还有几周,你可以今天就测试Fedora 24 Beta了。这是一个[窥探新特性][2]的好机会,并且可以帮助找出仍需要修复的bug。 + +[Fedora Cloud][3]镜像可以从你最喜欢的[本地镜像][4]或者[Fedora的服务器][5]中下载。本篇文章我将向你展示如何将这个镜像导入Openstack环境并且测试Fedora 24 Beta。 + +最后说一下:这还是beta软件。目前对我来说是可靠的,但是你的体验可能会不同。我建议你等到正式版发布再在上面部署关键的应用。 + +### 导入镜像 + +旧版的glance客户端(版本1)允许你在Openstack环境中导入一个URL镜像。由于我Openstack云的连接速度(1 Gbps)比我家 (大约20 mbps上传速度)快,这个功能对我很有用。然而,从URL导入的功能[在glance v2中被移除了]。[OpenStackClient][7]也不支持这个功能。 + +现在由两个选择: + +- 安装旧版的glance客户端 +- 使用 Horizon (网页面板) + +获取旧版本的glance是有挑战性的。Openstack自由发布的需求文件[对glance客户端没有最高版本上限][8],并且很难找到让旧版客户端工作的依赖文件。 + +让我们使用Horizon,来回到写这篇文章的原因。 + + +### 在Horizon中添加一个镜像 + +登录Horizon面板,点击Compute->Image. 点击页面右上方的“+”创建新镜像,一个新的窗口会显示出来。并且窗口中有这些信息: + +- **Name**: Fedora 24 Cloud Beta +- **Image Source**: Image位置 +- **Image Location**: http://mirrors.kernel.org/fedora/releases/test/24_Beta/CloudImages/x86_64/images/Fedora-Cloud-Base-24_Beta-1.6.x86_64.qcow2 +- **Format**: QCOW2 – QEMU Emulator +- **Copy Data**: 确保勾选了 + +完成后,你会看到这个: + +![](https://major.io/wp-content/uploads/2016/05/horizon_image.png) + +点击创建镜像,接着会显示一段时间的Saving。一旦切换到Active,你可以构建一个实例了。 + +### 构建实例 + +既然我们在Horizon,我们可以完成构建过程了。 + +在镜像列表页面,找出我们上传的镜像并且点击右边的启动实例。一个新的窗口会显示出来。下拉框中应该已经选择了Fedora 24 Beta的镜像。在这里,选择一个实例名,选择一个安全组和密钥对(在Access & Security中)和网络(在Networking标签)。确保选择有足够容量的存储(m1.tiny还不够)。 + +点击启动并且等待实例启动。 + +一旦实例构建完成,你可以作为fedora用户通过ssh连接。如果你的[安全组允许连接][9]并且你的密钥对正确配置了,你应该在Fedora 24 Beta中了! + +还不确定接下来做什么?有下面几点建议: + +- 升级所有的包并且重启(确保你测试的是最新的更新) +- 安装一些相似的应用并且验证它们可以正常工作 +- 测试你已有的自动化或者配置管理工具 +- 打开bug报告 + +-------------------------------------------------------------------------------- + +via: https://major.io/2016/05/24/test-fedora-24-beta-openstack-cloud/ + +作者:[major.io][a] +译者:[geekpi](https://github.com/geekpi) +校对:[校对者ID](https://github.com/校对者ID) + +本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出 + +[a]: https://major.io/about-the-racker-hacker/ +[1]: https://fedoraproject.org/wiki/Releases/24/Schedule +[2]: https://fedoraproject.org/wiki/Releases/24/ChangeSet +[3]: https://getfedora.org/en/cloud/ +[4]: https://admin.fedoraproject.org/mirrormanager/mirrors/Fedora/24/x86_64 +[5]: https://getfedora.org/en/cloud/download/ +[6]: https://wiki.openstack.org/wiki/Glance-v2-v1-client-compatability +[7]: http://docs.openstack.org/developer/python-openstackclient/ +[8]: https://github.com/openstack/requirements/blob/stable/liberty/global-requirements.txt#L159 +[9]: https://major.io/2016/05/16/troubleshooting-openstack-network-connectivity/