From nbornstein at suse.com Wed Aug 26 11:03:48 2015 From: nbornstein at suse.com (Niel Bornstein) Date: Wed, 26 Aug 2015 11:03:48 -0600 Subject: [Machinery] =?utf-8?q?Sinatra_doesn=E2=80=99t_know_this_ditty?= Message-ID: <55DD9D1402000076000CBA4E@prv-mh.provo.novell.com> Playing with machinery, I installed it in an EC2 instance with a security group allowing inbound traffic on port 7585. Ran sudo machinery inspect localhost --extract-files. Ran sudo machinery show localhost --html --ip 172.31.57.112. (local IP address of the instance) Connected my web browser to http://ec2-52-22-2-153.compute-1.amazonaws.com:7585/ (public IP address of the instance), and got this message: Sinatra doesn?t know this ditty. Try this: # in server.rb class Server get '/' do "Hello World" end end Is there something I'm missing? Niel M. Bornstein Sales Engineer SUSE nbornstein at SUSE.com +1 404 784 0696 From mamorales at suse.com Wed Aug 26 11:37:25 2015 From: mamorales at suse.com (Mauro Morales) Date: Wed, 26 Aug 2015 19:37:25 +0200 Subject: [Machinery] =?utf-8?q?Sinatra_doesn=E2=80=99t_know_this_ditty?= In-Reply-To: <55DD9D1402000076000CBA4E@prv-mh.provo.novell.com> Message-ID: Hi Niel, You want to run: http://ec2-52-22-2-153.compute-1.amazonaws.com:7585/localhost This issue is because we haven't implemented an "index" for Machinery yet but we are tracking it already so be on the look ;) (github issue #1198) The reason you need to add localhost at the end of your URL is because that is the name of the system description that was inspected. As default we take the name from the IP/Domain (in your case localhost) but you can change that with option -n NAME if you prefer. I hope this answers your question, thanks for reaching out :) On Aug 26, 2015 19:03, Niel Bornstein wrote: > > Playing with machinery, I installed it in an EC2 instance with a security group allowing inbound traffic on port 7585. > Ran sudo machinery inspect localhost --extract-files. > > Ran sudo machinery show localhost --html --ip 172.31.57.112. (local IP address of the instance) > > Connected my web browser to http://ec2-52-22-2-153.compute-1.amazonaws.com:7585/ (public IP address of the instance), and got this message: > > Sinatra doesn?t know this ditty. > > Try this: > # in server.rb > class Server > get '/' do > ?? "Hello World" > end > end > > Is there something I'm missing? > > Niel M. Bornstein > Sales Engineer > SUSE > nbornstein at SUSE.com > +1 404 784 0696 > > _______________________________________________ > Machinery mailing list > Machinery at lists.suse.com > http://lists.suse.com/mailman/listinfo/machinery From nbornstein at suse.com Wed Aug 26 11:39:54 2015 From: nbornstein at suse.com (Niel Bornstein) Date: Wed, 26 Aug 2015 11:39:54 -0600 Subject: [Machinery] =?utf-8?q?Sinatra_doesn=E2=80=99t_know_this_ditty?= In-Reply-To: References: <55DD9D1402000076000CBA4E@prv-mh.provo.novell.com> Message-ID: <55DDA58A02000076000CBA54@prv-mh.provo.novell.com> Excellent, thanks for the info! Niel M. Bornstein Sales Engineer SUSE nbornstein at SUSE.com +1 404 784 0696 >>> Mauro Morales 08/26/15 1:38 PM >>> Hi Niel, You want to run: http://ec2-52-22-2-153.compute-1.amazonaws.com:7585/localhost This issue is because we haven't implemented an "index" for Machinery yet but we are tracking it already so be on the look ;) (github issue #1198) The reason you need to add localhost at the end of your URL is because that is the name of the system description that was inspected. As default we take the name from the IP/Domain (in your case localhost) but you can change that with option -n NAME if you prefer. I hope this answers your question, thanks for reaching out :) On Aug 26, 2015 19:03, Niel Bornstein wrote: > > Playing with machinery, I installed it in an EC2 instance with a security group allowing inbound traffic on port 7585. > Ran sudo machinery inspect localhost --extract-files. > > Ran sudo machinery show localhost --html --ip 172.31.57.112. (local IP address of the instance) > > Connected my web browser to http://ec2-52-22-2-153.compute-1.amazonaws.com:7585/ (public IP address of the instance), and got this message: > > Sinatra doesn?t know this ditty. > > Try this: > # in server.rb > class Server > get '/' do > "Hello World" > end > end > > Is there something I'm missing? > > Niel M. Bornstein > Sales Engineer > SUSE > nbornstein at SUSE.com > +1 404 784 0696 > > _______________________________________________ > Machinery mailing list > Machinery at lists.suse.com > http://lists.suse.com/mailman/listinfo/machinery _______________________________________________ Machinery mailing list Machinery at lists.suse.com http://lists.suse.com/mailman/listinfo/machinery