This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
anythingをインストールすると以下のメッセージが表示される | |
Please update anything.el !! | |
http://www.emacswiki.org/cgi-bin/wiki/download/anything.el | |
or M-x install-elisp-from-emacswiki anything.el | |
anything-complete.el 中のバージョンチェック処理が出力している。 | |
;; version check | |
以下のlet文をコメントにしてバイパスした。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install -y gcc make \ | |
libxml2 libxml2-devel libxslt libxslt-devel \ | |
rubygems ruby-devel patch | |
sudo gem install nokogiri -- --with-xml2-lib=/usr/local/lib \ | |
--with-xml2-include=/usr/local/include/libxml2 \ | |
--with-xslt-lib=/usr/local/lib \ | |
--with-xslt-include=/usr/local/include | |
sudo gem install aws-sdk --no-ri --no-rdoc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 全てのリージョンのインスタンスの一覧を確認する | |
EC2_REGIONS=("us-east-1" "us-west-1" "us-west-2" "eu-west-1" "ap-southeast-1" "ap-southeast-2" "ap-northeast-1" "sa-east-1") | |
for reg in ${EC2_REGIONS[@]}; do | |
export AWS_DEFAULT_REGION=$reg | |
aws ec2 describe-instances | jq -r "@csv \"$reg, \(.Reservations[].Instances[] | [.InstanceId, .State.Name, .Tags[0].Value,.InstanceType]) \"" | |
done | |
#参考 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova/nova/compute/manager.py | |
1656 def attach_volume(self, context, instance_uuid, volume_id, mountpoint): | |
1657 """Attach a volume to an instance.""" | |
1658 volume = self.volume_api.get(context, volume_id) | |
1659 context = context.elevated() | |
1660 instance_ref = self.db.instance_get_by_uuid(context, instance_uuid) | |
1661 instance_id = instance_ref['id'] | |
1662 msg = _("instance %(instance_uuid)s: attaching volume %(volume_id)s" | |
1663 " to %(mountpoint)s") | |
1664 LOG.audit(_('Attaching volume %(volume_id)s to %(mountpoint)s'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
二つの手順を実施する必要があります。 | |
1. nova.confの設定変更 (要VM再起動) | |
以下の文字列をnova.confに追加します。 | |
vnc_keymap=ja | |
openstackを再起動後(nova-computeだけ?)、新規のコンピュートはUS配列で文字列が入力可能になります。 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova/virt/libvirt/config.py | |
515 def __init__(self, **kwargs): | |
516 super(LibvirtConfigGuestGraphics, self).__init__(root_name="graphics", | |
517 **kwargs) | |
518 | |
519 self.type = "vnc" | |
520 self.autoport = True | |
521 self.keymap = None <--- ここを "ja"にすればいいはず! | |
522 self.listen = None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/work/bob (feature/unpause_an_instance) $ run/tag @jira-MCF-22 | |
Verifying requirements tagged with @jira-MCF-22 | |
Start at 2012-05-24-08:40:13 GMT | |
Disabling profiles... | |
Driver: selenium | |
Verifying requirements against http://mc.cb-1-1.morphcloud.net | |
Your Unique.alpha value is TAKEKAWAGUAVOTQSHSRXXEAKMBOLSFKWBNQIGIPMOGIRWWUEBY | |
@jira-MCF-22 | |
Feature: Unpause a Paused Instance | |
As a user, I want to unpause a paused instance so that I can use it again after |