Code Monkey home page Code Monkey logo

Comments (7)

shermdog avatar shermdog commented on July 20, 2024

Hi @cvicente ,

Is this also on:

Model: qfx3500s
JUNOS Base OS boot [13.2X51-D30.4]

Or a different device / version?

Thanks,
-Rick

from ansible-junos-stdlib.

cvicente avatar cvicente commented on July 20, 2024

This happens in pretty much any model we have (MX, SRX, QFX, EX). And also a range of versions.

from ansible-junos-stdlib.

shermdog avatar shermdog commented on July 20, 2024

You find all the fun stuff Carlos :)

I suspect this is on the Junos side of things. I searched our bug system found issues around deleted messages persisting, but nothing quite like this.

Could you try to do load (replace|merge) terminal on an affected system (several times) to see if you can re-produce this manually?

I can also try this if you give me the software version of the systems.

-Rick

from ansible-junos-stdlib.

cvicente avatar cvicente commented on July 20, 2024

I've tried to reproduce it on the CLI, using load merge terminal and also set system login message , trying a dozen times on several devices, but I don't see it happen that way.

Examples where I've seen the problem recently:

  • mx240 - 12.3R6.6
  • mx480 - 12.3R9.4
  • ex2200 - 12.3R6.6
  • ex2200 - 12.3R9.4

from ansible-junos-stdlib.

shermdog avatar shermdog commented on July 20, 2024

I may have this reproduced on my side.

When I pass the message enclosed in quotes it seems to trigger the diff.

If I pass it in unenclosed it seems to work without issue (at least after a couple hundred automated passes).

<message>\n\n          UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED.\n   Explicit permission is required to access or configure this device.\n\n        Unauthorized attempts and actions to access or use this\n         system may result in civil and/or criminal penalties.\n\n  All action taken on or against this device is logged and monitored.\n\n\n    </message>

So my thinking (hope) is that string is being quoted prior to being passed in.

from ansible-junos-stdlib.

cvicente avatar cvicente commented on July 20, 2024

I tried a combination of quoted, unquoted, with and without encoded carriage returns (\n) to no avail. The only solution was to reduce the banner to a one-liner. I am not seeing diffs any more. Notice that this only when using XML format. I have not tried the other formats.

from ansible-junos-stdlib.

stacywsmith avatar stacywsmith commented on July 20, 2024

@cvicente I'm closing this old issue. It appears to be a Junos issue rather than a bug with this module. If you are still having the problem, do reach out to me directly and I will help you work with JTAC to resolve the issue.

from ansible-junos-stdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.