###発生している問題・エラーメッセージ
NTTCom Cloud Enterprise で Centos7 のセットアップを行っています。
nmcli で device の設定を行い、その後 firewalld の設定を行っています。
その段階では問題なく接続できていますが、reboot 後にnetwork 接続ができなくなる問題が起きています。
firewalld の設定を行う前は reboot 後も正常に接続できます。
何が間違っているのでしょうか?
エラーメッセージ
/var/log/cloud-init.log で以下のようなログがあります。
Jul 17 14:18:46 biz105 cloud-init: ci-info: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Route info failed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Jul 17 14:21:01 biz105 cloud-init: 2016-07-17 14:21:01,476 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [3/120s]: unexp
ected error ['NoneType' object has no attribute 'status_code']
Jul 17 14:21:04 biz105 cloud-init: 2016-07-17 14:21:04,482 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [6/120s]: unexp
ected error ['NoneType' object has no attribute 'status_code']
Jul 17 14:21:07 biz105 cloud-init: 2016-07-17 14:21:07,488 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [9/120s]: unexp
ected error ['NoneType' object has no attribute 'status_code']
###該当のソースコード
ここにご自身が実行したソースコードを書いてください
###試したこと
課題に対してアプローチしたことを記載してください
###補足情報(言語/FW/ツール等のバージョンなど)
以下設定情報です。
cat /etc/firewalld/direct.xml
<?xml version="1.0" encoding="utf-8"?> <direct> <rule priority="0" table="nat" ipv="ipv4" chain="POSTROUTING_direct">-s 192.168.1.5 -o eth0 -j SNAT --to 153.153.xxx.xxx</rule> <rule priority="0" table="nat" ipv="ipv4" chain="PREROUTING_direct">-s 153.153.xxx.xxx -o eth0 -j DNAT --to 192.168.1.5</rule> </direct>firewall-cmd --zone=external --list-all
external (active)
interfaces: eth0
sources:
services: dns ftp http https imaps pop3s smtp ssh
ports: 110/tcp 21/tcp 106/tcp 53/tcp 990/tcp 5432/tcp 8447/tcp 113/tcp 143/tcp 3306/tcp 5224/tcp 22/tcp 465/tcp 995/tcp 25/tcp 8443/tcp 993/tcp 443/tcp 8880/tcp 587/tcp 20/tcp 53/udp 12768/tcp
masquerade: yes
forward-ports:
icmp-blocks:
rich rules:
nmcli c show System-eth0 | grep connection.autoconnect
connection.autoconnect: yes
connection.autoconnect-priority: 0
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。