[atomic-devel] Directory naming changes in Fedora Atomic Host Two Week release

2018-08-21 Thread Sinny Kumari
Hi all,

Recently, we have started building Fedora Atomic Host artifacts during
bodhi-updates compose [1] run instead of in twoweek in nightly compose[2] .
This change was made to make sure that ostree and artifacts are created in
same compose. This also helps us to ensure that artifacts produced for all
supported architecture always have same OStree version.

Latest Fedora Atomic Host Two Week release[3] (28.20180816.1) which we did
uses image artifacts produced during bodhi-updates run from pungi compose
ID Fedora-28-updates-20180816.1 [4]. It went through release process and
are made available publicly [5] .

With this release and going forward, you will notice that directory naming
format where image artifacts are available won't be in same format. Earlier
it was something like Fedora-Atomic-28-*, but now it will be something like
Fedora-28-updates-*. For example: last release artifacts directory was at
https://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-Atomic-28-20180806.0/
and latest release is in
https://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-28-updates-20180816.1/
.

Please make sure to update your scripts if you were earlier relying on
having directory name in the format of Fedora-Atomic-28-*  to
Fedora-28-updates-*
.

If you have any comment or concern, feel free to ask it here.

Thanks,
Sinny Kumari

[1] https://kojipkgs.fedoraproject.org/compose/updates/
[2] https://kojipkgs.fedoraproject.org/compose/twoweek/
[3]
https://lists.fedoraproject.org/archives/list/de...@lists.fedoraproject.org/thread/FSMUAGDJ7VI3TCOBHP45STLHGY5CFHD3/
[4]
https://kojipkgs.fedoraproject.org/compose/updates/Fedora-28-updates-20180816.1/
[5]
https://dl.fedoraproject.org/pub/alt/atomic/stable/Fedora-28-updates-20180816.1/


Re: [atomic-devel] Bare metal installation without video display??

2018-08-21 Thread Dusty Mabe



On 08/20/2018 07:48 PM, Bob Gustafson wrote:
> See my reply interspersed.
> 
> On 08/20/2018 10:26 AM, Dusty Mabe wrote:
>> On 08/19/2018 10:50 AM, Bob Gustafson wrote:
>>> My particular piece of bare metal seems to have enough memory, disk 
>>> space, Intel x86_64 architecture w/4 cores, ethernet nics, but it does 
>>> not have any video support.
>>>
>>> I can move data using ethernet, but user interaction during install must 
>>> go through a 115200n8 serial port.
>> Do you see the isolinux boot menu on the serial console? If so you just need
>> to edit the first entry and add console=ttyS0 to the kernel command line. 
> Thanks very much for your reply.
> 
> I don't get that far on the serial console. I think that dialog is being 
> painted to a video frame buffer..
> 
> This is what I see on an attempt using a USB stick:
> 


could you try to add a "SERIAL" line to the isolinux/isolinux.cfg on your USB 
stick?
and see if that helps? I can try to do this at some point but I'm not at home 
right now.

Dusty



Re: [atomic-devel] Bare metal installation without video display??

2018-08-21 Thread Bob Gustafson

See additions to my previous reply


See my reply interspersed. (from 08/20/2018 06:48 PM)

On 08/20/2018 10:26 AM, Dusty Mabe wrote:

On 08/19/2018 10:50 AM, Bob Gustafson wrote:

My particular piece of bare metal seems to have enough memory, disk
space, Intel x86_64 architecture w/4 cores, ethernet nics, but it does
not have any video support.

I can move data using ethernet, but user interaction during install must
go through a 115200n8 serial port.

Do you see the isolinux boot menu on the serial console? If so you just need
to edit the first entry and add console=ttyS0 to the kernel command line.

Thanks very much for your reply.

I don't get that far on the serial console. I think that dialog is 
being painted to a video frame buffer..


This is what I see on an attempt using a USB stick:

SeaBIOS (version rel-1.10.0.1)
Press F10 key now for boot menu, N for PXE boot
Select boot device:

1. USB MSC Drive   PMAP           << I chose this item
2. SD card SS04G 3781MiB
3. ata0-0: Samsung SSD 850 EVO mSATA 250GB ATA-9 Hard-Disk (23
4. iPXE (PCI 00:00.0)
5. Payload [memtest]
6. Payload [setup]

Booting from Hard Disk...

Blinking USB light, also attempts by anaconda to feel around its 
environment

From Wireshark:
..
Option: (60) Vendor class identifier
  Length: 44
  Vendor class identifier: anaconda-Linux 4.16.3-301.fc28.x86_64 x86_64


I have avoided using Anaconda since F20, but for this first install, I
think interacting with Anaconda would be the best route.

    (I anticipate installing many times as I feel out the bare metal and
increase my own knowledge.)

If you are going to install many many times I would suggest using something
like PXE and a kickstart based install.
I have tried many different approaches to installation - I favor paths 
with visibility. I turned on logging from the dnsmasq server and am 
running Wireshark on every attempt. Kickstart seems to favor a 
non-interactive series of steps and so config errors are not so catchable.


Using a USB stick - I see the little red light blink many times with 
quiet periods in between, then dark. Nothing on the console after the 
"Booting from Hard Disk..." line. I'm sure that I am only a "misplaced 
comma" away from success, but ..


Currently I am watching Wireshark list continuing DHCP Discover 
packets, but no reply from the dnsmasq server..


Perhaps the line in systemctl status dnsmasq -> "ignoring nameserver 
192.168.50.60 - local interface" has some relationship
No, the ignoring nameserver line only pertains to the DNS part of 
dnsmasq. The non-reply from dnsmasq was caused by no DHCP server 
running, thus no reply.


The dnsmasq config seems to *require* a dhcp-range statement. A single 
dhcp-host statement does not bring up the DHCP server component - even 
though I want an ip address for only one dhcp requesting device.


A modified dnsmasq config contains the following active statements:

   [root@hoho8 dnsmasq.d]# sed -e '/^#/d' dnsmasq-edited.conf | grep -v
   "^$"
   no-poll
   server=/49.168.192.in-addr.arpa/192.168.49.41 # far away on eno1
   server=/50.168.192.in-addr.arpa/192.168.50.60 # on enp3s0
   bind-dynamic  # maybe need this because enp3s0 goes up and down ?
   interface=enp3s0
   no-hosts
   dhcp-range=192.168.50.53,192.168.50.60,255.255.255.0,12h # proper
   range needed or no-go?
   dhcp-host=id:00:0d:b9:46:55:78,192.168.50.55
   dhcp-host=id:00:1b:21:4c:f0:98,192.168.50.60
   dhcp-match=set:efi-x86_64,option:client-arch,7
   dhcp-match=set:efi-x86_64,option:client-arch,9
   dhcp-match=set:efi-x86,option:client-arch,6
   dhcp-match=set:bios,option:client-arch,0
   dhcp-boot=tag:efi-x86_64,"efi64/syslinux.efi"
   dhcp-boot=tag:efi-x86,"efi32/syslinux.efi"
   dhcp-boot=tag:bios,"pxelinux/lpxelinux.0"
   enable-tftp
   tftp-root=/var/lib/tftpboot
   log-queries
   log-dhcp
   [root@hoho8 dnsmasq.d]#

This config file results in the following running listeners:

   [root@hoho8 dnsmasq.d]# netstat -nlp | grep dnsmasq | grep udp
   udp    0  0 192.168.50.60:53
   0.0.0.0:*   17623/dnsmasq
   udp    0  0 127.0.0.1:53 0.0.0.0:*  
   17623/dnsmasq
   udp    0  0 0.0.0.0:67 0.0.0.0:*  
   17623/dnsmasq
   udp    0  0 192.168.50.60:69
   0.0.0.0:*   17623/dnsmasq
   udp    0  0 127.0.0.1:69 0.0.0.0:*  
   17623/dnsmasq
   udp6   0  0 ::1:53 :::*   
   17623/dnsmasq
   udp6   0  0 ::1:69 :::*   
   17623/dnsmasq
   [root@hoho8 dnsmasq.d]#

Note the line containing "0.0.0.0:67" This is the dhcp server needed to 
service the DHCP Discover packet.


That mole whacked, now on to tweeking the console=ttyS0 somewhere.




Just one more whack-a-mole...
-

Kickstart is probably my eventual installation technique, especially 
for the 2nd and 3rd