[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP 1.6 BETA: Reconfigure host network via XenCenter



And it looks like Luis' message got auto-discarded, so I'm CC'ing the
list myself.

On 09/10/12 15:44, Luis Leal wrote:
> (Forgot to cc the list)
> 
> Hi Mike,
> 
> Thanks for the response.
> 
>> What version of XenCenter? You should be using 6.1.
> 
> I'm using 6.1 Build 664
> 
>> Can you post anything from the xensource.log? And can you try
>> reconfiguring the PIF using the command line?
> 
> I managed to figure out what the problem is - the one interface on the
> test machine (Intel 82578DM) only supports jumbo frames up to 4k.
> 
> Attempting to configure the MTU with a value greater than 4000
> produces the above error - looks like just some missing validation /
> error handling.
> 
> Output of configuring the network / pif via the command line:
> 
> [root@xs01 ~]# xe network-param-list uuid=e2d7ae07-4e5b-6696-6ef1-040eb4ea181a
> uuid ( RO)                    : e2d7ae07-4e5b-6696-6ef1-040eb4ea181a
>               name-label ( RW): Pool-wide network associated with eth0
>         name-description ( RW):
>                VIF-uuids (SRO):
>                PIF-uuids (SRO): 19671d47-db15-ee44-8ba1-9b2e07a274d3
>                      MTU ( RW): 1500
>                   bridge ( RO): xenbr0
>             other-config (MRW): automatic: true
>                    blobs ( RO):
>                     tags (SRW):
>     default-locking-mode ( RW): unlocked
> 
> 
> [root@xs01 ~]# xe network-param-set
> uuid=e2d7ae07-4e5b-6696-6ef1-040eb4ea181a MTU=9000
> [root@xs01 ~]# xe pif-reconfigure-ip
> uuid=19671d47-db15-ee44-8ba1-9b2e07a274d3 mode=static IP=192.168.254.1
> netmask=255.255.255.0
> An unknown error occurred while attempting to configure an interface.
> PIF: 19671d47-db15-ee44-8ba1-9b2e07a274d3
> msg: script error [script = /sbin/ip, args = link set eth0 mtu 9000,
> code = 2, stdout = , stderr = RTNETLINK answers: Invalid argument
> ]
> 
> AFAIR This failed silently on XS 6.0.2 or set  it to maximum supported value.
> 
> Kind regards
> 
> 
> Luis
> 
> On Tue, Oct 9, 2012 at 2:08 PM, Mike McClurg <mike.mcclurg@xxxxxxxxxx> wrote:
>> On 08/10/12 17:24, Luis Leal wrote:
>>> Hi,
>>>
>>> I'm testing XCP 1.6 on two servers and I'm consistently seeing
>>> failures re-configuring network interfaces via XenCenter -
>>> specifically secondary interfaces used for storage.
>>>
>>> Anybody else seeing the same problem?
>>
>> What version of XenCenter? You should be using 6.1.
>>
>>> The relevant extract from the XenCenter log:
>>
>> Can you post anything from the xensource.log? And can you try
>> reconfiguring the PIF using the command line?
>>
>> Mike
>>
>>
>>> 2012-10-08 18:05:40,662 DEBUG XenAdmin.Actions.ActionBase [Main
>>> program thread] -
>>> 2012-10-08 18:05:40,663 INFO  Audit [Main program thread] - Operation
>>> started: ChangeNetworkingAction: xs01: Host
>>> 7fb2b49c-1b09-4a5c-aca7-ee6af21ac5d9 (xs01):
>>> 2012-10-08 18:05:40,678 DEBUG XenAdmin.Actions.NetworkingActionHelpers
>>> [3328] - Bringing PIF NIC 0 3dbda962-e651-44db-efad-e394c884b670 up as
>>> 192.168.254.1/255.255.255.0, , ...
>>> 2012-10-08 18:05:40,679 DEBUG XenAdmin.Actions.ActionBase [3328] -
>>> Configuring IP address on NIC 0...
>>> 2012-10-08 18:05:40,686 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method PIF.set_other_config
>>> 2012-10-08 18:05:40,750 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method PIF.set_disallow_unplug
>>> 2012-10-08 18:05:40,796 DEBUG XenAdmin.Actions.NetworkingActionHelpers
>>> [3328] - Reconfiguring IP on NIC 0
>>> 3dbda962-e651-44db-efad-e394c884b670 ...
>>> 2012-10-08 18:05:40,803 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method Async.PIF.reconfigure_ip
>>> 2012-10-08 18:05:40,855 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:40,901 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:40,952 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:42,091 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.destroy
>>> 2012-10-08 18:05:42,143 DEBUG XenAdmin.Actions.NetworkingActionHelpers
>>> [3328] - Reconfiguring IP on NIC 0
>>> 3dbda962-e651-44db-efad-e394c884b670 done.
>>> 2012-10-08 18:05:42,151 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method PIF.get_currently_attached
>>> 2012-10-08 18:05:42,200 DEBUG XenAdmin.Actions.NetworkingActionHelpers
>>> [3328] - Plugging NIC 0 3dbda962-e651-44db-efad-e394c884b670 ...
>>> 2012-10-08 18:05:42,205 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method Async.PIF.plug
>>> 2012-10-08 18:05:42,254 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:42,302 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:42,351 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.add_to_other_config
>>> 2012-10-08 18:05:42,588 WARN  XenAdmin.Network.TaskPoller [3328] -
>>> Action failed due to API failure:
>>>    at System.Environment.get_StackTrace()
>>>    at XenAdmin.Network.TaskPoller.poll()
>>>    at XenAdmin.Network.TaskPoller.PollToCompletion()
>>>    at XenAdmin.Actions.NetworkingActionHelpers.Plug(AsyncAction
>>> action, PIF pif, Int32 hi)
>>>    at XenAdmin.Actions.NetworkingActionHelpers.BringUp(AsyncAction
>>> action, PIF new_pif, String new_ip, PIF existing_pif, Int32 hi)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.BringUp(PIF new_pif, PIF
>>> existing_pif, Int32 hi)
>>>    at XenAdmin.Actions.NetworkingActionHelpers.ForSomeHosts(AsyncAction
>>> action, PIF pif, Boolean this_host, Boolean lock_pif, Int32 hi,
>>> PIFMethod pif_method)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.Reconfigure(PIF pif,
>>> Boolean up, Boolean this_host, Int32 hi)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.Run()
>>>    at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
>>>    at System.Threading.ExecutionContext.Run(ExecutionContext
>>> executionContext, ContextCallback callback, Object state)
>>>    at 
>>> System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
>>> tpWaitCallBack)
>>>    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object 
>>> state)
>>> 2012-10-08 18:05:42,590 INFO  XenAPI.Session [3328] - Invoking XML-RPC
>>> method task.destroy
>>> 2012-10-08 18:05:42,654 ERROR XenAdmin.Actions.AsyncAction [3328] - An
>>> unknown error occurred while attempting to configure an interface.
>>> 2012-10-08 18:05:42,655 ERROR XenAdmin.Actions.AsyncAction [3328] -
>>> at XenAdmin.Network.TaskPoller.poll()
>>>    at XenAdmin.Network.TaskPoller.PollToCompletion()
>>>    at XenAdmin.Actions.NetworkingActionHelpers.Plug(AsyncAction
>>> action, PIF pif, Int32 hi)
>>>    at XenAdmin.Actions.NetworkingActionHelpers.BringUp(AsyncAction
>>> action, PIF new_pif, String new_ip, PIF existing_pif, Int32 hi)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.BringUp(PIF new_pif, PIF
>>> existing_pif, Int32 hi)
>>>    at XenAdmin.Actions.NetworkingActionHelpers.ForSomeHosts(AsyncAction
>>> action, PIF pif, Boolean this_host, Boolean lock_pif, Int32 hi,
>>> PIFMethod pif_method)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.Reconfigure(PIF pif,
>>> Boolean up, Boolean this_host, Int32 hi)
>>>    at XenAdmin.Actions.ChangeNetworkingAction.Run()
>>>    at XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
>>> 2012-10-08 18:05:42,656 WARN  Audit [3328] - Operation failure:
>>> ChangeNetworkingAction: xs01: Host
>>> 7fb2b49c-1b09-4a5c-aca7-ee6af21ac5d9 (xs01): Configuring IP address on
>>> NIC 0...
>>> 2012-10-08 18:05:42,656 DEBUG XenAdmin.Actions.ActionBase [3328] - An
>>> unknown error occurred while attempting to configure an interface.
>>> An unknown error occurred while attempting to configure an interface.
>>>
>>> Kind regards
>>>
>>> Luis
>>>
>>> _______________________________________________
>>> Xen-api mailing list
>>> Xen-api@xxxxxxxxxxxxx
>>> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>>>
>>


_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.