Revision history [back]

click to hide/show revision 1
initial version

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set new router by neutron commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set new router by neutron commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

===== Additional information =====: On later date, I found the scp file copy to the instance worked only for a smaller file than roughly 120 kB. Also I found the reverse file copy from the instance to the outside host worked properly without such limitation.

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set new router by neutron commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

===== Additional information =====: On later date, I found the scp file copy to the instance worked only for a smaller file than roughly 120 kB. Also I found the reverse file copy from the instance to the outside host worked properly without such limitation.

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set new router by neutron commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

===== Additional information =====: On later date, I found the scp file copy to the instance worked only for a smaller file than roughly 120 kB. Also I found the scp file copy from the instance to the outside host worked without such limitation.

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set new router by neutron commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

===== Additional information =====: On later date, I found the scp file copy to the instance worked only for a smaller file than roughly 120 kB. Also I found the scp file copy from the instance to the outside host worked without such limitation.

Can't copy a local file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and set created new router by neutron CLI commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. That may causing a problem. Any suggestion is appreciated to solve it.

===== Additional information =====: On later date, However, if I try to copy a file smaller than 120kB, scp works successfully. Also I found the scp file copy to the instance worked only for a smaller file than roughly 120 kB. Also I found the scp reverse file copy from the instance to the outside host worked without such limitation.limitation. Is this known issue for neutron or my wrong setting it ? Any suggestion is appreciated to make it clear.

Can't copy a local file file(>120kB) to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and created new router by neutron CLI commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. However, if I try to copy a file smaller than 120kB, scp works successfully. Also I found the scp reverse file copy from the instance to the outside host worked without such limitation. Is this known issue for neutron or my wrong setting it of neutron ? Any suggestion is appreciated to make it clear.

Can't copy a local file(>120kB) file to an instance through a floating-ip by scp ?

Hi, I set up Openstack Juno with two nodes:Controller and Compute. Successfully I could boost an instance in an internal network which is connected to an external network through a router. The network environment is managed by neutron server that is running in the Controller node. I associated a floating ip address of the external network to the instance. Then, I could get access to the instance from a host in the external network by ssh with public key authentication. After that, I tried to copy a local file on the host to the instance by scp. But it failed as followings.

[imagen@host01 ~]$ scp get-pip.py 192.168.10.194:
 get-pip.py                                    100% 1380KB   1.4MB/s   00:00    
 Received disconnect from 192.168.10.194: 2: Packet corrupt
 lost connection

Then, I deleted the router and created new router by neutron CLI commands. But the behavior did not change. I looked arp table. The indicated MAC address corresponding to the floating ip is same with the one of the router port. However, if I try to copy a file smaller than 120kB, ~120kB, scp works successfully. Also I found the scp reverse file copy from the instance to the outside host worked without such limitation. Is this known issue for neutron or my wrong setting of neutron ? Any suggestion is appreciated to make it clear.


==Additonal info.== My instance is launched from an image which is registered to Glance from a running VM disk image (CentOS 6.4) including applications, not from prepared OS standard image for Openstack. So I used a static account for root and users. The user's public key has been registered to nova database by "nova keypair-add” before launching.