[Airship-discuss] Airship in a Bottle - Quick querry

Evgeny L eli at mirantis.com
Thu Apr 18 14:00:15 UTC 2019


Great! Thanks for posting the command for port forwarding.

On Wed, Apr 17, 2019 at 6:59 PM Sandeep Shah2 <SS00473517 at techmahindra.com>
wrote:

> Hi Evgeny – Thank you for your suggestion, and I was able to use Vagrant
> generated keys to ssh into and map ports…I used the below command to
> successfully access dashboards:
>
>
>
> For example, for Horizon dashboard:
>
>
>
> vagrant ssh -- -L  31277:127.0.0.1:31277
>
>
>
> and then from browser http://localhost:31277
>
>
>
> Thanks!
>
>
>
> *From:* Sandeep Shah2 [mailto:SS00473517 at TechMahindra.com]
> *Sent:* Wednesday, April 17, 2019 4:40 PM
> *To:* Evgeny L
> *Cc:* airship-discuss at lists.airshipit.org; Lanclin Santhosh Johnson
> *Subject:* Re: [Airship-discuss] Airship in a Bottle - Quick querry
>
>
>
> Thank you and your suggestion is helpful. I shall try and let you know.
>
>
>
> *From:* Evgeny L [mailto:eli at mirantis.com]
> *Sent:* Wednesday, April 17, 2019 4:32 PM
> *To:* Sandeep Shah2
> *Cc:* airship-discuss at lists.airshipit.org; Lanclin Santhosh Johnson
> *Subject:* Re: [Airship-discuss] Airship in a Bottle - Quick querry
>
>
>
> Ok, I see, I have never used this Vagrantfile, have you tried just running
> `vagrant ssh` from the directory? As far as I remember vagrant generates
> SSH keys and stores them somewhere on your system (e.g.
> .vagrant/machines/default/virtualbox/private_key).
>
>
>
> On Wed, Apr 17, 2019 at 2:21 PM Sandeep Shah2 <SS00473517 at techmahindra.com>
> wrote:
>
> Hi Evgeny – thank you for your reply…
>
>
>
> I successfully installed using Vagrant script:
>
>
>
>  if you have Vagrant installed, just run the following
> ```
> su - (execute this as root)
> curl -O
> https://git.airshipit.org/cgit/airship-in-a-bottle/plain/Vagrantfile
> <https://www.google.com/url?q=https://git.airshipit.org/cgit/airship-in-a-bottle/plain/Vagrantfile&sa=D&source=hangouts&ust=1555622350160000&usg=AFQjCNEmT6_mS_4bKbQtQpDSgSO3FBPFmQ>
> vagrant up
>
>
>
> Please find below the logs when running the “Airship in a bottle” Vagrant
> script is run….n0 refers to VM host that gets created which will be used
> to build a site…Once the site is built, I am trying to access Horizon and
> DAG dashboards (also stated below)….To do port mapping, I believe I need
> to establish SSH connection, and it is possible either using user
> name/password or SSH certificate keys…I would very much appreciate if you
> can give guidance as to how I can do mapping and access Horizon/DAG and
> other dashboards and ports from my local machine.
>
>
>
>
>
> Welcome to Airship in a Bottle
>    n0:
>    n0:  /--------------------\
>    n0: |                      \
>    n0: |        |---|          \----
>    n0: |        | x |                \
>    n0: |        |---|                 |
>    n0: |          |                  /
>    n0: |     \____|____/       /----
>    n0: |                      /
>    n0:  \--------------------/
>    n0:
>    n0:
>    n0: The minimum recommended size of the Ubuntu 16.04 VM is 4 vCPUs,
> 20GB of RAM with 32GB disk space.
>    n0: Let's collect some information about your VM to get started.
>    n0: ++ hostname -s
>    n0: + export SHORT_HOSTNAME=n0
>    n0: + SHORT_HOSTNAME=n0
>    n0: + set +x
>    n0: Updating /etc/hosts with: 10.0.2.15 n0
>    n0: 10.0.2.15 n0
>    n0: + export HOSTIP=10.0.2.15
>    n0: + HOSTIP=10.0.2.15
>    n0: + export HOSTCIDR=10.0.2.15/32
>    n0: + HOSTCIDR=10.0.2.15/32
>    n0: + export NODE_NET_IFACE=eth0
>    n0: + NODE_NET_IFACE=eth0
>    n0: + export TARGET_SITE=demo
>    n0: + TARGET_SITE=demo
>
>
>
>   n0: OpenStack Horizon dashboard is available on this host at the
> following URL:
>    n0:
>    n0:   http://10.0.2.15:31277
> <https://www.google.com/url?q=http://10.0.2.15:31277&sa=D&source=hangouts&ust=1555621961324000&usg=AFQjCNHq1AS8GRxUJpBmJ332bg1QNAtqQQ>
>    n0:
>    n0: Credentials:
>    n0:   Domain: default
>    n0:   Username: admin
>    n0:   Password: password
>    n0:
>    n0: OpenStack CLI commands could be launched via
> `./run_openstack_cli.sh` script, e.g.:
>    n0:   # cd /root/deploy/airship-in-a-bottle/manifests/dev_single_node
>    n0:   # ./run_openstack_cli.sh stack list
>    n0:   ...
>    n0: Other dashboards:
>    n0:
>    n0:   MAAS: http://10.0.2.15:/MAAS/
> <https://www.google.com/url?q=http://10.0.2.15:/MAAS/&sa=D&source=hangouts&ust=1555621961324000&usg=AFQjCNGK5arcGDiut2HTu8pWf6LMYMbyUQ>
>  admin/password12
>    n0:   Airship Shipyard Airflow DAG: http://10.0.2.15:30004/
> <https://www.google.com/url?q=http://10.0.2.15:30004/&sa=D&source=hangouts&ust=1555621961324000&usg=AFQjCNGtWXtlZ2r9gllw8YXgB_wWMSxkrw>
>    n0:
>
>
>
> I very much appreciate if you please give guidance.
>
>
>
> Thanks again!
>
>
>
> Sandeep
>
>
>
> *From:* Evgeny L [mailto:eli at mirantis.com]
> *Sent:* Wednesday, April 17, 2019 2:48 PM
> *To:* Sandeep Shah2
> *Cc:* airship-discuss at lists.airshipit.org; Lanclin Santhosh Johnson
> *Subject:* Re: [Airship-discuss] Airship in a Bottle - Quick querry
>
>
>
> Hi Sandeep,
>
>
>
> Can you please clarify what is "node_n0" in your case?
>
>
>
> Thanks,
>
>
>
> On Wed, Apr 17, 2019 at 10:31 AM Sandeep Shah2 <
> SS00473517 at techmahindra.com> wrote:
>
> Hello –
>
>
>
> We are trying out Airship in a Bottle, and we are using instructions in
> README file.
>
>
>
> What are the credentials to ssh into node_n0 as root? Password? Or, if SSH
> keys are created during installation, where can I get them so that I can
> install them on my host, and I can SSH into node_n0 using SSH keys?
>
>
>
> Thank you very much in advance.
>
>
>
> Sincerely,
>
> Sandeep
>
>
>
> ​​​​​
>
> [image: Description: Description: cid:image015.jpg at 01D1E7FC.BB548B70]
> <http://www.techmahindra.com/>
>
> *SANDEEP SHAH*
>
> Customer Delivery Head/SDN-NFV-Cloud
>
> Plano, TX
>
> 847-708-1068
>
> sandeep.shah2 at techmahindra.com
>
> techmahindra.com <http://www.techmahindra.com/>
>
> We believe
>
>
>
> [image: Description: Description: Description:
> cid:image003.png at 01D0A510.436B2720] <http://www.facebook.com/techmahindra>[image:
> Description: Description: Description: cid:image004.png at 01D0A510.436B2720]
> <http://www.twitter.com/tech_mahindra>[image: Description: Description:
> Description: cid:image011.png at 01D0A51D.F8D493A0]
> <https://www.linkedin.com/company/tech-mahindra>[image: Description:
> Description: Description: cid:image006.png at 01D0A510.436B2720]
> <https://www.youtube.com/user/TechMahindra09>
>
> [image: Description: Description: cid:image004.png at 01D1E982.7E538C80]
> <http://online.wsj.com/ad/inthefuture/>
>
>
>
>
>
>
>
> *Innovation. Value Creation. Opensource. Automation. Next Generation
> Services*
>
>
>
>
> ============================================================================================================================
>
> Disclaimer:  This message and the information contained herein is
> proprietary and confidential and subject to the Tech Mahindra policy
> statement, you may review the policy at
> http://www.techmahindra.com/Disclaimer.html externally
> http://tim.techmahindra.com/tim/disclaimer.html internally within
> TechMahindra.
>
>
> ============================================================================================================================
>
> _______________________________________________
> Airship-discuss mailing list
> Airship-discuss at lists.airshipit.org
> http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2034 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1238 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1268 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1191 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 1176 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 2153 bytes
Desc: not available
URL: <http://lists.airshipit.org/pipermail/airship-discuss/attachments/20190418/caa10f38/attachment-0009.png>


More information about the Airship-discuss mailing list