You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create link aggregation group ae0 with values: links: ["ge-1/0/0", "ge-1/0/1"]
[2015-06-17T23:54:49+05:30] INFO: Chef Run complete in 9.360989418 seconds
Running handlers:
[2015-06-17T23:54:49+05:30] INFO: Running report handlers
[2015-06-17T23:54:50+05:30] FATAL: Could not complete Junos configuration transaction:
RPC command error: commit-configuration
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/15.1D0/junos"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="19">
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services mode
</error- message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services mode
</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services mode
</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>protocol</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>
commit failed: (statements constraint check failed)
</error-message>
</rpc-error>
</rpc-reply>
[2015-06-17T23:54:50+05:30] ERROR: Exception handlers complete
[2015-06-17T23:54:50+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 3 resources updated in 12.826661867 seconds
[2015-06-17T23:54:50+05:30] ERROR: Could not complete Junos configuration transaction:
RPC command error: commit-configuration
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/15.1D0/junos"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="19">
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/0 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>application</error-type>
<error-tag>invalid-value</error-tag>
<error-severity>error</error-severity>
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
</rpc-error>
<rpc-error>
<error-type>protocol</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-message>
commit failed: (statements constraint check failed)
</error-message>
</rpc-error>
</rpc-reply>
[2015-06-17T23:54:50+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ISSUE:
Chef Invocation is trying to add "ether-options" instead of "gigether-options" on MX Devices.Hence the following errors are seen
<error-path>[edit interfaces ge-1/0/1 ether-options]</error-path>
<error-message>mgd: This feature can be configured only in Ethernet LAN services
mode</error-message>
<error-info>
<bad-element>802.3ad</bad-element>
</error-info>
The text was updated successfully, but these errors were encountered:
RECIPE:
[root@bng-chef-ws1 recipes]#cat /root/chef-repo/cookbooks/netdev/recipes/sample_lag.rb
netdev_interface "ge-1/0/0" do
description "Chef Interface created"
duplex "full"
speed "100m"
action :create
end
netdev_interface "ge-1/0/1" do
description "Chef Interface created"
speed "100m"
duplex "full"
action :create
end
netdev_lag 'ae0' do
links %w{ ge-1/0/0 ge-1/0/1 }
lacp 'disable'
action :create
end
EXECUTING THE JUNOS CHEF-CLIENT:
root@csi-irtb2-b% /opt/sdk/chef/bin/ruby /opt/sdk/chef/bin/chef-client -c /config/chef/client.rb
[2015-06-17T23:54:37+05:30] INFO: Forking chef instance to converge...
Starting Chef Client, version 11.10.4
.............................
Compiling Cookbooks...
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:35: warning: already initialized constant KNOWN_RESOURCES
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant L1ports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant L2ports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant IPports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant Vlans
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:55: warning: already initialized constant LAGports
/var/chef/cache/cookbooks/netdev/libraries/_junos_api_client.rb:65: warning: already initialized constant VALUES_TO_SYMBOLIZE
Converging 3 resources
Recipe: netdev::sample_lag
[2015-06-17T23:54:42+05:30] INFO: Netconf session is sucess
[2015-06-17T23:54:43+05:30] INFO: Netdev::Junos::ApiTransport: Acquired exclusive Junos configuration lock
[2015-06-17T23:54:49+05:30] INFO: Chef Run complete in 9.360989418 seconds
Running handlers:
[2015-06-17T23:54:49+05:30] INFO: Running report handlers
[2015-06-17T23:54:50+05:30] FATAL: Could not complete Junos configuration transaction:
Running handlers:
[2015-06-17T23:54:50+05:30] ERROR: Running exception handlers
[2015-06-17T23:54:50+05:30] INFO: Rolled back pending Junos candidate configuration changes
Running handlers complete
[2015-06-17T23:54:50+05:30] ERROR: Exception handlers complete
[2015-06-17T23:54:50+05:30] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 3 resources updated in 12.826661867 seconds
[2015-06-17T23:54:50+05:30] ERROR: Could not complete Junos configuration transaction:
[2015-06-17T23:54:50+05:30] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
ISSUE:
Chef Invocation is trying to add "ether-options" instead of "gigether-options" on MX Devices.Hence the following errors are seen
The text was updated successfully, but these errors were encountered: