Issue opened - https://github.com/fog/fog/issues/2920

The problem doesn't always occur - but once it does, it's persistent across fog connections on multiple machines.

I'm assuming we get AWS IG config into a state that's valid on AWS, and to the AWS Web-UI, but that fog/nokogiri choke on.

Our code to generate VPC configs is purely fog. The IGs are created and bound to a VPC - though we do have quite a few VPCs!

thanks

James M

On 12/05/14 19:51, geemus (Wesley Beary) wrote:
To clarify, it sometimes fails to work or never works? Could you open an
issue on the repo for it?


On Mon, May 12, 2014 at 11:18 AM, James Masson <[email protected]
<mailto:[email protected]>> wrote:

    As a quick workaround, we found that...

    connection.internet_gateways.all(filter_goes_here)

    ...works as it should.

    James M


    On Monday, May 12, 2014 3:47:38 PM UTC+1, James Masson wrote:


        Hi,

        We're using fog to create complete VPC configurations
        programatically.

        We regularly get into a state where fog refuses to operate on
        internet gateway objects.

        eg.

             def connection
               @connection ||= Fog::Compute.new(parse___environment)
             end


        connection.internet_gateways.__first

        Excon::Errors::SocketError: EndTag: '</' not found
        (Nokogiri::XML::SyntaxError)
        from
        
/home/jmasson/.rvm/gems/ruby-__2.0.0-p353@fog/gems/nokogiri-__1.6.1/lib/nokogiri/xml/sax/__push_parser.rb:47:in
        `native_write'

        There are plenty of internet gateways visible in the Web UI, but
        fog can't do any operations on them. This state persists across
        runs of fog.

        Any ideas?    -   we're using  'fog', '~> 1.22.0'

        thanks

        James M

    --
    You received this message because you are subscribed to the Google
    Groups "ruby-fog" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to [email protected]
    <mailto:[email protected]>.
    For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to a topic in the
Google Groups "ruby-fog" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/ruby-fog/kpqRJwhG7_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to